ukrainian localization and new error popup
This commit is contained in:
@@ -67,7 +67,6 @@ export default function(obj) {
|
||||
name: "about",
|
||||
title: `${emoji("🐲")} ${loc(obj.lang, 'AboutTab')}`,
|
||||
content: popup({
|
||||
embed: true,
|
||||
name: "about",
|
||||
header: {
|
||||
aboveTitle: {
|
||||
@@ -90,7 +89,6 @@ export default function(obj) {
|
||||
name: "changelog",
|
||||
title: `${emoji("🎉")} ${loc(obj.lang, 'ChangelogTab')}`,
|
||||
content: popup({
|
||||
embed: true,
|
||||
name: "changelog",
|
||||
header: {
|
||||
closeAria: loc(obj.lang, 'AccessibilityClosePopup'),
|
||||
@@ -103,6 +101,8 @@ export default function(obj) {
|
||||
text: loc('en', 'ChangelogContentTitle'),
|
||||
classes: ["changelog-subtitle"],
|
||||
nopadding: true
|
||||
}, {
|
||||
text: loc('en', 'FollowTwitter')
|
||||
}, {
|
||||
text: loc('en', 'ChangelogContent')
|
||||
}, {
|
||||
@@ -123,7 +123,6 @@ export default function(obj) {
|
||||
name: "donate",
|
||||
title: `${emoji("💰")} ${loc(obj.lang, 'DonationsTab')}`,
|
||||
content: popup({
|
||||
embed: true,
|
||||
name: "donate",
|
||||
header: {
|
||||
closeAria: loc(obj.lang, 'AccessibilityClosePopup'),
|
||||
@@ -239,6 +238,7 @@ export default function(obj) {
|
||||
})}
|
||||
${popup({
|
||||
name: "download",
|
||||
standalone: true,
|
||||
header: {
|
||||
closeAria: loc(obj.lang, 'AccessibilityClosePopup'),
|
||||
subtitle: loc(obj.lang, 'TitlePopupDownload')
|
||||
@@ -253,11 +253,16 @@ export default function(obj) {
|
||||
})}
|
||||
${popup({
|
||||
name: "error",
|
||||
standalone: true,
|
||||
buttonOnly: true,
|
||||
emoji: emoji("☹️", 48, 1),
|
||||
classes: ["small"],
|
||||
buttonText: loc(obj.lang, 'ErrorPopupCloseButton'),
|
||||
header: {
|
||||
closeAria: loc(obj.lang, 'AccessibilityClosePopup'),
|
||||
title: loc(obj.lang, 'TitlePopupError')
|
||||
},
|
||||
body: `<div id="desc-error"></div>`
|
||||
body: `<div id="desc-error" class="desc-padding subtext"></div>`
|
||||
})}
|
||||
<div id="popup-backdrop" style="visibility: hidden;" onclick="hideAllPopups()"></div>
|
||||
<div id="cobalt-main-box" class="center box" style="visibility: hidden;">
|
||||
|
||||
Reference in New Issue
Block a user