We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7c14b5 commit 336a577Copy full SHA for 336a577
src/library/localization_developer.lua
@@ -36,7 +36,6 @@ function localization_developer.create_localized_base_table()
36
file_path = client.encode_with_client_codepage(file_path)
37
local file = io.open(file_path, "r")
38
if file then
39
- local file_content = file:read("all")
40
local function extract_strings(file_content)
41
local i = 1
42
local length = #file_content
@@ -75,6 +74,7 @@ function localization_developer.create_localized_base_table()
75
74
return nil
76
end
77
+ local file_content = file:read("all")
78
for found_string in extract_strings(file_content) do
79
retval[found_string] = found_string
80
0 commit comments