Skip to content

Commit f4a868e

Browse files
Update and rename lf.md to localizeFormat.md
1 parent 5e8209b commit f4a868e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/lf.md renamed to docs/localizeFormat.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# Localize Format
22
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.
3+
translation system can extract it and translate into other languages.
44

55
## Implementation
66

7-
Here is the implementation of how it works under the hood.
8-
7+
The implementation looks like this under the hood.
98
``` ts
10-
export function lf(s: string, ...args: any[]): string { // @ignorelf@
9+
function lf(s: string, ...args: any[]): string { // @ignorelf@
1110
let lfmt = _localizeStrings[s] || s;
1211

1312
if (!sForPlural && lfmt != s && /\d:s\}/.test(lfmt)) {

0 commit comments

Comments
 (0)