Skip to content

Commit 6667cd3

Browse files
committed
fix: update translations for wc-styling messages
1 parent aa3fa06 commit 6667cd3

File tree

4 files changed

+30
-26
lines changed

4 files changed

+30
-26
lines changed

packages/studio-web/src/i18n/messages.es.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@
3939
"6874638171510323302": "Subtítulos (formato WebVTT)",
4040
"8762728484338173358": "La conversión del formato ReadAlong falló.",
4141
"6017683769837067192": "Ah, no logramos conectarnos en este momentos a la API de ReadAlong. Inténtelo otra vez más tarde.",
42-
"8044040177052471286": "ENGLISH: Optional: {$START_LINK} Styling{$CLOSE_LINK}{$START_TAG_BUTTON}{$START_TAG_MAT_ICON}help{$CLOSE_TAG_MAT_ICON} help {$CLOSE_TAG_BUTTON} (Please translate)",
42+
"8044040177052471286": " Opcional: {$START_LINK} Estilo{$CLOSE_LINK}{$START_TAG_BUTTON}{$START_TAG_MAT_ICON}help{$CLOSE_TAG_MAT_ICON} ayuda {$CLOSE_TAG_BUTTON}",
4343
"2603482535677312633": "Escriba",
4444
"8455204924704616723": "Fichero",
45-
"8259771249755479803": "ENGLISH: Select a style sheet file (.css) (Please translate)",
46-
"5704442579950152086": "ENGLISH: Write or paste your style here (Please translate)",
45+
"8259771249755479803": "Seleccionar un fichero de hojas de estilos en cascada (.css)",
46+
"3796650812518266523": " Escriba o pegue sus hojas de estilos aquí ",
4747
"4289685560479120097": "{$START_TAG_MAT_ICON}save{$CLOSE_TAG_MAT_ICON} Guarde una copia ",
48-
"8455763299767406865": "ENGLISH: Select an optional font (.woff2) (Please translate)",
49-
"2217645895524882291": "ENGLISH: File\n {$PH} could not be processed (Please translate)",
50-
"4455704600631953448": "ENGLISH: File is too big (Please translate)",
48+
"7604046252874749392": "Opcional: utilice una fuente personalizada (.woff2)",
5149
"7719309746449095739": "Fichero ",
52-
"6220260124400654104": "ENGLISH: processed. (Please translate)",
50+
"7466581557533667662": " no se pudo procesarlo.",
51+
"7149293924451414591": "Fichero demasiado grande.",
52+
"7331307748742296558": " procesado.",
5353
"6899344040225872362": "¡Genial!",
54-
"745420299683501831": "ENGLISH: Font\n {$PH} could not be processed (Please translate)",
55-
"7131085488228688404": "ENGLISH: processed. Content added to the text box. (Please translate)",
54+
"5700078517045291790": " Contenido cargado en el cuadro de texto.",
5655
"6558433540988178003": "No hay texto para descargar.",
5756
"6731392928829867425": "Bienvenidos al Studio de ReadAlong",
5857
"1309246714146466494": "¡Crear un ReadAlong es fácil! Esta guía le mostrará todas las funcionalidades del Studio.",

packages/studio-web/src/i18n/messages.fr.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@
3939
"6874638171510323302": "Sous-titres WebVTT",
4040
"8762728484338173358": "Échec de conversion de fichier.",
4141
"6017683769837067192": "Désolé, nous ne pouvons pas rejoindre l'API ReadAlongs. Prière de réessayer plus tard.",
42-
"8044040177052471286": "ENGLISH: Optional: {$START_LINK} Styling{$CLOSE_LINK}{$START_TAG_BUTTON}{$START_TAG_MAT_ICON}help{$CLOSE_TAG_MAT_ICON} help {$CLOSE_TAG_BUTTON} (Please translate)",
42+
"8044040177052471286": " Optionnel: {$START_LINK} Style{$CLOSE_LINK}{$START_TAG_BUTTON}{$START_TAG_MAT_ICON}help{$CLOSE_TAG_MAT_ICON} Aide {$CLOSE_TAG_BUTTON}",
4343
"2603482535677312633": "Rédiger",
4444
"8455204924704616723": "Fichier",
45-
"8259771249755479803": "ENGLISH: Select a style sheet file (.css) (Please translate)",
46-
"5704442579950152086": "ENGLISH: Write or paste your style here (Please translate)",
45+
"8259771249755479803": "Choisir un fichier de feuilles de style (.css)",
46+
"3796650812518266523": " Écrivez ou copiez-collez vos feuilles de style ici ",
4747
"4289685560479120097": "{$START_TAG_MAT_ICON}save{$CLOSE_TAG_MAT_ICON} Copie de sauvegarde ",
48-
"8455763299767406865": "ENGLISH: Select an optional font (.woff2) (Please translate)",
49-
"2217645895524882291": "ENGLISH: File\n {$PH} could not be processed (Please translate)",
50-
"4455704600631953448": "ENGLISH: File is too big (Please translate)",
48+
"7604046252874749392": "Optionnel: utiliser une police personnalisée (.woff2)",
5149
"7719309746449095739": "Fichier ",
52-
"6220260124400654104": "ENGLISH: processed. (Please translate)",
50+
"7466581557533667662": " erroné.",
51+
"7149293924451414591": "Fichier trop lourd.",
52+
"7331307748742296558": " lu.",
5353
"6899344040225872362": "Bravo!",
54-
"745420299683501831": "ENGLISH: Font\n {$PH} could not be processed (Please translate)",
55-
"7131085488228688404": "ENGLISH: processed. Content added to the text box. (Please translate)",
54+
"5700078517045291790": " Contenu chargé dans la zone de texte.",
5655
"6558433540988178003": "Pas de texte à télécharger.",
5756
"6731392928829867425": "Bienvenue au Studio ReadAlong",
5857
"1309246714146466494": "Il est facile de créer un ReadAlong! Vous trouverez tous les trucs et astuces pour utiliser le Studio dans cette visite guidée.",

packages/studio-web/src/i18n/messages.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,15 @@
4343
"2603482535677312633": "Write",
4444
"8455204924704616723": "File",
4545
"8259771249755479803": "Select a style sheet file (.css)",
46-
"5704442579950152086": " Write or paste your style here ",
46+
"3796650812518266523": " Write or paste your style sheet here ",
4747
"4289685560479120097": "{$START_TAG_MAT_ICON}save{$CLOSE_TAG_MAT_ICON} Save a copy ",
48-
"8455763299767406865": "Select an optional font (.woff2)",
49-
"2217645895524882291": "File\n {$PH} could not be processed ",
50-
"4455704600631953448": "File is too big",
48+
"7604046252874749392": "Optional: use a custom font (.woff2)",
5149
"7719309746449095739": "File ",
52-
"6220260124400654104": " processed. ",
50+
"7466581557533667662": " could not be processed.",
51+
"7149293924451414591": "File is too big.",
52+
"7331307748742296558": " processed.",
5353
"6899344040225872362": "Great!",
54-
"745420299683501831": "Font\n {$PH} could not be processed ",
55-
"7131085488228688404": " processed. Content added to the text box.",
54+
"5700078517045291790": " Content loaded in the text box.",
5655
"6558433540988178003": "No text to download.",
5756
"6731392928829867425": "Welcome to ReadAlong Studio",
5857
"1309246714146466494": "Creating a ReadAlong is easy! This guide will show you all the bells and whistles of the Studio.",

update-translations.sh

100644100755
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
#!/bin/sh
2+
3+
# Run this script to extract new translations from the code and updated the
4+
# Spanish and French message files with placeholders for missing translations.
5+
# WARNING: overwrites messages.es.json and messages.fr.json, so commit any
6+
# changes first!
7+
18
npx nx extract-i18n studio-web
2-
cd packages/studio-web/
9+
cd packages/studio-web/ || exit 1
310
npx tsx extract-i18n-lang.ts src/i18n/messages.json src/i18n/messages.es.json >src/i18n/messages.es-updated.json
411
mv src/i18n/messages.es-updated.json src/i18n/messages.es.json
512
npx tsx extract-i18n-lang.ts src/i18n/messages.json src/i18n/messages.fr.json >src/i18n/messages.fr-updated.json

0 commit comments

Comments
 (0)