Added license text & fixed text button
This commit is contained in:
@@ -28,11 +28,6 @@ infoDialog(prefs, currentVersion) {
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
ClickableUrl(
|
||||
clickEvent: "url_clicked",
|
||||
url: 'https://bostrot.com',
|
||||
text: 'createdby-text'.i18n(),
|
||||
),
|
||||
ClickableUrl(
|
||||
clickEvent: "git_clicked",
|
||||
url: "https://github.com/bostrot/wsl2-distro-manager",
|
||||
@@ -62,6 +57,11 @@ infoDialog(prefs, currentVersion) {
|
||||
text: 'dependencies-text'.i18n(),
|
||||
),
|
||||
shareUsageData(prefs),
|
||||
ClickableUrl(
|
||||
clickEvent: "changelog_clicked",
|
||||
url: "https://github.com/bostrot/wsl2-distro-manager/"
|
||||
"releases",
|
||||
text: 'license-text'.i18n()),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -204,7 +204,7 @@ class ClickableText extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: Button(onPressed: onPressed, child: Text(text)),
|
||||
child: HyperlinkButton(onPressed: onPressed, child: Text(text)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,5 +155,6 @@
|
||||
"move-text": "Verschieben",
|
||||
"movebody-text": "Möchten Sie die Distribution %s0 wirklich zum Standard Distro Pfad verschieben? Dies wird die Distribution exportieren und wieder importieren. Dies kann einige Zeit dauern.",
|
||||
"moving-text": "Verschieben ...",
|
||||
"moved-text": "Die Distribution wurde erfolgreich verschoben."
|
||||
"moved-text": "Die Distribution wurde erfolgreich verschoben.",
|
||||
"license-text": "Lizenz"
|
||||
}
|
||||
@@ -154,5 +154,6 @@
|
||||
"move-text": "Move",
|
||||
"movebody-text": "Do you really want to move the distribution %s0 to the default distro path? This will export and re-import the distribution. This may take some time.",
|
||||
"moving-text": "Moving ...",
|
||||
"moved-text": "Distribution moved successfully."
|
||||
"moved-text": "Distribution moved successfully.",
|
||||
"license-text": "License"
|
||||
}
|
||||
@@ -155,5 +155,6 @@
|
||||
"move-text": "Mover",
|
||||
"movebody-text": "Você realmente deseja mover a distribuição %s0 para o caminho padrão da distribuição? Isso exportará e importará a distribuição novamente. Isso pode levar algum tempo.",
|
||||
"moving-text": "Movendo ...",
|
||||
"moved-text": "A distribuição foi movida com sucesso."
|
||||
"moved-text": "A distribuição foi movida com sucesso.",
|
||||
"license-text": "Licença"
|
||||
}
|
||||
@@ -155,5 +155,6 @@
|
||||
"move-text": "移动",
|
||||
"movebody-text": "您确定要将发行版 %s0 移动到默认发行版位置吗?这将导出并重新导入发行版。这可能需要一些时间。",
|
||||
"moving-text": "移动 ...",
|
||||
"moved-text": "发行版已成功移动。"
|
||||
"moved-text": "发行版已成功移动。",
|
||||
"license-text": "许可证"
|
||||
}
|
||||
@@ -155,5 +155,6 @@
|
||||
"move-text": "移動",
|
||||
"movebody-text": "您確定要將發行版本 %s0 移動到預設發行版本路徑嗎?這將匯出並重新匯入發行版本。這可能需要一些時間。",
|
||||
"moving-text": "正在移動 ...",
|
||||
"moved-text": "發行版本已成功移動。"
|
||||
"moved-text": "發行版本已成功移動。",
|
||||
"license-text": "許可證"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user