Skip to content

Commit

Permalink
fix shields and rewards not being translated to Norwegian
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto committed Jun 4, 2019
1 parent b89b158 commit fb4d496
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ if (!is_mac && !is_android && !is_ios) {
deps = [ "//brave/components/brave_rewards/resources/extension:locales_$locale" ]

locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [ "$root_out_dir/resources/brave_rewards/_locales/$locale/messages.json" ]
outputs = [
"$brave_dist_dir/resources/brave_rewards/_locales/$locale/{{source_file_part}}",
Expand All @@ -237,7 +236,6 @@ if (!is_mac && !is_android && !is_ios) {
deps = [ "//brave/components/brave_extension/extension/brave_extension:locales_$locale" ]

locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [ "$root_out_dir/resources/brave_extension/_locales/$locale/messages.json" ]
outputs = [
"$brave_dist_dir/resources/brave_extension/_locales/$locale/{{source_file_part}}",
Expand Down
2 changes: 0 additions & 2 deletions components/brave_extension/extension/brave_extension/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if (is_mac) {
foreach(locale, locales) {
bundle_data("brave_extension_framework_bundle_data_${locale}") {
locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [
"//brave/components/brave_extension/extension/brave_extension/_locales/$locale/messages.json"
]
Expand All @@ -51,7 +50,6 @@ if (is_mac) {
foreach(locale, locales) {
copy("locales_${locale}") {
locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [
"//brave/components/brave_extension/extension/brave_extension/_locales/${locale}/messages.json",
]
Expand Down
2 changes: 0 additions & 2 deletions components/brave_rewards/resources/extension/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ if (is_mac) {
foreach(locale, locales) {
bundle_data("framework_bundle_data_${locale}") {
locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [
"brave_rewards/_locales/$locale/messages.json"
]
Expand All @@ -75,7 +74,6 @@ if (is_mac) {
foreach(locale, locales) {
copy("locales_${locale}") {
locale = string_replace(locale, "-", "_")
locale = string_replace(locale, "nb", "no")
sources = [
"brave_rewards/_locales/${locale}/messages.json",
]
Expand Down

0 comments on commit fb4d496

Please sign in to comment.