mirror of https://github.com/procxx/kepka.git
Use {appname} for splash screen string
Also update usage in intro widget. Please note that the language strings with placeholders must be created using {lang_id}(lt_{placeholder}, lang({placeholder}), where you should replace {lang_id} with your actual language string identifier and {placeholder} with your actual string data.
This commit is contained in:
parent
9d4a8596dc
commit
21ea23741d
|
@ -165,7 +165,7 @@
|
|||
"lng_pinned_unpin" = "Unpin";
|
||||
"lng_pinned_notify" = "Notify all members";
|
||||
|
||||
"lng_intro_about" = "Welcome to Kepka - the unofficial telegram app.\nIt's fast and secure.";
|
||||
"lng_intro_about" = "Welcome to the {appname}, unofficial Telegram app.\nIt's fast and secure.";
|
||||
"lng_start_msgs" = "START MESSAGING";
|
||||
|
||||
"lng_intro_next" = "NEXT";
|
||||
|
|
|
@ -35,7 +35,7 @@ StartWidget::StartWidget(QWidget *parent, Widget::Data *data)
|
|||
: Step(parent, data, true) {
|
||||
setMouseTracking(true);
|
||||
setTitleText([] { return str_const_toString(AppName); });
|
||||
setDescriptionText(langFactory(lng_intro_about));
|
||||
setDescriptionText([] { return lng_intro_about(lt_appname, lang(appname)); });
|
||||
show();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue