mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove obsolete test scripts.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
1d416d6891
commit
bbebc08104
11 changed files with 0 additions and 231 deletions
|
@ -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'>","Español","</a>",
|
||||
"<a href='".$_SERVER['PHP_SELF']."?LANG=de'>","Deutsch","</a>",
|
||||
"<a href='".$_SERVER['PHP_SELF']."?LANG=fr'>","Français","</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>";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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'.";
|
||||
|
||||
?>
|
|
@ -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");
|
||||
|
||||
?>
|
Loading…
Add table
Reference in a new issue