RR: Translate Language page
This commit is contained in:
parent
00cadafc29
commit
c05bb7cc82
12
po/en_US.po
12
po/en_US.po
@ -137,3 +137,15 @@ msgstr "Filesystem Table Error: Invalid mountpoint: ("
|
|||||||
|
|
||||||
msgid "fstab_bad_mountpoint_msg"
|
msgid "fstab_bad_mountpoint_msg"
|
||||||
msgstr ") Is not a valid mountpoint!"
|
msgstr ") Is not a valid mountpoint!"
|
||||||
|
|
||||||
|
msgid "select_a_language"
|
||||||
|
msgstr "Select a language"
|
||||||
|
|
||||||
|
msgid "please_select_locale"
|
||||||
|
msgstr "Please select a locale for the system to use"
|
||||||
|
|
||||||
|
msgid "no_locale_selected"
|
||||||
|
msgstr "No locale selected"
|
||||||
|
|
||||||
|
msgid "language"
|
||||||
|
msgid "Language"
|
@ -27,7 +27,7 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
|
|
||||||
// Next and back button
|
// Next and back button
|
||||||
let bottom_back_button = gtk::Button::builder()
|
let bottom_back_button = gtk::Button::builder()
|
||||||
.label("Back")
|
.label(gettext("back"))
|
||||||
.margin_top(15)
|
.margin_top(15)
|
||||||
.margin_bottom(15)
|
.margin_bottom(15)
|
||||||
.margin_start(15)
|
.margin_start(15)
|
||||||
@ -36,7 +36,7 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.build();
|
.build();
|
||||||
let bottom_next_button = gtk::Button::builder()
|
let bottom_next_button = gtk::Button::builder()
|
||||||
.label("Next")
|
.label(gettext("next"))
|
||||||
.margin_top(15)
|
.margin_top(15)
|
||||||
.margin_bottom(15)
|
.margin_bottom(15)
|
||||||
.margin_start(15)
|
.margin_start(15)
|
||||||
@ -66,7 +66,7 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
|
|
||||||
// the header text for the language page
|
// the header text for the language page
|
||||||
let language_header_text = gtk::Label::builder()
|
let language_header_text = gtk::Label::builder()
|
||||||
.label("Select a language")
|
.label(gettext("select_a_language"))
|
||||||
.halign(gtk::Align::End)
|
.halign(gtk::Align::End)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.margin_top(15)
|
.margin_top(15)
|
||||||
@ -106,7 +106,7 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
|
|
||||||
// text above language selection box
|
// text above language selection box
|
||||||
let language_selection_text = gtk::Label::builder()
|
let language_selection_text = gtk::Label::builder()
|
||||||
.label("Please select a locale for the system to use")
|
.label(gettext("please_select_locale"))
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
.margin_top(15)
|
.margin_top(15)
|
||||||
@ -117,11 +117,11 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
language_selection_text.add_css_class("medium_sized_text");
|
language_selection_text.add_css_class("medium_sized_text");
|
||||||
|
|
||||||
let language_selection_expander_row = adw::ExpanderRow::builder()
|
let language_selection_expander_row = adw::ExpanderRow::builder()
|
||||||
.title("No locale selected")
|
.title(gettext("no_locale_selected"))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let null_checkbutton = gtk::CheckButton::builder()
|
let null_checkbutton = gtk::CheckButton::builder()
|
||||||
.label("No locale selected")
|
.label(gettext("no_locale_selected"))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let language_selection_expander_row_viewport =
|
let language_selection_expander_row_viewport =
|
||||||
@ -213,7 +213,7 @@ pub fn language_page(content_stack: >k::Stack) {
|
|||||||
|
|
||||||
// / Content stack appends
|
// / Content stack appends
|
||||||
//// Add the language_main_box as page: language_page, Give it nice title
|
//// Add the language_main_box as page: language_page, Give it nice title
|
||||||
content_stack.add_titled(&language_main_box, Some("language_page"), "Language");
|
content_stack.add_titled(&language_main_box, Some("language_page"), &gettext("language"));
|
||||||
|
|
||||||
let lang_data_buffer_clone = lang_data_buffer.clone();
|
let lang_data_buffer_clone = lang_data_buffer.clone();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user