Change place of translate.

develop
Mike Hiretsky 13 years ago
parent 96dc3806d5
commit 590b120084

@ -427,8 +427,8 @@ msgid "The list of %s variables:"
msgstr "Список переменных %s:"
msgid ""
"The text is not a valid gconf-XML format (found '<gconf><%(tag)s>..</%(tag)"
"s></gconf>'"
"The text is not a valid gconf-XML format (found '<gconf><%(tag)s>..</"
"%(tag)s></gconf>'"
msgstr ""
"Текст не является правильным gconf-XML форматом (найдено '<gconf><%(tag)s>.."
"</%(tag)s></gconf>'"
@ -749,3 +749,430 @@ msgid ""
msgstr ""
"фильтрация переменных по регулярному выражению, используйте совместно с "
"опцией '-v --vars'"
msgid "wrong dict value: %s"
msgstr ""
msgid "Retype new password"
msgstr ""
msgid "password incorrect"
msgstr ""
msgid "Error in import module %s"
msgstr ""
msgid "Not found variable %s"
msgstr ""
msgid "error initalize variable %s, incorrect data"
msgstr ""
msgid ""
"Unable to find the alias '%s' of the file path for storage of variables "
"templates"
msgstr ""
msgid "Not found template variable %s"
msgstr ""
msgid "error var %s not found"
msgstr ""
msgid "wrong vars filter '%s'"
msgstr ""
msgid ""
"In the text, XML template, look for a reserved attribute 'action' with the "
"incorrect value.\n"
"Valid values attribute 'action': (action=\"join\", action=\"replace\", "
"action=\"drop\")"
msgstr ""
msgid "The uncertainty in this template are the same nodes at one level"
msgstr ""
msgid "Can not join template"
msgstr ""
msgid "Can not convert text template in XML"
msgstr ""
msgid "Incorrect text template"
msgstr ""
msgid "Incorrect text template '<reg></reg>'"
msgstr ""
msgid "Incorrect text template '<reg>%s</reg>'"
msgstr ""
msgid "The text is not a valid gconf-XML format (found '<%(tag)s>..</%(tag)s>'"
msgstr ""
msgid "Not found arrtibute \"name\" in %(tag)s"
msgstr ""
msgid "Not found arrtibute \"name\" in tag entry"
msgstr ""
msgid "Not found arrtibute \"type\" in tag entry"
msgstr ""
msgid "Value function is not version"
msgstr ""
msgid "header template not valid"
msgstr ""
msgid "not open file:"
msgstr ""
msgid "Can not found user %s"
msgstr ""
msgid "Can not found group id %s"
msgstr ""
msgid "error var %s not int"
msgstr ""
msgid "error local var %s not defined"
msgstr ""
msgid "error template term %s, incorrect data"
msgstr ""
msgid "Second argument function is not 'root'"
msgstr ""
msgid "Third argument function is not 'root'"
msgstr ""
msgid "first argument function is not 'ver' or 'num' or 'char' or 'empty'"
msgstr ""
msgid "first argument function must be 'num','pas' or 'uuid'"
msgstr ""
msgid "two argument function is not number"
msgstr ""
msgid "first argument function is not 'upper' or 'lower' or 'capitalize'"
msgstr ""
msgid "error var %s exists"
msgstr ""
msgid "error var %s not exists"
msgstr ""
msgid "error, gloval variables stack is empty"
msgstr ""
msgid "third argument function is not 'url' or 'purl' or 'unicode'"
msgstr ""
msgid "value of %s is not a list or tuple"
msgstr ""
msgid "%s wrong"
msgstr ""
msgid ""
"in the value of the variable os_disk_install not found mount point '' and '\\"
"%s'"
msgstr ""
msgid "error template term '%s'"
msgstr ""
msgid "can not found template function '%s'"
msgstr ""
msgid "Not valid oct value: "
msgstr ""
msgid "Not access dir: "
msgstr ""
msgid "Can not create dir: "
msgstr ""
msgid "content template not valid: "
msgstr ""
msgid "name template not valid: "
msgstr ""
msgid "No conditions of checking a value of the variable 'cl_name'"
msgstr ""
msgid "Skip templates:"
msgstr ""
msgid "Skip directories:"
msgstr ""
msgid ""
"Headers directory and template files first level should include of the "
"'cl_name' variable."
msgstr ""
msgid "not defined Var: "
msgstr ""
msgid "Error open template"
msgstr ""
msgid "False value 'path' in template"
msgstr ""
msgid "False value 'name' in template"
msgstr ""
msgid "Can not delete dir: "
msgstr ""
msgid "Can not delete: "
msgstr ""
msgid "False value 'chmod' in template"
msgstr ""
msgid "Not user in this system: "
msgstr ""
msgid "False value 'chown' in template"
msgstr ""
msgid "Not group in this system: "
msgstr ""
msgid "False value 'exec' in template"
msgstr ""
msgid "Can not execute %s"
msgstr ""
msgid "False value 'append=join' in template"
msgstr ""
msgid "Error in template"
msgstr ""
msgid "Can not clear file"
msgstr ""
msgid "Can not delete link"
msgstr ""
msgid "Can not delete file"
msgstr ""
msgid "Can not open file"
msgstr ""
msgid "Can not create file"
msgstr ""
msgid "Can not change the current directory to"
msgstr ""
msgid "Can not create symbolic link"
msgstr ""
msgid "False option append=%(type)s in template %(file)s"
msgstr ""
msgid "Incorrect header parmeter format=%s in template"
msgstr ""
msgid "False template"
msgstr ""
msgid "Can not execute"
msgstr ""
msgid "False option append=before in template %s"
msgstr ""
msgid "False option append=after in template %s"
msgstr ""
msgid "Incorrect header parmeter append=%s in template"
msgstr ""
msgid "False (type append) template"
msgstr ""
msgid "Type template not found: "
msgstr ""
msgid "Unable to write into file"
msgstr ""
msgid "Unable to create file"
msgstr ""
msgid ""
"In the file %s (format - 'plasma'), write the variable in the format 'samba'"
msgstr ""
msgid "Incorrect format file"
msgstr ""
msgid ""
"In the file %s (format - 'plasma'), get the variable in the format 'samba'"
msgstr ""
msgid ""
"In the file %s (format - 'plasma'), get all variables in the format 'samba'"
msgstr ""
msgid "password empty"
msgstr ""
msgid "Can not support '%s' crypto algorithm"
msgstr ""
msgid "without py-smbpasswd"
msgstr ""
msgid "Can not found %s"
msgstr ""
msgid "Error checking certificate %s"
msgstr ""
msgid "Not found user %s"
msgstr ""
msgid "Can not execute '%s'"
msgstr ""
msgid "Can not create certificate %s"
msgstr ""
msgid "Path %s not exists"
msgstr ""
msgid "Error encrypt password, method getHash()"
msgstr ""
msgid "Error execute 'hostname -d'"
msgstr ""
msgid "Not found domain name"
msgstr ""
msgid "Error writing variable %s"
msgstr ""
msgid "Can not found service class '%s'"
msgstr ""
msgid "Can not found user %s in this system"
msgstr ""
msgid "Can not found group %s in this system"
msgstr ""
msgid "Not restore user data in dir %s"
msgstr ""
msgid "Restore user data in dir %s"
msgstr ""
msgid "Found deleted user data dir %s"
msgstr ""
msgid "Not created deleted user data dir %s"
msgstr ""
msgid "Can not copy deleted user data in dir %s"
msgstr ""
msgid "Created deleted user data dir %s"
msgstr ""
msgid "Not found remove dir %s"
msgstr ""
msgid "Incorrect string allow networks"
msgstr ""
msgid ""
"You used four attempts, if you want to continue to run the program again"
msgstr ""
msgid "Not found LDAP base DN"
msgstr ""
msgid "No connect to LDAP server"
msgstr ""
msgid "Admin password for the service %s could not be found"
msgstr ""
msgid "LDAP connect error"
msgstr ""
msgid "Not open file"
msgstr ""
msgid "Can not convert file '%s' in jpeg format"
msgstr ""
msgid "set value for variable"
msgstr ""
msgid ""
"print variables, if the two options is verbose (added print hidden variables)"
msgstr ""
msgid ""
"filtered variables by regular expression, is used in conjunction with the "
"options '-v --show-variables'"
msgstr ""
msgid ""
"output variables in the format of XML, is used in conjunction with the "
"option '-v --show-variables'"
msgstr ""
msgid "Can not import module %s"
msgstr ""
msgid "Can not create API object"
msgstr ""
msgid "Can not found method %(method)s in API object service %(service)s"
msgstr ""
msgid "Can not found method %s"
msgstr ""
msgid "Can not execute 'who'"
msgstr ""
msgid "Not found X sessions users"
msgstr ""
msgid "Error using templates for the user %s"
msgstr ""
msgid "Package %s has changed files"
msgstr ""
msgid "Not found templates"
msgstr ""
msgid "Replace files:"
msgstr ""
msgid "Error template in a package %s"
msgstr ""
msgid "Update configuration files package installed"
msgstr ""

@ -1,2 +1,2 @@
[install]
prefix=/usr/share/calculate/i18n
prefix=/usr/share/locale

@ -45,12 +45,15 @@ class build_po( distutils.core.Command ) :
pass
def run( self ) :
self.mkpath("build")
#self.mkpath("build")
#build.run( self )
for locale in locales:
localepath = path.join("build",locale,"LC_MESSAGES")
self.mkpath(localepath)
self.mkpath(locale)
for po in glob.glob("%s/*.po"%locale) :
cmd = "msgfmt -c -o build/%s %s" % \
(path.basename(po)[:-2]+'mo',po)
cmd = "msgfmt -c -o %s/%s %s" % \
(localepath,path.basename(po)[:-2]+'mo',po)
cout( cmd + "\n" )
os.system(cmd)
@ -76,6 +79,9 @@ setup(
author_email = "support@calculate.ru",
url = "http://calculate-linux.org",
license = "http://www.apache.org/licenses/LICENSE-2.0",
data_files = [("",(glob.glob("build/*.mo")))],
data_files = [
(path.join(locale,"LC_MESSAGES"),
glob.glob(path.join("build",locale,"LC_MESSAGES/*.mo")))
for locale in locales ],
cmdclass = {'build':build,'build_po':build_po,'install_egg_info':empty_egg_info}
)

Loading…
Cancel
Save