We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e8209b commit f4a868eCopy full SHA for f4a868e
1 file changed
docs/lf.md docs/localizeFormat.mddocs/lf.md renamed to docs/localizeFormat.md
@@ -1,13 +1,12 @@
1
# Localize Format
2
LF is short for localize format, which marks the string so MakeCode's
3
-translation system can extract it and translate it into other languages.
+translation system can extract it and translate into other languages.
4
5
## Implementation
6
7
-Here is the implementation of how it works under the hood.
8
-
+The implementation looks like this under the hood.
9
``` ts
10
- export function lf(s: string, ...args: any[]): string { // @ignorelf@
+ function lf(s: string, ...args: any[]): string { // @ignorelf@
11
let lfmt = _localizeStrings[s] || s;
12
13
if (!sForPlural && lfmt != s && /\d:s\}/.test(lfmt)) {
0 commit comments