Translation refactoring

This commit is contained in:
colymba 2014-04-13 19:56:12 +03:00 committed by Thierry Francois
parent 2366df49bd
commit c3af2d392d
27 changed files with 35 additions and 309 deletions

View File

@ -1,8 +1,9 @@
<?php <?php
//define global path to Components' root folder //define global path to Components' root folder
if(!defined('BULKEDITTOOLS_UPLOAD_PATH')) if(!defined('BULKEDITTOOLS_PATH'))
{ {
$folder = rtrim(basename(dirname(__FILE__))); $folder = rtrim(basename(dirname(__FILE__)));
define('BULKEDITTOOLS_PATH', $folder);
define('BULKEDITTOOLS_UPLOAD_PATH', $folder . '/bulkupload'); define('BULKEDITTOOLS_UPLOAD_PATH', $folder . '/bulkupload');
define('BULKEDITTOOLS_MANAGER_PATH', $folder . '/bulkManager'); define('BULKEDITTOOLS_MANAGER_PATH', $folder . '/bulkManager');
} }

View File

@ -39,7 +39,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
$actions = new FieldList(); $actions = new FieldList();
$actions->push( $actions->push(
FormAction::create('SaveAll', _t('GridFieldBulkTools.SAVE_BTN_LABEL', 'Save All')) FormAction::create('SaveAll', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.SAVE_BTN_LABEL', 'Save all'))
->setAttribute('id', 'bulkEditingUpdateBtn') ->setAttribute('id', 'bulkEditingUpdateBtn')
->addExtraClass('ss-ui-action-constructive cms-panel-link') ->addExtraClass('ss-ui-action-constructive cms-panel-link')
->setAttribute('data-icon', 'accept') ->setAttribute('data-icon', 'accept')
@ -49,7 +49,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
); );
$actions->push( $actions->push(
FormAction::create('Cancel', _t('GridFieldBulkManager.CANCEL_BTN_LABEL', 'Cancel')) FormAction::create('Cancel', _t('GRIDFIELD_BULKMANAGER_EDIT_HANDLER.CANCEL_BTN_LABEL', 'Cancel'))
->setAttribute('id', 'bulkEditingUpdateCancelBtn') ->setAttribute('id', 'bulkEditingUpdateCancelBtn')
->addExtraClass('ss-ui-action-destructive cms-panel-link') ->addExtraClass('ss-ui-action-destructive cms-panel-link')
->setAttribute('data-icon', 'decline') ->setAttribute('data-icon', 'decline')
@ -110,7 +110,7 @@ class GridFieldBulkActionEditHandler extends GridFieldBulkActionHandler
Requirements::javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/GridFieldBulkEditingForm.js'); Requirements::javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/GridFieldBulkEditingForm.js');
Requirements::css(BULKEDITTOOLS_MANAGER_PATH . '/css/GridFieldBulkEditingForm.css'); Requirements::css(BULKEDITTOOLS_MANAGER_PATH . '/css/GridFieldBulkEditingForm.css');
Requirements::add_i18n_javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/lang'); Requirements::add_i18n_javascript(BULKEDITTOOLS_PATH . '/lang/js');
if($this->request->isAjax()) if($this->request->isAjax())
{ {

View File

@ -42,7 +42,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
{ {
$this->config['actions'] = array( $this->config['actions'] = array(
'bulkedit' => array( 'bulkedit' => array(
'label' => _t('GridFieldBulkTools.EDIT_SELECT_LABEL', 'Edit'), 'label' => _t('GRIDFIELD_BULK_MANAGER.EDIT_SELECT_LABEL', 'Edit'),
'handler' => 'GridFieldBulkActionEditHandler', 'handler' => 'GridFieldBulkActionEditHandler',
'config' => array( 'config' => array(
'isAjax' => false, 'isAjax' => false,
@ -51,7 +51,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
) )
), ),
'unlink' => array( 'unlink' => array(
'label' => _t('GridFieldBulkTools.UNLINK_SELECT_LABEL', 'UnLink'), 'label' => _t('GRIDFIELD_BULK_MANAGER.UNLINK_SELECT_LABEL', 'UnLink'),
'handler' => 'GridFieldBulkActionUnlinkHandler', 'handler' => 'GridFieldBulkActionUnlinkHandler',
'config' => array( 'config' => array(
'isAjax' => true, 'isAjax' => true,
@ -60,7 +60,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
) )
), ),
'delete' => array( 'delete' => array(
'label' => _t('GridFieldBulkTools.DELETE_SELECT_LABEL', 'Delete'), 'label' => _t('GRIDFIELD_BULK_MANAGER.DELETE_SELECT_LABEL', 'Delete'),
'handler' => 'GridFieldBulkActionDeleteHandler', 'handler' => 'GridFieldBulkActionDeleteHandler',
'config' => array( 'config' => array(
'isAjax' => true, 'isAjax' => true,
@ -290,7 +290,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
{ {
Requirements::css(BULKEDITTOOLS_MANAGER_PATH . '/css/GridFieldBulkManager.css'); Requirements::css(BULKEDITTOOLS_MANAGER_PATH . '/css/GridFieldBulkManager.css');
Requirements::javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/GridFieldBulkManager.js'); Requirements::javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/GridFieldBulkManager.js');
Requirements::add_i18n_javascript(BULKEDITTOOLS_MANAGER_PATH . '/javascript/lang'); Requirements::add_i18n_javascript(BULKEDITTOOLS_PATH . '/lang/js');
if ( !count($this->config['actions']) ) if ( !count($this->config['actions']) )
{ {
@ -317,13 +317,13 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
$templateData = array( $templateData = array(
'Menu' => $dropDownActionsList->FieldHolder(), 'Menu' => $dropDownActionsList->FieldHolder(),
'Button' => array( 'Button' => array(
'Label' => _t('GridFieldBulkTools.ACTION_BTN_LABEL', 'Go'), 'Label' => _t('GRIDFIELD_BULK_MANAGER.ACTION_BTN_LABEL', 'Go'),
'DataURL' => $gridField->Link('bulkaction'), 'DataURL' => $gridField->Link('bulkaction'),
'Icon' => $this->config['actions'][$firstAction]['config']['icon'], 'Icon' => $this->config['actions'][$firstAction]['config']['icon'],
'DataConfig' => htmlspecialchars(json_encode($actionsConfig), ENT_QUOTES, 'UTF-8') 'DataConfig' => htmlspecialchars(json_encode($actionsConfig), ENT_QUOTES, 'UTF-8')
), ),
'Select' => array( 'Select' => array(
'Label' => _t('GridFieldBulkTools.SELECT_ALL_LABEL', 'Select all') 'Label' => _t('GRIDFIELD_BULK_MANAGER.SELECT_ALL_LABEL', 'Select all')
), ),
'Colspan' => (count($gridField->getColumns()) - 1) 'Colspan' => (count($gridField->getColumns()) - 1)
); );

View File

@ -180,14 +180,14 @@
if ( ids.length <= 0 ) if ( ids.length <= 0 )
{ {
alert( ss.i18n._t('GridFieldBulkManager.BULKACTION_EMPTY_SELECT') ); alert( ss.i18n._t('GRIDFIELD_BULK_MANAGER.BULKACTION_EMPTY_SELECT') );
return; return;
} }
//if ( $btn.hasClass('ss-ui-action-destructive') ) //if ( $btn.hasClass('ss-ui-action-destructive') )
if ( config[action]['isDestructive'] ) if ( config[action]['isDestructive'] )
{ {
if( !confirm(ss.i18n._t('GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION')) ) if( !confirm(ss.i18n._t('GRIDFIELD_BULK_MANAGER.CONFIRM_DESTRUCTIVE_ACTION')) )
{ {
if ( callbackFunction && callbackContext ) if ( callbackFunction && callbackContext )
{ {

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
cs:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Hromadně nahrát
FINISH_BTN_LABEL: Dokončit
SAVE_BTN_LABEL: Uložit vše
CANCEL_BTN_LABEL: Storno & Smazat vše
EDIT_SELECT_LABEL: Upravit
UNLINK_SELECT_LABEL: Odstranit vazbu
DELETE_SELECT_LABEL: Smazat
ACTION_BTN_LABEL: Provést
SELECT_ALL_LABEL: Vybrat vše
GridFieldBulkManager:
CANCEL_BTN_LABEL: Storno

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
de:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Fertigstellen
SAVE_BTN_LABEL: Alle speichern
CANCEL_BTN_LABEL: Abbrechen & alle löschen
EDIT_SELECT_LABEL: Bearbeiten
UNLINK_SELECT_LABEL: Verbindung entfernen
DELETE_SELECT_LABEL: Löschen
ACTION_BTN_LABEL: Los
SELECT_ALL_LABEL: Alle auswählen
GridFieldBulkManager:
CANCEL_BTN_LABEL: Abbrechen

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
en:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Finish
SAVE_BTN_LABEL: Save All
CANCEL_BTN_LABEL: Cancel & Delete All
EDIT_SELECT_LABEL: Edit
UNLINK_SELECT_LABEL: Unlink
DELETE_SELECT_LABEL: Delete
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Select all
GridFieldBulkManager:
CANCEL_BTN_LABEL: Cancel

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
fr:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Upload groupé
FINISH_BTN_LABEL: Terminer
SAVE_BTN_LABEL: Enregistrer tout
CANCEL_BTN_LABEL: Annuler & supprimer tout
EDIT_SELECT_LABEL: Editer
UNLINK_SELECT_LABEL: Retirer
DELETE_SELECT_LABEL: Supprimer
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Sélectionner tout
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuler

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
nl:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Afronden
SAVE_BTN_LABEL: Alles opslaan
CANCEL_BTN_LABEL: Annuleren & alles verwijderen
EDIT_SELECT_LABEL: Bewerken
UNLINK_SELECT_LABEL: Loskoppelen
DELETE_SELECT_LABEL: Verwijderen
ACTION_BTN_LABEL: Gaan
SELECT_ALL_LABEL: Selecteer alles
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuleren

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
cs:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Hromadně nahrát
FINISH_BTN_LABEL: Dokončit
SAVE_BTN_LABEL: Uložit vše
CANCEL_BTN_LABEL: Storno & Smazat vše
EDIT_SELECT_LABEL: Upravit
UNLINK_SELECT_LABEL: Odstranit vazbu
DELETE_SELECT_LABEL: Smazat
ACTION_BTN_LABEL: Provést
SELECT_ALL_LABEL: Vybrat vše
GridFieldBulkManager:
CANCEL_BTN_LABEL: Storno

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
de:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Fertigstellen
SAVE_BTN_LABEL: Alle speichern
CANCEL_BTN_LABEL: Abbrechen & alle löschen
EDIT_SELECT_LABEL: Bearbeiten
UNLINK_SELECT_LABEL: Verbindung entfernen
DELETE_SELECT_LABEL: Löschen
ACTION_BTN_LABEL: Los
SELECT_ALL_LABEL: Alle auswählen
GridFieldBulkManager:
CANCEL_BTN_LABEL: Abbrechen

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
fr:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Upload groupé
FINISH_BTN_LABEL: Terminer
SAVE_BTN_LABEL: Enregistrer tout
CANCEL_BTN_LABEL: Annuler & supprimer tout
EDIT_SELECT_LABEL: Editer
UNLINK_SELECT_LABEL: Retirer
DELETE_SELECT_LABEL: Supprimer
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Sélectionner tout
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuler

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
nl:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Afronden
SAVE_BTN_LABEL: Alles opslaan
CANCEL_BTN_LABEL: Annuleren & alles verwijderen
EDIT_SELECT_LABEL: Bewerken
UNLINK_SELECT_LABEL: Loskoppelen
DELETE_SELECT_LABEL: Verwijderen
ACTION_BTN_LABEL: Gaan
SELECT_ALL_LABEL: Selecteer alles
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuleren

View File

@ -200,25 +200,25 @@ class GridFieldBulkUpload implements GridField_HTMLProvider, GridField_URLHandle
$bulkManager = $gridField->getConfig()->getComponentsByType('GridFieldBulkManager'); $bulkManager = $gridField->getConfig()->getComponentsByType('GridFieldBulkManager');
// upload management buttons // upload management buttons
$finishButton = FormAction::create('Finish', _t('GridFieldBulkTools.FINISH_BTN_LABEL', 'Finish')) $finishButton = FormAction::create('Finish', _t('GRIDFIELD_BULK_UPLOAD.FINISH_BTN_LABEL', 'Finish'))
->addExtraClass('bulkUploadFinishButton') ->addExtraClass('bulkUploadFinishButton')
->setAttribute('data-icon', 'accept') ->setAttribute('data-icon', 'accept')
->setUseButtonTag(true); ->setUseButtonTag(true);
$clearErrorButton = FormAction::create('ClearError', _t('GridFieldBulkTools.CLEAR_ERROR_BTN_LABEL', 'Clear errors')) $clearErrorButton = FormAction::create('ClearError', _t('GRIDFIELD_BULK_UPLOAD.CLEAR_ERROR_BTN_LABEL', 'Clear errors'))
->addExtraClass('bulkUploadClearErrorButton') ->addExtraClass('bulkUploadClearErrorButton')
->setAttribute('data-icon', 'arrow-circle-double') ->setAttribute('data-icon', 'arrow-circle-double')
->setUseButtonTag(true); ->setUseButtonTag(true);
if ( $bulkManager ) if ( $bulkManager )
{ {
$cancelButton = FormAction::create('Cancel', _t('GridFieldBulkTools.CANCEL_BTN_LABEL', 'Cancel')) $cancelButton = FormAction::create('Cancel', _t('GRIDFIELD_BULK_UPLOAD.CANCEL_BTN_LABEL', 'Cancel'))
->addExtraClass('bulkUploadCancelButton ss-ui-action-destructive') ->addExtraClass('bulkUploadCancelButton ss-ui-action-destructive')
->setAttribute('data-icon', 'decline') ->setAttribute('data-icon', 'decline')
->setAttribute('data-url', $gridField->Link('bulkupload/cancel')) ->setAttribute('data-url', $gridField->Link('bulkupload/cancel'))
->setUseButtonTag(true); ->setUseButtonTag(true);
$editAllButton = FormAction::create('EditAll', _t('GridFieldBulkTools.EDIT_ALL_BTN_LABEL', 'Edit all')) $editAllButton = FormAction::create('EditAll', _t('GRIDFIELD_BULK_UPLOAD.EDIT_ALL_BTN_LABEL', 'Edit all'))
->addExtraClass('bulkUploadEditButton') ->addExtraClass('bulkUploadEditButton')
->setAttribute('data-icon', 'pencil') ->setAttribute('data-icon', 'pencil')
->setAttribute('data-url', $gridField->Link('bulkupload/edit')) ->setAttribute('data-url', $gridField->Link('bulkupload/edit'))
@ -244,7 +244,7 @@ class GridFieldBulkUpload implements GridField_HTMLProvider, GridField_URLHandle
Requirements::css(BULKEDITTOOLS_UPLOAD_PATH . '/css/GridFieldBulkUpload.css'); Requirements::css(BULKEDITTOOLS_UPLOAD_PATH . '/css/GridFieldBulkUpload.css');
Requirements::javascript(BULKEDITTOOLS_UPLOAD_PATH . '/javascript/GridFieldBulkUpload.js'); Requirements::javascript(BULKEDITTOOLS_UPLOAD_PATH . '/javascript/GridFieldBulkUpload.js');
Requirements::javascript(BULKEDITTOOLS_UPLOAD_PATH . '/javascript/GridFieldBulkUpload_downloadtemplate.js'); Requirements::javascript(BULKEDITTOOLS_UPLOAD_PATH . '/javascript/GridFieldBulkUpload_downloadtemplate.js');
Requirements::add_i18n_javascript(BULKEDITTOOLS_UPLOAD_PATH . '/javascript/lang'); Requirements::add_i18n_javascript(BULKEDITTOOLS_PATH . '/lang/js');
return array( return array(
'header' => $data->renderWith('GridFieldBulkUpload') 'header' => $data->renderWith('GridFieldBulkUpload')

View File

@ -45,13 +45,6 @@
; ;
this.parents('.ss-uploadfield').find('.colymba-bulkupload-buttons').refresh(total, done, errors); this.parents('.ss-uploadfield').find('.colymba-bulkupload-buttons').refresh(total, done, errors);
/*
this.closest('.colymba-bulkupload-info').html(ss.i18n.sprintf(
ss.i18n._t('GRIDFIELD_BULK_UPLOAD.PROGRESS_INFO'),
total,
done,
total
));*/
} }
}); });

View File

@ -1,13 +0,0 @@
// DO NOT MODIFY. Generated by build task.
// Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('cs', {
"GridFieldBulkTools.FINISH_CONFIRM": "Máte neuložené změny. Pokud budete pokračovat neuložená data budou nenávratně ztracena.\n\nOpravdu chcete pokračovat?",
"GridFieldBulkTools.EDIT_CHANGED": "Změněno",
"GridFieldBulkTools.EDIT_UPDATED": "Uloženo",
"GridFieldBulkManager.BULKACTION_EMPTY_SELECT": "Musíte vybrat alespoň jednu položku.",
"GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION": "Data budou nenávratně ztracena. Opravdu chcete pokračovat?"
});
}

View File

@ -1,13 +0,0 @@
// DO NOT MODIFY. Generated by build task.
// Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('de', {
"GridFieldBulkTools.FINISH_CONFIRM": "Ihre Änderungen sind nicht gespeichert. Wenn sie fortfahren gehen diese Daten verloren.\n\nMöchten Sie fortfahren?",
"GridFieldBulkTools.EDIT_CHANGED": "Geändert",
"GridFieldBulkTools.EDIT_UPDATED": "Gespeichert",
"GridFieldBulkManager.BULKACTION_EMPTY_SELECT": "Sie müssen mindestens ein Element auswählen",
"GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION": "Wollen Sie dieses Element wirklich unwiderruflich löschen?"
});
}

View File

@ -1,14 +0,0 @@
// DO NOT MODIFY. Generated by build task.
// Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('en', {
"GRIDFIELD_BULK_UPLOAD.PROGRESS_INFO": "Uploading %s file(s). %s done. %s error(s).",
"GridFieldBulkTools.FINISH_CONFIRM": "You have unsaved changes. Continuing will loose all unsaved data.\n\nDo your really want to continue?",
"GridFieldBulkTools.EDIT_CHANGED": "Modified",
"GridFieldBulkTools.EDIT_UPDATED": "Saved",
"GridFieldBulkManager.BULKACTION_EMPTY_SELECT": "You must select at least one record.",
"GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION": "The data will be lost permanently. Do you want to continue?"
});
}

View File

@ -1,13 +0,0 @@
// DO NOT MODIFY. Generated by build task.
// Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('fr', {
"GridFieldBulkTools.FINISH_CONFIRM": "Vous avez des changements non enregistrés. En continuant vous allez perdre toutes vos données non enregistrées.\n\nVoulez-vous vraiment continuer?",
"GridFieldBulkTools.EDIT_CHANGED": "Changé",
"GridFieldBulkTools.EDIT_UPDATED": "Enregisté",
"GridFieldBulkManager.BULKACTION_EMPTY_SELECT": "Vous devez séléctionner au moins un élément.",
"GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION": "Vos données seront perdues définitivement. Voulez-vous continuer?"
});
}

View File

@ -1,13 +0,0 @@
// DO NOT MODIFY. Generated by build task.
// Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('nl', {
"GridFieldBulkTools.FINISH_CONFIRM": "Er zijn niet-opgeslagen wijzigingen.\n\nDoorgaan zal al deze niet-opgeslagen wijzigingen vergeten.\n\nWeet je zeker dat je de pagina wilt verlaten?",
"GridFieldBulkTools.EDIT_CHANGED": "Aangepast",
"GridFieldBulkTools.EDIT_UPDATED": "Opgeslagen",
"GridFieldBulkManager.BULKACTION_EMPTY_SELECT": "U moet minstens een item te selecteren.",
"GridFieldBulkManager.CONFIRM_DESTRUCTIVE_ACTION": "De gegevens zullen permanent verloren. Weet je zeker dat je de pagina wilt verlaten?"
});
}

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
cs:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Hromadně nahrát
FINISH_BTN_LABEL: Dokončit
SAVE_BTN_LABEL: Uložit vše
CANCEL_BTN_LABEL: Storno & Smazat vše
EDIT_SELECT_LABEL: Upravit
UNLINK_SELECT_LABEL: Odstranit vazbu
DELETE_SELECT_LABEL: Smazat
ACTION_BTN_LABEL: Provést
SELECT_ALL_LABEL: Vybrat vše
GridFieldBulkManager:
CANCEL_BTN_LABEL: Storno

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
de:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Fertigstellen
SAVE_BTN_LABEL: Alle speichern
CANCEL_BTN_LABEL: Abbrechen & alle löschen
EDIT_SELECT_LABEL: Bearbeiten
UNLINK_SELECT_LABEL: Verbindung entfernen
DELETE_SELECT_LABEL: Löschen
ACTION_BTN_LABEL: Los
SELECT_ALL_LABEL: Alle auswählen
GridFieldBulkManager:
CANCEL_BTN_LABEL: Abbrechen

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
en:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Finish
SAVE_BTN_LABEL: Save All
CANCEL_BTN_LABEL: Cancel & Delete All
EDIT_SELECT_LABEL: Edit
UNLINK_SELECT_LABEL: Unlink
DELETE_SELECT_LABEL: Delete
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Select all
GridFieldBulkManager:
CANCEL_BTN_LABEL: Cancel

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
fr:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Upload groupé
FINISH_BTN_LABEL: Terminer
SAVE_BTN_LABEL: Enregistrer tout
CANCEL_BTN_LABEL: Annuler & supprimer tout
EDIT_SELECT_LABEL: Editer
UNLINK_SELECT_LABEL: Retirer
DELETE_SELECT_LABEL: Supprimer
ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Sélectionner tout
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuler

View File

@ -1,15 +0,0 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
nl:
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Afronden
SAVE_BTN_LABEL: Alles opslaan
CANCEL_BTN_LABEL: Annuleren & alles verwijderen
EDIT_SELECT_LABEL: Bewerken
UNLINK_SELECT_LABEL: Loskoppelen
DELETE_SELECT_LABEL: Verwijderen
ACTION_BTN_LABEL: Gaan
SELECT_ALL_LABEL: Selecteer alles
GridFieldBulkManager:
CANCEL_BTN_LABEL: Annuleren

View File

@ -1,17 +1,16 @@
# DO NOT MODIFY. Generated by build task.
# Contribute here: https://www.transifex.com/projects/p/gridfieldbulkeditingtools/
en: en:
GRIDFIELD_BULK_UPLOAD:
FINISH_BTN_LABEL: Finish
CANCEL_BTN_LABEL: Cancel
CLEAR_ERROR_BTN_LABEL: Clear errors
EDIT_ALL_BTN_LABEL: Edit all
GRIDFIELD_BULK_MANAGER: GRIDFIELD_BULK_MANAGER:
COMPONENT_TITLE: Modify one or more entry at a time. COMPONENT_TITLE: Modify one or more entry at a time.
GridFieldBulkTools:
BULK_UPLOAD_BTN_LABEL: Bulk Upload
FINISH_BTN_LABEL: Finish
SAVE_BTN_LABEL: Save All
CANCEL_BTN_LABEL: Cancel & Delete All
EDIT_SELECT_LABEL: Edit EDIT_SELECT_LABEL: Edit
UNLINK_SELECT_LABEL: Unlink UNLINK_SELECT_LABEL: Unlink
DELETE_SELECT_LABEL: Delete DELETE_SELECT_LABEL: Delete
ACTION_BTN_LABEL: Go ACTION_BTN_LABEL: Go
SELECT_ALL_LABEL: Select all SELECT_ALL_LABEL: Select all
GridFieldBulkManager: GRIDFIELD_BULKMANAGER_EDIT_HANDLER:
SAVE_BTN_LABEL: Save all
CANCEL_BTN_LABEL: Cancel CANCEL_BTN_LABEL: Cancel

9
lang/js/en.js Normal file
View File

@ -0,0 +1,9 @@
if(typeof(ss) == 'undefined' || typeof(ss.i18n) == 'undefined') {
if(typeof(console) != 'undefined') console.error('Class ss.i18n not defined');
} else {
ss.i18n.addDictionary('en', {
"GRIDFIELD_BULK_UPLOAD.PROGRESS_INFO": "Uploading %s file(s). %s done. %s error(s).",
"GRIDFIELD_BULK_MANAGER.BULKACTION_EMPTY_SELECT": "You must select at least one record.",
"GRIDFIELD_BULK_MANAGER.CONFIRM_DESTRUCTIVE_ACTION": "The data will be lost permanently. Do you want to continue?"
});
}