Skip to content

Commit d0f18ab

Browse files
committed
Use pathfinder var in sysdef translation script
1 parent ba3944f commit d0f18ab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
- Error dialog
2525
- Setting restart dialog
2626
- Start VM dialog
27+
- Translation script for "System default".
2728
- The delcache scripts have been updated to remove the cache from the services folder as well.
2829

2930
## Known issues

translations/systemdefaultset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
def sysDefSet(finalStr, comboBox, comboBoxIndex):
44
exec_folder = pf.retrieveExecFolder()
5-
with open("translations/systemdefault.txt", "r+", encoding="utf8") as sysDefFile:
5+
with open(f"{exec_folder}translations/systemdefault.txt", "r+", encoding="utf8") as sysDefFile:
66
sysDefContent = sysDefFile.read()
77

88
if sysDefContent.__contains__(comboBox.itemText(comboBoxIndex)):

0 commit comments

Comments
 (0)