FreeBSD Bugzilla – Attachment 214670 Details for
Bug 246588
graphics/inkscape: fix build "default.es_MX.svg:No such file or directory"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build "default.es_MX.svg:No such file or directory"
inkscape-es_MX.diff (text/plain), 879 bytes, created by
Vladimir Druzenko
on 2020-05-20 00:16:56 UTC
(
hide
)
Description:
fix build "default.es_MX.svg:No such file or directory"
Filename:
MIME Type:
Creator:
Vladimir Druzenko
Created:
2020-05-20 00:16:56 UTC
Size:
879 bytes
patch
obsolete
>diff -urN graphics/inkscape.orig/files/patch-share_templates_create__default__templates.py graphics/inkscape/files/patch-share_templates_create__default__templates.py >--- graphics/inkscape.orig/files/patch-share_templates_create__default__templates.py >+++ graphics/inkscape/files/patch-share_templates_create__default__templates.py >@@ -0,0 +1,11 @@ >+--- share/templates/create_default_templates.py.orig >++++ share/templates/create_default_templates.py >+@@ -44,6 +44,8 @@ >+ os.makedirs(destination_dir) >+ shutil.copy(source, destination) >+ >++# do another loop to ensure we've copied all the translations before using them >++for language in languages: >+ # get translation with help of gettext >+ translation = gettext.translation('inkscape', localedir=binary_dir + '/po/locale', languages=[language]) >+ translated_string = translation.gettext(LAYER_STRING)
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
Flags:
vvd
:
maintainer-approval?
(
pi
)
Actions:
View
|
Diff
Attachments on
bug 246588
: 214670