equal
deleted
inserted
replaced
25 local l |
25 local l |
26 l = loc( "Hello World") -- Contains space |
26 l = loc( "Hello World") -- Contains space |
27 l = loc ("Hello World") -- Contains space |
27 l = loc ("Hello World") -- Contains space |
28 l = loc('Hello World') -- Not double quotes |
28 l = loc('Hello World') -- Not double quotes |
29 local str = "Hello World" |
29 local str = "Hello World" |
30 l = loc(str) -- Not a literal string |
30 l = loc(str) -- Not a literal string, only use this if you use this together with `loc_noop` |
31 l = loc(str .. ", how are you?") -- Only partially a literal string |
31 l = loc(str .. ", how are you?") -- Only partially a literal string |
32 </code> |
32 </code> |
33 |
33 |
34 Note these examples do _not_ violate Lua syntax, it is in your responsibility to follow the syntax rules listed above. |
34 Note these examples do _not_ violate Lua syntax, it is in your responsibility to follow the syntax rules listed above. |
35 |
35 |