Commit graph

4040 commits

Author SHA1 Message Date
Hannu Lyytikäinen
e2aca7ac5a
Merge pull request #955 from sharetribe/translations-cli
Translations management CLI
2018-11-27 12:50:01 +02:00
Hannu Lyytikainen
cd796d2141 Update gif to match the changed behaviour 2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
f7368e4824 Change confirmation response to case insensitive 2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
0cfd8ce22b Split execution to two parts
Split execution so that after translating a key the application does not
return to the beginning but to the keys listing with the same language.
2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
44d061052a Format docs 2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
94658707fa Update documentation 2018-11-27 12:36:45 +02:00
Hannu Lyytikainen
ad0c591be5 Rename source lang code field 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
d15a9652e0 Remove confirmation values filter
Use 'y' and 'N' instead of filtering them to booleans as the filtered
value is printed to the console and is confusing is differs from the one
user typed.
2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
3f18707e72 Write new translation on a new line 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
aeb3369914 Change executable to normal .js file
An executable provides little or nothing extra in this case and running
the tool as 'node translations.js' is more universal across platforms
than './translations'.
2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
c9ce608e1f Filter out non .json files 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
1eeccb9153 Wrap file writing to a Promise 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
aa75f56e62 Resolve target languages form translation files 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
5d96c6ac76 Read translation files with fs.readFileSync()
Instead of using require which caches the file contents, read the
translation files using fs.readFileSync().
2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
b565099707 Add confirmation prompt for new translation 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
fecd3ae06e Remove unnecessary print out 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
ae347bdeed Update changelog 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
f3de5c7bb7 Update documentation 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
e52f318750 Change translations.js into an executable 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
eb90087624 Fix formatting 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
31b4cbecba Improve the missing keys list 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
fc7ddb0b63 Add some color to outputs 2018-11-27 12:36:44 +02:00
Hannu Lyytikainen
9808df89f1 Add a CLI tool for managing translations 2018-11-27 12:36:44 +02:00
Jenni Nurmi
f485a5e141
Merge pull request #960 from sharetribe/fix-initial-order-error-bug
Show Stripe error message if error contains Stripe error
2018-11-26 13:40:33 +02:00
Jenni Nurmi
24eeb90d48 Update changelog 2018-11-26 13:35:08 +02:00
Jenni Nurmi
299358f1d2 Show error if payment amount is zero 2018-11-26 13:34:58 +02:00
Jenni Nurmi
381b6d8191 Show Stripe error message if error contains Stripe error 2018-11-23 12:56:41 +02:00
Jenni Nurmi
5425211635
Merge pull request #959 from sharetribe/fix-translation-keys
Fix translation keys
2018-11-22 10:11:58 +02:00
Jenni Nurmi
cbeb61da86 Update changelog 2018-11-22 10:00:52 +02:00
Jenni Nurmi
51329edd62 Remove unused translation keys 2018-11-22 09:18:00 +02:00
Jenni Nurmi
c3be38c1bc Update correct title to PasswordChangePage.title 2018-11-22 09:17:41 +02:00
Vesa Luusua
a612a61772
Merge pull request #956 from sharetribe/fix-ModalMissingInformation-showing-too-early-take2
Fix modal missing information showing too early take2
2018-11-20 15:33:20 +02:00
Vesa Luusua
e51b0cbd42 Update version (v2.3.1 seems to be forgotten last time) 2018-11-20 15:27:50 +02:00
Vesa Luusua
307c6d5ca1 Update changelog 2018-11-20 15:27:50 +02:00
Vesa Luusua
e86f1a792f fix draft listing. ModalMissingInformation was still shown too early. 2018-11-20 15:27:45 +02:00
Vesa Luusua
65a081aa97
Merge pull request #954 from sharetribe/fix-price-filter-styles
Fix price filter styles
2018-11-19 12:57:23 +02:00
Vesa Luusua
450fe8134d Update changelog 2018-11-19 12:28:30 +02:00
Vesa Luusua
62d9be0baf PriceFilterForm: fix the position of a dash between inputs 2018-11-19 12:26:09 +02:00
Vesa Luusua
7422281f31 PriceFilterPlain: fix padding 2018-11-19 12:25:20 +02:00
Jenni Nurmi
ecaa1ece42
Merge pull request #953 from sharetribe/fix-draft-state-nagging-modal
Fix draft state nagging modal
2018-11-16 16:22:30 +02:00
Jenni Nurmi
2ca3f3b2e2 Update changelog 2018-11-16 16:09:18 +02:00
Jenni Nurmi
bcd36e9619 Don't set currenUserHasListings if fetched listing is in draft state 2018-11-16 16:04:26 +02:00
Vesa Luusua
5b8a7145be
Merge pull request #952 from sharetribe/add-index-files-to-prettierignore
Add index files to .prettierignore
2018-11-15 16:40:25 +02:00
Vesa Luusua
10869cde29 Update changelog 2018-11-15 15:18:21 +02:00
Vesa Luusua
8dcca64fb2 Add components and containers index-files to .prettierignore 2018-11-15 15:16:04 +02:00
Hannu Lyytikäinen
ee6a0b724b
Merge pull request #950 from sharetribe/translations-configuration
Review translations configuration and documentation
2018-11-15 10:59:10 +02:00
Hannu Lyytikainen
501d5b08f4 Fix a few typos in a comment 2018-11-15 10:15:09 +02:00
Hannu Lyytikainen
3513dfcfaa Update changelog 2018-11-15 10:15:09 +02:00
Hannu Lyytikainen
c2d29804d8 Add JS annotation to code snippets in docs 2018-11-15 10:14:39 +02:00
Hannu Lyytikainen
8909b5c693 Update translations documentation 2018-11-15 10:14:39 +02:00