Skip to content

Commit b6b03ea

Browse files
authored
Fix translation workflows (TurboWarp#2273)
Regression from the ES conversion. Also includes a manual update since the workflow broke the last time it ran
1 parent 5717dfd commit b6b03ea

4 files changed

Lines changed: 90 additions & 8 deletions

File tree

‎development/download-translations.js‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,18 @@ const run = async () => {
224224
]);
225225

226226
fs.writeFileSync(
227-
pathUtil.join(__dirname, "../translations/extension-runtime.json"),
227+
pathUtil.join(
228+
import.meta.dirname,
229+
"../translations/extension-runtime.json"
230+
),
228231
JSON.stringify(runtime, null, 4)
229232
);
230233

231234
fs.writeFileSync(
232-
pathUtil.join(__dirname, "../translations/extension-metadata.json"),
235+
pathUtil.join(
236+
import.meta.dirname,
237+
"../translations/extension-metadata.json"
238+
),
233239
JSON.stringify(metadata, null, 4)
234240
);
235241
};

‎development/transifex-common.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import transifexApi from "@transifex/api";
1+
import { transifexApi } from "@transifex/api";
22

33
const TOKEN = process.env.TRANSIFEX_TOKEN;
44
if (!TOKEN) {

‎translations/extension-metadata.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@
406406
"DNin/wake-lock@description": "Impedisce al tuo computer di andare in standby.",
407407
"DNin/wake-lock@name": "Blocco Standby",
408408
"DT/cameracontrols@description": "Sposta la parte visibile dello Stage.",
409-
"DogeisCut/FormatNumbers@description": "Permette di formattare i numeri di molte cifre usando lo standard AD, in virgola fissa, in virgola mobile o in notazione scientifica.",
409+
"DogeisCut/FormatNumbers@description": "Permette di formattare i numeri di molte cifre usando lo standard AD, la virgola fissa, la virgola fissa con migliaia separate da virgole, o la notazione scientifica.",
410410
"DogeisCut/FormatNumbers@name": "Formattazione Numeri",
411411
"JeremyGamer13/tween@description": "Metodi di interpolazione per rendere più fluide le animazioni.",
412412
"JeremyGamer13/tween@name": "Animazioni Interpolate",

‎translations/extension-runtime.json‎

Lines changed: 80 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3609,6 +3609,7 @@
36093609
"obviousAlexC/penPlus@_Images": "Immagini",
36103610
"obviousAlexC/penPlus@_List Based Rendering": "Rendering Basato su Liste",
36113611
"obviousAlexC/penPlus@_Pen Properties": "Proprietà Penna",
3612+
"obviousAlexC/penPlus@_Pen+ Costumes": "Costumi Pen+",
36123613
"obviousAlexC/penPlus@_Pen+ version": "Versione estensione Pen+",
36133614
"obviousAlexC/penPlus@_Render Textures": "Texture di Rendering",
36143615
"obviousAlexC/penPlus@_Shader Editor": "Editor di Shader",
@@ -3623,14 +3624,18 @@
36233624
"obviousAlexC/penPlus@_V-Offset": "spostamento V",
36243625
"obviousAlexC/penPlus@_add blank image that is [color] and the size of [width], [height] named [name] to Pen+ Library": "aggiungi immagine vuota di colore [color] e dimensioni [width]x[height] con nome [name] a libreria Pen+",
36253626
"obviousAlexC/penPlus@_add image named [name] from [dataURI] to Pen+ Library": "aggiungi immagine da [dataURI] con nome [name] alla libreria Pen+",
3627+
"obviousAlexC/penPlus@_allow 'Corner Pinch < 1'": "permetti 'Deformazione Angolo < 1'",
36263628
"obviousAlexC/penPlus@_blue Tint": "Tonalità blu",
36273629
"obviousAlexC/penPlus@_blue tint": "tonalità blu",
36283630
"obviousAlexC/penPlus@_brightness": "luminosità",
36293631
"obviousAlexC/penPlus@_clamp": "blocca",
3632+
"obviousAlexC/penPlus@_clamp depth value": "vincola profondità",
36303633
"obviousAlexC/penPlus@_clear pen from [name]": "pulisci [name]",
3634+
"obviousAlexC/penPlus@_clock-wise": "orario",
36313635
"obviousAlexC/penPlus@_closest": "più vicino",
36323636
"obviousAlexC/penPlus@_color": "colore",
3633-
"obviousAlexC/penPlus@_corner pinch": "deformazione angolo",
3637+
"obviousAlexC/penPlus@_corner pinch": "deformazione verso angolo",
3638+
"obviousAlexC/penPlus@_counter clock-wise": "antiorario",
36343639
"obviousAlexC/penPlus@_create cubemap named [name] from left [left] right [right] back [back] front [front] bottom [bottom] top [top]": "crea cubemap con nome [name] usando a sinistra [left] a destra [right] dietro [back] davanti [front] sotto [bottom] sopra [top]",
36353640
"obviousAlexC/penPlus@_create render texture named [name]": "crea texture di rendering con nome [name]",
36363641
"obviousAlexC/penPlus@_create render texture named [name] of size [width] [height]": "crea texture di rendering con nome [name] di dimensioni [width] [height] ",
@@ -3670,10 +3675,13 @@
36703675
"obviousAlexC/penPlus@_green Tint": "Tonalità verde",
36713676
"obviousAlexC/penPlus@_green tint": "tonalità verde",
36723677
"obviousAlexC/penPlus@_height": "altezza",
3678+
"obviousAlexC/penPlus@_hex code": "codice esadecimale",
36733679
"obviousAlexC/penPlus@_hide triangles that turn [direction]": "nascondi triangoli orientati in direzione [direction]",
36743680
"obviousAlexC/penPlus@_hue [H] saturation [S] value [V]": "tono [H] saturazione [S] valore [V]",
36753681
"obviousAlexC/penPlus@_linear": "lineare",
3682+
"obviousAlexC/penPlus@_maximum depth value": "massima profondità",
36763683
"obviousAlexC/penPlus@_mirrored": "a specchio",
3684+
"obviousAlexC/penPlus@_neither way": "nessuna direzione",
36773685
"obviousAlexC/penPlus@_off": "disabilita",
36783686
"obviousAlexC/penPlus@_on": "abilita",
36793687
"obviousAlexC/penPlus@_opacity": "opacità",
@@ -3741,6 +3749,7 @@
37413749
"qxsck/data-analysis@minimum": "minimo di [NUMBERS]",
37423750
"qxsck/data-analysis@mode": "moda di [NUMBERS]",
37433751
"qxsck/data-analysis@name": "Analisi dei Dati",
3752+
"qxsck/data-analysis@sum": "somma di [NUMBERS]",
37443753
"qxsck/data-analysis@variance": "varianza di [NUMBERS]",
37453754
"qxsck/var-and-list@addValueInList": "aggiungi [VALUE] a [LIST]",
37463755
"qxsck/var-and-list@clearList": "cancella tutto da lista [LIST]",
@@ -3758,8 +3767,33 @@
37583767
"qxsck/var-and-list@seriListsToJson": "converti in json tutte le liste che iniziano con [START] ",
37593768
"qxsck/var-and-list@seriVarsToJson": "converti in json tutte le variabili che iniziano con [START]",
37603769
"qxsck/var-and-list@setVar": "porta il valore di [VAR] a [VALUE]",
3770+
"rixxyx@_RixxyX is cool, right?": "RixxyX è interessante, giusto?",
3771+
"rixxyx@_[BOOL] as boolean": "[BOOL] come booleano",
3772+
"rixxyx@_[NUM] as number": "[NUM]come numero",
3773+
"rixxyx@_[TEXT] as text": "[TEXT] come testo",
3774+
"rixxyx@_[TEXT] to lowercase": "[TEXT] in minuscolo",
3775+
"rixxyx@_[TEXT] to uppercase": "[TEXT] in maiuscolo",
3776+
"rixxyx@_[TEXT_1] is the same type as [TEXT_2]?": "[TEXT_1] è dello stesso tipo di [TEXT_2]",
3777+
"rixxyx@_binary [BIN] to text": "converti binario [BIN] in testo",
3778+
"rixxyx@_capitalize [TEXT]": "[TEXT] con iniziali maiuscole",
3779+
"rixxyx@_color [COLOR] in hex": "colore [COLOR] in esadecimale",
3780+
"rixxyx@_counter": "contatore",
3781+
"rixxyx@_decrement counter by [NUM]": "decrementa contatore di [NUM]",
3782+
"rixxyx@_end measuring time": "arresta misurazione tempo",
3783+
"rixxyx@_extract text [TEXT] between [NUM_1] to [NUM_2] characters": "estrai da testo [TEXT] i caratteri tra [NUM_1] e [NUM_2]",
37613784
"rixxyx@_false": "falso",
3762-
"rixxyx@_parse JSON [TEXT]": "parsa JSON [TEXT]",
3785+
"rixxyx@_if [BOOL] then [TEXT]": "se [BOOL] allora [TEXT]",
3786+
"rixxyx@_if [BOOL] then [TEXT_1] else [TEXT_2]": "se [BOOL] allora [TEXT_1] altrimenti [TEXT_2]",
3787+
"rixxyx@_increment counter by [NUM]": "incrementa contatore di [NUM]",
3788+
"rixxyx@_is javascript NaN [OBJ]": "[OBJ] è NaN di javascript ",
3789+
"rixxyx@_parse JSON [TEXT]": "analizza JSON [TEXT]",
3790+
"rixxyx@_repeat text [TEXT] [NUM] times": "ripeti testo [TEXT] [NUM] volte",
3791+
"rixxyx@_reverse text [TEXT]": "inverti testo [TEXT]",
3792+
"rixxyx@_rixxyX is cool, right?": "rixxyX è interessante, giusto?",
3793+
"rixxyx@_set counter to [NUM]": "porta contatore a [NUM]",
3794+
"rixxyx@_start measuring time": "avvia misurazione tempo",
3795+
"rixxyx@_text [TEXT] to binary": "converti testo [TEXT] in binario",
3796+
"rixxyx@_time": "tempo",
37633797
"rixxyx@_true": "vero",
37643798
"runtime-options@_Infinity": "infinito",
37653799
"runtime-options@_Runtime Options": "Opzioni Esecuzione",
@@ -3785,6 +3819,9 @@
37853819
"runtime-options@_stage size": "dimensioni Stage",
37863820
"runtime-options@_turbo mode": "modalità turbo",
37873821
"runtime-options@_width": "larghezza",
3822+
"shreder95ua/resolution@_Screen resolution": "Risoluzione schermo",
3823+
"shreder95ua/resolution@_primary screen height": "altezza schermo primario",
3824+
"shreder95ua/resolution@_primary screen width": "larghezza schermo primario",
37883825
"sound@_URL Playback": "Riproduzione da URL",
37893826
"sound@_play sound from url: [path] until done": "avvia riproduzione suono da url: [path] e attendi la fine",
37903827
"sound@_start sound from url: [path]": "riproduci suono da url: [path]",
@@ -3809,21 +3846,42 @@
38093846
"stretch@_set stretch y to [Y]": "porta deformazione y a [Y]",
38103847
"stretch@_x stretch": "deformazione x",
38113848
"stretch@_y stretch": "deformazione y",
3812-
"text@_RAndoMCaSe": "CaSUaLe",
3813-
"text@_Sentence case": "Stile maiuscole frase",
3849+
"text@_Exactly Title Case": "Maiuscolo stile Titolo Esatto",
3850+
"text@_MiXeD CaSe": "MaIuScOlO MiSto",
3851+
"text@_RAndoMCaSe": "MaiUSCoLoCaSUaLe",
3852+
"text@_Sentence case": "Maiuscolo come frase",
38143853
"text@_Text": "Testo",
3854+
"text@_Title Case": "Maiuscolo stile TItolo",
3855+
"text@_UPPERCASE": "MAIUSCOLO",
38153856
"text@_[STRING] [POSITION]s with [SUBSTRING]?": "[STRING][POSITION] con [SUBSTRING]",
3857+
"text@_[STRING] matches regex /[REGEX]/[FLAGS]?": "[STRING] corrisponde a regex /[REGEX]/[FLAGS]",
38163858
"text@_apple": "mela",
38173859
"text@_both sides": "entrambi i lati",
38183860
"text@_camelCase": "maiuscoleInterne",
3861+
"text@_convert [STRING] to [TEXTCASE]": "converti [STRING] in [TEXTCASE]",
3862+
"text@_count [SUBSTRING] in [STRING]": "occorrenze di [SUBSTRING] in [STRING]",
3863+
"text@_count regex /[REGEX]/[FLAGS] in [STRING]": "numero occorrenze di regex /[REGEX]/[FLAGS] in [STRING]",
38193864
"text@_end": "finisce",
3865+
"text@_index of [SUBSTRING] in [STRING]": "posizione di [SUBSTRING] in [STRING]",
3866+
"text@_is [OPERAND1] identical to [OPERAND2]?": "[OPERAND1] è identico a [OPERAND2]",
3867+
"text@_is [STRING] [TEXTCASE]?": "[STRING] è [TEXTCASE]",
3868+
"text@_item [ITEM] of [STRING] matched by regex /[REGEX]/[FLAGS]": "elemento [ITEM] di [STRING] corrispondente a regex /[REGEX]/[FLAGS]",
3869+
"text@_item [ITEM] of [STRING] split by [SPLIT]": "elemento [ITEM] di [STRING] spezzata da [SPLIT]",
3870+
"text@_letters [LETTER1] to [LETTER2] of [STRING]": "lettere da [LETTER1] a [LETTER2] di [STRING]",
38203871
"text@_lowercase": "minuscolo",
3872+
"text@_repeat [STRING] [REPEAT] times": "ripeti [STRING] [REPEAT] volte",
3873+
"text@_replace [SUBSTRING] in [STRING] with [REPLACE]": "sostituisci [SUBSTRING] con [REPLACE]in [STRING]",
3874+
"text@_replace regex /[REGEX]/[FLAGS] in [STRING] with [REPLACE]": "sostituisci regex /[REGEX]/[FLAGS] in [STRING] con [REPLACE]",
38213875
"text@_reverse text [STRING]": "inverti testo [STRING]",
38223876
"text@_start": "inizia",
38233877
"text@_the end": "la fine",
38243878
"text@_the start": "l'inizio",
38253879
"text@_trim whitespace [STRING] from [METHOD]": "Rimuovi spazi bianchi di [STRING] da [METHOD]",
3880+
"text@_unicode [NUM] as letter": "[NUM] unicode come lettera",
3881+
"text@_unicode of [STRING]": "unicode di [STRING]",
38263882
"true-fantom/base@_Base": "Basi",
3883+
"true-fantom/base@_[A] from base [B] to base [C]": "[A] da base [B] a base [C]",
3884+
"true-fantom/base@_is base [B] [A]?": "[A] è un numero in base [B]",
38273885
"true-fantom/couplers@_Couplers": "Adattatori",
38283886
"true-fantom/couplers@_angle [ANGLE]": "angolo [ANGLE]",
38293887
"true-fantom/couplers@_color [COLOUR]": "colore [COLOUR]",
@@ -3832,11 +3890,29 @@
38323890
"true-fantom/couplers@_note [NOTE]": "nota [NOTE]",
38333891
"true-fantom/couplers@_true": "vero",
38343892
"true-fantom/math@_Math": "Matematica",
3893+
"true-fantom/math@_[A] exactly contains [B]?": "[A] contiene sequenza [B]",
3894+
"true-fantom/math@_[A] is multiple of [B]?": "[A] è multiplo di [B]",
3895+
"true-fantom/math@_clamp [A] between [B] and [C]": "vincola [A] tra [B] e [C]",
3896+
"true-fantom/math@_is float [A]?": "[A] virgola mobile",
3897+
"true-fantom/math@_is int [A]?": "[A] intero",
3898+
"true-fantom/math@_is number [A]?": "[A]numero",
3899+
"true-fantom/math@_is safe number [A]?": "[A] numero primo sicuro",
3900+
"true-fantom/math@_log of [A] with base [B]": "log di [A] con base [B]",
3901+
"true-fantom/math@_map [A] from range [m1] - [M1] to range [m2] - [M2]": "mappa [A] da range [m1] - [M1] a range [m2] - [M2]",
38353902
"true-fantom/math@_sign of [A]": "segno di [A]",
38363903
"true-fantom/math@_true [OPERATOR] [NUM]": "valore reale di [OPERATOR] di [NUM]",
3904+
"true-fantom/math@_trunc of [A]": "tronca [A]",
3905+
"true-fantom/math@_trunc of [A] with [B] digits after dot": "tronca [A] con [B] cifre dopo la virgola",
38373906
"true-fantom/network@_Network": "Rete",
38383907
"true-fantom/network@_apple": "mela",
3908+
"true-fantom/network@_connected to internet?": "connesso alla rete",
3909+
"true-fantom/network@_current url": "url attuale",
38393910
"true-fantom/network@_default": "predefinito",
3911+
"true-fantom/network@_downlink max speed in mb/s": "massima velocità download in mb/s",
3912+
"true-fantom/network@_downlink speed in mb/s": "velocità download in mb/s",
3913+
"true-fantom/network@_get [USER_URL] respond [RESPONSES_TYPES] split by [SPLIT]": "risposta da [USER_URL] di tipo [RESPONSES_TYPES] divisa da [SPLIT]",
3914+
"true-fantom/network@_network generation": "generazione rete",
3915+
"true-fantom/network@_network type": "tipo rete",
38403916
"true-fantom/regexp@_keys": "chiavi",
38413917
"true-fantom/regexp@_values": "valori",
38423918
"utilities@_Utilities": "Utilità",

0 commit comments

Comments
 (0)