[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2023-06-10 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #12 from vanyossi  ---
Git commit fcc0b6e09245d133d2c1efd36b0afb9a7cf543f2 by Ivan Yossi.
Committed on 10/06/2023 at 07:18.
Pushed by ivany into branch 'master'.

add empty lproj dirs to try and fix bug 432685

M  +8-8packaging/macos/osxdeploy.sh

https://invent.kde.org/graphics/krita/-/commit/fcc0b6e09245d133d2c1efd36b0afb9a7cf543f2

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-22 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #11 from Halla Rempt  ---
Maybe the difference is that we're using an older version of Qt that doesn't
work with the empy lproj folder hack?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-21 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #10 from vanyossi  ---
Git commit ab9b603ff4bd3b13fd47e525c8a47c59df39d8f8 by Ivan Yossi.
Committed on 22/09/2022 at 05:59.
Pushed by ivany into branch 'master'.

Attempt to fix missing localization on macOS app menu

M  +10   -0packaging/macos/osxdeploy.sh

https://invent.kde.org/graphics/krita/commit/ab9b603ff4bd3b13fd47e525c8a47c59df39d8f8

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-21 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #9 from vanyossi  ---
I remember trying this before, but never dig enough to come with a proper fix.
On my system at least the empty .lproj folders on krita does nothing, however
the folder for each location is required so I might as well start with that :).

locversion.plist do work to change "krita" to "crayola" when I select spanish,
however the other menu entries remain in english.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-20 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #8 from Halla Rempt  ---
Well, I guess ivan can just copy that then :-)

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-20 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #7 from caulier.gil...@gmail.com ---
For digiKam, we do that :

https://invent.kde.org/graphics/digikam/-/blob/master/project/bundles/macports/04-build-installer.sh#L323

... and it work as expected.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-20 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #6 from amyspark  ---
Correct. I believe that entries should also be added to Info.plist, but I don't
recall the specifics for that one.

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-09-20 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=432685

Halla Rempt  changed:

   What|Removed |Added

 CC||ha...@valdyas.org

--- Comment #5 from Halla Rempt  ---
So, basically, as part of the build script we should take Resources/locale, and
for every locale in there create an empty folder with .lproj?

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2022-08-04 Thread Halla Rempt
https://bugs.kde.org/show_bug.cgi?id=432685

Halla Rempt  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-06-13 Thread vanyossi
https://bugs.kde.org/show_bug.cgi?id=432685

vanyossi  changed:

   What|Removed |Added

   Assignee|krita-bugs-n...@kde.org |ghe...@gmail.com
 CC||ghe...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-06-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #4 from caulier.gil...@gmail.com ---
If i create an empty directory named fr.lproj in my digiKam bundle
installation:

# pwd
/Applications/digiKam.org/digikam.app/Contents/Resources
# ls -al
total 17328
drwxr-xr-x  31 root  wheel  992 13 jui 16:33 .
drwxr-xr-x  10 root  wheel  320 13 jui 08:15 ..
-rw-r--r--   1 root  wheel56198 27 fév 01:23 Marble.icns
drwxr-xr-x   4 root  wheel  128 13 jui 08:15 applications
-rw-r--r--   1 root  wheel  7710080 13 jui 00:24 breeze-dark.rcc
-rw-r--r--   1 root  wheel  8622858 13 jui 00:24 breeze.rcc
drwxr-xr-x  23 root  wheel  736 13 jui 08:15 data
drwxr-xr-x  13 root  wheel  416 30 déc 07:21 digikam
-rw-r--r--   1 root  wheel   212575 12 jui 23:36 digikam_SRCS.icns
drwxr-xr-x   2 root  admin   64 28 avr 19:00 fr.lproj
-rw-r--r--   1 root  wheel   188771 27 fév 01:23 gpx.icns
drwxr-xr-x   3 root  wheel   96  7 jan 18:16 icons
-rw-r--r--   1 root  wheel   190753 27 fév 01:23 json.icns
drwxr-xr-x   5 root  wheel  160 29 déc 20:53 kf5
-rw-r--r--   1 root  wheel   186629 27 fév 01:23 kml.icns
drwxr-xr-x   3 root  wheel   96 13 jui 08:15 knotifications5
drwxr-xr-x   4 root  wheel  128 13 jui 08:15 kservices5
drwxr-xr-x   4 root  wheel  128 13 jui 08:15 kservicetypes5
drwxr-xr-x   4 root  wheel  128 30 déc 07:21 kxmlgui5
drwxr-xr-x   4 root  wheel  128 30 déc 06:45 lensfun
drwxr-xr-x  58 root  wheel 1856 31 mar 07:59 locale
-rw-r--r--   1 root  wheel   188135 27 fév 01:23 log.icns
drwxr-xr-x  27 root  wheel  864 13 jui 08:15 mime
drwxr-xr-x   6 root  wheel  192 13 jui 08:15 opencv4
-rw-r--r--   1 root  wheel   190352 27 fév 01:23 osm.icns
drwxr-xr-x  60 root  wheel 1920 13 jui 08:15 plugins
-rw-r--r--   1 root  wheel   186980 27 fév 01:23 pn2.icns
-rw-r--r--   1 root  wheel   185111 27 fév 01:23 pnt.icns
drwxr-xr-x   3 root  wheel   96 30 déc 07:21 showfoto
-rw-r--r--   1 root  wheel   212397 12 jui 23:54 showfoto_SRCS.icns
drwxr-xr-x   3 root  wheel   96 30 déc 07:21 solid

... and if i switch digiKam from EN to FR, after restarting application i can
see MacOS menu entries translated to French...

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-06-13 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=432685

--- Comment #3 from caulier.gil...@gmail.com ---
Alvin,

from this page:
https://plashless.wordpress.com/2014/07/16/localizing-a-pyqt-app-on-macos-osx/

"The file locversion.plist does not seem to be necessary anymore (on OSX 10.9
and Qt5) to get a Qt app to be localized (despite what certain Qt documentation
says.)

OSX knows what translations your Qt app supports only by the set of xx.lproj
folders in the Resources folder of your app bundle.  For a Qt app, these
xx.lproj folders will contain little if anything, just a placeholder, say a
single Localizable.string, which really is not used by your app.  By “OSX
knows” I mean: OSX translates native dialog strings according to.  Much of your
GUI is from Qt, and is translated by Qt, but Qt displays some native dialogs
(provided by OSX) and these are localized by OSX according to the presence of
the xx.lproj files."

If i look to my macbook pro install of VirtualBox (Qt based GUI), i can see :

bash-3.2$ pwd
/Applications/VirtualBox.app/Contents/Resources
bash-3.2$ ls -al
total 4384
drwxr-xr-x  43 root  admin1376 28 avr 19:21 .
drwxr-xr-x   9 root  admin 288 28 avr 19:21 ..
-rw-r--r--   1 root  admin   20137 28 avr 19:00 LICENSE
drwxr-xr-x   3 root  admin  96  2 mai 05:07 VirtualBoxVM.app
drwxr-xr-x   2 root  admin  64 28 avr 19:00 bg.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 ca.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 cs.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 da.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 de.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 el.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 en.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 es.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 eu.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 fa.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 fr.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 hr_HR.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 hu.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 id.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 it.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 ja.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 ko.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 lt.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 nl.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 pl.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 pt_BR.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 ru.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 sl.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 th.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 tr.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 uk.lproj
-rw-r--r--   1 root  admin  227127 28 avr 19:00 virtualbox-hdd.icns
-rw-r--r--   1 root  admin  241607 28 avr 19:00 virtualbox-ova.icns
-rw-r--r--   1 root  admin  241964 28 avr 19:00 virtualbox-ovf.icns
-rw-r--r--   1 root  admin  235145 28 avr 19:00 virtualbox-vbox-extpack.icns
-rw-r--r--   1 root  admin  245074 28 avr 19:00 virtualbox-vbox.icns
-rw-r--r--   1 root  admin  237080 28 avr 19:00 virtualbox-vdi.icns
-rw-r--r--   1 root  admin  214372 28 avr 19:00 virtualbox-vhd.icns
-rw-r--r--   1 root  admin  226107 28 avr 19:00 virtualbox-vmdk.icns
-rw-r--r--   1 root  admin  312039 28 avr 19:00 virtualbox.icns
-rw-r--r--   1 root  admin   21701 28 avr 19:00 virtualbox.png
drwxr-xr-x   3 root  admin  96  2 mai 05:07 vmstarter.app
drwxr-xr-x   2 root  admin  64 28 avr 19:00 zh_CN.lproj
drwxr-xr-x   2 root  admin  64 28 avr 19:00 zh_TW.lproj
bash-3.2$ 

All xx.jproj are empty directories.

Best

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-06-13 Thread Alvin Wong
https://bugs.kde.org/show_bug.cgi?id=432685

Alvin Wong  changed:

   What|Removed |Added

 CC||al...@alvinhc.com

--- Comment #2 from Alvin Wong  ---
This might be relevant:
https://doc.qt.io/qt-5/macos-issues.html#translating-the-application-menu-and-native-dialogs

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-02-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=432685

caulier.gil...@gmail.com changed:

   What|Removed |Added

 CC||caulier.gil...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[krita] [Bug 432685] macOS: Krita Finder menu item not localized/localizable despite non-English system locale

2021-02-09 Thread amyspark
https://bugs.kde.org/show_bug.cgi?id=432685

amyspark  changed:

   What|Removed |Added

 CC||a...@amyspark.me
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #1 from amyspark  ---
Can confirm with a build from master and the system locale set to Spanish. Even
with Krita's locale manually set to Spanish, its system menu still renders in
English.

macOS: 10.14.6 Security Update 2021-001 as well.

-- 
You are receiving this mail because:
You are watching all bug changes.