Univention Bugzilla – Attachment 7556 Details for
Bug 40936
Translations for JavaScript files are not created correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug40936-translations.patch (text/plain), 1.12 KB, created by
Alexander Kläser
on 2016-03-23 12:29:45 CET
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Alexander Kläser
Created:
2016-03-23 12:29:45 CET
Size:
1.12 KB
patch
obsolete
>--- /usr/share/pyshared/univention/translationhelper.py.orig 2015-12-25 02:06:42.117924000 +0100 >+++ /usr/share/pyshared/univention/translationhelper.py 2015-12-25 02:10:18.601924000 +0100 >@@ -62,19 +62,19 @@ > p = os.path.join(source_dir, packagedir) > os.chdir(p) > if not module['core']: >- def _create_po_files(po_files): >+ def _create_po_files(po_files, src_files): > for po_file in po_files: > po_file_full_path = os.path.join(translated_package_dir_absolute, po_file) > if not os.path.exists(os.path.dirname(po_file_full_path)): > os.makedirs(os.path.dirname(po_file_full_path)) > try: >- dh_umc.create_po_file(po_file_full_path, modulename, module.python_files) >+ dh_umc.create_po_file(po_file_full_path, modulename, src_files) > except dh_umc.Error as exc: > print str(exc) > > # build python po files >- _create_po_files(module.python_po_files) >- _create_po_files(module.js_po_files) >+ _create_po_files(module.python_po_files, module.python_files) >+ _create_po_files(module.js_po_files, module.js_files) > > # xml always has to be present > for lang, po_file in module.xml_po_files:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40936
: 7556