Translate more of the index.html
* Translate more of index.html, with translations sourced from deepl.com * Relax the plugin to allow capitalization, periods, exclamation marks, and question marks in the Weblate ID for YAML src. This helps differentiate between similar but different strings.
This commit is contained in:
@ -10,7 +10,7 @@ module Weblate
|
||||
|
||||
class ID
|
||||
def self.get(source_text)
|
||||
source_text.nil? ? source_text : source_text.strip[0..100].gsub(/[^\w\d\s]/, '').tr(' ', '_').downcase
|
||||
source_text.nil? ? source_text : source_text.strip[0..100].gsub(/[^\w\d\s\.\?\!]/, '').tr(' ', '_')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user