Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
9539ceb4
Commit
9539ceb4
authored
Oct 08, 2010
by
filip
Browse files
Add translations of values in select boxes (first, in customer modules)
Updated english languages files Updated czech languages files
parent
1b9dcca6
Changes
19
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/tform.inc.php
View file @
9539ceb4
...
...
@@ -379,6 +379,8 @@ class tform {
if
(
is_array
(
$field
[
'value'
]))
{
foreach
(
$field
[
'value'
]
as
$k
=>
$v
)
{
$selected
=
(
$k
==
$val
)
?
' SELECTED'
:
''
;
if
(
!
empty
(
$this
->
wordbook
[
$v
]))
$v
=
$this
->
wordbook
[
$v
];
$out
.
=
"<option value='
$k
'
$selected
>
$v
</option>
\r\n
"
;
}
}
...
...
@@ -492,6 +494,8 @@ class tform {
$out
=
''
;
foreach
(
$field
[
'value'
]
as
$k
=>
$v
)
{
$selected
=
(
$k
==
$field
[
"default"
])
?
' SELECTED'
:
''
;
if
(
!
empty
(
$this
->
wordbook
[
$v
]))
$v
=
$this
->
wordbook
[
$v
];
$out
.
=
"<option value='
$k
'
$selected
>
$v
</option>
\r\n
"
;
}
}
...
...
interface/web/mail/form/mail_user_filter.tform.php
View file @
9539ceb4
...
...
@@ -81,13 +81,14 @@ $form["tabs"]['filter'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
''
,
'value'
=>
array
(
'Subject'
=>
'
S
ubject'
,
'From'
=>
'
F
rom'
,
'To'
=>
'
To
'
)
'value'
=>
array
(
'Subject'
=>
'
s
ubject
_txt
'
,
'From'
=>
'
f
rom
_txt
'
,
'To'
=>
'
to_txt
'
)
),
'op'
=>
array
(
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
''
,
'value'
=>
array
(
'contains'
=>
'Contains'
,
'is'
=>
'Is'
,
'begins'
=>
'Begins with'
,
'ends'
=>
'Ends with'
)
#'value' => array('contains'=>'contains_txt','is' => 'Is','begins'=>'Begins with','ends'=>'Ends with')
'value'
=>
array
(
'contains'
=>
'contains_txt'
,
'is'
=>
'is_txt'
,
'begins'
=>
'begins_with_txt'
,
'ends'
=>
'ends_with_txt'
)
),
'searchterm'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -104,7 +105,7 @@ $form["tabs"]['filter'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
''
,
'value'
=>
array
(
'move'
=>
'
M
ove
to'
,
'delete'
=>
'
D
elete'
)
'value'
=>
array
(
'move'
=>
'
m
ove
_
to
_txt
'
,
'delete'
=>
'
d
elete
_txt
'
)
),
'target'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
interface/web/mail/lib/lang/cz_mail_user.lng
View file @
9539ceb4
...
...
@@ -40,4 +40,5 @@ $wb['autoresponder_active'] = 'Povolit automatický odpovídač';
$wb
[
'cc_txt'
]
=
'Přeposílat na'
;
$wb
[
'cc_error_isemail'
]
=
'Adresa uvedená v poli "Přeposílat na" je neplatná'
;
$wb
[
'domain_txt'
]
=
'Doména'
;
$wb
[
'now_txt'
]
=
'Nyní'
;
?>
interface/web/mail/lib/lang/cz_mail_user_filter.lng
View file @
9539ceb4
...
...
@@ -4,7 +4,16 @@ $wb['action_txt'] = 'Akce';
$wb
[
'target_txt'
]
=
'Složka'
;
$wb
[
'active_txt'
]
=
'Aktivní'
;
$wb
[
'rulename_error_empty'
]
=
'Název je prázdný.'
;
$wb
[
'searchterm_is_empty'
]
=
'Vyhledávací
ž
ádek je prázdný.'
;
$wb
[
'searchterm_is_empty'
]
=
'Vyhledávací
ř
ádek je prázdný.'
;
$wb
[
'source_txt'
]
=
'Zdroj'
;
$wb
[
'target_error_regex'
]
=
'Cíl může obsahovat jen tyto znaky: a-z, 0-9, -, ., _, a {mezeru}'
;
$wb
[
'subject_txt'
]
=
'Předmět'
;
$wb
[
'from_txt'
]
=
'Odesílatel'
;
$wb
[
'to_txt'
]
=
'Adresát'
;
$wb
[
'contains_txt'
]
=
'Obsahuje'
;
$wb
[
'is_txt'
]
=
'Je'
;
$wb
[
'begins_with_txt'
]
=
'Začíná na'
;
$wb
[
'ends_with_txt'
]
=
'Končí na'
;
$wb
[
'move_to_txt'
]
=
'Přesunout do'
;
$wb
[
'delete_txt'
]
=
'Smazat'
;
?>
interface/web/mail/lib/lang/cz_mail_whitelist.lng
View file @
9539ceb4
...
...
@@ -6,4 +6,6 @@ $wb['active_txt'] = 'Aktivní';
$wb
[
'source_error_notempty'
]
=
'Adresa je prázdná.'
;
$wb
[
'type_txt'
]
=
'Typ'
;
$wb
[
'limit_mailfilter_txt'
]
=
'Dosažen maximální počet email filtrů pro Váš účet.'
;
$wb
[
'sender_txt'
]
=
'Odesílatel'
;
$wb
[
'client_txt'
]
=
'Klient'
;
?>
interface/web/mail/lib/lang/en_mail_user.lng
View file @
9539ceb4
...
...
@@ -40,4 +40,5 @@ $wb['autoresponder_active'] = 'Enable the autoresponder';
$wb
[
'cc_txt'
]
=
'Send copy to'
;
$wb
[
'cc_error_isemail'
]
=
'The "Send copy to" field does not conatin a valid email address'
;
$wb
[
'domain_txt'
]
=
'Domain'
;
$wb
[
'now_txt'
]
=
'Now'
;
?>
interface/web/mail/lib/lang/en_mail_user_filter.lng
View file @
9539ceb4
...
...
@@ -7,4 +7,13 @@ $wb["rulename_error_empty"] = 'Name is empty.';
$wb
[
"searchterm_is_empty"
]
=
'Search term is empty.'
;
$wb
[
"source_txt"
]
=
'Source'
;
$wb
[
"target_error_regex"
]
=
'The target may only contain these characters: a-z, 0-9, -, ., _, and {space}'
;
$wb
[
'subject_txt'
]
=
'Subject'
;
$wb
[
'from_txt'
]
=
'From'
;
$wb
[
'to_txt'
]
=
'To'
;
$wb
[
'contains_txt'
]
=
'Contains'
;
$wb
[
'is_txt'
]
=
'Is'
;
$wb
[
'begins_with_txt'
]
=
'Begins with'
;
$wb
[
'ends_with_txt'
]
=
'Ends with'
;
$wb
[
'move_to_txt'
]
=
'Move to'
;
$wb
[
'delete_txt'
]
=
'Delete'
;
?>
interface/web/mail/list/mail_whitelist.list.php
View file @
9539ceb4
...
...
@@ -88,7 +88,7 @@ $liste["item"][] = array( 'field' => "type",
'prefix'
=>
""
,
'suffix'
=>
""
,
'width'
=>
""
,
'value'
=>
array
(
'recipient'
=>
'
R
ecipient'
,
'sender'
=>
'
S
ender'
,
'client'
=>
'
C
lient'
));
'value'
=>
array
(
'recipient'
=>
'
r
ecipient
_txt
'
,
'sender'
=>
'
s
ender
_txt
'
,
'client'
=>
'
c
lient
_txt
'
));
?>
\ No newline at end of file
?>
interface/web/mail/templates/mail_user_autoresponder_edit.htm
View file @
9539ceb4
...
...
@@ -18,7 +18,7 @@
<p
style=
"margin-bottom: 3px;"
>
<label
for=
"autoresponder_start_date[day]"
style=
"width: 55px;"
>
{tmpl_var name='autoresponder_start_date_txt'}
</label>
{tmpl_var name='autoresponder_start_date'}
<a
href=
"javascript:AR_SetNow();"
>
now
</a></p>
{tmpl_var name='autoresponder_start_date'}
<a
href=
"javascript:AR_SetNow();"
>
{tmpl_var name='now_txt'}
</a></p>
<label
for=
"password"
style=
"width: 55px;"
>
{tmpl_var name='autoresponder_end_date_txt'}
</label>
{tmpl_var name='autoresponder_end_date'}
...
...
@@ -34,4 +34,4 @@
</div>
</div>
</div>
\ No newline at end of file
</div>
interface/web/sites/form/web_aliasdomain.tform.php
View file @
9539ceb4
...
...
@@ -106,7 +106,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'y'
,
'value'
=>
array
(
''
=>
'
No
redirect'
,
'no'
=>
'
No
flag'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
'value'
=>
array
(
''
=>
'
no_
redirect
_txt
'
,
'no'
=>
'
no_
flag
_txt
'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
),
'redirect_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -124,7 +124,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'y'
,
'value'
=>
array
(
'none'
=>
'none'
,
'www'
=>
'www.'
,
'*'
=>
'*.'
)
'value'
=>
array
(
'none'
=>
'none
_txt
'
,
'www'
=>
'www.'
,
'*'
=>
'*.'
)
),
'active'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -139,4 +139,4 @@ $form["tabs"]['domain'] = array (
);
?>
\ No newline at end of file
?>
interface/web/sites/form/web_domain.tform.php
View file @
9539ceb4
...
...
@@ -178,7 +178,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'y'
,
'value'
=>
array
(
'none'
=>
'none'
,
'www'
=>
'www.'
,
'*'
=>
'*.'
)
'value'
=>
array
(
'none'
=>
'none
_txt
'
,
'www'
=>
'www.'
,
'*'
=>
'*.'
)
),
'ssl'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -191,7 +191,7 @@ $form["tabs"]['domain'] = array (
'formtype'
=>
'SELECT'
,
'default'
=>
'fast-cgi'
,
'valuelimit'
=>
'client:web_php_options'
,
'value'
=>
array
(
'no'
=>
'
D
isabled'
,
'fast-cgi'
=>
'Fast-CGI'
,
'cgi'
=>
'CGI'
,
'mod'
=>
'Mod-PHP'
,
'suphp'
=>
'SuPHP'
)
'value'
=>
array
(
'no'
=>
'
d
isabled
_txt
'
,
'fast-cgi'
=>
'Fast-CGI'
,
'cgi'
=>
'CGI'
,
'mod'
=>
'Mod-PHP'
,
'suphp'
=>
'SuPHP'
)
),
'ruby'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -225,7 +225,7 @@ $form["tabs"]['redirect'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
''
,
'value'
=>
array
(
''
=>
'
No
redirect'
,
'no'
=>
'
No
flag'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
'value'
=>
array
(
''
=>
'
no_
redirect
_txt
'
,
'no'
=>
'
no_
flag
_txt
'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
),
'redirect_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -350,7 +350,7 @@ $form["tabs"]['ssl'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
''
,
'value'
=>
array
(
''
=>
'
N
one'
,
'save'
=>
'
S
ave
C
ertificate'
,
'create'
=>
'
C
reate
C
ertificate'
,
'del'
=>
'
D
elete
C
ertificate'
)
'value'
=>
array
(
''
=>
'
n
one
_txt
'
,
'save'
=>
'
s
ave
_c
ertificate
_txt
'
,
'create'
=>
'
c
reate
_c
ertificate
_txt
'
,
'del'
=>
'
d
elete
_c
ertificate
_txt
'
)
),
##################################
# ENDE Datatable fields
...
...
@@ -512,4 +512,4 @@ $form["tabs"]['advanced'] = array (
}
?>
\ No newline at end of file
?>
interface/web/sites/form/web_subdomain.tform.php
View file @
9539ceb4
...
...
@@ -106,7 +106,7 @@ $form["tabs"]['domain'] = array (
'datatype'
=>
'VARCHAR'
,
'formtype'
=>
'SELECT'
,
'default'
=>
'y'
,
'value'
=>
array
(
''
=>
'
No
redirect'
,
'no'
=>
'
No
flag'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
'value'
=>
array
(
''
=>
'
no_
redirect
_txt
'
,
'no'
=>
'
no_
flag
_txt
'
,
'R'
=>
'R'
,
'L'
=>
'L'
,
'R,L'
=>
'R,L'
)
),
'redirect_path'
=>
array
(
'datatype'
=>
'VARCHAR'
,
...
...
@@ -133,4 +133,4 @@ $form["tabs"]['domain'] = array (
);
?>
\ No newline at end of file
?>
interface/web/sites/lib/lang/cz.lng
View file @
9539ceb4
...
...
@@ -23,4 +23,5 @@ $wb['Webdav-User'] = 'Webdav User';
$wb
[
'Webdav'
]
=
'Webdav'
;
$wb
[
'Statistics'
]
=
'Statistiky'
;
$wb
[
'Website quota (Harddisk)'
]
=
'Disková kvóta'
;
$wb
[
'Web Domain'
]
=
'Webová doména'
;
?>
interface/web/sites/lib/lang/cz_web_aliasdomain_list.lng
View file @
9539ceb4
...
...
@@ -8,4 +8,7 @@ $wb['add_new_record_txt'] = 'Přidat alias doménu';
$wb
[
'domain_error_empty'
]
=
'Doména je prázdná.'
;
$wb
[
'domain_error_unique'
]
=
'Doména musí být unkátní.'
;
$wb
[
'domain_error_regex'
]
=
'Doménové jméno je chybné.'
;
$wb
[
'no_redirect_txt'
]
=
'Žádné přesměrování'
;
$wb
[
'no_flag_txt'
]
=
'Žádný příznak'
;
$wb
[
'none_txt'
]
=
'Žádná'
;
?>
interface/web/sites/lib/lang/cz_web_domain.lng
View file @
9539ceb4
...
...
@@ -64,4 +64,11 @@ $wb['ruby_txt'] = 'Ruby';
$wb
[
'stats_user_txt'
]
=
'Webové statistiky: uživatelské jméno'
;
$wb
[
'stats_type_txt'
]
=
'Webové statistiky: program'
;
$wb
[
'custom_php_ini_txt'
]
=
'Vlastní nastavení php.ini'
;
$wb
[
'none_txt'
]
=
'Žádná'
;
$wb
[
'disabled_txt'
]
=
'Zakázáno'
;
$wb
[
'no_redirect_txt'
]
=
'Žádné přesměrování'
;
$wb
[
'no_flag_txt'
]
=
'Žádný příznak'
;
$wb
[
'save_certificate_txt'
]
=
'Uložit certifikát'
;
$wb
[
'create_certificate_txt'
]
=
'Vytvořit certifikát'
;
$wb
[
'delete_certificate_txt'
]
=
'Smazat certifikát'
;
?>
interface/web/sites/lib/lang/cz_web_subdomain.lng
View file @
9539ceb4
...
...
@@ -37,4 +37,6 @@ $wb['domain_error_unique'] = 'Webová stránka nebo sub / alias doména s tímto
$wb
[
'domain_error_regex'
]
=
'Neplatné doménové jméno.'
;
$wb
[
'host_txt'
]
=
'Host'
;
$wb
[
'redirect_error_regex'
]
=
'Neplatná cesta přesměrování. Platné přesměrování je například: /test/ nebo http://www.domain.tld/test/'
;
$wb
[
'no_redirect_txt'
]
=
'Žádné přesměrování'
;
$wb
[
'no_flag_txt'
]
=
'Žádný příznak'
;
?>
interface/web/sites/lib/lang/en_web_aliasdomain_list.lng
View file @
9539ceb4
...
...
@@ -8,4 +8,7 @@ $wb["add_new_record_txt"] = 'Add new aliasdomain';
$wb
[
"domain_error_empty"
]
=
'Domain is empty.'
;
$wb
[
"domain_error_unique"
]
=
'Domain must be unique.'
;
$wb
[
"domain_error_regex"
]
=
'Domain name invalid.'
;
?>
\ No newline at end of file
$wb
[
'no_redirect_txt'
]
=
'No redirect'
;
$wb
[
'no_flag_txt'
]
=
'No flag'
;
$wb
[
'none_txt'
]
=
'None'
;
?>
interface/web/sites/lib/lang/en_web_domain.lng
View file @
9539ceb4
...
...
@@ -64,4 +64,11 @@ $wb["ruby_txt"] = 'Ruby';
$wb
[
"stats_user_txt"
]
=
'Webstatistics username'
;
$wb
[
"stats_type_txt"
]
=
'Webstatistics program'
;
$wb
[
"custom_php_ini_txt"
]
=
'Custom php.ini settings'
;
?>
\ No newline at end of file
$wb
[
'none_txt'
]
=
'None'
;
$wb
[
'disabled_txt'
]
=
'Disabled'
;
$wb
[
'no_redirect_txt'
]
=
'No redirect'
;
$wb
[
'no_flag_txt'
]
=
'No flag'
;
$wb
[
'save_certificate_txt'
]
=
'Save certificate'
;
$wb
[
'create_certificate_txt'
]
=
'Create certificate'
;
$wb
[
'delete_certificate_txt'
]
=
'Delete certificate'
;
?>
interface/web/sites/lib/lang/en_web_subdomain.lng
View file @
9539ceb4
...
...
@@ -37,4 +37,6 @@ $wb["domain_error_unique"] = 'There is already a website or sub / aliasdomain wi
$wb
[
"domain_error_regex"
]
=
'Domain name invalid.'
;
$wb
[
"host_txt"
]
=
'Host'
;
$wb
[
"redirect_error_regex"
]
=
'Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/'
;
?>
\ No newline at end of file
$wb
[
'no_redirect_txt'
]
=
'No redirect'
;
$wb
[
'no_flag_txt'
]
=
'No flag'
;
?>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment