summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/html/testpo.php45
-rw-r--r--web/lang/ca/test_po.inc16
-rw-r--r--web/lang/de/test_po.inc16
-rw-r--r--web/lang/en/test_po.inc22
-rw-r--r--web/lang/es/test_po.inc16
-rw-r--r--web/lang/fr/test_po.inc17
-rw-r--r--web/lang/it/test_po.inc16
-rw-r--r--web/lang/pl/test_po.inc13
-rw-r--r--web/lang/pt/test_po.inc22
-rw-r--r--web/lang/ru/test_po.inc16
-rw-r--r--web/lang/test_po.inc32
11 files changed, 0 insertions, 231 deletions
diff --git a/web/html/testpo.php b/web/html/testpo.php
deleted file mode 100644
index a8a6337..0000000
--- a/web/html/testpo.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-set_include_path(get_include_path() . PATH_SEPARATOR . '../lib' . PATH_SEPARATOR . '../lang');
-
-# This is a sample script to demonstrate how the AUR will
-# handle i18n. Note: When the PHP script is finished, and
-# has the proper include file (see below), and the __()
-# function has been used (see below), use the web/utils/genpopo
-# script to parse the PHP script and pull out the text
-# that requires translation and puts the mapping into the
-# include file.
-#
-
-# Each AUR PHP script that requires i18n support, needs to
-# define an 'xxx_po.inc' file where the i18n mapping will
-# reside.
-#
-include("test_po.inc");
-
-
-# Use the __() function to identify text that requires
-# translation to other languages. The examples below
-# show how to use %-substitution.
-#
-print "<html><body bgcolor='white'>\n";
-
-print "<p>\n";
-print __("Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h.",
- array("<a href='".$_SERVER['PHP_SELF']."?LANG=en'>","English","</a>",
- "<a href='".$_SERVER['PHP_SELF']."?LANG=es'>","Espaol","</a>",
- "<a href='".$_SERVER['PHP_SELF']."?LANG=de'>","Deutsch","</a>",
- "<a href='".$_SERVER['PHP_SELF']."?LANG=fr'>","Franais","</a>"));
-print "</p>\n";
-
-print "<p>\n";
-print __("My current language tag is: '%s'.", array($LANG));
-print "</p>\n";
-
-print "<ul>\n";
-print __("Hello, world!")."<br />\n";
-print __("Hello, again!")."<br />\n";
-print "</ul>\n";
-print "</body>\n</html>";
-
-?>
diff --git a/web/lang/ca/test_po.inc b/web/lang/ca/test_po.inc
deleted file mode 100644
index 3f5ddad..0000000
--- a/web/lang/ca/test_po.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Catalan (Català) translation
-# Translator: Sergio Jovani Guzman <moret.sjg@gmail.com>
-
-include_once("translator.inc");
-global $_t;
-
-$_t["ca"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Seleccioneu el vostre idioma ací: %h%s%h, %h%s%h, %h%s%h, %h%s%h";
-
-$_t["ca"]["Hello, world!"] = "Hola, món!";
-
-$_t["ca"]["Hello, again!"] = "Hola, altre cop!";
-
-$_t["ca"]["My current language tag is: '%s'."] = "La meua etiqueta actual d'idioma és: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/de/test_po.inc b/web/lang/de/test_po.inc
deleted file mode 100644
index a957522..0000000
--- a/web/lang/de/test_po.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# German (Deutsch) translation
-# Translators: Pierre Schmitz <pierre@archlinux.de>, Matthias Gorissen <siquame@web.de>, Lukas Kropatschek, Niclas Pfeifer
-
-include_once("translator.inc");
-global $_t;
-
-$_t["de"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Wähle hier deine Sprache aus: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-
-$_t["de"]["Hello, world!"] = "Hallo, Welt!";
-
-$_t["de"]["Hello, again!"] = "Nochmals Hallo!";
-
-$_t["de"]["My current language tag is: '%s'."] = "Meine momentan gewählte Sprache ist: '%s'";
-
-?> \ No newline at end of file
diff --git a/web/lang/en/test_po.inc b/web/lang/en/test_po.inc
deleted file mode 100644
index 28c0e10..0000000
--- a/web/lang/en/test_po.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-# 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["en"]["Hello, world!"] = "Hello, world!";
-
-$_t["en"]["Hello, again!"] = "Hello, again!";
-
-$_t["en"]["My current language tag is: '%s'."] = "My current language tag is: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/es/test_po.inc b/web/lang/es/test_po.inc
deleted file mode 100644
index 83bc7dc..0000000
--- a/web/lang/es/test_po.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Spanish (Español) translation
-# Translator: Víctor Martínez Romanos <vmromanos@gmail.com>
-
-include_once("translator.inc");
-global $_t;
-
-$_t["es"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Seleccione su idioma aquí: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-
-$_t["es"]["Hello, world!"] = "¡Hola, mundo!";
-
-$_t["es"]["Hello, again!"] = "¡Hola, otra vez!";
-
-$_t["es"]["My current language tag is: '%s'."] = "Mi identificador actual del idioma es: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/fr/test_po.inc b/web/lang/fr/test_po.inc
deleted file mode 100644
index f53af14..0000000
--- a/web/lang/fr/test_po.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-# French (Français) translation
-# Translator: Morgan LEFIEUX <comete@archlinuxfr.org>
-# Translator: Cilyan Olowen <gaknar@gmail.com>
-
-include_once("translator.inc");
-global $_t;
-
-$_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["fr"]["Hello, world!"] = "Salut tout le monde !";
-
-$_t["fr"]["Hello, again!"] = "Salut encore !";
-
-$_t["fr"]["My current language tag is: '%s'."] = "Mon choix actuel de langue est: '%s'.";
-
-?>
diff --git a/web/lang/it/test_po.inc b/web/lang/it/test_po.inc
deleted file mode 100644
index 55c0a4c..0000000
--- a/web/lang/it/test_po.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Italian (Italiano) translation
-# Translators: Giovanni Scafora <linuxmania@gmail.com> and Pierluigi Picciau <pierluigi88@gmail.com>
-
-include_once("translator.inc");
-global $_t;
-
-$_t["it"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Scegli la tua lingua: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-
-$_t["it"]["Hello, world!"] = "Ciao, mondo!";
-
-$_t["it"]["Hello, again!"] = "Ciao, di nuovo!";
-
-$_t["it"]["My current language tag is: '%s'."] = "Il tag della mia lingua corrente è: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/pl/test_po.inc b/web/lang/pl/test_po.inc
deleted file mode 100644
index 847a0ab..0000000
--- a/web/lang/pl/test_po.inc
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-# Polish (Polski) translation
-# Translator: Jaroslaw Swierczynski <swiergot@gmail.com>
-
-include_once("translator.inc");
-global $_t;
-
-$_t["pl"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Wybierz swój język: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-$_t["pl"]["Hello, world!"] = "Witaj, świecie!";
-$_t["pl"]["Hello, again!"] = "Witaj, ponownie!";
-$_t["pl"]["My current language tag is: '%s'."] = "Etykieta mojego obecnego języka to: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/pt/test_po.inc b/web/lang/pt/test_po.inc
deleted file mode 100644
index 040e736..0000000
--- a/web/lang/pt/test_po.inc
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-# 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["pt"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Selecione seu idioma aqui: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-
-$_t["pt"]["Hello, world!"] = "Olá, mundo!";
-
-$_t["pt"]["Hello, again!"] = "Olá, novamente!";
-
-$_t["pt"]["My current language tag is: '%s'."] = "Meu identificador atual de idioma é: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/ru/test_po.inc b/web/lang/ru/test_po.inc
deleted file mode 100644
index 381abe3..0000000
--- a/web/lang/ru/test_po.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-# Russian (Русский) translation
-# Translator: Sergej Pupykin <ps@lx-ltd.ru>
-
-include_once("translator.inc");
-global $_t;
-
-$_t["ru"]["Select your language here: %h%s%h, %h%s%h, %h%s%h, %h%s%h."] = "Выберите ваш язык здесь: %h%s%h, %h%s%h, %h%s%h, %h%s%h.";
-
-$_t["ru"]["Hello, world!"] = "Всем привет!";
-
-$_t["ru"]["Hello, again!"] = "Привет еще раз!";
-
-$_t["ru"]["My current language tag is: '%s'."] = "Мой текущий язык: '%s'.";
-
-?> \ No newline at end of file
diff --git a/web/lang/test_po.inc b/web/lang/test_po.inc
deleted file mode 100644
index a2c5c5c..0000000
--- a/web/lang/test_po.inc
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-# 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;
-
-include_once("en/test_po.inc");
-
-include_once("pl/test_po.inc");
-
-include_once("it/test_po.inc");
-
-include_once("ca/test_po.inc");
-
-include_once("pt/test_po.inc");
-
-include_once("es/test_po.inc");
-
-include_once("de/test_po.inc");
-
-include_once("ru/test_po.inc");
-
-include_once("fr/test_po.inc");
-
-?> \ No newline at end of file