Skip to content

Commit 0354867

Browse files
committed
1 parent 78f52d5 commit 0354867

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_l10n_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def self.merge_strings(paths:, output_path: nil)
5757
duplicates += (string_keys & all_keys_found) # Find duplicates using Array intersection, and add those to duplicates list
5858
all_keys_found += string_keys
5959

60-
tmp_file.write("// MARK: - #{File.basename(input_file)}\n\n")
60+
tmp_file.write("/* MARK: - #{File.basename(input_file)} */\n\n")
6161
# Read line-by-line to reduce memory footprint during content copy; Be sure to guess file encoding using the Byte-Order-Mark.
6262
File.readlines(input_file, mode: 'rb:BOM|UTF-8').each { |line| tmp_file.write(line) }
6363
tmp_file.write("\n")

spec/test-data/translations/ios_l10n_helper/expected-merged.strings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Generated File. Do not edit. */
22

3-
// MARK: - Localizable-utf16.strings
3+
/* MARK: - Localizable-utf16.strings */
44

55
/* Some file header comment here */
66

@@ -14,7 +14,7 @@
1414
on key 3 */
1515
"key3" = "string 3";
1616

17-
// MARK: - InfoPlist-utf8.strings
17+
/* MARK: - InfoPlist-utf8.strings */
1818

1919
"InfoKey1" = "Info String 1";
2020
"InfoKey2" = "Info String 2️⃣";

0 commit comments

Comments
 (0)