mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 00:31:23 +08:00
Stop using Transifex workaround, but keep the code just in case
This commit is contained in:
@ -274,9 +274,9 @@ YML_DIRS.each do |dir|
|
|||||||
filename = yml_path(dir, prefix, language)
|
filename = yml_path(dir, prefix, language)
|
||||||
|
|
||||||
if filename
|
if filename
|
||||||
# TODO remove this as soon as Transifex provides valid YAML files again
|
# The following methods were added to handle a bug in Transifex's yml. Should not be needed now.
|
||||||
fix_invalid_yml_keys(filename)
|
# fix_invalid_yml_keys(filename)
|
||||||
fix_invalid_yml(filename)
|
# fix_invalid_yml(filename)
|
||||||
|
|
||||||
# TODO check if this is still needed with recent Transifex changes
|
# TODO check if this is still needed with recent Transifex changes
|
||||||
add_anchors_and_aliases(english_alias_data, filename)
|
add_anchors_and_aliases(english_alias_data, filename)
|
||||||
|
Reference in New Issue
Block a user