mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Add translatable string "(Nothing)"
This commit is contained in:
parent
2696719d29
commit
c0027005c1
2 changed files with 5 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
|||
change-notetype-current = Current
|
||||
change-notetype-new = New
|
||||
change-notetype-will-discard-content = Will discard content on the following fields:
|
||||
change-notetype-will-discard-cards = Will remove the following cards:
|
||||
change-notetype-nothing = (Nothing)
|
||||
change-notetype-collapse = Collapse
|
||||
change-notetype-expand = Expand
|
||||
change-notetype-will-discard-content = Will discard content on the following fields:
|
||||
change-notetype-will-discard-cards = Will remove the following cards:
|
||||
change-notetype-fields = Fields
|
||||
change-notetype-templates = Templates
|
||||
change-notetype-to-from-cloze =
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright: Ankitects Pty Ltd and contributors
|
||||
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||
|
||||
import * as tr from "../lib/ftl";
|
||||
import { Notetypes } from "../lib/proto";
|
||||
import { postRequest } from "../lib/postrequest";
|
||||
import { readable, Readable } from "svelte/store";
|
||||
|
@ -74,7 +75,7 @@ export class ChangeNotetypeInfoWrapper {
|
|||
|
||||
/// Return all the old names, with "Nothing" at the end.
|
||||
getOldNamesIncludingNothing(ctx: MapContext): string[] {
|
||||
return [...this.getOldNames(ctx), "(Nothing)"];
|
||||
return [...this.getOldNames(ctx), tr.changeNotetypeNothing()];
|
||||
}
|
||||
|
||||
/// Old names without "Nothing" at the end.
|
||||
|
|
Loading…
Reference in a new issue