Localize pageNotFound
This commit is contained in:
parent
4913c2fe92
commit
76eba1e3e9
@ -427,5 +427,7 @@
|
|||||||
"timelineEvent1969ce": "Apollo 11 mission lands on the moon",
|
"timelineEvent1969ce": "Apollo 11 mission lands on the moon",
|
||||||
"privacyPolicy": "Privacy Policy",
|
"privacyPolicy": "Privacy Policy",
|
||||||
"privacyStatement": "As explained in our {privacyUrl} we do not collect any personal information.",
|
"privacyStatement": "As explained in our {privacyUrl} we do not collect any personal information.",
|
||||||
"@privacyStatement": {"placeholders": {"privacyUrl": {}}}
|
"@privacyStatement": {"placeholders": {"privacyUrl": {}}},
|
||||||
|
"pageNotFoundBackButton": "Back to civilization",
|
||||||
|
"pageNotFoundMessage": "The page you are looking for does not exist."
|
||||||
}
|
}
|
@ -405,5 +405,7 @@
|
|||||||
"timelineEvent1957ce": "苏联发射斯普特尼克1号",
|
"timelineEvent1957ce": "苏联发射斯普特尼克1号",
|
||||||
"timelineEvent1969ce": "阿波罗11号在月球着陆",
|
"timelineEvent1969ce": "阿波罗11号在月球着陆",
|
||||||
"privacyPolicy": "隐私政策",
|
"privacyPolicy": "隐私政策",
|
||||||
"privacyStatement": "gskinner 非常重视对用户隐私的保护,正如{privacyUrl}里所诉,gskinner 不会收集您的个人信息。"
|
"privacyStatement": "gskinner 非常重视对用户隐私的保护,正如{privacyUrl}里所诉,gskinner 不会收集您的个人信息。",
|
||||||
|
"pageNotFoundBackButton": "回到文明",
|
||||||
|
"pageNotFoundMessage": "您正在寻找的页面不存在"
|
||||||
}
|
}
|
@ -27,7 +27,7 @@ class PageNotFound extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Gap(70),
|
Gap(70),
|
||||||
Text(
|
Text(
|
||||||
'The page you are looking for does not exist.',
|
$strings.pageNotFoundMessage,
|
||||||
style: $styles.text.body.copyWith(color: $styles.colors.offWhite),
|
style: $styles.text.body.copyWith(color: $styles.colors.offWhite),
|
||||||
),
|
),
|
||||||
if (PlatformInfo.isDesktop) ...{
|
if (PlatformInfo.isDesktop) ...{
|
||||||
@ -41,7 +41,7 @@ class PageNotFound extends StatelessWidget {
|
|||||||
semanticLabel: 'Back',
|
semanticLabel: 'Back',
|
||||||
child: DarkText(
|
child: DarkText(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Back to civilization',
|
$strings.pageNotFoundBackButton,
|
||||||
style: $styles.text.btn.copyWith(fontSize: 12),
|
style: $styles.text.btn.copyWith(fontSize: 12),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user