summaryrefslogtreecommitdiffstats
path: root/web/lang
diff options
context:
space:
mode:
Diffstat (limited to 'web/lang')
-rw-r--r--web/lang/common_po.inc15
-rw-r--r--web/lang/index_po.inc33
-rw-r--r--web/lang/test_po.inc34
3 files changed, 57 insertions, 25 deletions
diff --git a/web/lang/common_po.inc b/web/lang/common_po.inc
index c3148760..6c04677c 100644
--- a/web/lang/common_po.inc
+++ b/web/lang/common_po.inc
@@ -1,5 +1,14 @@
<?
-# INSTRUCTIONS TO TRANSLATORS:
-# blah blah blah....
-
+# INSTRUCTIONS TO TRANSLATORS
+#
+# This file contains the i18n translations for a subset of the
+# Arch Linux User-community Repository (AUR). This is a PHP
+# script, and as such, you MUST pay great attention to the syntax.
+# If your text contains any double-quotes ("), you MUST escape
+# them with the backslash character (\).
+#
+
+include_once("translator.inc");
+global $_t;
+
?> \ No newline at end of file
diff --git a/web/lang/index_po.inc b/web/lang/index_po.inc
index 22b14566..6c04677c 100644
--- a/web/lang/index_po.inc
+++ b/web/lang/index_po.inc
@@ -1,25 +1,14 @@
<?
-# INSTRUCTIONS TO TRANSLATORS:
-# blah blah blah....
-
-$_t["en"]["Julie was here!"] = "Julie was here!";
-# $_t["es"]["Julie was here!"] = "--> Spanish translation here. <--";
-# $_t["fr"]["Julie was here!"] = "--> French translation here. <--";
-# $_t["de"]["Julie was here!"] = "--> German translation here. <--";
-
-$_t["en"]["Hello, again!"] = "Hello, again!";
-# $_t["es"]["Hello, again!"] = "--> Spanish translation here. <--";
-# $_t["fr"]["Hello, again!"] = "--> French translation here. <--";
-# $_t["de"]["Hello, again!"] = "--> German translation here. <--";
-
-$_t["en"]["Hello, world!"] = "Hello, world!";
-# $_t["es"]["Hello, world!"] = "--> Spanish translation here. <--";
-# $_t["fr"]["Hello, world!"] = "--> French translation here. <--";
-# $_t["de"]["Hello, world!"] = "--> German translation here. <--";
-
-$_t["en"]["Abernathy was here!"] = "Abernathy was here!";
-# $_t["es"]["Abernathy was here!"] = "--> Spanish translation here. <--";
-# $_t["fr"]["Abernathy was here!"] = "--> French translation here. <--";
-# $_t["de"]["Abernathy was here!"] = "--> German translation here. <--";
+# INSTRUCTIONS TO TRANSLATORS
+#
+# This file contains the i18n translations for a subset of the
+# Arch Linux User-community Repository (AUR). This is a PHP
+# script, and as such, you MUST pay great attention to the syntax.
+# If your text contains any double-quotes ("), you MUST escape
+# them with the backslash character (\).
+#
+
+include_once("translator.inc");
+global $_t;
?> \ No newline at end of file
diff --git a/web/lang/test_po.inc b/web/lang/test_po.inc
new file mode 100644
index 00000000..d8edf5f5
--- /dev/null
+++ b/web/lang/test_po.inc
@@ -0,0 +1,34 @@
+<?
+# INSTRUCTIONS TO TRANSLATORS
+#
+# This file contains the i18n translations for a subset of the
+# Arch Linux User-community Repository (AUR). This is a PHP
+# script, and as such, you MUST pay great attention to the syntax.
+# If your text contains any double-quotes ("), you MUST escape
+# them with the backslash character (\).
+#
+
+include_once("translator.inc");
+global $_t;
+
+$_t["en"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
+$_t["es"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Seleccione su lengua aquí: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
+$_t["fr"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Choisissez votre langue ici: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
+$_t["de"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Wählen Sie Ihre Sprache hier vor: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
+
+$_t["en"]["Hello, world!"] = "Hello, world!";
+$_t["es"]["Hello, world!"] = "¡Hola, mundo!";
+$_t["fr"]["Hello, world!"] = "Bonjour, monde!";
+$_t["de"]["Hello, world!"] = "Hallo, Welt!";
+
+$_t["en"]["Hello, again!"] = "Hello, again!";
+$_t["es"]["Hello, again!"] = "¡Hola, otra vez!";
+$_t["fr"]["Hello, again!"] = "Bonjour, encore!";
+$_t["de"]["Hello, again!"] = "Hallo, wieder!";
+
+$_t["en"]["My current language tag is: '%s'."] = "My current language tag is: '%s'.";
+$_t["es"]["My current language tag is: '%s'."] = "Mi etiqueta de lengua actual es: '%s'.";
+$_t["fr"]["My current language tag is: '%s'."] = "Ma étiquette de langue courante est: '%s'.";
+$_t["de"]["My current language tag is: '%s'."] = "Meine gegenwärtige Sprachflagge ist: '%s'.";
+
+?> \ No newline at end of file