Commit Graph

133 Commits

Author SHA1 Message Date
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