Skip to content

Commit

Permalink
Added ptbr to supported list
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Nov 30, 2023
1 parent ccb3453 commit 4d36664
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mobileraker/util/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
'en': _mobileraker_en,
'hu': _mobileraker_hu,
'uk': _mobileraker_uk,
'ptbr': _mobileraker_ptbr,
'zhhk': _mobileraker_zhhk,
'cn': _mobileraker_cnch,
'cntw': _mobileraker_chtw,
Expand Down

2 comments on commit 4d36664

@Depressboy
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I attempted to add translations locally on my own, but it seems to have not been successful. Please add Simplified Chinese translations. Thank you.
Below is the translation I provided.

_mobileraker_cnch: Dict[str, str] = {
'print_progress_title': '$printer_name$printer_name 的打印进度',
'print_progress_body': '$progress, 预计完成时间: $a_eta, 层: $cur_layer/$max_layer',
'state_title': '$printer_name 的状态已更改',
'state_printing_body': '开始打印档案:“$file”',
'state_paused_body': '打印档案时暂停:“$file”',
'state_completed_body': '打印完成:“$file”',
'state_error_body': '打印档案时发生错误:“$file”',
'state_standby_body': '打印机处于待机状态',
'm117_custom_title': '用户通知'
}

@Clon1998
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f65b679 fixed that.

Make sure to set the language to zhcn in the mobileraker config file

Please sign in to comment.