Skip to content

Commit e9c2d75

Browse files
Update path to tools for non Debian based Linuxes (#2981)
1 parent 23187aa commit e9c2d75

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/robotide/localization/RIDE.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
msgid ""
66
msgstr ""
77
"Project-Id-Version: PACKAGE VERSION\n"
8-
"POT-Creation-Date: 2025-08-30 00:14+0800\n"
8+
"POT-Creation-Date: 2025-08-30 00:37+0100\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: LANGUAGE <[email protected]>\n"
-29 Bytes
Binary file not shown.

tools/geni18n.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646

4747
pyExe = sys.executable
4848
pyFolder = os.path.split(pyExe)[0]
49-
pyI18nFolder = os.path.join(pyFolder, 'Tools', 'i18n')
49+
if os.path.isfile('/etc/redhat-release'): # In Fedora 42, install `sudo dnf install python-devel`
50+
pyI18nFolder = '/usr/bin'
51+
else:
52+
pyI18nFolder = os.path.join(pyFolder, 'Tools', 'i18n')
5053
pyGettext = os.path.join(pyI18nFolder, 'pygettext.py')
5154
pyMsgfmt = os.path.join(pyI18nFolder, 'msgfmt.py')
5255
outFolder = os.path.join(appFolder, 'localization')

0 commit comments

Comments
 (0)