Skip to content
This repository
Browse code

Add some translation in cms core

  • Loading branch information...
commit 5d3ddafbd8cb69cbfd4ee846a413a6ab79948b9a 1 parent 27aad3d
Ladislav Kubes authored June 09, 2011
2  code/CMSMain.php
@@ -377,7 +377,7 @@ function save_siteconfig($data, $form) {
377 377
 		$siteConfig = SiteConfig::current_site_config();
378 378
 		$form->saveInto($siteConfig);
379 379
 		$siteConfig->write();
380  
-		FormResponse::status_message('Saved site configuration', "good");
  380
+		FormResponse::status_message(_t('CMSMain.SAVEDSITECONFIGURATION', 'Saved site configuration'), "good");
381 381
 		FormResponse::add("$('Form_EditForm').resetElements();");
382 382
 
383 383
 		$title = Convert::raw2js($siteConfig->Title);
1  lang/cs_CZ.php
@@ -155,6 +155,7 @@
155 155
 $lang['cs_CZ']['CMSMain']['VISITRESTORE'] = 'navštívit restorepage/(ID)';
156 156
 $lang['cs_CZ']['CMSMain']['WAITINGON'] = 'Čekáte na jiné lidi, než dokončí práci na těchto <b>%d</b> stránkách.';
157 157
 $lang['cs_CZ']['CMSMain']['WORKTODO'] = 'Máte na těchto <b>%d</b> stránkách práci k udělání.';
  158
+$lang['cs_CZ']['CMSMain']['SAVEDSITECONFIGURATION'] = 'Nastavení stránky uloženo';
158 159
 $lang['cs_CZ']['CMSMain_dialog.ss']['BUTTONNOTFOUND'] = 'Systém nemůže nelézt jméno tlačítka';
159 160
 $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.';
160 161
 $lang['cs_CZ']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Přidáno do konceptů, ale ještě nezveřejněno';
1  lang/en_US.php
@@ -154,6 +154,7 @@
154 154
 	PR_MEDIUM,
155 155
 	'Version number is a linked string, created is a relative time (e.g. 2 days ago), by a specific author'
156 156
 );
  157
+$lang['en_US']['CMSMain']['SAVEDSITECONFIGURATION'] = 'Saved site configuration';
157 158
 $lang['en_US']['CMSMain_dialog.ss']['BUTTONNOTFOUND'] = 'Couldn\'t find the button name';
158 159
 $lang['en_US']['CMSMain_dialog.ss']['NOLINKED'] = 'Can\'t find window.linkedObject to send the button click back to the main window';
159 160
 $lang['en_US']['CMSMain_left.ss']['ADDEDNOTPUB'] = 'Added to the draft site and not published yet';

0 notes on commit 5d3ddaf

Please sign in to comment.
Something went wrong with that request. Please try again.