Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions build-aux/check-about-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,27 @@ for (const [key, value] of Object.entries(fields)) {
console.log(` ${key.padEnd(16)} ${value === null ? "(none)" : value}`);
}

// The upstream constructor is localised — a German session gets "Lerne 6502
// Assembler". A fallback that always returned the untranslated <name> would
// ship an English title to every non-English user, and only on the platforms
// where the fallback runs, so nothing here would notice.
// The upstream constructor is localised. A fallback that always returned the
// untranslated <name> would ship an English title to every non-English user, and
// only on the platforms where the fallback runs, so nothing here would notice.
// The app name itself is not translated any more (Flathub's quality guidelines),
// so the lookup is probed against a synthetic <name> that does carry translations.
console.log("");
const TRANSLATED = ["de", "fr", "es", "nl"];
const source = parseAppdata(xml, ["C"]).applicationName;
const probe = `<component><name>Source</name>${TRANSLATED.map(
(lang) => `<name xml:lang="${lang}">${lang}-name</name>`
).join("")}</component>`;
const source = parseAppdata(probe, ["C"]).applicationName;
let translations = 0;
for (const lang of TRANSLATED) {
const localised = parseAppdata(xml, [`${lang}_XX.UTF-8`, lang, "C"]).applicationName;
const localised = parseAppdata(probe, [`${lang}_XX.UTF-8`, lang, "C"]).applicationName;
const differs = localised !== null && localised !== source;
if (differs) translations++;
console.log(` name[${lang}]${" ".repeat(9)} ${localised ?? "(none)"}${differs ? "" : " == source"}`);
}
if (translations === 0) {
if (translations !== TRANSLATED.length) {
problems.push(
` applicationName is identical in all of ${TRANSLATED.join(", ")} — ` +
` the translated <name> lookup resolved for ${translations} of ${TRANSLATED.length} languages — ` +
"the translation lookup is not resolving"
);
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"email": "pascal@jumplink.eu",
"nameTranslatable": false
},
"summary": "Program vintage game consoles",
"summary": "Program vintage consoles",
"description": [
{
"p": "Discover the fascinating world of programming classic computers and game consoles! Learn 6502 assembly language - the same code that powered iconic systems like the NES, Commodore 64, and Apple II.",
Expand Down Expand Up @@ -104,7 +104,7 @@
"metadata": "CC0-1.0",
"project": "GPL-3.0-or-later"
},
"homepageUrl": "https://flathub.org/apps/eu.jumplink.Learn6502",
"homepageUrl": "https://jumplink.eu/Learn6502/",
"bugtrackerUrl": "https://github.com/JumpLink/Learn6502/issues",
"vcsBrowserUrl": "https://github.com/JumpLink/Learn6502",
"translateUrl": "https://hosted.weblate.org/projects/eu-jumplink-learn6502/app/",
Expand Down
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Label wurde bereits in Zeile %d definiert: %s",
"Labels failure": "Label-Fehler",
"Learn": "Lernen",
"Learn 6502 Assembly": "Lerne 6502 Assembler",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Lerne 6502 läuft jetzt auf GNOME 50! Dank an Sabri Ünal für den Beitrag zum Runtime-Update.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 läuft jetzt auch unter Windows und macOS. Wenn du es jemandem zeigen wolltest, der kein Linux nutzt, geht das jetzt.",
"Learn about computer history while coding": "Erfahre mehr über Computer-Geschichte beim Programmieren",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Programm beendet bei PC=$%s",
"Program completed. Reset to step through the program again.": "Programm beendet. Setze den Simulator zurück, um das Programm erneut schrittweise auszuführen.",
"Program paused": "Programm pausiert",
"Program vintage game consoles": "Programmiere Retro-Spielekonsolen",
"Program vintage consoles": "Retrospiele programmieren",
"Purple": "Violett",
"Quick tips": "Kurz-Tipps",
"Quit": "Beenden",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "WDM-Ausgabe",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "was die indirekt adressierten Speicheradressen <tt>$0411</tt>, <tt>$0410</tt> und <tt>$040f</tt> repräsentiert (drei Pixel in der Mitte des Displays). Ich betone diesen Punkt, aber es ist wichtig, vollständig zu verstehen, wie indirekte Adressierung funktioniert.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! Wir freuen uns über die tamilische Übersetzung, beigesteuert von தமிழ்நேரம். நன்றி!",
"app.name": "Lerne 6502 Assembler"
"app.name": "Learn 6502 Assembly"
}
3 changes: 1 addition & 2 deletions packages/app-android/app/i18n/en.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Label already defined at line %d: %s",
"Labels failure": "Labels failure",
"Learn": "Learn",
"Learn 6502 Assembly": "Learn 6502 Assembly",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.",
"Learn about computer history while coding": "Learn about computer history while coding",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Program completed at PC=$%s",
"Program completed. Reset to step through the program again.": "Program completed. Reset to step through the program again.",
"Program paused": "Program paused",
"Program vintage game consoles": "Program vintage game consoles",
"Program vintage consoles": "Program vintage consoles",
"Purple": "Purple",
"Quick tips": "Quick tips",
"Quit": "Quit",
Expand Down
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Etiqueta ya definida en la línea %d: %s",
"Labels failure": "Error de etiquetas",
"Learn": "Aprender",
"Learn 6502 Assembly": "Aprende 6502 Assembly",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "¡Learn 6502 ahora se ejecuta en GNOME 50! Gracias a Sabri Ünal por contribuir la actualización del runtime.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 ahora también se ejecuta en Windows y macOS. Si querías enseñárselo a alguien que no usa Linux, ya puedes hacerlo.",
"Learn about computer history while coding": "Aprende sobre la historia de la informática mientras programas",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Programa completado en PC=$%s",
"Program completed. Reset to step through the program again.": "Programa completado. Reinicia para volver a ejecutar el programa paso a paso.",
"Program paused": "Programa en pausa",
"Program vintage game consoles": "Programa consolas de videojuegos clásicas",
"Program vintage consoles": "Programa consolas retro",
"Purple": "Púrpura",
"Quick tips": "Consejos rápidos",
"Quit": "Salir",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "wdm-output",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "lo que representa las direcciones de memoria indirectas <tt>$0411</tt>, <tt>$0410</tt> y <tt>$040f</tt> (tres píxeles en el centro de la pantalla). Insisto en este punto porque es importante entender bien cómo funciona el direccionamiento indirecto.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! Nos alegra dar la bienvenida a la traducción al tamil, aportada por தமிழ்நேரம். நன்றி!",
"app.name": "Aprende 6502 Assembly"
"app.name": "Learn 6502 Assembly"
}
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Otsikko on jo määritelty rivillä %d: %s",
"Labels failure": "Otsikoiden käsittely epäonnistui",
"Learn": "Opi",
"Learn 6502 Assembly": "Opi 6502 Assembly",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Learn 6502 toimii nyt GNOME 50:llä! Kiitos Sabri Ünalille ajonympäristön päivityksen tekemisestä.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 toimii nyt myös Windowsilla ja macOS:llä. Jos olet halunnut vinkata siitä ystävälle, joka ei käytä Linuxia, nyt se onnistuu.",
"Learn about computer history while coding": "Opi tietokonehistoriaa samalla kun koodaat",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Ohjelma valmistui kohdassa PC=$%s",
"Program completed. Reset to step through the program again.": "Ohjelma valmistui. Nollaa, jotta voit suorittaa ohjelman uudelleen askel askeleelta.",
"Program paused": "Ohjelma keskeytetty",
"Program vintage game consoles": "Ohjelmoi vintage-pelikonsoleita",
"Program vintage consoles": "Ohjelmoi retrokonsoleita",
"Purple": "Liila",
"Quick tips": "Pikavinkit",
"Quit": "Lopeta",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "wdm-tulostus",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "joka edustaa epäsuorasti osoitettuja muistiosoitteita <tt>$0411</tt>, <tt>$0410</tt> ja <tt>$040f</tt> (kolme pikseliä näytön keskellä). Jankutan tästä, mutta on tärkeää ymmärtää perusteellisesti, miten epäsuora osoitteistus toimii.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! Olemme iloisia voidessamme toivottaa tervetulleeksi tamilinkieliset käännökset, jotka தமிழ்நேரம் on toimittanut. நன்றி!",
"app.name": "Opi 6502 Assembly"
"app.name": "Learn 6502 Assembly"
}
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Étiquette déjà définie à la ligne %d : %s",
"Labels failure": "Échec des étiquettes",
"Learn": "Apprendre",
"Learn 6502 Assembly": "Apprendre l'assembleur 6502",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Learn 6502 fonctionne maintenant sur GNOME 50 ! Merci à Sabri Ünal pour sa contribution à la mise à jour du runtime.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 fonctionne maintenant aussi sur Windows et macOS. Si vous vouliez le montrer à quelqu'un qui n'est pas sous Linux, c'est désormais possible.",
"Learn about computer history while coding": "Apprenez l'histoire de l'informatique tout en codant",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Programme terminé à PC=$%s",
"Program completed. Reset to step through the program again.": "Programme terminé. Réinitialisez pour parcourir à nouveau le programme pas à pas.",
"Program paused": "Programme en pause",
"Program vintage game consoles": "Programmer des consoles de jeux vintage",
"Program vintage consoles": "Code pour consoles rétro",
"Purple": "Violet",
"Quick tips": "Astuces rapides",
"Quit": "Quitter",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "sortie-wdm",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "qui représente les emplacements mémoire adressés indirectement <tt>$0411</tt>, <tt>$0410</tt> et <tt>$040f</tt> (trois pixels au milieu de l'affichage). J'insiste sur ce point, mais il est important de bien comprendre comment fonctionne l'adressage indirect.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம் ! Nous sommes heureux d'accueillir la traduction en tamoul, contribuée par தமிழ்நேரம். நன்றி !",
"app.name": "Apprendre l'assembleur 6502"
"app.name": "Learn 6502 Assembly"
}
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "התווית כבר מוגדרת בשורה %d: %s",
"Labels failure": "כשל תוויות",
"Learn": "למידה",
"Learn 6502 Assembly": "לימוד שפת הסף של 6502",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "לימוד 6502 עכשיו רץ על GNOME 50! תודה ל־Sabri Ünal על תרומתו לעדכון סביבת ההרצה.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 עכשיו רץ גם על Windows ו־macOS. אם רציתם להפנות אליו חבר שלא משתמש ב־Linux, עכשיו אתם יכולים.",
"Learn about computer history while coding": "למדו על ההיסטוריה של המחשבים תוך כדי תכנות",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "התוכנית סיימה כאשר PC=$%s",
"Program completed. Reset to step through the program again.": "התוכנית הסתיימה. יש לאפס כדי לעבור שוב על התוכנית צעד אחר צעד.",
"Program paused": "התוכנית עצרה",
"Program vintage game consoles": "תכנתו קונסולות משחק ישנות",
"Program vintage consoles": "תכנתו קונסולות ישנות",
"Purple": "סגול",
"Quick tips": "טיפים קצרים",
"Quit": "צא",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "wdm-output",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "שמייצג את הכתובות העקיפות <tt>$0411</tt>, <tt>$0410</tt> ו־<tt>$040f</tt> (שלשה פיקסלים במרכז המסך). אני חורש על הנקודה הזאת, אבל היא חיונית להבנה איך מיעון עקיף עובד במלואו.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! אנחנו שמחים לקבל בברכה את התרגום לטמילית, שנתרם על ידי தமிழ்நேரம். நன்றி!",
"app.name": "לימוד שפת הסף של 6502"
"app.name": "Learn 6502 Assembly"
}
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/ia.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Etiquetta jam definite a linea %d: %s",
"Labels failure": "Fallimento de etiquettas",
"Learn": "Apprender",
"Learn 6502 Assembly": "Apprender Assemblage 6502",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Learn 6502 ora functiona sur GNOME 50! Gratias a Sabri Ünal pro contribuer le actualisation del runtime.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 ora functiona anque sur Windows e macOS. Si tu voleva monstrar lo a un amico qui non usa Linux, ora tu pote facer lo.",
"Learn about computer history while coding": "Apprende a proposito de historia de computator durante que tu codifica",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Programma completate a PC=$%s",
"Program completed. Reset to step through the program again.": "Programma completate. Reinitialisa pro executar le programma passo a passo de novo.",
"Program paused": "Programma pausate",
"Program vintage game consoles": "Programmar consolas de joco vintage",
"Program vintage consoles": "Programmar consolas retro",
"Purple": "Purpura",
"Quick tips": "Consilios rapide",
"Quit": "Quitar",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "wdm-output",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "que representa le locationes de memoria indirectemente adressate <tt>$0411</tt>, <tt>$0410</tt> e <tt>$040f</tt> (tres pixeles in le medio del schermo). Io labora iste puncto, ma illo es importante pro plenemente comprehender como adressage indirecte functiona.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! Nos es felice de dar le benvenita al traduction tamil, contribuite per தமிழ்நேரம். நன்றி!",
"app.name": "Apprender Assemblage 6502"
"app.name": "Learn 6502 Assembly"
}
5 changes: 2 additions & 3 deletions packages/app-android/app/i18n/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"Label already defined at line %d: %s": "Label sudah didefinisikan di baris %d: %s",
"Labels failure": "Kegagalan label",
"Learn": "Pelajari",
"Learn 6502 Assembly": "Pelajari Assembly 6502",
"Learn 6502 now runs on GNOME 50! Thanks to Sabri Ünal for contributing the runtime update.": "Learn 6502 kini berjalan di GNOME 50! Terima kasih kepada Sabri Ünal atas kontribusi pembaruan runtime-nya.",
"Learn 6502 now runs on Windows and macOS too. If you have been wanting to point a friend at it who is not on Linux, you can now do that.": "Learn 6502 kini juga berjalan di Windows dan macOS. Jika Anda ingin menunjukkannya kepada teman yang tidak memakai Linux, sekarang Anda bisa.",
"Learn about computer history while coding": "Pelajari sejarah komputer sambil coding",
Expand Down Expand Up @@ -321,7 +320,7 @@
"Program completed at PC=$%s": "Program selesai di PC=$%s",
"Program completed. Reset to step through the program again.": "Program selesai. Reset untuk menjalankan program langkah demi langkah lagi.",
"Program paused": "Program dijeda",
"Program vintage game consoles": "Program konsol permainan vintage",
"Program vintage consoles": "Program konsol game retro",
"Purple": "Ungu",
"Quick tips": "Tips cepat",
"Quit": "Keluar",
Expand Down Expand Up @@ -478,5 +477,5 @@
"wdm-output": "wdm-output",
"which represents the indirectly-addressed memory locations <tt>$0411</tt>, <tt>$0410</tt> and <tt>$040f</tt> (three pixels in the middle of the display). I'm labouring this point, but it's important to fully grok how indirect addressing works.": "yang merepresentasikan lokasi memori beralamat indirect <tt>$0411</tt>, <tt>$0410</tt>, dan <tt>$040f</tt> (tiga piksel di tengah tampilan). Saya menekankan poin ini, tetapi penting untuk benar-benar memahami cara kerja pengalamatan indirect.",
"வணக்கம்! We are happy to welcome Tamil translations, contributed by தமிழ்நேரம். நன்றி!": "வணக்கம்! Kami dengan senang hati menyambut terjemahan bahasa Tamil, yang dikontribusikan oleh தமிழ்நேரம். நன்றி!",
"app.name": "Pelajari Assembly 6502"
"app.name": "Learn 6502 Assembly"
}
Loading
Loading