Added missing translation strings

This commit is contained in:
Thierry Francois 2014-05-10 14:34:40 +03:00
parent 2fe824f2c8
commit bfd73ffb2e
3 changed files with 14 additions and 7 deletions

View File

@ -68,15 +68,16 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
$singleton = singleton($modelClass);
$titleModelClass = (($editingCount > 1) ? $singleton->i18n_plural_name() : $singleton->i18n_singular_name());
$headerText = _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.HEADER_TEXT',
'Editing {count} {class}',
array(
'count' => $editingCount,
'class' => $titleModelClass
)
);
$header = LiteralField::create(
'bulkEditHeader',
'<h1 id="bulkEditHeader">' . _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.HEADER',
'Editing {count} {class}',
array(
'count' => $editingCount,
'class' => $titleModelClass
)
) . '</h1>'
'<h1 id="bulkEditHeader">' . $headerText . '</h1>'
);
$recordsFieldList->push($header);

View File

@ -1,5 +1,7 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
en:
GRIDFIELD_BULK_UPLOAD:
FINISH_BTN_LABEL: Finish
@ -14,5 +16,7 @@ en:
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Select all
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
HEADER_TEXT: Editing {count} {class}
TOGGLE_ALL_LINK: Show/Hide all
SAVE_BTN_LABEL: Save all
CANCEL_BTN_LABEL: Cancel

View File

@ -14,5 +14,7 @@ fr:
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Sélectionner tout
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
HEADER_TEXT: Edition de {count} {class}
TOGGLE_ALL_LINK: Afficher/Masquer tout
SAVE_BTN_LABEL: Sauvegarder tout
CANCEL_BTN_LABEL: Annuler