Skip to content

Commit

Permalink
Merge pull request #430 from jorys-paulin/main
Browse files Browse the repository at this point in the history
Add missing translatable strings
  • Loading branch information
mariotaku authored May 11, 2024
2 parents e766df4 + d0b2cb5 commit 6fa90bd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/ui/help/help.dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ lv_obj_t *help_dialog_create() {
lv_obj_set_style_pad_all(list, 0, 0);


lv_list_add_text(list, "Input");
lv_list_add_text(list, locstr("Input"));
add_url_button(list, locstr("Gamepad hotkeys"),
"https://github.com/mariotaku/moonlight-tv/wiki/Input-Shortcuts#gamepad");
add_url_button(list, locstr("Remote controller keys"),
"https://github.com/mariotaku/moonlight-tv/wiki/Input-Shortcuts#webos-remote-controller");
lv_list_add_text(list, "More help");
lv_list_add_text(list, locstr("More help"));
add_url_button(list, locstr("Open moonlight-tv Wiki"),
"https://github.com/mariotaku/moonlight-tv/wiki");
add_url_button(list, locstr("Open moonlight-stream Wiki"),
Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/settings/panes/audio.pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static lv_obj_t *create_obj(lv_fragment_t *self, lv_obj_t *container) {
lv_obj_t *conflict_hint = pref_desc_label(view, NULL, false);
controller->conflict_hint = conflict_hint;

pref_header(view, "Audio Settings");
pref_header(view, locstr("Audio Settings"));

pref_title_label(view, locstr("Sound Channels (Experimental)"));

Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/settings/panes/basic.pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static lv_obj_t *create_obj(lv_fragment_t *self, lv_obj_t *container) {
lv_obj_add_event_cb(checkbox, on_fullscreen_updated, LV_EVENT_VALUE_CHANGED, pane);
} else {
lv_obj_add_state(checkbox, LV_STATE_DISABLED);
pref_desc_label(view, "Can't use windowed UI for this decoder", false);
pref_desc_label(view, locstr("Can't use windowed UI for this decoder"), false);
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/settings/panes/video.pane.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static lv_obj_t *create_obj(lv_fragment_t *self, lv_obj_t *container) {
lv_obj_t *conflict_hint = pref_desc_label(view, NULL, false);
controller->conflict_hint = conflict_hint;

pref_header(view, "Video Settings");
pref_header(view, locstr("Video Settings"));

lv_obj_t *hevc_checkbox = pref_checkbox(view, locstr("Use H265 when possible"), &app_configuration->hevc, false);
lv_obj_t *hevc_hint = pref_desc_label(view, NULL, false);
Expand Down

0 comments on commit 6fa90bd

Please sign in to comment.