diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-21 08:23:43 +0100 |
---|---|---|
committer | Callan Barrett <wizzomafizzo@gmail.com> | 2008-12-21 10:03:27 +0100 |
commit | 78c2b5c67faec190985c3fb9509e942add4dc54c (patch) | |
tree | 8de400422c50db32e530883bc954919c66b4c05c /web/lang | |
parent | cfeb080dcd7f593cf70a7d12ef873c95c95ae40f (diff) | |
download | aur-78c2b5c67faec190985c3fb9509e942add4dc54c.tar.gz aur-78c2b5c67faec190985c3fb9509e942add4dc54c.tar.xz |
Introduce function include_lang for translations.
This includes only the requested language for each page and
makes top level language include files obsolete.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lang')
-rw-r--r-- | web/lang/account_po.inc | 28 | ||||
-rw-r--r-- | web/lang/acctfuncs_po.inc | 32 | ||||
-rw-r--r-- | web/lang/aur_po.inc | 32 | ||||
-rw-r--r-- | web/lang/common_po.inc | 32 | ||||
-rw-r--r-- | web/lang/index_po.inc | 30 | ||||
-rw-r--r-- | web/lang/logout_po.inc | 30 | ||||
-rw-r--r-- | web/lang/pkgedit_po.inc | 32 | ||||
-rw-r--r-- | web/lang/pkgfuncs_po.inc | 32 | ||||
-rw-r--r-- | web/lang/search_po.inc | 32 | ||||
-rw-r--r-- | web/lang/submit_po.inc | 32 | ||||
-rw-r--r-- | web/lang/tu_po.inc | 11 |
11 files changed, 0 insertions, 323 deletions
diff --git a/web/lang/account_po.inc b/web/lang/account_po.inc deleted file mode 100644 index fc231940..00000000 --- a/web/lang/account_po.inc +++ /dev/null @@ -1,28 +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("pl/account_po.inc"); - -include_once("it/account_po.inc"); - -include_once("ca/account_po.inc"); - -include_once("pt/account_po.inc"); - -include_once("es/account_po.inc"); - -include_once("de/account_po.inc"); - -include_once("ru/account_po.inc"); -include_once("tr/account_po.inc"); - diff --git a/web/lang/acctfuncs_po.inc b/web/lang/acctfuncs_po.inc deleted file mode 100644 index 5bfbf0ad..00000000 --- a/web/lang/acctfuncs_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("pl/acctfuncs_po.inc"); - -include_once("it/acctfuncs_po.inc"); - -include_once("ca/acctfuncs_po.inc"); - -include_once("pt/acctfuncs_po.inc"); - -include_once("es/acctfuncs_po.inc"); - -include_once("de/acctfuncs_po.inc"); - -include_once("ru/acctfuncs_po.inc"); - -include_once("fr/acctfuncs_po.inc"); -include_once("tr/acctfuncs_po.inc"); - -include_once("uk/acctfuncs_po.inc"); - diff --git a/web/lang/aur_po.inc b/web/lang/aur_po.inc deleted file mode 100644 index b08e2416..00000000 --- a/web/lang/aur_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("pl/aur_po.inc"); - -include_once("it/aur_po.inc"); - -include_once("ca/aur_po.inc"); - -include_once("pt/aur_po.inc"); - -include_once("es/aur_po.inc"); - -include_once("de/aur_po.inc"); - -include_once("ru/aur_po.inc"); - -include_once("fr/aur_po.inc"); -include_once("tr/aur_po.inc"); - -include_once("uk/aur_po.inc"); - diff --git a/web/lang/common_po.inc b/web/lang/common_po.inc deleted file mode 100644 index 43237c2b..00000000 --- a/web/lang/common_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("pl/common_po.inc"); - -include_once("it/common_po.inc"); - -include_once("ca/common_po.inc"); - -include_once("pt/common_po.inc"); - -include_once("es/common_po.inc"); - -include_once("de/common_po.inc"); - -include_once("ru/common_po.inc"); - -include_once("fr/common_po.inc"); -include_once("tr/common_po.inc"); - -include_once("uk/common_po.inc"); - diff --git a/web/lang/index_po.inc b/web/lang/index_po.inc deleted file mode 100644 index 5e783a72..00000000 --- a/web/lang/index_po.inc +++ /dev/null @@ -1,30 +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("pl/index_po.inc"); - -include_once("it/index_po.inc"); - -include_once("ca/index_po.inc"); - -include_once("pt/index_po.inc"); - -include_once("es/index_po.inc"); - -include_once("de/index_po.inc"); - -include_once("ru/index_po.inc"); - -include_once("fr/index_po.inc"); -include_once("tr/index_po.inc"); - diff --git a/web/lang/logout_po.inc b/web/lang/logout_po.inc deleted file mode 100644 index 471f53e5..00000000 --- a/web/lang/logout_po.inc +++ /dev/null @@ -1,30 +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("pl/logout_po.inc"); - -include_once("it/logout_po.inc"); - -include_once("ca/logout_po.inc"); - -include_once("pt/logout_po.inc"); - -include_once("es/logout_po.inc"); - -include_once("de/logout_po.inc"); - -include_once("ru/logout_po.inc"); -include_once("tr/logout_po.inc"); - -include_once("fr/logout_po.inc"); - diff --git a/web/lang/pkgedit_po.inc b/web/lang/pkgedit_po.inc deleted file mode 100644 index b471d9b1..00000000 --- a/web/lang/pkgedit_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("pl/pkgedit_po.inc"); - -include_once("it/pkgedit_po.inc"); - -include_once("ca/pkgedit_po.inc"); - -include_once("pt/pkgedit_po.inc"); - -include_once("es/pkgedit_po.inc"); - -include_once("de/pkgedit_po.inc"); - -include_once("ru/pkgedit_po.inc"); - -include_once("fr/pkgedit_po.inc"); -include_once("tr/pkgedit_po.inc"); - -include_once("uk/pkgedit_po.inc"); - diff --git a/web/lang/pkgfuncs_po.inc b/web/lang/pkgfuncs_po.inc deleted file mode 100644 index 5868f45c..00000000 --- a/web/lang/pkgfuncs_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("pl/pkgfuncs_po.inc"); - -include_once("it/pkgfuncs_po.inc"); - -include_once("ca/pkgfuncs_po.inc"); - -include_once("pt/pkgfuncs_po.inc"); - -include_once("es/pkgfuncs_po.inc"); - -include_once("de/pkgfuncs_po.inc"); - -include_once("ru/pkgfuncs_po.inc"); - -include_once("fr/pkgfuncs_po.inc"); -include_once("tr/pkgfuncs_po.inc"); - -include_once("uk/pkgfuncs_po.inc"); - diff --git a/web/lang/search_po.inc b/web/lang/search_po.inc deleted file mode 100644 index 92c9589b..00000000 --- a/web/lang/search_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("pl/search_po.inc"); - -include_once("it/search_po.inc"); - -include_once("ca/search_po.inc"); - -include_once("pt/search_po.inc"); - -include_once("es/search_po.inc"); - -include_once("de/search_po.inc"); - -include_once("ru/search_po.inc"); - -include_once("fr/search_po.inc"); -include_once("tr/search_po.inc"); - -include_once("uk/search_po.inc"); - diff --git a/web/lang/submit_po.inc b/web/lang/submit_po.inc deleted file mode 100644 index 60a20416..00000000 --- a/web/lang/submit_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("pl/submit_po.inc"); - -include_once("it/submit_po.inc"); - -include_once("ca/submit_po.inc"); - -include_once("pt/submit_po.inc"); - -include_once("es/submit_po.inc"); - -include_once("de/submit_po.inc"); - -include_once("ru/submit_po.inc"); - -include_once("fr/submit_po.inc"); -include_once("tr/submit_po.inc"); - -include_once("uk/submit_po.inc"); - diff --git a/web/lang/tu_po.inc b/web/lang/tu_po.inc deleted file mode 100644 index b26d02a3..00000000 --- a/web/lang/tu_po.inc +++ /dev/null @@ -1,11 +0,0 @@ -<?php - -include_once("translator.inc"); -global $_t; - -include_once("ru/tu_po.inc"); - -include_once("it/tu_po.inc"); - -include_once("fr/tu_po.inc"); - |