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