mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
add_po.rb: support for @ in Language: line
for locales like sr_RS@latin.
This commit is contained in:
parent
b260a88867
commit
b228651d8d
@ -16,7 +16,7 @@ module AddPo
|
||||
map(&:chomp)
|
||||
|
||||
language = content.
|
||||
map { |line| /^\" Language: \s+ ([a-z_]+)/ix.match(line) ? $1 : nil }.
|
||||
map { |line| /^\" Language: \s+ ([a-z_.@]+)/ix.match(line) ? $1 : nil }.
|
||||
compact.
|
||||
first
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user