From 609ecba1b5baa74ea657c6a5e010c3c1ed0dfb6c Mon Sep 17 00:00:00 2001 From: Yaohan Chen Date: Tue, 7 Aug 2007 20:42:22 +0000 Subject: * use Util.safe_save in alias plugin * handle corrupt data file in alias plugin --- po/en_US/rbot.po | 28 ++++++++++++++++------------ po/ja/rbot.po | 28 ++++++++++++++++------------ po/rbot.pot | 28 ++++++++++++++++------------ po/zh_CN/rbot.po | 28 ++++++++++++++++------------ po/zh_TW/rbot.po | 28 ++++++++++++++++------------ 5 files changed, 80 insertions(+), 60 deletions(-) (limited to 'po') diff --git a/po/en_US/rbot.po b/po/en_US/rbot.po index 25301781..56d0e22e 100644 --- a/po/en_US/rbot.po +++ b/po/en_US/rbot.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rbot\n" -"POT-Creation-Date: 2007-08-01 00:47-0400\n" +"POT-Creation-Date: 2007-08-07 16:41-0400\n" "PO-Revision-Date: 2007-07-14 00:06-0400\n" "Last-Translator: Yaohan Chen \n" "Language-Team: English\n" @@ -945,47 +945,51 @@ msgstr "" "dictclient databases => List databases; dictclient strategies => List " "strategies" -#: data/rbot/plugins/alias.rb:55 +#: data/rbot/plugins/alias.rb:51 +msgid "Data file is not found or corrupt, reinitializing data" +msgstr "" + +#: data/rbot/plugins/alias.rb:58 msgid "Invalid alias entry %{alias} : %{command} in %{filename}: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:71 +#: data/rbot/plugins/alias.rb:74 msgid "The definition you provided is invalid: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:82 data/rbot/plugins/alias.rb:99 +#: data/rbot/plugins/alias.rb:85 data/rbot/plugins/alias.rb:102 msgid "No such alias is defined" msgstr "" -#: data/rbot/plugins/alias.rb:88 +#: data/rbot/plugins/alias.rb:91 msgid "No aliases defined" msgstr "" -#: data/rbot/plugins/alias.rb:97 +#: data/rbot/plugins/alias.rb:100 msgid "Alias of %{command}" msgstr "" -#: data/rbot/plugins/alias.rb:109 +#: data/rbot/plugins/alias.rb:112 msgid "" "The arguments in alias must match the substitutions in command, and vice " "versa" msgstr "" -#: data/rbot/plugins/alias.rb:126 +#: data/rbot/plugins/alias.rb:129 msgid "" "The alias seems to have caused infinite recursion. Please examine your alias " "definitions" msgstr "" -#: data/rbot/plugins/alias.rb:142 +#: data/rbot/plugins/alias.rb:145 msgid "Error handling the alias, the command is not defined" msgstr "" -#: data/rbot/plugins/alias.rb:152 +#: data/rbot/plugins/alias.rb:155 msgid "Create and use aliases for commands. Topics: create, commands" msgstr "" -#: data/rbot/plugins/alias.rb:154 +#: data/rbot/plugins/alias.rb:157 msgid "" "\"alias => \" => add text as an alias of command. Text can " "contain placeholders marked with : or * for :words and *multiword arguments. " @@ -994,7 +998,7 @@ msgid "" "google site:linuxbrit.co.uk/rbot/ " msgstr "" -#: data/rbot/plugins/alias.rb:156 +#: data/rbot/plugins/alias.rb:159 msgid "" "alias list => list defined aliases | alias whatis => show definition " "of the alias | alias remove => remove defined alias | see the " diff --git a/po/ja/rbot.po b/po/ja/rbot.po index 1ab53841..adbd5651 100644 --- a/po/ja/rbot.po +++ b/po/ja/rbot.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rbot\n" -"POT-Creation-Date: 2007-08-01 00:47-0400\n" +"POT-Creation-Date: 2007-08-07 16:41-0400\n" "PO-Revision-Date: 2007-07-09 01:36-0400\n" "Last-Translator: Yaohan Chen \n" "Language-Team: Japanese\n" @@ -829,47 +829,51 @@ msgid "" "strategies" msgstr "" -#: data/rbot/plugins/alias.rb:55 +#: data/rbot/plugins/alias.rb:51 +msgid "Data file is not found or corrupt, reinitializing data" +msgstr "" + +#: data/rbot/plugins/alias.rb:58 msgid "Invalid alias entry %{alias} : %{command} in %{filename}: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:71 +#: data/rbot/plugins/alias.rb:74 msgid "The definition you provided is invalid: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:82 data/rbot/plugins/alias.rb:99 +#: data/rbot/plugins/alias.rb:85 data/rbot/plugins/alias.rb:102 msgid "No such alias is defined" msgstr "" -#: data/rbot/plugins/alias.rb:88 +#: data/rbot/plugins/alias.rb:91 msgid "No aliases defined" msgstr "" -#: data/rbot/plugins/alias.rb:97 +#: data/rbot/plugins/alias.rb:100 msgid "Alias of %{command}" msgstr "" -#: data/rbot/plugins/alias.rb:109 +#: data/rbot/plugins/alias.rb:112 msgid "" "The arguments in alias must match the substitutions in command, and vice " "versa" msgstr "" -#: data/rbot/plugins/alias.rb:126 +#: data/rbot/plugins/alias.rb:129 msgid "" "The alias seems to have caused infinite recursion. Please examine your alias " "definitions" msgstr "" -#: data/rbot/plugins/alias.rb:142 +#: data/rbot/plugins/alias.rb:145 msgid "Error handling the alias, the command is not defined" msgstr "" -#: data/rbot/plugins/alias.rb:152 +#: data/rbot/plugins/alias.rb:155 msgid "Create and use aliases for commands. Topics: create, commands" msgstr "" -#: data/rbot/plugins/alias.rb:154 +#: data/rbot/plugins/alias.rb:157 msgid "" "\"alias => \" => add text as an alias of command. Text can " "contain placeholders marked with : or * for :words and *multiword arguments. " @@ -878,7 +882,7 @@ msgid "" "google site:linuxbrit.co.uk/rbot/ " msgstr "" -#: data/rbot/plugins/alias.rb:156 +#: data/rbot/plugins/alias.rb:159 msgid "" "alias list => list defined aliases | alias whatis => show definition " "of the alias | alias remove => remove defined alias | see the " diff --git a/po/rbot.pot b/po/rbot.pot index a55b990c..f78fc2d5 100644 --- a/po/rbot.pot +++ b/po/rbot.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: rbot\n" -"POT-Creation-Date: 2007-08-01 00:47-0400\n" +"POT-Creation-Date: 2007-08-07 16:41-0400\n" "PO-Revision-Date: 2007-07-09 01:24-0400\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -839,47 +839,51 @@ msgid "" "strategies" msgstr "" -#: data/rbot/plugins/alias.rb:55 +#: data/rbot/plugins/alias.rb:51 +msgid "Data file is not found or corrupt, reinitializing data" +msgstr "" + +#: data/rbot/plugins/alias.rb:58 msgid "Invalid alias entry %{alias} : %{command} in %{filename}: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:71 +#: data/rbot/plugins/alias.rb:74 msgid "The definition you provided is invalid: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:82 data/rbot/plugins/alias.rb:99 +#: data/rbot/plugins/alias.rb:85 data/rbot/plugins/alias.rb:102 msgid "No such alias is defined" msgstr "" -#: data/rbot/plugins/alias.rb:88 +#: data/rbot/plugins/alias.rb:91 msgid "No aliases defined" msgstr "" -#: data/rbot/plugins/alias.rb:97 +#: data/rbot/plugins/alias.rb:100 msgid "Alias of %{command}" msgstr "" -#: data/rbot/plugins/alias.rb:109 +#: data/rbot/plugins/alias.rb:112 msgid "" "The arguments in alias must match the substitutions in command, and vice " "versa" msgstr "" -#: data/rbot/plugins/alias.rb:126 +#: data/rbot/plugins/alias.rb:129 msgid "" "The alias seems to have caused infinite recursion. Please examine your alias " "definitions" msgstr "" -#: data/rbot/plugins/alias.rb:142 +#: data/rbot/plugins/alias.rb:145 msgid "Error handling the alias, the command is not defined" msgstr "" -#: data/rbot/plugins/alias.rb:152 +#: data/rbot/plugins/alias.rb:155 msgid "Create and use aliases for commands. Topics: create, commands" msgstr "" -#: data/rbot/plugins/alias.rb:154 +#: data/rbot/plugins/alias.rb:157 msgid "" "\"alias => \" => add text as an alias of command. Text can " "contain placeholders marked with : or * for :words and *multiword arguments. " @@ -888,7 +892,7 @@ msgid "" "google site:linuxbrit.co.uk/rbot/ " msgstr "" -#: data/rbot/plugins/alias.rb:156 +#: data/rbot/plugins/alias.rb:159 msgid "" "alias list => list defined aliases | alias whatis => show definition " "of the alias | alias remove => remove defined alias | see the " diff --git a/po/zh_CN/rbot.po b/po/zh_CN/rbot.po index 5d8b06d9..5a909ad1 100644 --- a/po/zh_CN/rbot.po +++ b/po/zh_CN/rbot.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rbot\n" -"POT-Creation-Date: 2007-08-01 00:47-0400\n" +"POT-Creation-Date: 2007-08-07 16:41-0400\n" "PO-Revision-Date: 2007-07-09 01:39-0400\n" "Last-Translator: Yaohan Chen \n" "Language-Team: Chinese\n" @@ -838,47 +838,51 @@ msgid "" "strategies" msgstr "" -#: data/rbot/plugins/alias.rb:55 +#: data/rbot/plugins/alias.rb:51 +msgid "Data file is not found or corrupt, reinitializing data" +msgstr "" + +#: data/rbot/plugins/alias.rb:58 msgid "Invalid alias entry %{alias} : %{command} in %{filename}: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:71 +#: data/rbot/plugins/alias.rb:74 msgid "The definition you provided is invalid: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:82 data/rbot/plugins/alias.rb:99 +#: data/rbot/plugins/alias.rb:85 data/rbot/plugins/alias.rb:102 msgid "No such alias is defined" msgstr "" -#: data/rbot/plugins/alias.rb:88 +#: data/rbot/plugins/alias.rb:91 msgid "No aliases defined" msgstr "" -#: data/rbot/plugins/alias.rb:97 +#: data/rbot/plugins/alias.rb:100 msgid "Alias of %{command}" msgstr "" -#: data/rbot/plugins/alias.rb:109 +#: data/rbot/plugins/alias.rb:112 msgid "" "The arguments in alias must match the substitutions in command, and vice " "versa" msgstr "" -#: data/rbot/plugins/alias.rb:126 +#: data/rbot/plugins/alias.rb:129 msgid "" "The alias seems to have caused infinite recursion. Please examine your alias " "definitions" msgstr "" -#: data/rbot/plugins/alias.rb:142 +#: data/rbot/plugins/alias.rb:145 msgid "Error handling the alias, the command is not defined" msgstr "" -#: data/rbot/plugins/alias.rb:152 +#: data/rbot/plugins/alias.rb:155 msgid "Create and use aliases for commands. Topics: create, commands" msgstr "" -#: data/rbot/plugins/alias.rb:154 +#: data/rbot/plugins/alias.rb:157 msgid "" "\"alias => \" => add text as an alias of command. Text can " "contain placeholders marked with : or * for :words and *multiword arguments. " @@ -887,7 +891,7 @@ msgid "" "google site:linuxbrit.co.uk/rbot/ " msgstr "" -#: data/rbot/plugins/alias.rb:156 +#: data/rbot/plugins/alias.rb:159 msgid "" "alias list => list defined aliases | alias whatis => show definition " "of the alias | alias remove => remove defined alias | see the " diff --git a/po/zh_TW/rbot.po b/po/zh_TW/rbot.po index 7854df53..11d8749c 100644 --- a/po/zh_TW/rbot.po +++ b/po/zh_TW/rbot.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: rbot\n" -"POT-Creation-Date: 2007-08-01 00:47-0400\n" +"POT-Creation-Date: 2007-08-07 16:41-0400\n" "PO-Revision-Date: 2007-07-09 01:24-0400\n" "Last-Translator: Liang-Bin Hsueh \n" "Language-Team: Chinese\n" @@ -847,47 +847,51 @@ msgid "" "strategies" msgstr "" -#: data/rbot/plugins/alias.rb:55 +#: data/rbot/plugins/alias.rb:51 +msgid "Data file is not found or corrupt, reinitializing data" +msgstr "" + +#: data/rbot/plugins/alias.rb:58 msgid "Invalid alias entry %{alias} : %{command} in %{filename}: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:71 +#: data/rbot/plugins/alias.rb:74 msgid "The definition you provided is invalid: %{reason}" msgstr "" -#: data/rbot/plugins/alias.rb:82 data/rbot/plugins/alias.rb:99 +#: data/rbot/plugins/alias.rb:85 data/rbot/plugins/alias.rb:102 msgid "No such alias is defined" msgstr "" -#: data/rbot/plugins/alias.rb:88 +#: data/rbot/plugins/alias.rb:91 msgid "No aliases defined" msgstr "" -#: data/rbot/plugins/alias.rb:97 +#: data/rbot/plugins/alias.rb:100 msgid "Alias of %{command}" msgstr "" -#: data/rbot/plugins/alias.rb:109 +#: data/rbot/plugins/alias.rb:112 msgid "" "The arguments in alias must match the substitutions in command, and vice " "versa" msgstr "" -#: data/rbot/plugins/alias.rb:126 +#: data/rbot/plugins/alias.rb:129 msgid "" "The alias seems to have caused infinite recursion. Please examine your alias " "definitions" msgstr "" -#: data/rbot/plugins/alias.rb:142 +#: data/rbot/plugins/alias.rb:145 msgid "Error handling the alias, the command is not defined" msgstr "" -#: data/rbot/plugins/alias.rb:152 +#: data/rbot/plugins/alias.rb:155 msgid "Create and use aliases for commands. Topics: create, commands" msgstr "" -#: data/rbot/plugins/alias.rb:154 +#: data/rbot/plugins/alias.rb:157 msgid "" "\"alias => \" => add text as an alias of command. Text can " "contain placeholders marked with : or * for :words and *multiword arguments. " @@ -896,7 +900,7 @@ msgid "" "google site:linuxbrit.co.uk/rbot/ " msgstr "" -#: data/rbot/plugins/alias.rb:156 +#: data/rbot/plugins/alias.rb:159 msgid "" "alias list => list defined aliases | alias whatis => show definition " "of the alias | alias remove => remove defined alias | see the " -- cgit v1.2.3