[Kimchi-devel] [PATCH 04/10] Update messages used in the repositories management feature

Aline Manera alinefm at linux.vnet.ibm.com
Tue Mar 18 17:04:09 UTC 2014


From: Aline Manera <alinefm at br.ibm.com>

There is no need to have generic error messages.
We should provide the most detailed message we can.
Also update the .po files to reflect those changes

Signed-off-by: Aline Manera <alinefm at br.ibm.com>
---
 po/en_US.po        |  186 +++++++++++++++++++++++++++++++++++++++++-----------
 po/kimchi.pot      |  177 ++++++++++++++++++++++++++++++++++++++-----------
 po/pt_BR.po        |  186 +++++++++++++++++++++++++++++++++++++++++-----------
 po/zh_CN.po        |  186 +++++++++++++++++++++++++++++++++++++++++-----------
 src/kimchi/i18n.py |   36 +++++-----
 5 files changed, 596 insertions(+), 175 deletions(-)

diff --git a/po/en_US.po b/po/en_US.po
index 23926d6..e20edf7 100644
--- a/po/en_US.po
+++ b/po/en_US.po
@@ -6,7 +6,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-07 00:54-0300\n"
+"POT-Creation-Date: 2014-03-18 08:09-0300\n"
 "PO-Revision-Date: 2013-07-11 17:32-0400\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: English\n"
@@ -70,6 +70,13 @@ msgstr "Create"
 msgid "Edit Guest"
 msgstr "Edit Guest"
 
+#, fuzzy
+msgid "General"
+msgstr "Generate"
+
+msgid "Storage"
+msgstr "Storage"
+
 msgid "Name"
 msgstr "Name"
 
@@ -79,12 +86,18 @@ msgstr "CPUs"
 msgid "Icon"
 msgstr "Icon"
 
-msgid "Cancel"
-msgstr "Cancel"
+msgid "Attach"
+msgstr ""
 
 msgid "Save"
 msgstr "Save"
 
+msgid "Replace"
+msgstr ""
+
+msgid "Detach"
+msgstr ""
+
 msgid "Start"
 msgstr "Start"
 
@@ -97,7 +110,10 @@ msgstr "Stop"
 msgid "Actions"
 msgstr "Actions"
 
-msgid "Console"
+msgid "Connect"
+msgstr "Connect"
+
+msgid "Manage Media"
 msgstr ""
 
 msgid "Edit"
@@ -127,9 +143,6 @@ msgstr "Guests"
 msgid "Templates"
 msgstr "Templates"
 
-msgid "Storage"
-msgstr "Storage"
-
 msgid "Network"
 msgstr "Network"
 
@@ -151,27 +164,36 @@ msgstr ""
 msgid "options needed."
 msgstr ""
 
+msgid ""
+"Can not contact the host system. Verify the host system is up and that you "
+"have network connectivity to it. HTTP request response %1. "
+msgstr ""
+
 msgid "Delete Confirmation"
 msgstr "Delete Confirmation"
 
 msgid "OK"
 msgstr "OK"
 
+msgid "Cancel"
+msgstr "Cancel"
+
 msgid "Confirm"
 msgstr "Confirm"
 
 msgid "Warning"
 msgstr "Warning"
 
+#, fuzzy
+msgid "Loading..."
+msgstr "Generating..."
+
 msgid "No iso found"
 msgstr "No iso found"
 
 msgid "This is not a valid ISO file."
 msgstr "This is not a valid ISO file."
 
-msgid "Create template successfully"
-msgstr "Create template successfully"
-
 msgid "It will take long time. Do you want to continue?"
 msgstr ""
 
@@ -209,6 +231,28 @@ msgstr ""
 "Shutting down or restarting host will cause unsaved work lost. Continue to "
 "shut down/restarting?"
 
+msgid "Software Updates"
+msgstr ""
+
+msgid "Package Name"
+msgstr ""
+
+msgid "Version"
+msgstr "Version"
+
+msgid "Architecture"
+msgstr ""
+
+msgid "Repository"
+msgstr ""
+
+msgid "Update All"
+msgstr ""
+
+#, fuzzy
+msgid "Updating..."
+msgstr "Generating..."
+
 msgid ""
 "Debug report will be removed permanently and can't be recovered. Do you want "
 "to continue?"
@@ -248,6 +292,27 @@ msgid ""
 "cannot be undone. Would you like to continue?"
 msgstr ""
 
+msgid ""
+"This CDROM will be detached permanently and you can re-attach it. Continue "
+"to detach it?"
+msgstr ""
+
+msgid "Attaching..."
+msgstr ""
+
+#, fuzzy
+msgid "Replacing..."
+msgstr "Generating..."
+
+msgid "Successfully attached!"
+msgstr ""
+
+msgid "Successfully replaced!"
+msgstr ""
+
+msgid "Successfully detached!"
+msgstr ""
+
 msgid "The VLAN id must be between 1 and 4094."
 msgstr "The VLAN id must be between 1 and 4094."
 
@@ -312,6 +377,11 @@ msgstr ""
 msgid "No available partitions found."
 msgstr "No templates found."
 
+msgid ""
+"This storage pool is not persistent. Instead of deactivate, this action will "
+"permanently delete it. Would you like to continue?"
+msgstr ""
+
 msgid "Help"
 msgstr ""
 
@@ -427,9 +497,6 @@ msgstr "Shut down"
 msgid "Restart"
 msgstr "Restart"
 
-msgid "Connect"
-msgstr "Connect"
-
 msgid "Basic Information"
 msgstr "Basic Information"
 
@@ -448,6 +515,9 @@ msgstr "System Statistics"
 msgid "Collecting data after leaving this page"
 msgstr "Collecting data after leaving this page"
 
+msgid "Update Progress"
+msgstr ""
+
 msgid "Network Name"
 msgstr "Network Name"
 
@@ -487,9 +557,6 @@ msgstr "VLAN ID"
 msgid "No templates found."
 msgstr "No templates found."
 
-msgid "Version"
-msgstr "Version"
-
 msgid "Location"
 msgstr "Location"
 
@@ -692,6 +759,15 @@ msgid "Bad format while reading volume descriptor in ISO %(filename)s"
 msgstr ""
 
 #, python-format
+msgid ""
+"The hypervisor doesn't have permission to use this ISO %(filename)s. "
+"Consider moving it under /var/lib/libvirt,  or set the search permission to "
+"file access control lists for '%(user)s' user if possible, or add the "
+"'%(user)s' to the ISO path group, or (not recommended) 'chmod -R o+x "
+"'path_to_iso'.Details: %(err)s"
+msgstr ""
+
+#, python-format
 msgid "Virtual machine %(name)s already exists"
 msgstr ""
 
@@ -1052,6 +1128,18 @@ msgstr ""
 msgid "Storage type %(type)s does not support volume create and delete"
 msgstr ""
 
+msgid "Storage volume name must be a string"
+msgstr ""
+
+msgid "Storage volume allocation must be an integer number"
+msgstr ""
+
+msgid "Storage volume format not supported"
+msgstr ""
+
+msgid "Storage volume requires a volume name"
+msgstr ""
+
 #, python-format
 msgid "Interface %(name)s does not exist"
 msgstr ""
@@ -1116,14 +1204,14 @@ msgstr ""
 
 #, python-format
 msgid ""
-"Unable to delete network %(name)s. There are still some VMs linked to this "
-"network."
+"Unable to delete network %(name)s. There are some virtual machines and/or "
+"templates linked to this network."
 msgstr ""
 
 #, python-format
 msgid ""
-"Unable to deactivate network %(name)s. There are some VMs running linked to "
-"this network."
+"Unable to deactivate network %(name)s. There are some virtual machines and/"
+"or templates linked to this network."
 msgstr ""
 
 #, python-format
@@ -1245,31 +1333,36 @@ msgstr ""
 msgid "Specify path to update virtual machine disk"
 msgstr ""
 
-msgid "Repository ID must be one word only string."
+msgid "YUM Repository ID must be one word only string."
 msgstr ""
 
 msgid "Repository URL must be an http://, ftp:// or file:// URL."
 msgstr ""
 
-msgid "Repository URL arguments must be string."
+msgid ""
+"Repository configuration is a dictionary with specific values according to "
+"repository type."
 msgstr ""
 
-msgid "GPG key must be a URL pointing to the ASCII-armored file."
+msgid "Distribution to DEB repository must be a string"
 msgstr ""
 
-msgid "Repository name must be string."
+msgid "Components to DEB repository must be listed in a array"
 msgstr ""
 
-#, python-format
-msgid "Repository %(repo_id)s already exists."
+msgid "Components to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not enable repository %(repo_id)s."
+msgid "Mirror list to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not disable repository %(repo_id)s."
+msgid "YUM Repository name must be string."
+msgstr ""
+
+msgid "GPG check must be a boolean value."
+msgstr ""
+
+msgid "GPG key must be a URL pointing to the ASCII-armored file."
 msgstr ""
 
 #, python-format
@@ -1277,33 +1370,46 @@ msgid "Could not update repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Repository %(repo_id)s does not exists."
+msgid "Repository %(repo_id)s does not exist."
 msgstr ""
 
-#, python-format
-msgid "There is no disabled repository called %(repo_id)s."
+msgid ""
+"Specify repository base URL or mirror list in order to create a YUM "
+"repository."
+msgstr ""
+
+msgid "Repository management tool was not recognized for your system."
 msgstr ""
 
 #, python-format
-msgid "There is no enabled repository called %(repo_id)s."
+msgid "Repository %(repo_id)s is already enabled."
 msgstr ""
 
-msgid "There are no parameters to update repository."
+#, python-format
+msgid "Repository %(repo_id)s is already disabled."
 msgstr ""
 
-msgid "OS distro not supported."
+#, python-format
+msgid "Could not remove repository %(repo_id)s."
 msgstr ""
 
-msgid "There is no YUM configuration directory."
+#, python-format
+msgid "Could not write repository configuration file %(repo_file)s"
 msgstr ""
 
-msgid "There are no parameters to create a new repo file."
+msgid "Specify repository distribution in order to create a DEB repository."
 msgstr ""
 
 #, python-format
-msgid "Could not write repo file %(repo_file)s"
+msgid "Could not enable repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Could not remove repository %(repo_id)s."
+msgid "Could not disable repository %(repo_id)s."
 msgstr ""
+
+msgid "YUM Repository ID already exists"
+msgstr ""
+
+#~ msgid "Create template successfully"
+#~ msgstr "Create template successfully"
diff --git a/po/kimchi.pot b/po/kimchi.pot
index a8b3ecb..880f8b1 100755
--- a/po/kimchi.pot
+++ b/po/kimchi.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-07 00:54-0300\n"
+"POT-Creation-Date: 2014-03-18 08:09-0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -70,6 +70,12 @@ msgstr ""
 msgid "Edit Guest"
 msgstr ""
 
+msgid "General"
+msgstr ""
+
+msgid "Storage"
+msgstr ""
+
 msgid "Name"
 msgstr ""
 
@@ -79,12 +85,18 @@ msgstr ""
 msgid "Icon"
 msgstr ""
 
-msgid "Cancel"
+msgid "Attach"
 msgstr ""
 
 msgid "Save"
 msgstr ""
 
+msgid "Replace"
+msgstr ""
+
+msgid "Detach"
+msgstr ""
+
 msgid "Start"
 msgstr ""
 
@@ -97,7 +109,10 @@ msgstr ""
 msgid "Actions"
 msgstr ""
 
-msgid "Console"
+msgid "Connect"
+msgstr ""
+
+msgid "Manage Media"
 msgstr ""
 
 msgid "Edit"
@@ -127,9 +142,6 @@ msgstr ""
 msgid "Templates"
 msgstr ""
 
-msgid "Storage"
-msgstr ""
-
 msgid "Network"
 msgstr ""
 
@@ -151,25 +163,33 @@ msgstr ""
 msgid "options needed."
 msgstr ""
 
+msgid ""
+"Can not contact the host system. Verify the host system is up and that you "
+"have network connectivity to it. HTTP request response %1. "
+msgstr ""
+
 msgid "Delete Confirmation"
 msgstr ""
 
 msgid "OK"
 msgstr ""
 
+msgid "Cancel"
+msgstr ""
+
 msgid "Confirm"
 msgstr ""
 
 msgid "Warning"
 msgstr ""
 
-msgid "No iso found"
+msgid "Loading..."
 msgstr ""
 
-msgid "This is not a valid ISO file."
+msgid "No iso found"
 msgstr ""
 
-msgid "Create template successfully"
+msgid "This is not a valid ISO file."
 msgstr ""
 
 msgid "It will take long time. Do you want to continue?"
@@ -207,6 +227,27 @@ msgid ""
 "shut down/restarting?"
 msgstr ""
 
+msgid "Software Updates"
+msgstr ""
+
+msgid "Package Name"
+msgstr ""
+
+msgid "Version"
+msgstr ""
+
+msgid "Architecture"
+msgstr ""
+
+msgid "Repository"
+msgstr ""
+
+msgid "Update All"
+msgstr ""
+
+msgid "Updating..."
+msgstr ""
+
 msgid ""
 "Debug report will be removed permanently and can't be recovered. Do you want "
 "to continue?"
@@ -244,6 +285,26 @@ msgid ""
 "cannot be undone. Would you like to continue?"
 msgstr ""
 
+msgid ""
+"This CDROM will be detached permanently and you can re-attach it. Continue "
+"to detach it?"
+msgstr ""
+
+msgid "Attaching..."
+msgstr ""
+
+msgid "Replacing..."
+msgstr ""
+
+msgid "Successfully attached!"
+msgstr ""
+
+msgid "Successfully replaced!"
+msgstr ""
+
+msgid "Successfully detached!"
+msgstr ""
+
 msgid "The VLAN id must be between 1 and 4094."
 msgstr ""
 
@@ -303,6 +364,11 @@ msgstr ""
 msgid "No available partitions found."
 msgstr ""
 
+msgid ""
+"This storage pool is not persistent. Instead of deactivate, this action will "
+"permanently delete it. Would you like to continue?"
+msgstr ""
+
 msgid "Help"
 msgstr ""
 
@@ -414,9 +480,6 @@ msgstr ""
 msgid "Restart"
 msgstr ""
 
-msgid "Connect"
-msgstr ""
-
 msgid "Basic Information"
 msgstr ""
 
@@ -435,6 +498,9 @@ msgstr ""
 msgid "Collecting data after leaving this page"
 msgstr ""
 
+msgid "Update Progress"
+msgstr ""
+
 msgid "Network Name"
 msgstr ""
 
@@ -474,9 +540,6 @@ msgstr ""
 msgid "No templates found."
 msgstr ""
 
-msgid "Version"
-msgstr ""
-
 msgid "Location"
 msgstr ""
 
@@ -679,6 +742,15 @@ msgid "Bad format while reading volume descriptor in ISO %(filename)s"
 msgstr ""
 
 #, python-format
+msgid ""
+"The hypervisor doesn't have permission to use this ISO %(filename)s. "
+"Consider moving it under /var/lib/libvirt,  or set the search permission to "
+"file access control lists for '%(user)s' user if possible, or add the "
+"'%(user)s' to the ISO path group, or (not recommended) 'chmod -R o+x "
+"'path_to_iso'.Details: %(err)s"
+msgstr ""
+
+#, python-format
 msgid "Virtual machine %(name)s already exists"
 msgstr ""
 
@@ -1039,6 +1111,18 @@ msgstr ""
 msgid "Storage type %(type)s does not support volume create and delete"
 msgstr ""
 
+msgid "Storage volume name must be a string"
+msgstr ""
+
+msgid "Storage volume allocation must be an integer number"
+msgstr ""
+
+msgid "Storage volume format not supported"
+msgstr ""
+
+msgid "Storage volume requires a volume name"
+msgstr ""
+
 #, python-format
 msgid "Interface %(name)s does not exist"
 msgstr ""
@@ -1103,14 +1187,14 @@ msgstr ""
 
 #, python-format
 msgid ""
-"Unable to delete network %(name)s. There are still some VMs linked to this "
-"network."
+"Unable to delete network %(name)s. There are some virtual machines and/or "
+"templates linked to this network."
 msgstr ""
 
 #, python-format
 msgid ""
-"Unable to deactivate network %(name)s. There are some VMs running linked to "
-"this network."
+"Unable to deactivate network %(name)s. There are some virtual machines and/"
+"or templates linked to this network."
 msgstr ""
 
 #, python-format
@@ -1232,31 +1316,36 @@ msgstr ""
 msgid "Specify path to update virtual machine disk"
 msgstr ""
 
-msgid "Repository ID must be one word only string."
+msgid "YUM Repository ID must be one word only string."
 msgstr ""
 
 msgid "Repository URL must be an http://, ftp:// or file:// URL."
 msgstr ""
 
-msgid "Repository URL arguments must be string."
+msgid ""
+"Repository configuration is a dictionary with specific values according to "
+"repository type."
 msgstr ""
 
-msgid "GPG key must be a URL pointing to the ASCII-armored file."
+msgid "Distribution to DEB repository must be a string"
 msgstr ""
 
-msgid "Repository name must be string."
+msgid "Components to DEB repository must be listed in a array"
 msgstr ""
 
-#, python-format
-msgid "Repository %(repo_id)s already exists."
+msgid "Components to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not enable repository %(repo_id)s."
+msgid "Mirror list to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not disable repository %(repo_id)s."
+msgid "YUM Repository name must be string."
+msgstr ""
+
+msgid "GPG check must be a boolean value."
+msgstr ""
+
+msgid "GPG key must be a URL pointing to the ASCII-armored file."
 msgstr ""
 
 #, python-format
@@ -1264,33 +1353,43 @@ msgid "Could not update repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Repository %(repo_id)s does not exists."
+msgid "Repository %(repo_id)s does not exist."
 msgstr ""
 
-#, python-format
-msgid "There is no disabled repository called %(repo_id)s."
+msgid ""
+"Specify repository base URL or mirror list in order to create a YUM "
+"repository."
+msgstr ""
+
+msgid "Repository management tool was not recognized for your system."
 msgstr ""
 
 #, python-format
-msgid "There is no enabled repository called %(repo_id)s."
+msgid "Repository %(repo_id)s is already enabled."
 msgstr ""
 
-msgid "There are no parameters to update repository."
+#, python-format
+msgid "Repository %(repo_id)s is already disabled."
 msgstr ""
 
-msgid "OS distro not supported."
+#, python-format
+msgid "Could not remove repository %(repo_id)s."
 msgstr ""
 
-msgid "There is no YUM configuration directory."
+#, python-format
+msgid "Could not write repository configuration file %(repo_file)s"
 msgstr ""
 
-msgid "There are no parameters to create a new repo file."
+msgid "Specify repository distribution in order to create a DEB repository."
 msgstr ""
 
 #, python-format
-msgid "Could not write repo file %(repo_file)s"
+msgid "Could not enable repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Could not remove repository %(repo_id)s."
+msgid "Could not disable repository %(repo_id)s."
+msgstr ""
+
+msgid "YUM Repository ID already exists"
 msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index bca6335..14f7662 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -20,7 +20,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-07 00:54-0300\n"
+"POT-Creation-Date: 2014-03-18 08:09-0300\n"
 "PO-Revision-Date: 2013-06-27 10:48+0000\n"
 "Last-Translator: Crístian Viana <vianac at linux.vnet.ibm.com>\n"
 "Language-Team: Aline Manera <alinefm at br.ibm.com>\n"
@@ -86,6 +86,13 @@ msgstr "Criar"
 msgid "Edit Guest"
 msgstr "Editar Máquinas Virtuais"
 
+#, fuzzy
+msgid "General"
+msgstr "Gerar"
+
+msgid "Storage"
+msgstr "Storage"
+
 msgid "Name"
 msgstr "Nome"
 
@@ -95,12 +102,18 @@ msgstr "CPUs"
 msgid "Icon"
 msgstr "Ícone"
 
-msgid "Cancel"
-msgstr "Cancelar"
+msgid "Attach"
+msgstr ""
 
 msgid "Save"
 msgstr "Salvar"
 
+msgid "Replace"
+msgstr ""
+
+msgid "Detach"
+msgstr ""
+
 msgid "Start"
 msgstr "Iniciar"
 
@@ -113,7 +126,10 @@ msgstr "Parar"
 msgid "Actions"
 msgstr "Ações"
 
-msgid "Console"
+msgid "Connect"
+msgstr "Conectar"
+
+msgid "Manage Media"
 msgstr ""
 
 msgid "Edit"
@@ -145,9 +161,6 @@ msgstr "Máquinas Virtuais"
 msgid "Templates"
 msgstr "Modelos"
 
-msgid "Storage"
-msgstr "Storage"
-
 msgid "Network"
 msgstr "Redes"
 
@@ -169,27 +182,36 @@ msgstr ""
 msgid "options needed."
 msgstr ""
 
+msgid ""
+"Can not contact the host system. Verify the host system is up and that you "
+"have network connectivity to it. HTTP request response %1. "
+msgstr ""
+
 msgid "Delete Confirmation"
 msgstr "Confirmação de remoção"
 
 msgid "OK"
 msgstr "OK"
 
+msgid "Cancel"
+msgstr "Cancelar"
+
 msgid "Confirm"
 msgstr "Confirmar"
 
 msgid "Warning"
 msgstr "Aviso"
 
+#, fuzzy
+msgid "Loading..."
+msgstr "Gerando..."
+
 msgid "No iso found"
 msgstr "Nenhuma ISO encontrada"
 
 msgid "This is not a valid ISO file."
 msgstr "Esse não é um arquivo ISO válido."
 
-msgid "Create template successfully"
-msgstr "Modelo criado com sucesso"
-
 msgid "It will take long time. Do you want to continue?"
 msgstr ""
 
@@ -227,6 +249,28 @@ msgstr ""
 "Desligando ou reiniciando do hospedeiro causará na perda de trabalhos não "
 "salvos. Continuar o processo de desligar/reiniciar?"
 
+msgid "Software Updates"
+msgstr ""
+
+msgid "Package Name"
+msgstr ""
+
+msgid "Version"
+msgstr "Versão"
+
+msgid "Architecture"
+msgstr ""
+
+msgid "Repository"
+msgstr ""
+
+msgid "Update All"
+msgstr ""
+
+#, fuzzy
+msgid "Updating..."
+msgstr "Gerando..."
+
 msgid ""
 "Debug report will be removed permanently and can't be recovered. Do you want "
 "to continue?"
@@ -266,6 +310,27 @@ msgid ""
 "cannot be undone. Would you like to continue?"
 msgstr ""
 
+msgid ""
+"This CDROM will be detached permanently and you can re-attach it. Continue "
+"to detach it?"
+msgstr ""
+
+msgid "Attaching..."
+msgstr ""
+
+#, fuzzy
+msgid "Replacing..."
+msgstr "Gerando..."
+
+msgid "Successfully attached!"
+msgstr ""
+
+msgid "Successfully replaced!"
+msgstr ""
+
+msgid "Successfully detached!"
+msgstr ""
+
 msgid "The VLAN id must be between 1 and 4094."
 msgstr "VLAN id deve ser um número entre 1 e 4094."
 
@@ -330,6 +395,11 @@ msgstr ""
 msgid "No available partitions found."
 msgstr "Nenhum modelo encontrado."
 
+msgid ""
+"This storage pool is not persistent. Instead of deactivate, this action will "
+"permanently delete it. Would you like to continue?"
+msgstr ""
+
 msgid "Help"
 msgstr ""
 
@@ -442,9 +512,6 @@ msgstr "Desligar"
 msgid "Restart"
 msgstr "Iniciar"
 
-msgid "Connect"
-msgstr "Conectar"
-
 msgid "Basic Information"
 msgstr "Informações básicas"
 
@@ -463,6 +530,9 @@ msgstr "Estatísticas do sistema"
 msgid "Collecting data after leaving this page"
 msgstr "Coletar dados após deixar essa página."
 
+msgid "Update Progress"
+msgstr ""
+
 msgid "Network Name"
 msgstr "Nome da rede"
 
@@ -502,9 +572,6 @@ msgstr "VLAN ID"
 msgid "No templates found."
 msgstr "Nenhum modelo encontrado."
 
-msgid "Version"
-msgstr "Versão"
-
 msgid "Location"
 msgstr "Localização"
 
@@ -707,6 +774,15 @@ msgid "Bad format while reading volume descriptor in ISO %(filename)s"
 msgstr ""
 
 #, python-format
+msgid ""
+"The hypervisor doesn't have permission to use this ISO %(filename)s. "
+"Consider moving it under /var/lib/libvirt,  or set the search permission to "
+"file access control lists for '%(user)s' user if possible, or add the "
+"'%(user)s' to the ISO path group, or (not recommended) 'chmod -R o+x "
+"'path_to_iso'.Details: %(err)s"
+msgstr ""
+
+#, python-format
 msgid "Virtual machine %(name)s already exists"
 msgstr ""
 
@@ -1067,6 +1143,18 @@ msgstr ""
 msgid "Storage type %(type)s does not support volume create and delete"
 msgstr ""
 
+msgid "Storage volume name must be a string"
+msgstr ""
+
+msgid "Storage volume allocation must be an integer number"
+msgstr ""
+
+msgid "Storage volume format not supported"
+msgstr ""
+
+msgid "Storage volume requires a volume name"
+msgstr ""
+
 #, python-format
 msgid "Interface %(name)s does not exist"
 msgstr ""
@@ -1131,14 +1219,14 @@ msgstr ""
 
 #, python-format
 msgid ""
-"Unable to delete network %(name)s. There are still some VMs linked to this "
-"network."
+"Unable to delete network %(name)s. There are some virtual machines and/or "
+"templates linked to this network."
 msgstr ""
 
 #, python-format
 msgid ""
-"Unable to deactivate network %(name)s. There are some VMs running linked to "
-"this network."
+"Unable to deactivate network %(name)s. There are some virtual machines and/"
+"or templates linked to this network."
 msgstr ""
 
 #, python-format
@@ -1260,31 +1348,36 @@ msgstr ""
 msgid "Specify path to update virtual machine disk"
 msgstr ""
 
-msgid "Repository ID must be one word only string."
+msgid "YUM Repository ID must be one word only string."
 msgstr ""
 
 msgid "Repository URL must be an http://, ftp:// or file:// URL."
 msgstr ""
 
-msgid "Repository URL arguments must be string."
+msgid ""
+"Repository configuration is a dictionary with specific values according to "
+"repository type."
 msgstr ""
 
-msgid "GPG key must be a URL pointing to the ASCII-armored file."
+msgid "Distribution to DEB repository must be a string"
 msgstr ""
 
-msgid "Repository name must be string."
+msgid "Components to DEB repository must be listed in a array"
 msgstr ""
 
-#, python-format
-msgid "Repository %(repo_id)s already exists."
+msgid "Components to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not enable repository %(repo_id)s."
+msgid "Mirror list to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not disable repository %(repo_id)s."
+msgid "YUM Repository name must be string."
+msgstr ""
+
+msgid "GPG check must be a boolean value."
+msgstr ""
+
+msgid "GPG key must be a URL pointing to the ASCII-armored file."
 msgstr ""
 
 #, python-format
@@ -1292,33 +1385,46 @@ msgid "Could not update repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Repository %(repo_id)s does not exists."
+msgid "Repository %(repo_id)s does not exist."
 msgstr ""
 
-#, python-format
-msgid "There is no disabled repository called %(repo_id)s."
+msgid ""
+"Specify repository base URL or mirror list in order to create a YUM "
+"repository."
+msgstr ""
+
+msgid "Repository management tool was not recognized for your system."
 msgstr ""
 
 #, python-format
-msgid "There is no enabled repository called %(repo_id)s."
+msgid "Repository %(repo_id)s is already enabled."
 msgstr ""
 
-msgid "There are no parameters to update repository."
+#, python-format
+msgid "Repository %(repo_id)s is already disabled."
 msgstr ""
 
-msgid "OS distro not supported."
+#, python-format
+msgid "Could not remove repository %(repo_id)s."
 msgstr ""
 
-msgid "There is no YUM configuration directory."
+#, python-format
+msgid "Could not write repository configuration file %(repo_file)s"
 msgstr ""
 
-msgid "There are no parameters to create a new repo file."
+msgid "Specify repository distribution in order to create a DEB repository."
 msgstr ""
 
 #, python-format
-msgid "Could not write repo file %(repo_file)s"
+msgid "Could not enable repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Could not remove repository %(repo_id)s."
+msgid "Could not disable repository %(repo_id)s."
 msgstr ""
+
+msgid "YUM Repository ID already exists"
+msgstr ""
+
+#~ msgid "Create template successfully"
+#~ msgstr "Modelo criado com sucesso"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 6e0d538..8298492 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -20,7 +20,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: kimchi 0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-03-07 00:54-0300\n"
+"POT-Creation-Date: 2014-03-18 08:09-0300\n"
 "PO-Revision-Date: 2013-06-27 10:48+0000\n"
 "Last-Translator: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
 "Language-Team: ShaoHe Feng <shaohef at linux.vnet.ibm.com>\n"
@@ -86,6 +86,13 @@ msgstr "创建"
 msgid "Edit Guest"
 msgstr "修改客户机"
 
+#, fuzzy
+msgid "General"
+msgstr "生成"
+
+msgid "Storage"
+msgstr "存储"
+
 msgid "Name"
 msgstr "名称"
 
@@ -95,12 +102,18 @@ msgstr "中央处理器"
 msgid "Icon"
 msgstr "图标"
 
-msgid "Cancel"
-msgstr "取消"
+msgid "Attach"
+msgstr ""
 
 msgid "Save"
 msgstr "保存"
 
+msgid "Replace"
+msgstr ""
+
+msgid "Detach"
+msgstr ""
+
 msgid "Start"
 msgstr "启用"
 
@@ -113,7 +126,10 @@ msgstr "停止"
 msgid "Actions"
 msgstr "操作"
 
-msgid "Console"
+msgid "Connect"
+msgstr "连接到"
+
+msgid "Manage Media"
 msgstr ""
 
 msgid "Edit"
@@ -143,9 +159,6 @@ msgstr "客户机"
 msgid "Templates"
 msgstr "模板"
 
-msgid "Storage"
-msgstr "存储"
-
 msgid "Network"
 msgstr "网络"
 
@@ -167,27 +180,36 @@ msgstr ""
 msgid "options needed."
 msgstr ""
 
+msgid ""
+"Can not contact the host system. Verify the host system is up and that you "
+"have network connectivity to it. HTTP request response %1. "
+msgstr ""
+
 msgid "Delete Confirmation"
 msgstr "删除确认"
 
 msgid "OK"
 msgstr "确定"
 
+msgid "Cancel"
+msgstr "取消"
+
 msgid "Confirm"
 msgstr "确认"
 
 msgid "Warning"
 msgstr "警告"
 
+#, fuzzy
+msgid "Loading..."
+msgstr "正在生成..."
+
 msgid "No iso found"
 msgstr "没有发现ISO文件"
 
 msgid "This is not a valid ISO file."
 msgstr "这不是一个有效的ISO文件"
 
-msgid "Create template successfully"
-msgstr "创建模板成功"
-
 msgid "It will take long time. Do you want to continue?"
 msgstr ""
 
@@ -223,6 +245,28 @@ msgid ""
 "shut down/restarting?"
 msgstr "关闭或者重启主机会导致没有保存的工作丢失。继续关机/重启?"
 
+msgid "Software Updates"
+msgstr ""
+
+msgid "Package Name"
+msgstr ""
+
+msgid "Version"
+msgstr "版本"
+
+msgid "Architecture"
+msgstr ""
+
+msgid "Repository"
+msgstr ""
+
+msgid "Update All"
+msgstr ""
+
+#, fuzzy
+msgid "Updating..."
+msgstr "正在生成..."
+
 msgid ""
 "Debug report will be removed permanently and can't be recovered. Do you want "
 "to continue?"
@@ -260,6 +304,27 @@ msgid ""
 "cannot be undone. Would you like to continue?"
 msgstr ""
 
+msgid ""
+"This CDROM will be detached permanently and you can re-attach it. Continue "
+"to detach it?"
+msgstr ""
+
+msgid "Attaching..."
+msgstr ""
+
+#, fuzzy
+msgid "Replacing..."
+msgstr "正在生成..."
+
+msgid "Successfully attached!"
+msgstr ""
+
+msgid "Successfully replaced!"
+msgstr ""
+
+msgid "Successfully detached!"
+msgstr ""
+
 msgid "The VLAN id must be between 1 and 4094."
 msgstr ""
 
@@ -320,6 +385,11 @@ msgstr ""
 msgid "No available partitions found."
 msgstr "没有发现模板"
 
+msgid ""
+"This storage pool is not persistent. Instead of deactivate, this action will "
+"permanently delete it. Would you like to continue?"
+msgstr ""
+
 msgid "Help"
 msgstr ""
 
@@ -431,9 +501,6 @@ msgstr "关机"
 msgid "Restart"
 msgstr "重启"
 
-msgid "Connect"
-msgstr "连接到"
-
 msgid "Basic Information"
 msgstr "基本信息"
 
@@ -452,6 +519,9 @@ msgstr "系统统计信息"
 msgid "Collecting data after leaving this page"
 msgstr "离开该页面继续收集数据"
 
+msgid "Update Progress"
+msgstr ""
+
 msgid "Network Name"
 msgstr "网络名称"
 
@@ -491,9 +561,6 @@ msgstr ""
 msgid "No templates found."
 msgstr "没有发现模板"
 
-msgid "Version"
-msgstr "版本"
-
 msgid "Location"
 msgstr "路径"
 
@@ -697,6 +764,15 @@ msgid "Bad format while reading volume descriptor in ISO %(filename)s"
 msgstr ""
 
 #, python-format
+msgid ""
+"The hypervisor doesn't have permission to use this ISO %(filename)s. "
+"Consider moving it under /var/lib/libvirt,  or set the search permission to "
+"file access control lists for '%(user)s' user if possible, or add the "
+"'%(user)s' to the ISO path group, or (not recommended) 'chmod -R o+x "
+"'path_to_iso'.Details: %(err)s"
+msgstr ""
+
+#, python-format
 msgid "Virtual machine %(name)s already exists"
 msgstr ""
 
@@ -1057,6 +1133,18 @@ msgstr ""
 msgid "Storage type %(type)s does not support volume create and delete"
 msgstr ""
 
+msgid "Storage volume name must be a string"
+msgstr ""
+
+msgid "Storage volume allocation must be an integer number"
+msgstr ""
+
+msgid "Storage volume format not supported"
+msgstr ""
+
+msgid "Storage volume requires a volume name"
+msgstr ""
+
 #, python-format
 msgid "Interface %(name)s does not exist"
 msgstr ""
@@ -1121,14 +1209,14 @@ msgstr ""
 
 #, python-format
 msgid ""
-"Unable to delete network %(name)s. There are still some VMs linked to this "
-"network."
+"Unable to delete network %(name)s. There are some virtual machines and/or "
+"templates linked to this network."
 msgstr ""
 
 #, python-format
 msgid ""
-"Unable to deactivate network %(name)s. There are some VMs running linked to "
-"this network."
+"Unable to deactivate network %(name)s. There are some virtual machines and/"
+"or templates linked to this network."
 msgstr ""
 
 #, python-format
@@ -1250,31 +1338,36 @@ msgstr ""
 msgid "Specify path to update virtual machine disk"
 msgstr ""
 
-msgid "Repository ID must be one word only string."
+msgid "YUM Repository ID must be one word only string."
 msgstr ""
 
 msgid "Repository URL must be an http://, ftp:// or file:// URL."
 msgstr ""
 
-msgid "Repository URL arguments must be string."
+msgid ""
+"Repository configuration is a dictionary with specific values according to "
+"repository type."
 msgstr ""
 
-msgid "GPG key must be a URL pointing to the ASCII-armored file."
+msgid "Distribution to DEB repository must be a string"
 msgstr ""
 
-msgid "Repository name must be string."
+msgid "Components to DEB repository must be listed in a array"
 msgstr ""
 
-#, python-format
-msgid "Repository %(repo_id)s already exists."
+msgid "Components to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not enable repository %(repo_id)s."
+msgid "Mirror list to DEB repository must be a string"
 msgstr ""
 
-#, python-format
-msgid "Could not disable repository %(repo_id)s."
+msgid "YUM Repository name must be string."
+msgstr ""
+
+msgid "GPG check must be a boolean value."
+msgstr ""
+
+msgid "GPG key must be a URL pointing to the ASCII-armored file."
 msgstr ""
 
 #, python-format
@@ -1282,33 +1375,46 @@ msgid "Could not update repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Repository %(repo_id)s does not exists."
+msgid "Repository %(repo_id)s does not exist."
 msgstr ""
 
-#, python-format
-msgid "There is no disabled repository called %(repo_id)s."
+msgid ""
+"Specify repository base URL or mirror list in order to create a YUM "
+"repository."
+msgstr ""
+
+msgid "Repository management tool was not recognized for your system."
 msgstr ""
 
 #, python-format
-msgid "There is no enabled repository called %(repo_id)s."
+msgid "Repository %(repo_id)s is already enabled."
 msgstr ""
 
-msgid "There are no parameters to update repository."
+#, python-format
+msgid "Repository %(repo_id)s is already disabled."
 msgstr ""
 
-msgid "OS distro not supported."
+#, python-format
+msgid "Could not remove repository %(repo_id)s."
 msgstr ""
 
-msgid "There is no YUM configuration directory."
+#, python-format
+msgid "Could not write repository configuration file %(repo_file)s"
 msgstr ""
 
-msgid "There are no parameters to create a new repo file."
+msgid "Specify repository distribution in order to create a DEB repository."
 msgstr ""
 
 #, python-format
-msgid "Could not write repo file %(repo_file)s"
+msgid "Could not enable repository %(repo_id)s."
 msgstr ""
 
 #, python-format
-msgid "Could not remove repository %(repo_id)s."
+msgid "Could not disable repository %(repo_id)s."
 msgstr ""
+
+msgid "YUM Repository ID already exists"
+msgstr ""
+
+#~ msgid "Create template successfully"
+#~ msgstr "创建模板成功"
diff --git a/src/kimchi/i18n.py b/src/kimchi/i18n.py
index 589c8cb..c30160d 100644
--- a/src/kimchi/i18n.py
+++ b/src/kimchi/i18n.py
@@ -225,22 +225,26 @@ messages = {
     "KCHCDROM0012E": _("Specify type and path to add a new virtual machine disk"),
     "KCHCDROM0013E": _("Specify path to update virtual machine disk"),
 
-    "KCHREPOS0001E": _("Repository ID must be one word only string."),
+    "KCHREPOS0001E": _("YUM Repository ID must be one word only string."),
     "KCHREPOS0002E": _("Repository URL must be an http://, ftp:// or file:// URL."),
-    "KCHREPOS0003E": _("Repository URL arguments must be string."),
-    "KCHREPOS0004E": _("GPG key must be a URL pointing to the ASCII-armored file."),
-    "KCHREPOS0005E": _("Repository name must be string."),
-    "KCHREPOS0006E": _("Repository %(repo_id)s already exists."),
-    "KCHREPOS0007E": _("Could not enable repository %(repo_id)s."),
-    "KCHREPOS0008E": _("Could not disable repository %(repo_id)s."),
-    "KCHREPOS0009E": _("Could not update repository %(repo_id)s."),
-    "KCHREPOS0010E": _("Repository %(repo_id)s does not exists."),
-    "KCHREPOS0011E": _("There is no disabled repository called %(repo_id)s."),
-    "KCHREPOS0012E": _("There is no enabled repository called %(repo_id)s."),
-    "KCHREPOS0013E": _("There are no parameters to update repository."),
+    "KCHREPOS0003E": _("Repository configuration is a dictionary with specific values according to repository type."),
+    "KCHREPOS0004E": _("Distribution to DEB repository must be a string"),
+    "KCHREPOS0005E": _("Components to DEB repository must be listed in a array"),
+    "KCHREPOS0006E": _("Components to DEB repository must be a string"),
+    "KCHREPOS0007E": _("Mirror list to DEB repository must be a string"),
+    "KCHREPOS0008E": _("YUM Repository name must be string."),
+    "KCHREPOS0009E": _("GPG check must be a boolean value."),
+    "KCHREPOS0010E": _("GPG key must be a URL pointing to the ASCII-armored file."),
+    "KCHREPOS0011E": _("Could not update repository %(repo_id)s."),
+    "KCHREPOS0012E": _("Repository %(repo_id)s does not exist."),
+    "KCHREPOS0013E": _("Specify repository base URL or mirror list in order to create a YUM repository."),
     "KCHREPOS0014E": _("Repository management tool was not recognized for your system."),
-    "KCHREPOS0015E": _("There is no YUM configuration directory."),
-    "KCHREPOS0016E": _("There are no parameters to create a new repo file."),
-    "KCHREPOS0017E": _("Could not write repo file %(repo_file)s"),
-    "KCHREPOS0018E": _("Could not remove repository %(repo_id)s."),
+    "KCHREPOS0015E": _("Repository %(repo_id)s is already enabled."),
+    "KCHREPOS0016E": _("Repository %(repo_id)s is already disabled."),
+    "KCHREPOS0017E": _("Could not remove repository %(repo_id)s."),
+    "KCHREPOS0018E": _("Could not write repository configuration file %(repo_file)s"),
+    "KCHREPOS0019E": _("Specify repository distribution in order to create a DEB repository."),
+    "KCHREPOS0020E": _("Could not enable repository %(repo_id)s."),
+    "KCHREPOS0021E": _("Could not disable repository %(repo_id)s."),
+    "KCHREPOS0022E": _("YUM Repository ID already exists"),
 }
-- 
1.7.10.4




More information about the Kimchi-devel mailing list