Skip to content

Commit 57f25e1

Browse files
authored
[Woo POS][App Listings] Update listing meta (#16346)
2 parents 79b5e59 + 2452691 commit 57f25e1

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

fastlane/Fastfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ GLOTPRESS_APP_STRINGS_PROJECT_URL = 'https://translate.wordpress.com/projects/wo
9090
# URL of the GlotPress project containing App Store Connect metadata
9191
GLOTPRESS_APP_STORE_METADATA_PROJECT_URL = 'https://translate.wordpress.com/projects/woocommerce/woocommerce-ios/release-notes/'
9292

93+
# Set this to `true` if it's intentional that `fastlane/metadata/en-US/` has some `.txt` files overriding the ones in `fastlane/metadata/default/`
94+
# (i.e. you want the `en-US` metadata copies to be _different_ from the metadata copies used as base and fallback for the translation in other locales)
95+
# Set this to `false` otherwise, so that we prevent the accidental case of forgetting to update the `en-US` metadata copies when updating the `default`
96+
# copies during an ASO update, if it was not the intention for those to differ.
97+
ALLOW_EN_US_METADATA_TO_DIFFER_FROM_DEFAULT_LOCALE = false
9398
# List of locales used for the app strings (GlotPress code => `*.lproj` folder name`)
9499
#
95100
# TODO: Replace with `LocaleHelper` once provided by release toolkit (https://github.com/wordpress-mobile/release-toolkit/pull/296)
@@ -1042,11 +1047,13 @@ platform :ios do
10421047
files_to_commit = [File.join(metadata_directory, '**', '*.txt')]
10431048

10441049
# Ensure that none of the `.txt` files in `en-US` would accidentally override our originals in `default`
1045-
target_files.values.map { |h| h[:desc] }.each do |file|
1046-
en_file_path = File.join(metadata_directory, 'en-US', file)
1047-
if File.exist?(en_file_path)
1048-
UI.user_error!("File `#{en_file_path}` would override the same one in `#{metadata_directory}/default`, but `default/` is the source of truth. " \
1049-
+ "Delete the `#{en_file_path}` file, ensure the `default/` one has the expected original copy, and try again.")
1050+
unless ALLOW_EN_US_METADATA_TO_DIFFER_FROM_DEFAULT_LOCALE
1051+
target_files.values.map { |h| h[:desc] }.each do |file|
1052+
en_file_path = File.join(metadata_directory, 'en-US', file)
1053+
if File.exist?(en_file_path)
1054+
UI.user_error!("File `#{en_file_path}` would override the same one in `#{metadata_directory}/default`, but `default/` is the source of truth. " \
1055+
+ "Delete the `#{en_file_path}` file, ensure the `default/` one has the expected original copy, and try again.")
1056+
end
10501057
end
10511058
end
10521059

fastlane/metadata/default/description.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ Create orders on the fly
77
Once you have some products created, it’s simple. Choose items from your catalog, add shipping, and then fill in customer details to quickly create an order that syncs with your inventory.
88

99
Take payments in person
10-
Collect physical payments using WooCommerce In-Person Payments and a card reader (available in the US and Canada). Start a new order – or find an existing one that’s pending payment – and collect payment using the card reader or a digital wallet, such as Apple Pay.
10+
Collect physical payments using WooCommerce In-Person Payments and a card reader (available in the US, UK, and Canada), Tap to Pay on iPhone, or a digital wallet, such as Apple Pay. Start a new order — or find an existing one that’s pending payment – then seamlessly accept payment.
11+
12+
Go from clicks to bricks
13+
Turn any tablet into a powerful point of sale with WooCommerce POS. Search products, scan barcodes, apply coupons, and send email receipts, with all of your online and physical sales synced in real time. Available in the US and UK.
1114

1215
Get notified of every sale
1316
Now that you’re actively selling, never miss an order or a review. Keep yourself in the loop by enabling real-time alerts – and listen for that addictive “cha-ching” sound that comes with each new sale!
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Woocommerce, woocommerce app, woocommerce mobile, woo app, woocommerce order alert, wordpress, eComm
1+
woo,order,ecommerce,pos,point of sale,wordpress,store,payments,credit,card,shipping,stock,inventory

0 commit comments

Comments
 (0)