Update of /cvsroot/php-blog/serendipity/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12591/lang
Modified Files:
serendipity_lang_da.inc.php serendipity_lang_de.inc.php
serendipity_lang_en.inc.php serendipity_lang_es.inc.php
Log Message:
Okay, here we go. One upgrade script comming up.
Basically it checks if the version last used to save the config is lower than the installed version
If that is the case, it opens a page (like the installer) and attempts to calculate which SQL files and functions needs to be run.
It is then up to the user to accept if he or she wants to perform these actions..
WARNING: Backup your database before you run the upgrader!
Developers will likely never have to use this script (test it anyways?), so it won't make the versioncheck if $srendipity['production'] is false
Index: serendipity_lang_da.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/lang/serendipity_lang_da.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- serendipity_lang_da.inc.php 27 Feb 2004 20:15:02 -0000 1.11
+++ serendipity_lang_da.inc.php 2 Mar 2004 17:35:24 -0000 1.12
@@ -331,6 +331,22 @@
@define('SYNDICATION_PLUGIN_PREVENT_CACHE_DESC', 'Hvis sat til "true" vi dette anbefale linket til dit RSS feed om ikke at tillade klienter at cache dit feed. Det anbefales at sætte dette til "false".');
@define('CALENDAR_BEGINNING_OF_WEEK', 'Starten på ugen');
@define('CALENDAR_BOW_DESC', 'Et number som beskiver hvilken ugedag ugen starter på, værdierne ligger i intervallet: 0 = søndag, 1 = mandag ... 6 = lørdag (standard: 1)');
+/* TRANSLATE */ @define('SERENDIPITY_NEEDS_UPGRADE', 'Serendipity has deteceted that your configuration is currently installed with version %s, however serendipity itself is installed as version %s, you need to upgrade! <a href="%s">Click here</a>');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WELCOME', 'Hi, and welcome to the Serendipity upgrade agent.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PURPOSE', 'I am here i help you upgrade your Serendipity installation.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WHY', 'You are seeing this message because you have just installed Serendipity %s, but have not yet upgraded your database installation to fit this version');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_DATABASE_UPDATES', 'Database updates (%s)');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_FOUND_SQL_FILES', 'I have found the following .sql files which needs to be run before you can continue normal operation of Serendipity');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_VERSION_SPECIFIC', 'Version specific tasks');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_VERSION_SPECIFIC', 'No version specific tasks found');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_QUESTION', 'Do you whish me perform the above tasks?');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_ABORT', 'No, I will run them manually');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_DOIT', 'Yes, please do so');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_UPGRADES', 'It appears you do not need any upgrades run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_CONSIDER_DONE', 'Consider Serendipity upgraded');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_YOU_HAVE_IGNORED', 'You have ignored the upgrade stage of Serendipity, please make sure your database is correctly installed, and scheduled functions are run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NOW_UPGRADED', 'Your Serendipity installation is now upgraded to version %s');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_RETURN_HERE', 'You can return to your blog by clicking %shere%s');
/* vim: set sts=4 ts=4 expandtab : */
?>
Index: serendipity_lang_de.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/lang/serendipity_lang_de.inc.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- serendipity_lang_de.inc.php 27 Feb 2004 20:15:02 -0000 1.20
+++ serendipity_lang_de.inc.php 2 Mar 2004 17:35:24 -0000 1.21
@@ -326,5 +326,22 @@
@define('CALENDAR_BEGINNING_OF_WEEK', 'Beginning of the week'); // TRANSLATE
@define('CALENDAR_BOW_DESC', 'An interger describing which weekday the week starts on, values range from: 0 = sunday, 1 = monday ... 6 = saturday (default: 1)'); // TRANSLATE
+/* TRANSLATE */ @define('SERENDIPITY_NEEDS_UPGRADE', 'Serendipity has deteceted that your configuration is currently installed with version %s, however serendipity itself is installed as version %s, you need to upgrade! <a href="%s">Click here</a>');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WELCOME', 'Hi, and welcome to the Serendipity upgrade agent.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PURPOSE', 'I am here i help you upgrade your Serendipity installation.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WHY', 'You are seeing this message because you have just installed Serendipity %s, but have not yet upgraded your database installation to fit this version');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_DATABASE_UPDATES', 'Database updates (%s)');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_FOUND_SQL_FILES', 'I have found the following .sql files which needs to be run before you can continue normal operation of Serendipity');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_VERSION_SPECIFIC', 'Version specific tasks');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_VERSION_SPECIFIC', 'No version specific tasks found');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_QUESTION', 'Do you whish me perform the above tasks?');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_ABORT', 'No, I will run them manually');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_DOIT', 'Yes, please do so');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_UPGRADES', 'It appears you do not need any upgrades run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_CONSIDER_DONE', 'Consider Serendipity upgraded');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_YOU_HAVE_IGNORED', 'You have ignored the upgrade stage of Serendipity, please make sure your database is correctly installed, and scheduled functions are run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NOW_UPGRADED', 'Your Serendipity installation is now upgraded to version %s');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_RETURN_HERE', 'You can return to your blog by clicking %shere%s');
+
/* vim: set sts=4 ts=4 expandtab : */
?>
Index: serendipity_lang_en.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/lang/serendipity_lang_en.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- serendipity_lang_en.inc.php 27 Feb 2004 20:15:02 -0000 1.18
+++ serendipity_lang_en.inc.php 2 Mar 2004 17:35:24 -0000 1.19
@@ -322,9 +322,23 @@
@define('SYNDICATION_PLUGIN_PREVENT_CACHE', 'Prevent HTTP caching');
@define('SYNDICATION_PLUGIN_PREVENT_CACHE_DESC', 'If set to "true" this will suggest the link to your RSS feed to not allow clients the bandwidth saving caching of RSS feed request. It is suggested to set this to "false".');
@define('APPLY_MARKUP_TO', 'Apply markup to %s');
-
@define('CALENDAR_BEGINNING_OF_WEEK', 'Beginning of the week');
@define('CALENDAR_BOW_DESC', 'An interger describing which weekday the week starts on, values range from: 0 = sunday, 1 = monday ... 6 = saturday (default: 1)');
-
+@define('SERENDIPITY_NEEDS_UPGRADE', 'Serendipity has deteceted that your configuration is currently installed with version %s, however serendipity itself is installed as version %s, you need to upgrade! <a href="%s">Click here</a>');
+@define('SERENDIPITY_UPGRADER_WELCOME', 'Hi, and welcome to the Serendipity upgrade agent.');
+@define('SERENDIPITY_UPGRADER_PURPOSE', 'I am here i help you upgrade your Serendipity installation.');
+@define('SERENDIPITY_UPGRADER_WHY', 'You are seeing this message because you have just installed Serendipity %s, but have not yet upgraded your database installation to fit this version');
+@define('SERENDIPITY_UPGRADER_DATABASE_UPDATES', 'Database updates (%s)');
+@define('SERENDIPITY_UPGRADER_FOUND_SQL_FILES', 'I have found the following .sql files which needs to be run before you can continue normal operation of Serendipity');
+@define('SERENDIPITY_UPGRADER_VERSION_SPECIFIC', 'Version specific tasks');
+@define('SERENDIPITY_UPGRADER_NO_VERSION_SPECIFIC', 'No version specific tasks found');
+@define('SERENDIPITY_UPGRADER_PROCEED_QUESTION', 'Do you whish me perform the above tasks?');
+@define('SERENDIPITY_UPGRADER_PROCEED_ABORT', 'No, I will run them manually');
+@define('SERENDIPITY_UPGRADER_PROCEED_DOIT', 'Yes, please do so');
+@define('SERENDIPITY_UPGRADER_NO_UPGRADES', 'It appears you do not need any upgrades run');
+@define('SERENDIPITY_UPGRADER_CONSIDER_DONE', 'Consider Serendipity upgraded');
+@define('SERENDIPITY_UPGRADER_YOU_HAVE_IGNORED', 'You have ignored the upgrade stage of Serendipity, please make sure your database is correctly installed, and scheduled functions are run');
+@define('SERENDIPITY_UPGRADER_NOW_UPGRADED', 'Your Serendipity installation is now upgraded to version %s');
+@define('SERENDIPITY_UPGRADER_RETURN_HERE', 'You can return to your blog by clicking %shere%s');
/* vim: set sts=4 ts=4 expandtab : */
?>
Index: serendipity_lang_es.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/lang/serendipity_lang_es.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- serendipity_lang_es.inc.php 27 Feb 2004 20:15:03 -0000 1.18
+++ serendipity_lang_es.inc.php 2 Mar 2004 17:35:24 -0000 1.19
@@ -318,5 +318,23 @@
@define('APPLY_MARKUP_TO', 'Apply markup to %s'); // TRANSLATE
@define('CALENDAR_BEGINNING_OF_WEEK', 'Beginning of the week'); // TRANSLATE
@define('CALENDAR_BOW_DESC', 'An interger describing which weekday the week starts on, values range from: 0 = sunday, 1 = monday ... 6 = saturday (default: 1)'); // TRANSLATE
+
+/* TRANSLATE */ @define('SERENDIPITY_NEEDS_UPGRADE', 'Serendipity has deteceted that your configuration is currently installed with version %s, however serendipity itself is installed as version %s, you need to upgrade! <a href="%s">Click here</a>');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WELCOME', 'Hi, and welcome to the Serendipity upgrade agent.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PURPOSE', 'I am here i help you upgrade your Serendipity installation.');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_WHY', 'You are seeing this message because you have just installed Serendipity %s, but have not yet upgraded your database installation to fit this version');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_DATABASE_UPDATES', 'Database updates (%s)');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_FOUND_SQL_FILES', 'I have found the following .sql files which needs to be run before you can continue normal operation of Serendipity');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_VERSION_SPECIFIC', 'Version specific tasks');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_VERSION_SPECIFIC', 'No version specific tasks found');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_QUESTION', 'Do you whish me perform the above tasks?');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_ABORT', 'No, I will run them manually');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_PROCEED_DOIT', 'Yes, please do so');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NO_UPGRADES', 'It appears you do not need any upgrades run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_CONSIDER_DONE', 'Consider Serendipity upgraded');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_YOU_HAVE_IGNORED', 'You have ignored the upgrade stage of Serendipity, please make sure your database is correctly installed, and scheduled functions are run');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_NOW_UPGRADED', 'Your Serendipity installation is now upgraded to version %s');
+/* TRANSLATE */ @define('SERENDIPITY_UPGRADER_RETURN_HERE', 'You can return to your blog by clicking %shere%s');
+
/* vim: set sts=4 ts=4 expandtab : */
?>
|