Navigation Menu

Skip to content

Commit

Permalink
use trick to avoid false positive for missing textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 27, 2018
1 parent 371282d commit b6f4f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ruby/yast/i18n.rb
Expand Up @@ -11,7 +11,7 @@ module I18n
DEFAULT_LOCALE = "en_US".freeze

# sets new text domain
def textdomain(domain)
def textdomain(domain) # usually without brackets like textdomain "example"
# initialize FastGettext only if the locale directory exists
return unless File.exist? LOCALE_DIR

Expand Down

0 comments on commit b6f4f02

Please sign in to comment.