UI Scaling: Add text stating changes require a restart.

Also updates the translation text.
This commit is contained in:
Athanasius committed 2020-09-10 16:35:59 +01:00
1 parent b4d7d56222
commit 174e169469
2 files changed
+4 -3

No files matched your search

+2 -2
View File
@@ -529,8 +529,8 @@
/* Label for 'UI Scaling' option [prefs.py] */
"UI Scaling" = "UI Scaling";
/* Text describing that value '0.0' means 'default' [prefs.py] */
"0.0 means Default" = "0.0 means Default";
/* Text describing that value '0.0' means 'default', and changes require a restart [prefs.py] */
"0.0 means Default{CR}Restart Required for{CR}changes to take effect!" = "0.0 means Default{CR}Restart Required for{CR}changes to take effect!";
/* Label for user configured level of logging [prefs.py] */
"Log Level" = "Log Level";
+2 -1
View File
@@ -354,7 +354,8 @@ class PreferencesDialog(tk.Toplevel):
resolution=0.1,
)
self.uiscale_bar.grid(row=23, column=1, sticky=tk.W)
self.ui_scaling_defaultis = nb.Label(themeframe, text=_('0.0 means Default')).grid(row=23, column=3, padx=PADX, pady=2*PADY, sticky=tk.E)
#self.ui_scaling_defaultis = nb.Label(themeframe, text=_('0.0 means Default') + '\n' + _('Restart Required for') + '\n' + _('changes to take effect!')).grid(row=23, column=3, padx=PADX, pady=2*PADY, sticky=tk.E)
self.ui_scaling_defaultis = nb.Label(themeframe, text=_('0.0 means Default{CR}Restart Required for{CR}changes to take effect!')).grid(row=23, column=3, padx=PADX, pady=2*PADY, sticky=tk.E)
# Always on top
ttk.Separator(themeframe, orient=tk.HORIZONTAL).grid(columnspan=3, padx=PADX, pady=PADY*4, sticky=tk.EW)