[epiphany] Mark keyword-search-url default for translation
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Mark keyword-search-url default for translation
- Date: Sun, 22 Dec 2013 16:03:20 +0000 (UTC)
commit c986763df40307ac812902307716abc41bb6b8d4
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Dec 16 20:19:45 2013 -0600
Mark keyword-search-url default for translation
We allow region parameters in the default "Search the web" smart
bookmark, which probably nobody ever uses, so why not in the default
search engine that people actually DO use? Also needed because the DDG
URL in the preferences dialog will be translatable, and this must match
it to avoid being detected as a separate, custom search engine.
https://bugzilla.gnome.org/show_bug.cgi?id=709459
data/org.gnome.epiphany.gschema.xml | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 45d0220..872bb9d 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
- <schema path="/org/gnome/epiphany/" id="org.gnome.Epiphany">
+ <schema path="/org/gnome/epiphany/" id="org.gnome.Epiphany" gettext-domain="">
<child schema="org.gnome.Epiphany.ui" name="ui"/>
<child schema="org.gnome.Epiphany.web" name="web"/>
<child schema="org.gnome.Epiphany.state" name="state"/>
@@ -10,7 +10,14 @@
<summary>Browse with caret</summary>
</key>
<key type="s" name="keyword-search-url">
- <default>'http://duckduckgo.com/?q=%s&t=epiphany'</default>
+ <!-- DuckDuckGo is the default search engine. Must exactly match the URL used
+ in the preferences dialog, except this string is surrounded by single quotes
+ and uses & instead of simply &. If the match is not otherwise exact,
+ there will be a spurious, ugly entry in the preferences combo, so please
+ test this. Should ideally also match the default smart bookmark link in
+ default-bookmarks.rdf. See the comment there for region parameters to
+ the URL. -->
+ <default l10n="messages">'http://duckduckgo.com/?q=%s&t=epiphany'</default>
<summary>URL Search</summary>
<description>Search string for keywords entered in the URL bar.</description>
</key>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]