Selaa lähdekoodia

i18n do not translate XPath code (#7404)

Spotted in https://mapstodon.space/@jorgesanz/114109696863582740
Alexandre Alapetite 1 vuosi sitten
vanhempi
commit
79387e144b
3 muutettua tiedostoa jossa 11 lisäystä ja 11 poistoa
  1. 5 5
      app/i18n/es/sub.php
  2. 5 5
      app/i18n/fa/sub.php
  3. 1 1
      app/i18n/sk/user.php

+ 5 - 5
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:',

+ 5 - 5
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 برای:',

+ 1 - 1
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,',
 		),