Skip to content

Commit

Permalink
Add missing translation in client
Browse files Browse the repository at this point in the history
Close #8392
  • Loading branch information
BijinDev authored and hrb-hub committed Jan 27, 2025
1 parent c756cb8 commit d1d3223
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/common/gui/RenderLoginInfoLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function showVersionDropdown(e: MouseEvent) {
createDropdown({
lazyButtons: () => [
{
label: lang.makeTranslation("get_logs", "Get logs"),
label: "getLogs_action",
click: () => showLogsDialog(),
},
],
Expand Down
2 changes: 1 addition & 1 deletion src/common/misc/ErrorReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function showErrorOverlay(): Promise<{ decision: "send" | "cancel"; ignore
},
[
{
label: lang.makeTranslation("send", "Send report"),
label: "sendReport_label",
click: () => resolve("send"),
type: ButtonType.Secondary,
},
Expand Down
2 changes: 1 addition & 1 deletion src/common/misc/passwords/PasswordGeneratorDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function showPasswordGeneratorDialog(): Promise<string> {
updateAction()

const dialog = Dialog.showActionDialog({
title: lang.makeTranslation("passphrase_title", "Passphrase"),
title: "passphrase_label",
child: {
view: () =>
m(PasswordGeneratorDialog, {
Expand Down
12 changes: 9 additions & 3 deletions src/common/settings/AboutDialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Button, ButtonType } from "../gui/base/Button.js"
import { getLightOrDarkTutaLogo } from "../gui/theme.js"
import { showUserError } from "../misc/ErrorHandlerImpl.js"
import { locator } from "../api/main/CommonLocator.js"
import { InfoLink, lang } from "../misc/LanguageViewModel.js"
import { InfoLink } from "../misc/LanguageViewModel.js"
import { newMailEditorFromTemplate } from "../../mail-app/mail/editor/MailEditor.js"
import { UserError } from "../api/main/UserError.js"
import { clientInfoString, getLogAttachments } from "../misc/ErrorReporter.js"
Expand Down Expand Up @@ -32,7 +32,13 @@ export class AboutDialog implements Component<AboutDialogAttrs> {
m.trust(getLightOrDarkTutaLogo(client.isCalendarApp())),
),
m(".flex.justify-center.flex-wrap", [
m(ExternalLink, { href: InfoLink.HomePage, text: "Website", isCompanySite: true, specialType: "me", class: "mlr mt" }),
m(ExternalLink, {
href: InfoLink.HomePage,
text: "Website",
isCompanySite: true,
specialType: "me",
class: "mlr mt",
}),
m(ExternalLink, {
href: "https://github.com/tutao/tutanota/releases",
text: "Releases",
Expand All @@ -51,7 +57,7 @@ export class AboutDialog implements Component<AboutDialogAttrs> {
? m(
"",
m(Button, {
label: lang.makeTranslation("welcome_label", "Show welcome dialog"),
label: "showWelcomeDialog_action",
type: ButtonType.Primary,
click: vnode.attrs.onShowSetupWizard,
}),
Expand Down

0 comments on commit d1d3223

Please sign in to comment.