Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some translation in cms core

  • Loading branch information...
commit 5d3ddafbd8cb69cbfd4ee846a413a6ab79948b9a 1 parent 27aad3d
Ladislav Kubes lku authored
Showing with 3 additions and 1 deletion.
  1. +1 −1  code/CMSMain.php
  2. +1 −0  lang/cs_CZ.php
  3. +1 −0  lang/en_US.php
2  code/CMSMain.php
View
@@ -377,7 +377,7 @@ function save_siteconfig($data, $form) {
$siteConfig = SiteConfig::current_site_config();
$form->saveInto($siteConfig);
$siteConfig->write();
- FormResponse::status_message('Saved site configuration', "good");
+ FormResponse::status_message(_t('CMSMain.SAVEDSITECONFIGURATION', 'Saved site configuration'), "good");
FormResponse::add("$('Form_EditForm').resetElements();");
$title = Convert::raw2js($siteConfig->Title);
1  lang/cs_CZ.php
View
@@ -155,6 +155,7 @@
$lang['cs_CZ']['CMSMain']['VISITRESTORE'] = 'navštívit restorepage/(ID)';
$lang['cs_CZ']['CMSMain']['WAITINGON'] = 'Čekáte na jiné lidi, než dokončí práci na těchto <b>%d</b> stránkách.';
$lang['cs_CZ']['CMSMain']['WORKTODO'] = 'Máte na těchto <b>%d</b> stránkách práci k udělání.';
+$lang['cs_CZ']['CMSMain']['SAVEDSITECONFIGURATION'] = 'Nastavení stránky uloženo';
$lang['cs_CZ']['CMSMain_dialog.ss']['BUTTONNOTFOUND'] = 'Systém nemůže nelézt jméno tlačítka';
$lang['cs_CZ']['CMSMain_dialog.ss']['NOLINKED'] = 'Nemůžete najít objekt window.linkedObject pro zaslání kliknutí na tlačítko zpět do hlavního okna.';
$lang['cs_CZ']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Přidáno do konceptů, ale ještě nezveřejněno';
1  lang/en_US.php
View
@@ -154,6 +154,7 @@
PR_MEDIUM,
'Version number is a linked string, created is a relative time (e.g. 2 days ago), by a specific author'
);
+$lang['en_US']['CMSMain']['SAVEDSITECONFIGURATION'] = 'Saved site configuration';
$lang['en_US']['CMSMain_dialog.ss']['BUTTONNOTFOUND'] = 'Couldn\'t find the button name';
$lang['en_US']['CMSMain_dialog.ss']['NOLINKED'] = 'Can\'t find window.linkedObject to send the button click back to the main window';
$lang['en_US']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Added to the draft site and not published yet';
Please sign in to comment.
Something went wrong with that request. Please try again.