Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8a1a26da
Commit
8a1a26da
authored
Aug 02, 2007
by
Nigel McNie
Browse files
Make the 'search' string translatable in userlist.tpl (thanks to Heinz)
parent
5d51896a
Changes
10
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/pieforms/pieform/elements/bytes.php
View file @
8a1a26da
...
@@ -127,6 +127,12 @@ function pieform_element_bytes_i18n() {
...
@@ -127,6 +127,12 @@ function pieform_element_bytes_i18n() {
'megabytes'
=>
'Megabytes'
,
'megabytes'
=>
'Megabytes'
,
'invalidvalue'
=>
'Value must be a number'
,
'invalidvalue'
=>
'Value must be a number'
,
),
),
'de.utf8'
=>
array
(
'bytes'
=>
'Bytes'
,
'kilobytes'
=>
'Kilobytes'
,
'megabytes'
=>
'Megabytes'
,
'invalidvalue'
=>
'Wert muss eine Zahl sein'
,
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/elements/calendar.php
View file @
8a1a26da
...
@@ -154,7 +154,10 @@ function pieform_element_calendar_i18n() {
...
@@ -154,7 +154,10 @@ function pieform_element_calendar_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'invalidvalue'
=>
'Invalid date/time specified'
'invalidvalue'
=>
'Invalid date/time specified'
)
),
'de.utf8'
=>
array
(
'invalidvalue'
=>
'Datum/Zeit sind falsch festgelegt'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/elements/date.php
View file @
8a1a26da
...
@@ -132,7 +132,11 @@ function pieform_element_date_i18n() {
...
@@ -132,7 +132,11 @@ function pieform_element_date_i18n() {
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'or'
=>
'or'
,
'or'
=>
'or'
,
'notspecified'
=>
'Not specified'
'notspecified'
=>
'Not specified'
)
),
'de.utf8'
=>
array
(
'or'
=>
'oder'
,
'notspecified'
=>
'Nicht festgelegt'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/email.php
View file @
8a1a26da
...
@@ -46,7 +46,10 @@ function pieform_rule_email_i18n() {
...
@@ -46,7 +46,10 @@ function pieform_rule_email_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'email'
=>
'E-mail address is invalid'
'email'
=>
'E-mail address is invalid'
)
),
'de.utf8'
=>
array
(
'email'
=>
'Die E-Mail Addresse ist ungültig'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/integer.php
View file @
8a1a26da
...
@@ -43,7 +43,10 @@ function pieform_rule_integer_i18n() {
...
@@ -43,7 +43,10 @@ function pieform_rule_integer_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'integer'
=>
'The field must be an integer'
'integer'
=>
'The field must be an integer'
)
),
'de.utf8'
=>
array
(
'integer'
=>
'Das Feld muss eine Zahl sein'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/maxlength.php
View file @
8a1a26da
...
@@ -43,7 +43,10 @@ function pieform_rule_maxlength_i18n() {
...
@@ -43,7 +43,10 @@ function pieform_rule_maxlength_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'maxlength'
=>
'This field must be at most %d characters long'
'maxlength'
=>
'This field must be at most %d characters long'
)
),
'de.utf8'
=>
array
(
'maxlength'
=>
'Das Feld darf höchstens %d Zeichen lang sein'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/minlength.php
View file @
8a1a26da
...
@@ -43,7 +43,10 @@ function pieform_rule_minlength_i18n() {
...
@@ -43,7 +43,10 @@ function pieform_rule_minlength_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'minlength'
=>
'This field must be at least %d characters long'
,
'minlength'
=>
'This field must be at least %d characters long'
,
)
),
'de.utf8'
=>
array
(
'minlength'
=>
'Das Feld muss zumindest %d Zeichen lang sein'
,
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/regex.php
View file @
8a1a26da
...
@@ -44,7 +44,10 @@ function pieform_rule_regex_i18n() {
...
@@ -44,7 +44,10 @@ function pieform_rule_regex_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'regex'
=>
'This field is not in valid form'
'regex'
=>
'This field is not in valid form'
)
),
'de.utf8'
=>
array
(
'regex'
=>
'Das Feld hat keine zulässige Form'
),
);
);
}
}
...
...
htdocs/lib/pieforms/pieform/rules/required.php
View file @
8a1a26da
...
@@ -43,7 +43,10 @@ function pieform_rule_required_i18n() {
...
@@ -43,7 +43,10 @@ function pieform_rule_required_i18n() {
return
array
(
return
array
(
'en.utf8'
=>
array
(
'en.utf8'
=>
array
(
'required'
=>
'This field is required'
'required'
=>
'This field is required'
)
),
'de.utf8'
=>
array
(
'required'
=>
'Das Feld ist erforderlich'
),
);
);
}
}
...
...
htdocs/theme/default/templates/form/userlist.tpl
View file @
8a1a26da
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<label
for=
"{
{
$name
}
}_search"
>
S
earch:
</label><input
id=
"{
{
$name
}
}_search"
type=
"text"
class=
"text"
>
<button
id=
"{
{
$name
}
}_search_btn"
type=
"button"
class=
"button"
>
{
{
str
tag
=
"go"
}
}
</button>
<label
for=
"{
{
$name
}
}_search"
>
{
{
str
tag
=
's
earch
'
}
}
:
</label><input
id=
"{
{
$name
}
}_search"
type=
"text"
class=
"text"
>
<button
id=
"{
{
$name
}
}_search_btn"
type=
"button"
class=
"button"
>
{
{
str
tag
=
"go"
}
}
</button>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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