mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
Pull latest translations
This commit is contained in:
parent
d6a1ab8cb6
commit
188346d520
@ -1,7 +1,3 @@
|
|||||||
# 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:
|
en:
|
||||||
GRIDFIELD_BULK_UPLOAD:
|
GRIDFIELD_BULK_UPLOAD:
|
||||||
FINISH_BTN_LABEL: Finish
|
FINISH_BTN_LABEL: Finish
|
||||||
|
@ -18,3 +18,4 @@ fr:
|
|||||||
TOGGLE_ALL_LINK: Afficher/Masquer tout
|
TOGGLE_ALL_LINK: Afficher/Masquer tout
|
||||||
SAVE_BTN_LABEL: Sauvegarder tout
|
SAVE_BTN_LABEL: Sauvegarder tout
|
||||||
CANCEL_BTN_LABEL: Annuler
|
CANCEL_BTN_LABEL: Annuler
|
||||||
|
SAVE_RESULT_TEXT: '{count} {class} sauvegardés avec succès.'
|
@ -242,9 +242,18 @@ class BuildTransifexTranslations extends Task
|
|||||||
public function saveYMLTranslation($locale, $yml)
|
public function saveYMLTranslation($locale, $yml)
|
||||||
{
|
{
|
||||||
echo "Saving $locale.yml\n";
|
echo "Saving $locale.yml\n";
|
||||||
|
|
||||||
|
if ($locale !== 'en')
|
||||||
|
{
|
||||||
|
$content = $this->getBanner('yml') . $yml;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$content = $yml;
|
||||||
|
}
|
||||||
|
|
||||||
file_put_contents(
|
file_put_contents(
|
||||||
$this->ymlDir . DIRECTORY_SEPARATOR . $locale . '.yml',
|
$this->ymlDir . DIRECTORY_SEPARATOR . $locale . '.yml',
|
||||||
$this->getBanner('yml') . $yml
|
$content
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user