diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-08-07 07:07:36 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-08-07 07:07:36 +0000 |
commit | ba727a95e714f7b1aaaee90c8f41c45dbf67d266 (patch) | |
tree | de8dcd90e64392449ebf8d8baa9900074b12b872 /graphics/lazpaint/files/patch-lazpaint_utranslation.pas | |
parent | - New port: editors/picpas (diff) |
- New port: graphics/lazpaint
LazPaint is an image editor with layers and transparency. It supports the
format OpenRaster so it can interoperate with MyPaint, Gimp and Krita
WWW: http://wiki.freepascal.org/LazPaint
Differential Revision: https://reviews.freebsd.org/D15241
Notes
Notes:
svn path=/head/; revision=476570
Diffstat (limited to 'graphics/lazpaint/files/patch-lazpaint_utranslation.pas')
-rw-r--r-- | graphics/lazpaint/files/patch-lazpaint_utranslation.pas | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/lazpaint/files/patch-lazpaint_utranslation.pas b/graphics/lazpaint/files/patch-lazpaint_utranslation.pas new file mode 100644 index 000000000000..6d4291ee249f --- /dev/null +++ b/graphics/lazpaint/files/patch-lazpaint_utranslation.pas @@ -0,0 +1,29 @@ +--- lazpaint/utranslation.pas 2018-04-26 00:02:18.729349000 -0500 ++++ lazpaint/utranslation.pas 2018-04-26 00:17:20.943460000 -0500 +@@ -8,7 +8,7 @@ + {$ifdef Darwin} + MacOSAll, + {$endif} +- Classes, SysUtils, UConfig, IniFiles; ++ Classes, SysUtils, UConfig, IniFiles, LazFileUtils, LazUTF8; + + {*************** Language ****************} + const +@@ -62,7 +62,7 @@ + result := GetResourcesPath+'i18n'+PathDelim + else + {$ENDIF} +- result:='i18n'+PathDelim; ++ result:='%%DATADIR%%'+PathDelim+'i18n'+PathDelim; + {$ENDIF} + end; + +@@ -76,7 +76,7 @@ + begin + Lang:=''; + FallbackLang:=''; +- LCLGetLanguageIDs(Lang,FallbackLang); ++ LazGetLanguageIDs(Lang,FallbackLang); + result := FallbackLang; + end; + |