mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
cfeb080dcd
commit
78c2b5c67f
24 changed files with 51 additions and 363 deletions
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
|
@ -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");
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue