[epiphany] gschema: Add note about adding country-specific search engines
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] gschema: Add note about adding country-specific search engines
- Date: Tue, 28 Dec 2021 15:16:51 +0000 (UTC)
commit a25f4f6836145e12f7b9cc3b79995ee4d7db96be
Author: vanadiae <vanadiae35 gmail com>
Date: Mon Dec 27 23:11:47 2021 +0100
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>
data/org.gnome.epiphany.gschema.xml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
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'>},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]