summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorvanadiae <vanadiae35@gmail.com>2021-12-27 23:11:47 +0100
committervanadiae <vanadiae35@gmail.com>2021-12-28 00:26:06 +0100
commita25f4f6836145e12f7b9cc3b79995ee4d7db96be (patch)
tree30e9cc71d8153e9a25d5d5fd45e18d476423c800 /data
parentfbde9b187244be4ff899ac33922e621031e5b438 (diff)
downloadepiphany-a25f4f6836145e12f7b9cc3b79995ee4d7db96be.tar.gz
gschema: Add note about adding country-specific search engines
Since translating the search engines names allow translating the entire GVariant text, it's possible to add search engines on the translation level. So let's allow and encourage that, for when that makes sense. Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1052>
Diffstat (limited to 'data')
-rw-r--r--data/org.gnome.epiphany.gschema.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 7d1e14a6f..2a0a036a9 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -36,7 +36,17 @@
<key type="aa{sv}" name="search-engine-providers">
<default l10n="messages">
<!-- TRANSLATORS: These are the prepopulated search engines. You should
- add country-specific URL query parameters if appropriate. -->
+ add country-specific URL query parameters if appropriate (i.e. generally
+ by adding &hl=your_language_code or by changing the domain name's TLD).
+ You are allowed to add search engines here, *if they make sense*. Please
+ don't add your favorite search engine just because you like it though,
+ only do it for search engines that are already widely used in this specific country.
+ Obvious cases where it makes sense are for example adding Yandex for
+ Russian, or Baidu for Chinese. If you do add a search engine, then please
+ make sure that you're not making mistakes in the GVariant text (e.g.
+ missing ', <, > or trailing comma), and that you're keeping the %s
+ placeholder for the search query. Also please check if they are actually
+ properly shown in the Preferences if you reset the gsettings key. -->
<![CDATA[
[
{'name': <'DuckDuckGo'>, 'url': <'https://duckduckgo.com/?q=%s&t=epiphany'>, 'bang': <'!ddg'>},