Support empty translations.
This seems strange, but I can imagine weird scenarios where a key should translate to nothing in certain languages. So, let's support this for now.
This commit is contained in:
parent
6f286dc159
commit
125eb59036
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ module Twine
|
|||
parsed = true
|
||||
end
|
||||
else
|
||||
match = /^([^=]+)=(.+)$/.match(line)
|
||||
match = /^([^=]+)=(.*)$/.match(line)
|
||||
if match
|
||||
key = match[1].strip
|
||||
value = match[2].strip
|
||||
|
|
Reference in a new issue