aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-03-05 16:34:20 +0100
committerGravatar GitHub <noreply@github.com> 2025-03-05 16:34:20 +0100
commit79387e144b8b7759557f86bb65047291e7548493 (patch)
tree1152fc10f5b52c774c2005916cf332ae86079773 /app
parentf40acd78cb1f41801c2d398976fbe0e8663f1bd6 (diff)
i18n do not translate XPath code (#7404)
Spotted in https://mapstodon.space/@jorgesanz/114109696863582740
Diffstat (limited to 'app')
-rw-r--r--app/i18n/es/sub.php10
-rw-r--r--app/i18n/fa/sub.php10
-rw-r--r--app/i18n/sk/user.php2
3 files changed, 11 insertions, 11 deletions
diff --git a/app/i18n/es/sub.php b/app/i18n/es/sub.php
index 8b9b98004..b42d1f0e1 100644
--- a/app/i18n/es/sub.php
+++ b/app/i18n/es/sub.php
@@ -95,7 +95,7 @@ return array(
'_' => 'HTML + XPath (Web scraping)', // IGNORE
'feed_title' => array(
'_' => 'Título de la fuente',
- 'help' => 'Ejemplo: <code>//título</code> o un texto estático: <code>"Mi fuente personalizada"</code>',
+ 'help' => 'Ejemplo: <code>//title</code> o un texto estático: <code>"Mi fuente personalizada"</code>',
),
'help' => '<dfn><a href="https://www.w3.org/TR/xpath-10/" target="_blank">XPath 1.0</a></dfn> es un lenguaje de consulta estándar para usuarios avanzados, el cual FreshRSS soporta para habilitar Web scraping',
'item' => array(
@@ -113,7 +113,7 @@ return array(
),
'item_thumbnail' => array(
'_' => 'miniatura del elemento',
- 'help' => 'Ejemplo: <code>descendiente::img/@src</code>',
+ 'help' => 'Ejemplo: <code>descendant::img/@src</code>',
),
'item_timeFormat' => array(
'_' => 'Formato personalizado de fecha y hora',
@@ -125,15 +125,15 @@ return array(
),
'item_title' => array(
'_' => 'título del elemento',
- 'help' => 'Usar en particular el <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">eje XPath</a> <code>descendiente::</code> como <code>descendiente::h2</code>',
+ 'help' => 'Usar en particular el <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">eje XPath</a> <code>descendant::</code> como <code>descendant::h2</code>',
),
'item_uid' => array(
'_' => 'ID único del elemento',
- 'help' => 'Opcional. Ejemplo: <code>descendente::div/@data-uri</code>',
+ 'help' => 'Opcional. Ejemplo: <code>descendant::div/@data-uri</code>',
),
'item_uri' => array(
'_' => 'enlace del elemento (URL)',
- 'help' => 'Ejemplo: <code>descendente::a/@href</code>',
+ 'help' => 'Ejemplo: <code>descendant::a/@href</code>',
),
'relative' => 'XPath (relativo al elemento) para:',
'xpath' => 'XPath para:',
diff --git a/app/i18n/fa/sub.php b/app/i18n/fa/sub.php
index f5b5b13b9..e9f220a69 100644
--- a/app/i18n/fa/sub.php
+++ b/app/i18n/fa/sub.php
@@ -113,11 +113,11 @@ return array(
),
'item_thumbnail' => array(
'_' => ' تصویر کوچک مورد',
- 'help' => ' مثال: <code>فرزند::img/@src</code>',
+ 'help' => ' مثال: <code>descendant::img/@src</code>',
),
'item_timeFormat' => array(
'_' => ' فرمت تاریخ/زمان سفارشی',
- 'help' => ' اختیاری. قالبی که توسط <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> پشتیبانی می‌شود',
+ 'help' => ' اختیاری. قالبی که توسط <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> پشتیبانی می‌شود', // DIRTY
),
'item_timestamp' => array(
'_' => ' تاریخ مورد',
@@ -125,15 +125,15 @@ return array(
),
'item_title' => array(
'_' => ' عنوان مورد',
- 'help' => ' به طور خاص از <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">محور XPath</a> <code>فرزند::</code استفاده کنید > مانند <code>فرزند::h2</code>',
+ 'help' => ' به طور خاص از <a href="https://developer.mozilla.org/docs/Web/XPath/Axes" target="_blank">محور XPath</a> <code>descendant::</code استفاده کنید > مانند <code>descendant::h2</code>',
),
'item_uid' => array(
'_' => ' شناسه منحصر به فرد مورد',
- 'help' => ' اختیاری. مثال: <code>فرزند::div/@data-uri</code>',
+ 'help' => ' اختیاری. مثال: <code>descendant::div/@data-uri</code>',
),
'item_uri' => array(
'_' => ' پیوند مورد (URL)',
- 'help' => ' مثال: <code>فرزند::a/@href</code>',
+ 'help' => ' مثال: <code>descendant::a/@href</code>',
),
'relative' => 'XPath (نسبت به مورد) برای:',
'xpath' => ' XPath برای:',
diff --git a/app/i18n/sk/user.php b/app/i18n/sk/user.php
index 7620b59e4..b4cca25d4 100644
--- a/app/i18n/sk/user.php
+++ b/app/i18n/sk/user.php
@@ -34,7 +34,7 @@ return array(
),
'mailer' => array(
'email_need_validation' => array(
- 'body' => 'Práve ste sa zaregistrovali na %s, ale stále ešte musíte overiť Vašu e-mailovú adresu. Kliknite na odkaz::',
+ 'body' => 'Práve ste sa zaregistrovali na %s, ale stále ešte musíte overiť Vašu e-mailovú adresu. Kliknite na odkaz:',
'title' => 'Overte si Vaše konto',
'welcome' => 'Vitajte %s,',
),