mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Added missing translation strings
This commit is contained in:
parent
2fe824f2c8
commit
bfd73ffb2e
@ -68,15 +68,16 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
|
|||||||
$singleton = singleton($modelClass);
|
$singleton = singleton($modelClass);
|
||||||
$titleModelClass = (($editingCount > 1) ? $singleton->i18n_plural_name() : $singleton->i18n_singular_name());
|
$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(
|
$header = LiteralField::create(
|
||||||
'bulkEditHeader',
|
'bulkEditHeader',
|
||||||
'<h1 id="bulkEditHeader">' . _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.HEADER',
|
'<h1 id="bulkEditHeader">' . $headerText . '</h1>'
|
||||||
'Editing {count} {class}',
|
|
||||||
array(
|
|
||||||
'count' => $editingCount,
|
|
||||||
'class' => $titleModelClass
|
|
||||||
)
|
|
||||||
) . '</h1>'
|
|
||||||
);
|
);
|
||||||
$recordsFieldList->push($header);
|
$recordsFieldList->push($header);
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
# DO NOT MODIFY. Generated by build task.
|
# DO NOT MODIFY. Generated by build task.
|
||||||
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
|
# 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:
|
en:
|
||||||
GRIDFIELD_BULK_UPLOAD:
|
GRIDFIELD_BULK_UPLOAD:
|
||||||
FINISH_BTN_LABEL: Finish
|
FINISH_BTN_LABEL: Finish
|
||||||
@ -14,5 +16,7 @@ en:
|
|||||||
ACTION_BTN_LABEL: Go
|
ACTION_BTN_LABEL: Go
|
||||||
SELECT_ALL_LABEL: Select all
|
SELECT_ALL_LABEL: Select all
|
||||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||||
|
HEADER_TEXT: Editing {count} {class}
|
||||||
|
TOGGLE_ALL_LINK: Show/Hide all
|
||||||
SAVE_BTN_LABEL: Save all
|
SAVE_BTN_LABEL: Save all
|
||||||
CANCEL_BTN_LABEL: Cancel
|
CANCEL_BTN_LABEL: Cancel
|
@ -14,5 +14,7 @@ fr:
|
|||||||
ACTION_BTN_LABEL: Go
|
ACTION_BTN_LABEL: Go
|
||||||
SELECT_ALL_LABEL: Sélectionner tout
|
SELECT_ALL_LABEL: Sélectionner tout
|
||||||
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
|
||||||
|
HEADER_TEXT: Edition de {count} {class}
|
||||||
|
TOGGLE_ALL_LINK: Afficher/Masquer tout
|
||||||
SAVE_BTN_LABEL: Sauvegarder tout
|
SAVE_BTN_LABEL: Sauvegarder tout
|
||||||
CANCEL_BTN_LABEL: Annuler
|
CANCEL_BTN_LABEL: Annuler
|
Loading…
Reference in New Issue
Block a user