Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n improved: dotted path -> dot-notation #6317

Merged
merged 11 commits into from
Apr 18, 2024
8 changes: 4 additions & 4 deletions app/i18n/cz/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath pro:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (výchozí)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/de/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath für:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (Standard)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/el/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath for:', // TODO
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/en-us/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath for:', // IGNORE
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // IGNORE
'_' => 'JSON (dot-notation)', // IGNORE
'feed_title' => array(
'_' => 'feed title', // IGNORE
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // IGNORE
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // IGNORE
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // IGNORE
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // IGNORE
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // IGNORE
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // IGNORE
'help' => 'Example: <code>permalink</code>', // IGNORE
),
'json' => 'Dotted Path for:', // IGNORE
'relative' => 'Dotted Path (relative to item) for:', // IGNORE
'json' => 'Dot-notation for:', // IGNORE
'relative' => 'Dot-notated path (relative to item) for:', // IGNORE
),
'jsonfeed' => 'JSON Feed', // IGNORE
'rss' => 'RSS / Atom (default)', // IGNORE
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/en/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath for:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)',
'_' => 'JSON (dot-notation)',
math-GH marked this conversation as resolved.
Show resolved Hide resolved
'feed_title' => array(
'_' => 'feed title',
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>',
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)',
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)',
math-GH marked this conversation as resolved.
Show resolved Hide resolved
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>',
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>',
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)',
'help' => 'Example: <code>permalink</code>',
),
'json' => 'Dotted Path for:',
'relative' => 'Dotted Path (relative to item) for:',
'json' => 'Dot-notation for:',
math-GH marked this conversation as resolved.
Show resolved Hide resolved
'relative' => 'Dot-notated path (relative to item) for:',
),
'jsonfeed' => 'JSON Feed',
'rss' => 'RSS / Atom (default)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/es/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath para:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (por defecto)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/fa/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => ' XPath برای:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => ' RSS / Atom (پیش‌فرض)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/fr/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath pour :',
),
'json_dotpath' => array(
'_' => 'JSON (Chemin)',
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'titre de flux',
'help' => 'Exemple : <code>meta.title</code> ou un texte statique : <code>"Mon flux personnalisé"</code>',
),
'help' => 'Un chemin JSON utilise le point comme séparateur objet, et des crochets pour un tableau : (ex : <code>data.items[0].title</code>)',
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'trouver les <strong>articles</strong><br /><small>(c’est le plus important)</small>',
'help' => 'Chemin vers le tableau contenant les articles, par exemple <code>newsItems</code>',
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'lien (URL) de l’article',
'help' => 'Exemple : <code>permalink</code>',
),
'json' => 'Chemin JSON pour :',
'relative' => 'Chemin relatif à l’article pour :',
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
math-GH marked this conversation as resolved.
Show resolved Hide resolved
),
'jsonfeed' => 'JSON Feed', // IGNORE
'rss' => 'RSS / Atom (par défaut)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/he/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath for:', // TODO
),
'json_dotpath' => array(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we rename the key json_dotpath too? (f.e. json_dotnotation?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good idea

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.
But there are much more "dotpath" attributes/variables

'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/hu/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath ehhez:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (alapértelmezett)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/id/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath for:', // TODO
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (default)', // TODO
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/it/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath per:',
),
'json_dotpath' => array(
'_' => 'JSON (path con i punti)',
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'titolo feed',
'help' => 'Esempio: <code>meta.title</code> o una stringa statica: <code>"Il mio feed personalizzato"</code>',
),
'help' => 'Un JSON con le path divise da punti usa dei punti fra gli oggetti e le parentesi per gli array. (es. <code>data.items[0].title</code>)',
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'ricerca nuovi <strong>elementi</strong><br /><small>(più importante)</small>',
'help' => 'percorso JSON per l’array contenente gli elementi, es. <code>newsItems</code>',
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'link elemento (URL)',
'help' => 'Esempio: <code>permalink</code>',
),
'json' => 'Percorso con i punti per:',
'relative' => 'Percorso con i punti (relativo all’elemento) per:',
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'Feed JSON',
'rss' => 'RSS / Atom (predefinito)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/ja/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPathは:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (標準)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/ko/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => '다음의 XPath:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (기본값)',
Expand Down
8 changes: 4 additions & 4 deletions app/i18n/lv/sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@
'xpath' => 'XPath priekš:',
),
'json_dotpath' => array(
'_' => 'JSON (Dotted paths)', // TODO
'_' => 'JSON (dot-notation)', // TODO
'feed_title' => array(
'_' => 'feed title', // TODO
'help' => 'Example: <code>meta.title</code> or a static string: <code>"My custom feed"</code>', // TODO
),
'help' => 'A JSON dotted path uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'help' => 'A JSON dot-notated uses dots between objects and brackets for arrays (e.g. <code>data.items[0].title</code>)', // TODO
'item' => array(
'_' => 'finding news <strong>items</strong><br /><small>(most important)</small>', // TODO
'help' => 'JSON path to the array containing the items, e.g. <code>newsItems</code>', // TODO
Expand Down Expand Up @@ -161,8 +161,8 @@
'_' => 'item link (URL)', // TODO
'help' => 'Example: <code>permalink</code>', // TODO
),
'json' => 'Dotted Path for:', // TODO
'relative' => 'Dotted Path (relative to item) for:', // TODO
'json' => 'Dot-notation for:', // TODO
'relative' => 'Dot-notated path (relative to item) for:', // TODO
),
'jsonfeed' => 'JSON Feed', // TODO
'rss' => 'RSS / Atom (noklusējums)',
Expand Down
Loading