Skip to content

Commit

Permalink
#121 Config translation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
d4nj1 committed Dec 24, 2023
1 parent 9219dd0 commit b779679
Show file tree
Hide file tree
Showing 22 changed files with 1,976 additions and 6,860 deletions.
4 changes: 2 additions & 2 deletions tlpui/configui.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def create_item_box(configobjects: list, doc: str, grouptitle: str, window) -> G

if len(configobjects) > 1:
grouplabel = Gtk.Label()
grouplabel.set_markup(' <b>{}</b> '.format(language.CDT_(f"{grouptitle}__GROUP_TITLE")))
grouplabel.set_markup(f' <b>{grouptitle.replace("_", " ")}</b> ')
grouplabel.set_use_markup(True)
grouplabel.set_margin_bottom(12)
grouplabel.set_halign(Gtk.Align.START)
Expand Down Expand Up @@ -171,7 +171,7 @@ def create_item_box(configobjects: list, doc: str, grouptitle: str, window) -> G

# object label
configlabel = Gtk.Label(xalign=0)
configlabel.set_markup(' <b>{}</b> '.format(language.CDT_(f"{configname}__ID_TITLE")))
configlabel.set_markup(f' <b>{configname}</b> ')
configlabel.set_use_markup(True)
configlabel.set_size_request(300, 0)

Expand Down
Binary file modified tlpui/lang/de_DE/LC_MESSAGES/configdescriptions.mo
Binary file not shown.
Loading

0 comments on commit b779679

Please sign in to comment.