Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into disk-config-submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Oct 30, 2023
2 parents d0d18d3 + 2831c97 commit dc2f4ff
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 93 deletions.
2 changes: 2 additions & 0 deletions archinstall/lib/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def _get_values(
raise ValueError('Unsupported formatting call')
elif hasattr(o, 'table_data'):
return o.table_data()
elif hasattr(o, 'json'):
return o.json()
elif is_dataclass(o):
return asdict(o)
else:
Expand Down
2 changes: 2 additions & 0 deletions archinstall/locales/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ msgstr ""
The `msgid` is the identifier of the string in the code as well as the default text to be displayed, meaning that if no
translation is provided for a language then this is the text that is going to be shown.

## Perform translations

To perform translations for a language this file can be edited manually or the neat `poedit` can be used (https://poedit.net/).
If editing the file manually, write the translation in the `msgstr` part

Expand Down
Binary file modified archinstall/locales/zh-CN/LC_MESSAGES/base.mo
Binary file not shown.
Loading

0 comments on commit dc2f4ff

Please sign in to comment.