Commit 5d51896a authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix to have pieforms use the language the site is using. Added german...

Fix to have pieforms use the language the site is using. Added german translation of expiry element (thanks to Heinz)
parent e8a80329
......@@ -998,6 +998,7 @@ function pieform_configure() {
return array(
'method' => 'post',
'action' => '',
'language' => get_config('lang'),
'autofocus' => true,
'renderer' => 'maharatable',
'elementclasses' => true,
......
......@@ -130,6 +130,13 @@ function pieform_element_expiry_i18n() {
'months' => 'Months',
'years' => 'Years',
'noenddate' => 'No end date'
),
'de.utf8' => array(
'days' => 'Tage',
'weeks' => 'Wochen',
'months' => 'Monate',
'years' => 'Jahre',
'noenddate' => 'kein Endedatum'
)
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment