finishing touches on genpopo, started playing with _real_ PHP code and svn keywords

This commit is contained in:
eric 2004-06-18 16:23:14 +00:00
parent 79f64a0592
commit 1e35dc01cf
10 changed files with 212 additions and 60 deletions

View file

@ -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;
?>

View file

@ -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. <--";
# 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 (\).
#
$_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. <--";
include_once("translator.inc");
global $_t;
?>

34
web/lang/test_po.inc Normal file
View file

@ -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'.";
?>