Skip to content

Commit

Permalink
Match i18n domain to gem name
Browse files Browse the repository at this point in the history
Without this, pulling of translations fails.
  • Loading branch information
ekohl authored and ehelms committed Nov 18, 2024
1 parent 57a5590 commit b4afe57
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[main]
host = https://app.transifex.com

[o:foreman:p:foreman:r:hammer-cli-foreman-leapp]
file_filter = locale/<lang>/hammer-cli-foreman-leapp.edit.po
source_file = locale/hammer-cli-foreman-leapp.pot
[o:foreman:p:foreman:r:hammer_cli_foreman_leapp]
file_filter = locale/<lang>/hammer_cli_foreman_leapp.edit.po
source_file = locale/hammer_cli_foreman_leapp.pot
source_lang = en
type = PO
resource_name = hammer-cli-foreman-leapp
resource_name = hammer_cli_foreman_leapp
2 changes: 1 addition & 1 deletion lib/hammer_cli_foreman_leapp/i18n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def locale_dir
end

def domain_name
'hammer-cli-foreman-leapp'
'hammer_cli_foreman_leapp'
end
end

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b4afe57

Please sign in to comment.