[pLog-svn] r824 - in plog/trunk: class/action/admin locale templates/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Jan 24 22:15:31 GMT 2005


Author: oscar
Date: 2005-01-24 22:15:31 +0000 (Mon, 24 Jan 2005)
New Revision: 824

Modified:
   plog/trunk/class/action/admin/admindeletelocalesaction.class.php
   plog/trunk/locale/locale_en_UK.php
   plog/trunk/templates/admin/sitelocales.template
Log:
more translation

Modified: plog/trunk/class/action/admin/admindeletelocalesaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeletelocalesaction.class.php	2005-01-24 22:02:01 UTC (rev 823)
+++ plog/trunk/class/action/admin/admindeletelocalesaction.class.php	2005-01-24 22:15:31 UTC (rev 824)
@@ -84,7 +84,7 @@
                     	$errorMessage .= $this->_locale->pr("error_deleting_locale", $localeId)."<br/>";
                 }
                 else {
-                    $errorMessage .= $this->_locale->pr("error_cant_delete_default_locale", $localeId)."<br/>";
+                    $errorMessage .= $this->_locale->pr("error_locale_is_default", $localeId)."<br/>";
                 }
             }
 

Modified: plog/trunk/locale/locale_en_UK.php
===================================================================
--- plog/trunk/locale/locale_en_UK.php	2005-01-24 22:02:01 UTC (rev 823)
+++ plog/trunk/locale/locale_en_UK.php	2005-01-24 22:15:31 UTC (rev 824)
@@ -560,7 +560,7 @@
 // blog templates
 $messages["error_no_templates_selected"] = "There were no templates selected";
 $messages["error_template_is_current"] = "Template \"%s\" cannot be deleted because it is the current one";
-$messages["error_removing_template"] = "There was an error deleted template \"%s\"";
+$messages["error_removing_template"] = "There was an error deleting template \"%s\"";
 $messages["template_removed_ok"] = "Template \"%s\" deleted successfully";
 $messages["templates_removed_ok"] = "%s templates deleted successfully";
 
@@ -571,6 +571,13 @@
 $messages["error_add_template_disabled"] = "New templates cannot be added because this feature has been disabled in this site";
 $messages["error_must_upload_file"] = "There was no template package uploaded";
 $messages["error_uploads_disabled"] = "Uploads have been disabled in this site";
+$messages["error_no_new_templates_found"] = "No new templates were found";
+$messages["error_template_not_inside_folder"] = "The files used in the template set must be inside a folder with the same name as the template set";
+$messages["error_missing_base_files"] = "Some of the basic template files are missing";
+$messages["error_unpacking"] = "There was an error unpacking the file";
+$messages["error_forbidden_extensions"] = "The template set included files with forbidden extensions";
+$messages["error_creating_working_folder"] = "There was an error creating a temporary folder to unpack the files";
+$messages["error_checking_template"] = "There was an error checking the template: %s";
 
 // site users
 $messages["user_status_active"] = "Active";
@@ -630,6 +637,25 @@
 $messages["error_updating_blog_settings2"] = "There was an error updating the blog. Please check the data and try again";
 $messages["add_or_remove"] = "Add or remove users";
 
+// site locales
+$messages["locale"] = "Locale";
+$messages["locale_encoding"] = "Encoding";
+$messages["locale_deleted_ok"] = "Locale \"%s\" deleted successfully";
+$messages["error_no_locales_selected"] = "There were no locales selected to remove";
+$messages["error_deleting_only_locale"] = "The locale cannot be deleted because is is the only one left in the system";
+$messages["locales_deleted_ok"]= "%s locales deleted successfully";
+$messages["error_deleting_locale"] = "There was an error deleting locale \"%s\"";
+$messages["error_locale_is_default"] = "Locale \"%s\" cannot be deleted because it is the default locale for new blogs";
+
+// add locale
+$messages["error_invalid_locale_file"] = "The locale file is not valid";
+$messages["error_no_new_locales_found"] = "No new locale files were found";
+$messages["locale_added_ok"] = "Locale \"%s\" added successfully";
+$messages["error_saving_locale"] = "There was an error saving the new locale";
+
+// site templates
+$messages["error_template_is_default"] = "Template \"%s\" cannot be deleted because it is the default one for new blogs";
+
 // global settings
 $messages["help_comments_enabled"] = "Enable comments by default in all new blogs";
-?>
\ No newline at end of file
+?>

Modified: plog/trunk/templates/admin/sitelocales.template
===================================================================
--- plog/trunk/templates/admin/sitelocales.template	2005-01-24 22:02:01 UTC (rev 823)
+++ plog/trunk/templates/admin/sitelocales.template	2005-01-24 22:15:31 UTC (rev 824)
@@ -8,8 +8,8 @@
     <thead>
      <tr>
       <th style="width:10px;"><input class="checkbox" type="checkbox" class="check" name="all" id="all" value="1" onclick="toggleAllChecks('editLocales');" /></th>
-      <th style="width:85px;">{$locale->tr("locale_code")}</th>
-      <th style="width:100px;">{$locale->tr("encoding")}</th>
+      <th style="width:85px;">{$locale->tr("locale")}</th>
+      <th style="width:100px;">{$locale->tr("locale_encoding")}</th>
       <th style="width:510px">{$locale->tr("description")}</th>
       <th style="width:75px;">{$locale->tr("actions")}</th>
      </tr>




More information about the pLog-svn mailing list