Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://wiki.cs.msu.ru/System/VarLANGUAGES?sortcol=0;table=1;up=1
Дата изменения: Unknown Дата индексирования: Mon Apr 11 06:25:26 2016 Кодировка: koi8-r |
PO
files). These are the languages in which the user interface is available.
%LANGUAGES{...}%
Parameter: | Description: | Default: |
---|---|---|
separator | separator between items. | "\n" (newline) |
selection="%LANGUAGE%" | Current language to be selected in list | (none) |
marker="selected" | Text for $marker if the item matches selection | "selected" |
format | format for each item. See below for format tokens available in the format string. | " * $langname" |
format
tokens: Token | Meaning |
---|---|
$langname | language's name, as informed by the translators |
$langtag | language's tag. Ex: en , pt-br , etc. |
<select>%LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%LANGUAGE%"}%</select>
creates an option list of the available languages with the current language selected