Commit Graph

470 Commits

Author SHA1 Message Date
Alexey Pargachev
e9bd383797
Updated Russian translations (#18447) 2023-10-31 16:46:03 +01:00
Runske
4d727c9667
Updated Norwegian translations (#18744)
Co-authored-by: Daniel Lockyer <daniellockyer@fastmail.com>
2023-10-31 15:35:52 +00:00
EchoBilisim
b8069c60e9
Updated Turkish translation (#18732) 2023-10-31 15:10:39 +01:00
Daiki K
3f97fbc58a
Updated Japanese translation (#18716) 2023-10-31 14:59:14 +01:00
Gary Lai
43c27d514c
Updated Traditional Chinese translations (#18798)
Co-authored-by: Gary Lai <garylai@amazon.com>
2023-10-31 14:29:08 +01:00
Peter Gonda
a2eb8e960a
Added Slovak translations (#18401) 2023-10-31 14:23:18 +01:00
Ɗʊƴ
2c72c93331
Updated Vietnamese translations (#18186)
Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
2023-10-30 09:19:53 +01:00
Ɗʊƴ
5dc5be3aed
Updated Vietnamese translations (#18786)
- Add "{{amount}} more"
2023-10-30 08:13:08 +01:00
Alexandre "Lekler" Rodrigues
7dc2744837
Updated Brazilian Portuguese translations (#18764) 2023-10-26 11:53:48 +02:00
Marcelo Velasquez
a01b50ce12
Updated Spanish translations (#18189)
Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
2023-10-25 16:37:00 +02:00
Daniel Lockyer
8726076875 Updated translations
- syncs translations with keys in other packages
2023-10-25 12:06:00 +02:00
Daniel Lockyer
389ced9c4f Reverted i18next-parser to v8.8.0
refs https://github.com/i18next/i18next-parser/issues/939

- a bug in the parser means that files outside of the package are not
  being parsed
2023-10-25 12:06:00 +02:00
Daniel Lockyer
c5c6f84c7d Added CI check to ensure i18n translations are in sync
fixes https://github.com/TryGhost/DevOps/issues/91

- this adds a CI job that will run i18n tests if any of the packages
  that use it have changed
- this helps prevent translations from going out of sync
2023-10-25 12:06:00 +02:00
Bobvaneck
88d42f204c
Updated ghost.json i18n NL lang (#18735)
Quick typo fix line 4, "aanmedling" -> "aanmelding"

Got some code for us? Awesome 🎊!

Please include a description of your change & check your PR against this
list, thanks!

- [ ] There's a clear use-case for this code change, explained below
- [ ] Commit message has a short title & references relevant issues
- [ ] The build will pass (run `yarn test:all` and `yarn lint`)

We appreciate your contribution!

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 280cadb</samp>

Fixed a typo in the Dutch translation of a sign up message in
`ghost/i18n/locales/nl/ghost.json`.
2023-10-24 11:08:57 +01:00
Siniša Perović
5b8743dd07
Added missing and updated some strings for HR lang (#18024)
Now complete (comments.json, ghost.json, portal.json, and
signup-form.json) Croatian language translation.

Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
Co-authored-by: Ryan Feigenbaum <48868107+royalfig@users.noreply.github.com>
2023-10-18 13:56:16 -04:00
renovate[bot]
2d4959d972 Update dependency i18next to v23.6.0 2023-10-18 16:45:25 +00:00
Steve Larson
a521c23cd3
🐛 Prevented subsequent lexical conversion wiping out content (#18672)
closes TryGhost/Product#4032
- the api flag ?convert_to_lexical converts a mobiledoc string to
lexical
- if run on a post/page with lexical content, would null it out
2023-10-17 20:38:51 +00:00
Jae Li
0dbfafede0
Updated simplified Chinese translations (#18552) 2023-10-16 15:14:18 +00:00
syb343
42973397a4
Updated Korean translations (#18625)
no issue

- Updated Korean translations for the comments app.

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
<!--
copilot:summary
-->
### <samp>🤖 Generated by Copilot at 8eefb72</samp>

This change adds Korean translations for the comments feature of Ghost
in the file `ghost/i18n/locales/ko/comments.json`. This enables Korean
users and readers to interact with Ghost-powered sites using their
native language.
2023-10-16 16:01:07 +07:00
renovate[bot]
a26accd123 Update dependency i18next-parser to v8.9.0 2023-10-16 08:02:41 +02:00
Bastien Perez
c0a9c435df
Added French translations for comments (#18501) 2023-10-13 07:53:37 +00:00
Uvindu Rajapakshe
8fe1867b1c
Updated Sinhalese translations (#18398) 2023-10-13 07:51:16 +02:00
Uvindu Rajapakshe
5a70447b5f Updated sinhala translations 2023-10-13 07:49:44 +02:00
Ɗʊƴ
8ef98a693a
Updated Vietnamese translations (#18182)
For smoother translation.
2023-10-13 07:47:53 +02:00
EchoBilisim
06714af91f
Updated Turkish translations (#18565) 2023-10-13 07:45:24 +02:00
Ryan Feigenbaum
64658424fc
Add missing context descriptions to i18n (#18576)
Added 12 missing descriptions in `context.json`

Ref: https://forum.ghost.org/t/help-translate-ghost-beta/37461/74
2023-10-11 10:34:00 -04:00
Jesús
5cb914b609
Updated Catalan translations (#18516) 2023-10-11 11:03:20 +02:00
EchoBilisim
d3a5070bdd
Updated Turkish translations (#18460) 2023-10-11 10:58:08 +02:00
EchoBilisim
811f8d461c
Updated Turkish translations (#18400) 2023-10-10 11:54:51 +02:00
Raka Afp
b27208cb8e
Updated Bahasa Indonesia translations for Portal (#18512) 2023-10-10 11:54:03 +02:00
Shaun Roselt
3f5a2370c2
Updated Afrikaans Translations (#18399) 2023-10-06 10:58:35 +02:00
Ugurcan Yildirim
bf9bf9f210
Fixed typo in Turkish translations (#18485) 2023-10-06 10:39:40 +02:00
Alexandre "Lekler" Rodrigues
cab29e1604
Updated Brazilian Portuguese translations (#18510)
refs https://github.com/TryGhost/Team/issues/2795
2023-10-06 10:35:10 +02:00
Daniel Lockyer
85098e07d4 Configured all unit tests to use dot reporter
refs https://ghost.slack.com/archives/C02G9E68C/p1696490748701419

- this configures mocha to use the dot reporter because the default is
  way too verbose in CI
2023-10-05 12:24:24 +02:00
renovate[bot]
be022b9e58 Update dependency i18next-parser to v8.8.0 2023-10-02 08:51:28 +02:00
Daniel Lockyer
ec9b668e02 Updated translations with latest changes 2023-09-26 13:33:39 +02:00
Simon Backx
1e3232cf82
Improved webmention stability in case of slow external servers (#18242)
refs https://github.com/TryGhost/Product/issues/3850

- Added a recheck for recommendation related webmentions after boot (to
check missed webmentions during down time)
- Increased general timeouts to 15s for all webmention related HTTP
requests. Instead, increased retries to 3.
- Increased timeout for fetching webmention metadata from 2s to 15s
- Added more logging about verification and deletion status of
webmentions
2023-09-20 13:09:47 +02:00
Zabriskije
77aa29b00a
Updated Italian translations (#18191)
refs https://github.com/TryGhost/Product/issues/2795
2023-09-20 10:48:47 +02:00
Yovko Lambrev
ccdda6f914
Updated Bulgarian translations (#18226)
refs https://github.com/TryGhost/Product/issues/2795
2023-09-20 09:58:46 +02:00
Raka Afp
7f7185333e
Updated Bahasa Indonesia translations for Portal (#18162)
refs https://github.com/TryGhost/Product/issues/2795
2023-09-15 12:49:38 +02:00
Peter Zimon
435b1158fe
Hungarian translation updates (#18157)
- hungarian translation was missing for Comments and Signup forms
- some of Portal translations were missing or needed update
2023-09-15 10:49:43 +02:00
Daniel Lockyer
b483432867 Updated i18n translations
- updated with changes made since
2023-09-15 09:43:47 +02:00
Daniel Lockyer
64388072ee Updated i18n translations
- these needed updating after Portal was changed
2023-09-12 14:59:14 +02:00
Zabriskije
4f1ccfd8e7
Updated Italian translations (#18009)
refs https://github.com/TryGhost/Team/issues/2795
2023-09-12 08:44:59 +02:00
Raka Afp
4905407517
Updated Bahasa Indonesia translations (#18036)
refs https://github.com/TryGhost/Team/issues/2795
2023-09-12 08:44:18 +02:00
Yin Guobing
32f7e13347
Updated Chinese translations (#18053)
refs https://github.com/TryGhost/Team/issues/2795
2023-09-12 08:41:02 +02:00
renovate[bot]
68dcb0f012 Update dependency i18next to v23.5.1 2023-09-08 10:47:33 +00:00
Sag
8f272e730b
Updated recommendation modal copy when triggered after signup (#17985)
refs https://github.com/TryGhost/Product/issues/3771
2023-09-05 18:50:34 +00:00
Uvindu Rajapakshe
31a9b15a41
Updated Sinhalese translations (#17939)
refs https://github.com/TryGhost/Team/issues/2795
2023-09-04 12:09:32 +02:00
Daniel Lockyer
c6cb35074a Updated linting and testing packages 2023-09-01 15:51:17 +02:00
Raka Afp
b447bda89d
Updated Bahasa Indonesia translations for Portal (#17921)
refs https://github.com/TryGhost/Product/issues/2795
2023-09-01 14:27:00 +02:00
renovate[bot]
e97b71dc52 Update dependency i18next to v23.4.6 2023-08-31 14:57:02 +00:00
Gab
3dca1f09f0
Updated Spanish translations (#17816)
refs https://github.com/TryGhost/Product/issues/2795
2023-08-31 15:12:12 +02:00
Daniel Lockyer
b8b2f20f03 Updated i18n keys
- these had become out of sync with the ones Portal uses
2023-08-31 10:38:19 +02:00
Lasse Stolley
ee8bb2a724
Updated German translations (#17840)
refs https://github.com/TryGhost/Product/issues/2795
2023-08-30 13:49:59 +02:00
Krzysztof Franek
8914976010
Updated Polish translations (#17601)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-29 12:30:09 +02:00
Raka Afp
ecbb92248a
Updated Bahasa Indonesia translations (#17812)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-29 11:10:33 +02:00
Daniel Lockyer
c3b2fd0551 Reformatted supported languages list
refs https://github.com/TryGhost/Product/issues/2795

- fixes some bad ordering
2023-08-29 08:59:11 +01:00
Daniel Lockyer
03a9a1d7e1 Added Icelandic as supported language
refs https://github.com/TryGhost/Product/issues/2795

- the translations have existed for a while but they were never in the
  list of supported locales
- this adds the language to that list
2023-08-29 08:59:11 +01:00
Daniel Lockyer
c98336fe14 Removed duplicated Czech translations
refs https://github.com/TryGhost/Product/issues/2795

- the correct ISO code is `cs`, which we already have
2023-08-29 08:59:11 +01:00
Shaun Roselt
b0c4cbc838
Updated Afrikaans translations (#17818)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-29 09:27:12 +02:00
EchoBilisim
a5e6c87dce
Updated Turkish translations (#17832)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-29 09:25:48 +02:00
renovate[bot]
8a1713d116 Update dependency i18next-parser to v8.7.0 2023-08-29 08:25:01 +01:00
Cuong Tran
38f64e0b4e
Added Vietnamese translations for comments (#17829)
refs https://github.com/TryGhost/Product/issues/2795
2023-08-29 08:36:00 +02:00
Simon Backx
e9703f6a15
Extended translations beta to comments (#17801)
refs https://github.com/TryGhost/Product/issues/3504
2023-08-24 10:33:03 +02:00
Simon Backx
375a6d37c2
Added support for i18n in comments-ui (#17797)
refs https://github.com/TryGhost/Product/issues/3504

- This adds support for translations, but doesn't yet translate every
possible string in the app.
- Only active if beta translations is enabled
2023-08-23 13:57:37 +00:00
Simon Backx
9aa3b7e46f Updated Sinhalese language
no issue

Due an unknown issue in i18n-parser, \u200d characters are added in sentences. Couldn't find a way to avoid this. This character should be invisible.
2023-08-23 15:11:41 +02:00
Simon Backx
4f604af744 🐛 Fixed translations with spaces missing in signup-form
refs https://ghost.slack.com/archives/C02G9E68C/p1692784819620269
refs https://github.com/TryGhost/Product/issues/3504

- Somehow, when using i18n in TypeScript, the require will put some of the keys into 'default' and not into the root. Mainly all keys that have a space in them. Couldn't find any documentation about this
- The solution is to also add 'default' to the keys that are being used in the code

This change also fixes the translate script (wasn't updated for updated paths), includes the missing translations, and already adds comments to lookup translation strings
2023-08-23 15:11:41 +02:00
Martijn Burger
50147c6a67
Updated Dutch translations (#17622)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-23 13:29:01 +02:00
Shaun Roselt
3e683c2f06
Added Japanese to list of supported languages (#17724)
fixes https://github.com/TryGhost/Ghost/issues/17715

- `ja` was missing from the list of supported locales
- also fixes some small typos discovered now the language is supported

Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
2023-08-16 09:44:01 +00:00
renovate[bot]
c9d687db60 Update dependency i18next-parser to v8.6.0 2023-08-16 06:08:27 +02:00
Zabriskije
255466ec12
Updated Italian translations (#17478)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-14 10:13:43 +02:00
Thossinn
38c1fbea40
Added Icelandic translations (#17688)
refs https://github.com/TryGhost/Product/issues/2795
2023-08-11 14:16:47 +02:00
Ezcoo
a5478de8d1
Add Finnish translations to signup-form.json (#17628)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-11 13:34:08 +02:00
Sunghyun Cho
0cc179e80f
Updated Korean translations (#17563)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-11 13:33:29 +02:00
Yovko Lambrev
276fba7847
Updated Bulgarian translations (#17533)
refs https://github.com/TryGhost/Team/issues/2795
2023-08-11 13:06:10 +02:00
Shaun Roselt
1d20877a12
Updated Afrikaans translations in signup-form.json (#17581)
no issue

- Added Afrikaans translations for the signup form. This enhances the localisation of Ghost for Afrikaans users.

Co-authored-by: Ronald Langeveld <hi@ronaldlangeveld.com>
2023-08-10 13:27:39 +02:00
renovate[bot]
eb77db29a0 Update dependency i18next-parser to v8.5.0 2023-08-10 08:31:44 +02:00
renovate[bot]
3168d3d705 Update dependency i18next-parser to v8.4.0 2023-08-09 13:06:11 +02:00
Daniel Lockyer
bb4c3de992 Deduplicated ts-node and typescript dependencies
refs https://github.com/TryGhost/DevOps/issues/50

- this commit deduplicates where we define the versions of these
  packages to make them easier to maintain
2023-07-24 16:21:47 +02:00
renovate[bot]
4441328576 Update dependency i18next to v23.2.11 2023-07-24 10:31:48 +00:00
Xavier E. López
8cb6362c66
Updated Spanish translations (#17424)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-21 09:44:30 +02:00
eivindaberg
604393838f
Updated Norwegian Nynorsk translation (#17437)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-21 09:25:01 +02:00
Katharina
7587022cad
Updated German translations (#17414)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-20 08:51:33 +02:00
nachogohon
08c54c9126
Updated Spanish translations (#17420)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-20 06:50:36 +00:00
jrefsnes
c2e082090b
Added Norwegian Nynorsk as supported language (#17423)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-20 06:47:27 +00:00
Daniel Lockyer
d8ed924daf Fixed translations encoding issue
- as done by i18next-parser
2023-07-20 08:35:15 +02:00
Daniel Lockyer
3ac202df5e Fixed mismatched bracket count in translations
- fixes a typo that would have lead to the raw placeholder being output
2023-07-20 08:35:15 +02:00
renovate[bot]
df88853def Update dependency i18next-parser to v8.3.0 2023-07-20 07:26:45 +02:00
Chris Raible
96b678a20d
🐛 Fixed members unable to unsubscribe from plan if hidden in Portal (#17251)
refs TryGhost/Product#3563

- For a member on a paid plan, which had subsequently been hidden from
portal, the member was unable to unsubscribe/change plan because the
'Change' button was hidden
- This change restores the 'Change' button for members on a paid plan,
even if the plan is hidden from portal
- This change also makes some modifications to the 'Change Plan' page,
like showing the current active plan even if it is hidden, and displays
a message to comped members to contact support if they want to change
their plan

---------

Co-authored-by: Sodbileg Gansukh <sodbileg.gansukh@gmail.com>
2023-07-19 18:14:20 -07:00
Daniel Lockyer
62dc14197a Fixed typo in Brazilian Portuguese translations
refs https://secure.helpscout.net/conversation/2299289258/127776?folderId=7510559

- as reported by a customer :)
2023-07-13 14:05:03 +02:00
Stefan Cruz
48dfb6ede3
Updated Portuguese translations (#17336)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-13 09:59:50 +02:00
renovate[bot]
249c7fbff6 Update dependency i18next-parser to v8.2.0 2023-07-12 07:31:33 +02:00
renovate[bot]
7dce046786 Update Test & linting packages 2023-07-11 15:26:07 +02:00
Sven
5863915b8d
Updated German translations (#17257)
refs https://github.com/TryGhost/Product/issues/2795
2023-07-11 15:02:32 +02:00
renovate[bot]
35081de66e Update dependency i18next to v23.2.8 2023-07-11 07:07:52 +00:00
Kasun Jayarathna
68a06efedf
Updated Sinhalese translations (#17123)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-11 06:48:27 +00:00
krefsnes
9a42999148
Added Nynorsk Norwegian translations (#17153)
refs https://github.com/TryGhost/Product/issues/2795
2023-07-10 14:22:06 +00:00
Markus Härnvi
9ac6001031
Updated Swedish translations for signup-form (#17164)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-04 15:22:42 +00:00
Kasun Jayarathna
3c5bf215e5
Added missing Sinhalese translations (#17172)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-04 15:16:22 +00:00
Albert Lacasta
80e65d4978
Updated Spanish translations (#17126)
refs https://github.com/TryGhost/Team/issues/2795
2023-07-04 12:54:54 +00:00
renovate[bot]
aa8cbb9fa3 Update dependency typescript to v5.1.6 2023-06-29 08:24:30 +02:00
renovate[bot]
58b54333a5 Update dependency typescript to v5.1.5 2023-06-28 16:21:27 +02:00
Daniel Lockyer
6cbfeb232e
Fixed mismatched brackets in French and Uzbek translations
refs https://github.com/TryGhost/Toolbox/issues/603

- these were found by a newly added test and would have resulted in the
  variable strings being left in the final result
2023-06-27 09:03:51 +02:00
Daniel Lockyer
a8801be82a
Added test to check for mismatched brackets in translations
refs https://github.com/TryGhost/Toolbox/issues/603

- this will loop over all locales and translations files to check for
  a mismatched bracket count
2023-06-27 09:01:25 +02:00
Hannah Wolfe
d9785b7d6b
Fixed missing bracket in sv portal.json
no issue

- customer reported seeing the "{{trialEnd}" text in portal, this is because of the missing bracket.
2023-06-26 19:07:53 +01:00
Zavrod
dbacbf6e50
Updated Czech translations (#16751)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-23 09:09:36 +02:00
Kasun Jayarathna
6ad20ec32c
Updated Sinhalese translations (#17096)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-23 09:07:26 +02:00
Daniel Lockyer
e47626913d Updated Dutch translations
refs https://github.com/TryGhost/Team/issues/2795
2023-06-23 08:42:15 +02:00
Hannah Wolfe
6161f94910
Updated to use assert/strict everywhere (#17047)
refs: https://github.com/TryGhost/Toolbox/issues/595

We're rolling out new rules around the node assert library, the first of which is enforcing the use of assert/strict. This means we don't need to use the strict version of methods, as the standard version will work that way by default.

This caught some gotchas in our existing usage of assert where the lack of strict mode had unexpected results:
- Url matching needs to be done on `url.href` see aa58b354a4
- Null and undefined are not the same thing,  there were a few cases of this being confused
- Particularly questionable changes in [PostExporter tests](c1a468744b) tracked [here](https://github.com/TryGhost/Team/issues/3505).
- A typo see eaac9c293a

Moving forward, using assert strict should help us to catch unexpected behaviour, particularly around nulls and undefineds during implementation.
2023-06-21 09:56:59 +01:00
sudachi12
366050a87d
Added Japanese translations (#17050)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-21 09:09:02 +02:00
brienjohn
4f5f58078d
Updated Traditional Chinese translations (#16996)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-21 08:30:43 +02:00
Daniel Lockyer
c1d2f250ce Updated translation files
- contains some changes produced by i18next-parser
2023-06-20 14:54:04 +02:00
Yovko Lambrev
49931d05e7
Updated Bulgarian translations (#16991)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 14:22:38 +02:00
Kasun Jayarathna
0241e28d1c
Updated Sinhalese translations (#17064)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 14:04:25 +02:00
Kasun Jayarathna
9be5d6a4b2
Updated Sinhalese translations (#17060)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 14:04:00 +02:00
Kasun Jayarathna
0b0c36a7fb
Updated Sinhalese translations (#17063)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 11:01:55 +02:00
Kasun Jayarathna
93f9e1dfce
Updated Sinhalese translations (#17062)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 10:57:09 +02:00
Duy
13fb5c2e31
Updated Vietnamese translations (#17053)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-20 09:31:01 +02:00
Duy
b7bdd1f401
Updated Vietnamese translations (#17051)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-19 13:51:12 +02:00
Duy
e85845f914
Updated Vietnamese translations (#17052)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-19 13:50:36 +02:00
ErminMerdanovic
1a868e08ef
Updated German translations (#17045)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-19 08:19:54 +02:00
renovate[bot]
3aa0c7018d Update dependency i18next to v23 2023-06-16 10:15:18 +02:00
ErminMerdanovic
7cbff19995
Updated German translations (#17027)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-15 09:22:49 +02:00
Leonardo Ferreira
b28b18c05a
Updated Brazilian Portuguese translations (#17010)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-15 09:15:41 +02:00
Rogerio
09cbfae5c5
Updated Brazilian Portuguese translations (#16968)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-14 17:47:35 +02:00
Ronald Langeveld
b8935a918e
Removed typescript declaration build step for i18n (#17023)
ref https://ghost.slack.com/archives/C02G9E68C/p1686735066587639

### <samp>🤖 Generated by Copilot at f9ec3e9</samp>

This pull request removes redundant build scripts from the `ghost/i18n`
and `ghost/signup-form` packages. This simplifies the build process and
avoids unnecessary TypeScript compilation.
2023-06-14 16:51:14 +02:00
Daniel Lockyer
974ce0b25b
Updated i18n support locales
refs https://github.com/TryGhost/Team/issues/2795

- added Croatian and Malay, and added the changes they've had since
  merging
2023-06-14 12:29:01 +02:00
Nik Syarul Zaffi
ed20ff4a06
Added Malay locale (#16952)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-14 12:23:45 +02:00
Thomas Lamant
4e082a33cc
Updated Danish translations (#16967)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-14 09:46:20 +02:00
Thomas Lamant
5bfbaec262
Updated French translations (#16942)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-14 09:41:22 +02:00
Gary Lai
a74b60a025
Updated traditional Chinese translations (#17011)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-14 07:54:44 +02:00
Jesús
a98f25b37a
Updated Catalan translations (#16992)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-13 08:33:15 +02:00
Yin Guobing
8bc04e9e6e
Updated Chinese translations (#16995)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-13 08:31:23 +02:00
Raka Afp
078aa72a2d
Updated Bahasa Indonesia translations (#16981)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-12 09:47:07 +02:00
EchoBilisim
eca84d61c4
Updated Turkish translation (#16979)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-12 09:45:13 +02:00
EchoBilisim
9d8c9cda09
Updated Turkish translation (#16982)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-12 09:44:18 +02:00
Simon Backx
6d6da2492c Fixed showing errors when non 2XX response in signup form
no issue
2023-06-09 14:12:09 +02:00
Simon Backx
a4b24b1c7a Filled in signup form translation contexts 2023-06-09 13:54:23 +02:00
Simon Backx
08b37395cf Added translated placeholder in signup form embed
no issue
2023-06-09 13:48:43 +02:00
Sanne de Vries
6cdaf04fcd Updated NL translations for Portal and Signup Form
No ref
2023-06-09 10:53:22 +02:00
Simon Backx
f4a822e7e0 Removed success page for minimal signup form
no issue

Shows the success state in the button now.
2023-06-09 10:26:05 +02:00
Zabriskije
f3b60e6c6f
Updated Italian translations (#16966)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-08 13:33:18 +02:00
Markus Härnvi
bd679e0a81
Updated Swedish translations (#16964)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-08 13:32:11 +02:00
Duberly, Guarnizo Fuentes Rivera
28bef37d02
Updated Spanish translations (#16940)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-07 08:57:30 +02:00
EchoBilisim
095a262b14
Updated Turkish translations (#16937)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-07 08:52:20 +02:00
Daniel Lockyer
2b488945da
Fixed missing newline 2023-06-05 15:25:54 +02:00
Daniel Lockyer
c2c6e54578
Fixed line endings in Croatian translation files
- these should be LF and not CRLF
2023-06-05 15:22:39 +02:00
May Kittens Devour Your Soul
dbac82dd36
Added Croatian translations (#16928)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 14:40:46 +02:00
Ronald Langeveld
acb309679d Updated Afrikaans translations for Portal
no issue
2023-06-05 14:01:47 +02:00
Ronald Langeveld
b3c270e7ed Updated Afrikaans translations for ghost 2023-06-05 14:00:56 +02:00
Ronald Langeveld
3984dc2b11 Updated Afrikaans translations for Signup-form
no issue
2023-06-05 14:00:56 +02:00
Mysterious_Dev
7720ac6b10
Updated French translations for signup-form
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:51:18 +02:00
Keegan Sand
4d3c7d3177
Updated Spanish Portal translations
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:18:23 +02:00
Raka Afp
793ab34c81
Updated Bahasa Indonesia translations for signup-form (#16932)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:09:41 +02:00
EchoBilisim
8133360020
Updated Turkish translations for signup-form
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:04:07 +02:00
Gary Lai
04e76eced4
Added traditional Chinese translatinos for signup-form (#16926)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-05 13:01:45 +02:00
Simon Backx
498629d9a9 Fixed encoded html character in signup form success message translation
no issue
2023-06-02 14:38:54 +02:00
Simon Backx
258dc2f8f2 Added locale data option to signup form script
refs https://github.com/TryGhost/Team/issues/3307
2023-06-02 14:36:17 +02:00
Daniel Lockyer
994e0b9b2e
Fixed translations encoding
- this slipped in but should be a normal space
2023-06-02 11:06:29 +02:00
Ronald Langeveld
4fcaabe563
Added initial i18n implementation for Signup-form (#16914)
closes https://github.com/TryGhost/Team/issues/3307

This commit includes several important updates to add internationalisation (i18n) support within the signup form package:

- Modified the translate script in `package.json` to include translations for the signup form.
- Added a new test for the signup form resources in `i18n.test.js`.
- Updated `tsconfig.json` to allow synthetic default imports.
- Made updates to `package.json`, including adding a prebuild command for `@tryghost/i18n` to ensure typescript declaration files get built.
- added `vite-plugin-commonjs` so we can bundle commonjs packages to be useable by the browser.
- In `App.tsx`, imported the `i18n` library and created an `i18n` instance for the `signup-form` namespace. This `i18n` instance's `t` function was added to the application context.
- Updated the `AppContextType` in `AppContext.ts` to include the `t` function from i18n​

Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
2023-06-02 11:02:52 +02:00
Andrew Gutierrez
ff335d0e8e
Updated Spanish translations (#16920)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-02 10:34:45 +02:00
Raka Afp
c21cd827bc
Updated Bahasa Indonesia translations (#16919)
refs https://github.com/TryGhost/Team/issues/2795
2023-06-02 09:07:24 +02:00
renovate[bot]
17acd2437b Update dependency typescript to v5.1.3 2023-06-02 09:06:20 +02:00
Mysterious_Dev
84a0029101
Updated French translations (#16870)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-31 11:06:33 +02:00
Ronald Langeveld
c53bd499c7
Added typescript declerations to i18n (#16894)
refs https://github.com/TryGhost/Team/issues/3307

Added TypeScript support and a new namespace for the `i18n` module. This
enables type checking and localisation for the new signup form component and future typescript projects that may need to add i18n support.
2023-05-31 10:37:21 +02:00
Gary Lai
ae7311e74f
Added Traditional Chinese translations (#16786)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-31 09:52:42 +02:00
Sam Lord
ee274deae6 Added context strings to all new translatable strings
refs: https://github.com/TryGhost/Ghost/issues/16628

Modified a couple of translation strings to reduce complexity and remove duplication
2023-05-30 16:03:32 +01:00
Daniel Lockyer
7d4a09a6bb
Added language names to list of supported locales
refs https://github.com/TryGhost/Team/issues/2795

- this helps to understand what languages are already supported,
  especially when the locale code isn't obvious
2023-05-30 15:32:52 +02:00
Daniel Lockyer
c604255ace
Updated list of supported locales
refs https://github.com/TryGhost/Team/issues/2795

- adds in Finnish and Albanian locales as they were added via merged PR earlier
2023-05-30 12:07:01 +02:00
Endrit
066bd4f8df
Added Albanian translations (#16889)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:33:28 +02:00
Yin Guobing
e13cbfa3e6
Updated Chinese translations (#16881)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:17:12 +02:00
EchoBilisim
aba7794ef8
Updated Turkish Ghost translations (#16879)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:13:52 +02:00
EchoBilisim
e253a446f0
Updated Turkish Portal translations (#16880)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 10:11:22 +02:00
mrpuhis
3f9417ee2c
Added Finnish locale (#16887)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-30 09:04:56 +02:00
Sam Lord
7bdb98ff9d Added empty translations for all locales
refs: https://github.com/TryGhost/Ghost/issues/16628
2023-05-25 16:48:56 +01:00
Daniel Lockyer
f2277ded40
Updated member email strings to use i18n function
refs https://github.com/TryGhost/Ghost/issues/16628

- this wraps nearly all of the public strings in member signup/signin
  emails, so they are ready for translating
2023-05-25 12:25:01 +02:00
Daniel Lockyer
1811f96472
Updated list of locales
refs https://github.com/TryGhost/Team/issues/2795

- adds Korean, which I just merged
2023-05-25 10:00:27 +02:00
Husband of Rebekah
8a6e4cd003
Added Korean translations (#16866)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-25 09:29:39 +02:00
Daniel Lockyer
09e11c6a29
Updated list of locales
refs https://github.com/TryGhost/Team/issues/2795

- adds Romanian and Serbian, which I merged earlier today
2023-05-24 16:13:14 +02:00
Silviu
a7e17ce223
Added Romanian translations (#16834)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-24 11:14:06 +02:00
Daniel Lockyer
bed7479cc2 Fixed loading pt-br translations
fixes https://github.com/TryGhost/Ghost/issues/16805

* turns out i18next requires the country portal of the locale to be
  capitalized [1]
* this resolves that and moves the files to the correct casing

[1]: https://github.com/i18next/i18next/issues/1467#issuecomment-646305827
2023-05-24 10:27:49 +02:00
Cadoo
5a5853ca80
Added Serbian locale (#16814)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-24 09:34:15 +02:00
renovate[bot]
cbc4859bbf Update dependency i18next to v22.5.0 2023-05-22 13:51:24 +02:00
Daniel Lockyer
f8d446da7c
Updated location files
- contains changes as applied by i18next-parser
2023-05-12 15:40:17 +02:00
Daniel Lockyer
3ae29567d4
Added missing locales
- forgot to do this after merging the PRs
2023-05-12 15:39:28 +02:00
Raka Afp
78a603e0a4
Added Bahasa Indonesia translation (#16746)
refs https://github.com/TryGhost/Team/issues/2795

- this adds translations for Bahasa Indonesian within Portal and Ghost
2023-05-11 11:42:30 +02:00
Audun
b821136b5e
Added Norwegian translations (#16749)
refs https://github.com/TryGhost/Team/issues/2795

- this adds Norwegian translations for Portal and Ghost
2023-05-11 11:30:10 +02:00
Umidjon Tukhtaev
ea055e8b74
Added Uzbek locale (#16758)
refs https://github.com/TryGhost/Team/issues/2795

- this adds Uzbek translations for Portal
2023-05-11 11:25:42 +02:00
Uvindu Rajapakshe
022406b981
Updated Sinhalese translations (#16638)
refs https://github.com/TryGhost/Team/issues/2795

Co-authored-by: Prabodh Meshram <prabodh.meshram7@gmail.com>
2023-05-11 11:14:51 +02:00
renovate[bot]
6518d2ccae Update dependency i18next-parser to v8 2023-05-08 07:01:20 +02:00
Daniel Lockyer
b0483d1ef3
Updated supported locales 2023-05-05 13:24:41 +02:00
Daniel Lockyer
443ff9079b
Auto-generated translations
- this fixes some issues detected by i18next
2023-05-05 13:23:23 +02:00
Eflarus
1e51815f33
Added Russian locale (#16719)
refs https://github.com/TryGhost/Team/issues/2795
2023-05-05 13:22:34 +02:00
Uvindu Rajapakshe
dc1ff890a0
Updated Sinhalese translations (#16639) 2023-05-01 16:49:04 +02:00
Zabriskije
f81c7568fe Fixes for it localization 2023-05-01 15:19:16 +02:00
Andre Rafael
90adb7562b Added Portuguese locale for Portal 2023-05-01 15:18:36 +02:00
Naz
d2f4c097a0 Added Ukrainian locale for Portal
refs https://github.com/TryGhost/Team/issues/2795

- Ukrainian translation - used informal form
2023-04-21 17:26:51 +02:00
Daniel Lockyer
1403849efe
Fixed i18n tests in CI
- bit of a mess but we run `test:unit` in CI and this needed to run
  `yarn translate` so i18next-parser can fail if the translations need
  updating (ie. fail tests)
2023-04-14 08:39:51 +01:00
Daniel Lockyer
4a032e23b2
Fixed indentation on Slovenian translations
- we should be using 4 spaces over 2 spaces here
2023-04-14 08:27:57 +01:00
Daniel Lockyer
75553b6bef
Updated Sinhalese encoding
- some characters needed to be re-encoded
2023-04-14 08:16:03 +01:00
Daniel Lockyer
cebad9ae0c
Added support for new locales
- Danish and Chinese as per recent pull requests
2023-04-14 08:14:10 +01:00
martinverbic
d11801d0d4
Updated Slovenian locale (#16621)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 08:05:48 +01:00
Christian Schou
1285e4480b
Added Danish translation (#16627)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 08:02:02 +01:00
Kasun Chanuka Fernando
427337633b
Added Sinhalese locale (#16595)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:47:10 +01:00
Alexandre "Lekler" Rodrigues
fd705ccee2
Updated pt-br translations (#16622)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:44:19 +01:00
AreChen
ada0f34d81
Added Chinese locale (#16623)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-14 07:42:01 +01:00
Thibault Malfoy
b9014a47f8
Updated French translations to reflect feedback (#16593)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 16:47:32 +02:00
Daniel Lockyer
a97335f7f4
Removed translations for "Powered by Ghost"
refs https://github.com/TryGhost/Team/issues/2795
refs https://ghost.slack.com/archives/CFH10N79S/p1681131575137019?thread_ts=1680206445.643819&cid=CFH10N79S

- we want to keep this in English so this commit removes the
  translation wrapper and associated translations
2023-04-10 15:13:49 +02:00
Daniel Lockyer
7435b18c85
Added support for new locales
refs https://github.com/TryGhost/Team/issues/2795

- PRs for these locales were merged this morning so we need this to
  enable the languages
2023-04-10 14:05:33 +02:00
Daniel Lockyer
3a0768cfda
Reformatted locale files
- perhaps we need better config to enforce this from the get-go
2023-04-10 14:04:51 +02:00
martinverbic
d866993ce2
Added Slovenian locale (#16594)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 13:52:43 +02:00
Ugurcan Yildirim
e446e31a9e
Added Turkish locale (#16596)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 13:52:10 +02:00
Jordan Ostreff
f5f58994f7
Added Bulgarian translations (#16590)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-10 10:24:35 +02:00
Thibault Malfoy
726246b80e
Fixed a few typos in the French translation (#16546)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-07 11:16:30 +02:00
Ronald Langeveld
413693800c Improved Afrikaans locales
no issue

- Made improvements to the translation strings.
- Turns out I need to read & write in my mothertongue more often. :)
- Thanks for helping with the contribution Dad, @ Emil Langeveld.
2023-04-07 14:19:55 +08:00
Daniel Lockyer
f3000e40b8
Added missing translation
refs https://github.com/TryGhost/Team/issues/2795

- not sure where this disappeared to
2023-04-06 19:51:31 +02:00
Daniel Lockyer
722d22db1c
Fixed broken word in Dutch translations
refs https://github.com/TryGhost/Team/issues/2795

- `spam folder` should be two separate words in English but this was
  mistakenly changed
2023-04-06 19:51:21 +02:00
Daniel Lockyer
3f783fc892
Fixed newline issue
- somehow this snook in
2023-04-06 19:46:27 +02:00
Daniel Lockyer
a9ad931c9f
Updated list of supported locales
refs https://github.com/TryGhost/Team/issues/2795

- stemming from recent PR merges
2023-04-06 19:43:10 +02:00
Cuong Tran
e52dc1afb1
Added Vietnamese translations (#16548)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:37:15 +02:00
David Stanley
e25cfd98a9
Added Brazilian Portuguese translations (#16557)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:35:55 +02:00
Markus Härnvi
39c0867cbc
Added Swedish translations (#16551)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:34:28 +02:00
Jesús
79cacabb4e
Added Catalan locale (#16571)
refs https://github.com/TryGhost/Team/issues/2795
2023-04-06 19:33:43 +02:00
yannickdoteu
98797b4d1a
Added Esperanto locale (#16541)
refs https://github.com/TryGhost/Team/issues/2795

Co-authored-by: yannickdoteu <see@gitlab.com>
2023-04-06 19:32:31 +02:00
marcoborghesi
b7f8a3e861 Added Italian locale for Portal 2023-04-06 19:30:17 +02:00
renovate[bot]
5b7df1a7d0 Update dependency i18next to v22.4.14 2023-04-05 11:48:26 +02:00
Aileen Nowak
45b5c50c45 Fixed typo in german translation for portal
no issue
2023-04-04 11:05:50 +01:00
Sanne de Vries
d11fca906c Updated Dutch translations
No ref
2023-04-03 10:20:12 +02:00
John O'Nolan
5b1bf3ae0d
Added support for Polish and Spanish translations 2023-04-02 10:47:40 -04:00
Rodrigo Ponce de León
d98cb4803c
Added Spanish locale for Portal (#16536) 2023-04-02 10:46:44 -04:00
Anarion
ef820eaaed
Added Polish locale for Portal (#16533) 2023-04-02 10:46:24 -04:00
John O'Nolan
1ce416ad00
Added support for Czech translations 2023-04-02 10:42:22 -04:00
Tomáš Baránek
3792b1a175
Added Czech translations (#16534) 2023-04-02 10:40:47 -04:00
Sanne de Vries
f568d29119 Updated Dutch translations
No ref
2023-04-01 16:01:56 +02:00
Daniel Lockyer
d58ff309d0
Removed test.json translations
- these weren't really doing much and would become a nuisance to
  newcomers
2023-03-30 18:20:39 +02:00
Daniel Lockyer
849027e255
Fixed strange whitespace character 2023-03-30 18:19:31 +02:00
John O'Nolan
9c2075d138
Need extra context for translating strings? Open this file! 2023-03-30 10:28:25 -04:00
Simon Backx
8a44e49c05
Added Dutch locale to Portal (#16459)
refs https://github.com/TryGhost/Team/issues/2795

Dutch translations for portal.json.
2023-03-30 10:02:25 -04:00
Ronald Langeveld
cbe97ad792
Added Afrikaans locale to Portal (#16464)
refs https://github.com/TryGhost/Team/issues/2795

WIP - getting some additional eyes on it 👨🏼‍🏫.

---------

Co-authored-by: John O'Nolan <john@ghost.org>
2023-03-30 10:01:29 -04:00
Sodbileg Gansukh
83795edcad
Added Mongolian locale to Portal (#16465)
no issues

Co-authored-by: John O'Nolan <john@ghost.org>
2023-03-30 09:59:18 -04:00
Aileen Booker
3f23fefaf5
Added German locale for Portal (#16469)
refs https://github.com/TryGhost/Team/issues/2795

- Used informal form ('du')

Happy for feedback!!!
2023-03-30 09:58:01 -04:00
Peter Zimon
79bb55a737
Added Hungarian locale for Portal (#16488)
Hungarian translation for email contents and Portal.
2023-03-30 09:57:09 -04:00
John O'Nolan
55741c8bdc
Add i18n context 2023-03-23 12:07:12 -04:00
Daniel Lockyer
3432857f9a
Added locales/context.json to help with translating
refs https://ghost.slack.com/archives/CFH10N79S/p1679491616052209?thread_ts=1679411948.063929&cid=CFH10N79S

- this adds a small script to generate a `context.json` file, which
  contains all keys and allows people to provide context on the
  translation
2023-03-23 16:29:59 +01:00
Sagar Gupta
7f92014c58 Added French (fr) translations
refs https://github.com/TryGhost/Team/issues/2795
- Used informal form ("tu")
2023-03-22 09:24:03 +01:00
Daniel Lockyer
eb5ed7dda8
Reformatted SUPPORTED_LOCALES array to new lines
refs https://github.com/TryGhost/Team/issues/2795

- this helps reduce conflicts when multiple PRs are coming in to add new
  languages
- I'd also like to enforce alphabetically sorted keys but I can't figure
  out the magic eslint incantation yet
2023-03-22 08:50:29 +01:00
renovate[bot]
be96c9d5d0
Update dependency i18next to v22.4.13 2023-03-21 10:46:44 +00:00
renovate[bot]
fb69af86e2
Update dependency i18next to v22.4.12 2023-03-17 07:22:44 +00:00
Daniel Lockyer
dda1d7cf26 Removed emojis from i18n strings
refs https://github.com/TryGhost/Ghost/issues/15502

- these aren't going to change across languages so we can exclude them
  from the strings to simplify things
2023-03-16 20:52:39 +01:00