Commit graph

4071 commits

Author SHA1 Message Date
Jenni Nurmi
f6cbc47e98 Update Helmet to 3.15.0 2018-12-05 11:07:47 +02:00
Jenni Nurmi
7a5f1e3820 Update all Final Form related dependecies 2018-12-05 11:07:47 +02:00
Jenni Nurmi
98f8bdfa12 Update ManageListingCard test because updated Enzyme shows React.Fragment in snapshot 2018-12-05 11:07:47 +02:00
Jenni Nurmi
6926d4eed0 Update Enzyme to 3.7.0 and enzyme-adapter-react-16 to 1.7.0 2018-12-05 11:07:47 +02:00
Jenni Nurmi
c7dc919d0a Update decimal.js to 10.0.1 2018-12-05 11:07:47 +02:00
Hannu Lyytikäinen
a67d5f2694
Merge pull request #964 from sharetribe/update-node
Change supported node version to the latest LTS
2018-12-04 13:34:18 +02:00
Hannu Lyytikainen
2e8dbc02b2 Update changelog 2018-12-04 10:23:16 +02:00
Hannu Lyytikainen
17cbb5c7dd Change supported node version to the latest LTS 2018-12-04 10:22:17 +02:00
Jenni Nurmi
54154a40da
Merge pull request #961 from sharetribe/improve-production-setup
Improve production setup
2018-12-03 14:08:09 +02:00
Jenni Nurmi
62fbf089a2 Update changelog 2018-12-03 14:06:21 +02:00
Jenni Nurmi
0d6fd6627a Update documentation README 2018-12-03 13:54:38 +02:00
Jenni Nurmi
284745fe20 Create deploying to production documentation 2018-11-30 09:35:35 +02:00
Jenni Nurmi
7b008d6d6b Add Heroku button to README.md 2018-11-30 09:35:29 +02:00
Jenni Nurmi
fa8d09c484 Create app.json 2018-11-30 09:34:21 +02:00
Hannu Lyytikäinen
f9f5337e3c
Merge pull request #966 from sharetribe/add-fr-translation
Add a missing translation
2018-11-29 12:10:38 +02:00
Hannu Lyytikainen
12ce4aa8ef Update changelog 2018-11-29 12:07:00 +02:00
Hannu Lyytikainen
baae0af3c8 Add a missing translation
Also removes two obsolete ones.
2018-11-29 12:07:00 +02:00
Hannu Lyytikäinen
2fd19b4877
Merge pull request #965 from sharetribe/release
Release 2.4.0
2018-11-28 11:46:50 +02:00
Hannu Lyytikainen
f71ae73584 Update version in package.json 2018-11-28 11:41:23 +02:00
Hannu Lyytikainen
5ddaa87b4d Update changelog 2018-11-28 11:40:47 +02:00
Hannu Lyytikäinen
361b1b0559
Merge pull request #963 from sharetribe/update-sdk
Update JS SDK to 1.2
2018-11-28 11:37:58 +02:00
Hannu Lyytikainen
560e3cc3d6 Update changelog 2018-11-28 10:11:23 +02:00
Hannu Lyytikainen
1f3e8ac1a0 Disable base url in .env template 2018-11-28 10:07:12 +02:00
Hannu Lyytikainen
7177cb37c7 Pass base url to SDK only if provided 2018-11-28 10:07:03 +02:00
Hannu Lyytikainen
08e23c7c83 Update JS SDK to 1.2 2018-11-28 09:17:43 +02:00
Hannu Lyytikäinen
caa73c2efe
Merge pull request #962 from sharetribe/fr-language
Add French as a default language
2018-11-27 12:55:36 +02:00
Hannu Lyytikainen
baca28f704 Fix an action on changelog 2018-11-27 12:51:02 +02:00
Hannu Lyytikainen
343f76d11f Update changelog 2018-11-27 12:50:25 +02:00
Hannu Lyytikainen
6a222d29bd Change example language from es to it
We'll be adding es as default language soon so better use some
non-default language as an example of a language that a customizer would
add.
2018-11-27 12:50:25 +02:00
Hannu Lyytikainen
f1d8f49ef2 Update documentation regarding default languages 2018-11-27 12:50:25 +02:00
Hannu Lyytikainen
6066b88f81 Add French translations 2018-11-27 12:50:25 +02:00
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