feat: added translators credits to about window
This commit is contained in:
parent
3b40ce75e6
commit
08004a892b
1 changed files with 9 additions and 6 deletions
|
@ -49,16 +49,21 @@ impl SimpleComponent for AboutDialog {
|
||||||
"Nikita Podvirnyy https://github.com/krypt0nn"
|
"Nikita Podvirnyy https://github.com/krypt0nn"
|
||||||
],
|
],
|
||||||
|
|
||||||
add_credit_section: (Some("Logo"), &[
|
|
||||||
"@nightany https://pinterest.com/pin/356206651788051017"
|
|
||||||
]),
|
|
||||||
|
|
||||||
add_credit_section: (Some("An Anime Team"), &[
|
add_credit_section: (Some("An Anime Team"), &[
|
||||||
"@Marie https://github.com/Mar0xy",
|
"@Marie https://github.com/Mar0xy",
|
||||||
"@lane https://github.com/laurinneff",
|
"@lane https://github.com/laurinneff",
|
||||||
"@jiro-too https://github.com/jiro-too"
|
"@jiro-too https://github.com/jiro-too"
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
set_artists: &[
|
||||||
|
"@nightany https://pinterest.com/pin/356206651788051017"
|
||||||
|
],
|
||||||
|
|
||||||
|
set_translator_credits: &[
|
||||||
|
"Русский, English — Nikita Podvirnyy https://github.com/krypt0nn",
|
||||||
|
"Deutsch — @Marie https://github.com/Mar0xy"
|
||||||
|
].join("\n"),
|
||||||
|
|
||||||
set_debug_info: &[
|
set_debug_info: &[
|
||||||
format!("Anime Game core: {CORE_VERSION}"),
|
format!("Anime Game core: {CORE_VERSION}"),
|
||||||
format!("curl: {}", CURL_INFO.version()),
|
format!("curl: {}", CURL_INFO.version()),
|
||||||
|
@ -101,8 +106,6 @@ impl SimpleComponent for AboutDialog {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update(&mut self, msg: Self::Input, _sender: ComponentSender<Self>) {
|
fn update(&mut self, msg: Self::Input, _sender: ComponentSender<Self>) {
|
||||||
tracing::debug!("Called about dialog event: {:?}", msg);
|
|
||||||
|
|
||||||
match msg {
|
match msg {
|
||||||
AboutDialogMsg::Show => {
|
AboutDialogMsg::Show => {
|
||||||
self.visible = true;
|
self.visible = true;
|
||||||
|
|
Loading…
Reference in a new issue