Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

All main French translations

  • Loading branch information...
commit e0e921c972af04020f118651edd9d639ccc4bb24 1 parent 5c03565
Sébastien Bourdeauducq sbourdeauducq authored
2  src/about.c
View
@@ -59,7 +59,7 @@ void init_about()
mtk_cmd_seq(appid, "sep2 = new Separator(-vertical no)",
"info = new Label(-text \"Flickernoise is free software, released under GNU GPL version 3.\n"
"Copyright (C) 2010, 2011 Flickernoise developers.\n"
- "Milkymist is a trademark of Sebastien Bourdeauducq.\n"
+ "Milkymist is a trademark of S\xe9""bastien Bourdeauducq.\n"
"Web: www.milkymist.org\" -font \"monospaced\")",
"g.place(flickernoise, -column 1 -row 1)",
17 src/filedialog.c
View
@@ -117,8 +117,8 @@ static void display_folder(struct filedialog *dlg, const char *folder)
mtk_cmdf(dlg->appid, "fd_g2_folders.set(-text \"%s\" -selection 0)", fmt_folders);
mtk_cmdf(dlg->appid, "fd_g2_files.set(-text \"%s\" -selection 0)", fmt_files);
- mtk_cmdf(dlg->appid, "fd_g1_l.set(-text \"%s\")", folder);
- mtk_cmdf(dlg->appid, "fd_selection.set(-text \"Selection: %s\")", folder);
+ mtk_cmdf(dlg->appid, "fd_g1_l.set(-text \"\e%s\")", folder);
+ mtk_cmdf(dlg->appid, "fd_selection.set(-text \"\e%s\")", folder);
mtk_cmd(dlg->appid, "fd_g2_foldersf.expose(0, 0)");
mtk_cmd(dlg->appid, "fd_g2_filesf.expose(0, 0)");
}
@@ -128,6 +128,7 @@ static void refresh(struct filedialog *dlg)
char curfolder[384];
mtk_req(dlg->appid, curfolder, sizeof(curfolder), "fd_g1_l.text");
+ memmove(curfolder, curfolder+1, sizeof(curfolder)-1);
display_folder(dlg, curfolder);
mtk_cmd(dlg->appid, "fd_filename.set(-text \"\")");
}
@@ -175,6 +176,7 @@ static void folder_selcommit_callback(mtk_event *e, void *arg)
char *selection;
mtk_req(dlg->appid, curfolder, sizeof(curfolder), "fd_g1_l.text");
+ memmove(curfolder, curfolder+1, sizeof(curfolder)-1);
mtk_req(dlg->appid, folderlist, sizeof(folderlist), "fd_g2_folders.text");
mtk_req(dlg->appid, num, sizeof(num), "fd_g2_folders.selection");
nselection = atoi(num);
@@ -262,7 +264,7 @@ struct filedialog *create_filedialog(const char *name, int is_save, const char *
mtk_cmd(dlg->appid, "fd_g1 = new Grid()");
mtk_cmd(dlg->appid, "fd_g1_s1 = new Separator(-vertical no)");
- mtk_cmd(dlg->appid, "fd_g1_l = new Label(-text \"/\")");
+ mtk_cmd(dlg->appid, "fd_g1_l = new Label(-text \"\e/\")");
mtk_cmd(dlg->appid, "fd_g1_s2 = new Separator(-vertical no)");
mtk_cmd(dlg->appid, "fd_g1.place(fd_g1_s1, -column 1 -row 1)");
mtk_cmd(dlg->appid, "fd_g1.place(fd_g1_l, -column 2 -row 1)");
@@ -286,7 +288,11 @@ struct filedialog *create_filedialog(const char *name, int is_save, const char *
mtk_cmd(dlg->appid, "fd_g2.place(fd_g2_filesf, -column 2 -row 1)");
mtk_cmd(dlg->appid, "fd_g2.rowconfig(1, -size 200)");
- mtk_cmd(dlg->appid, "fd_selection = new Label(-text \"Selection: /\")");
+ mtk_cmd(dlg->appid, "fd_g_selection = new Grid()");
+ mtk_cmd(dlg->appid, "fd_selection0 = new Label(-text \"Selection:\")");
+ mtk_cmd(dlg->appid, "fd_selection = new Label(-text \"\e/\")");
+ mtk_cmd(dlg->appid, "fd_g_selection.place(fd_selection0, -column 1 -row 1)");
+ mtk_cmd(dlg->appid, "fd_g_selection.place(fd_selection, -column 2 -row 1)");
mtk_cmd(dlg->appid, "fd_filename = new Entry()");
@@ -300,7 +306,7 @@ struct filedialog *create_filedialog(const char *name, int is_save, const char *
mtk_cmd(dlg->appid, "fd_g.place(fd_g1, -column 1 -row 1)");
mtk_cmd(dlg->appid, "fd_g.place(fd_gqf, -column 1 -row 2)");
mtk_cmd(dlg->appid, "fd_g.place(fd_g2, -column 1 -row 3)");
- mtk_cmd(dlg->appid, "fd_g.place(fd_selection, -column 1 -row 4 -align \"w\")");
+ mtk_cmd(dlg->appid, "fd_g.place(fd_g_selection, -column 1 -row 4 -align \"w\")");
mtk_cmd(dlg->appid, "fd_g.place(fd_filename, -column 1 -row 5)");
mtk_cmd(dlg->appid, "fd_g.place(fd_g3, -column 1 -row 6)");
mtk_cmd(dlg->appid, "fd_g.rowconfig(4, -size 0)");
@@ -338,6 +344,7 @@ void get_filedialog_selection(struct filedialog *dlg, char *buffer, int buflen)
char *c;
mtk_req(dlg->appid, buffer, buflen, "fd_g1_l.text");
+ memmove(buffer, buffer+1, buflen-1);
mtk_req(dlg->appid, file, sizeof(file), "fd_filename.text");
strncat(buffer, file, buflen);
if(dlg->is_save) {
2  src/flash.c
View
@@ -530,7 +530,7 @@ void init_flash()
mtk_cmdf(appid, "l_socbios_i = new Label(-text \"\e%s\")", soc);
mtk_cmd_seq(appid,
- "l_socbios_a = new Label(-text \"?\")",
+ "l_socbios_a = new Label(-text \"\e?\")",
"l_flickernoise_i = new Label(-text \"\e"VERSION"\")",
"l_flickernoise_a = new Label(-text \"\e?\")",
"l_patchpool_i = new Label(-text \"\e?\")",
39 src/french.c
View
@@ -29,6 +29,15 @@ struct mtk_i18n_entry translation_french[] = {
{ "Enable", "Activer" },
{ "Ready.", "Pr\xea""t." },
+ // Main
+ { "Rescue mode", "Mode de secours" },
+ { "You have booted in rescue mode.\n"
+ "Your system will function as usual, using back-up software.\n"
+ "From there, you can update the main software or perform\nother actions to fix the problem.\n",
+ "Vous avez activ\xe9"" le mode de secours.\n"
+ "Votre syst\xe8""me fonctionne normalement, en utilisant une copie de sauvegarde du logiciel.\n"
+ "Vous pouvez effectuer une mise \xe0"" jour pour r\xe9""installer le logiciel principal\net tenter de corriger le probl\xe8""me.\n" },
+
// File dialog box
{ "Quick find: ", "Recherche rapide : " },
{ "Selection:", "S\xe9""lection :" },
@@ -106,14 +115,17 @@ struct mtk_i18n_entry translation_french[] = {
{ "Latest active channel:", "Dernier canal actif :" },
// Video input settings
- { "Video input settings", "Param\xe8""tres" },
+ { "Video input settings", "Param\xe8""tres d'entr\xe9""e vid\xe9""o" },
{ "Brightness:", "Luminosit\xe9"" :" },
{ "Contrast:", "Contraste :" },
{ "Hue:", "Teinte :" },
{ "Detected signal:", "Signal d\xe9tect\xe9 :" },
+ { "Preview", "Pr\xe9""visualisation" },
{ "None", "Aucun" },
+ { "Unknown", "Inconnu" },
// RSS wall
+ { "Wall:", "Mur :" },
{ "RSS/ATOM wall", "Mur RSS/ATOM" },
{ "RSS/ATOM URL:", "URL RSS/ATOM" },
{ "Idle message:", "Message d'inactivit\xe9"" :" },
@@ -124,11 +136,14 @@ struct mtk_i18n_entry translation_french[] = {
// Update
{ "Update", "Mise \xe0"" jour" },
- // TODO: explanation text
+ { "Click the 'Update from web' button to begin.\nSince you are in rescue mode, the new software will always be reinstalled,\neven if you already have the latest version.",
+ "Cliquez sur le bouton 'Mise \xe0"" jour depuis le web' pour commencer.\nComme vous \xea""tes en mode de secours, le logiciel\nsera syst\xe0""matiquement r\xe0""install\xe0""." },
+ { "Click the 'Update from web' button to begin.\nIf your synthesizer does not restart after the update, don't panic!\nHold right (R) pushbutton during power-up to enable rescue mode.",
+ "Cliquez sur le bouton 'Mise \xe0"" jour depuis le web' pour commencer.\nEn cas de probl\xe8""me, appuyez sur le bouton de droite (R) pendant\nla mise en marche afin de passer en mode de secours." },
{ "Installed", "Install\xe9" },
{ "Available", "Disponible" },
{ "Update from web", "Mise \xe0"" jour depuis le web" },
- { "Check versions", "V\xe9rifier les versions" },
+ { "Check versions", "V\xe9""rifier les versions" },
{ "Update from files", "Mise \xe0"" jour depuis des fichiers" },
{ "Bitstream image (.FPG):", "Image bitstream (.FPG) :" },
{ "BIOS image (.BIN):", "Image BIOS (.BIN) :" },
@@ -141,6 +156,9 @@ struct mtk_i18n_entry translation_french[] = {
{ "Open", "Ouvrir" },
{ "Save As", "Enregistrer sous" },
{ "Run (F2)", "Lancer (F2)" },
+ { "untitled", "sans titre" },
+ { "Open patch", "Ouvrir un patch" },
+ { "Save patch", "Enregistrer le patch" },
// Performance
{ "Load performance", "Charger une performance" },
@@ -183,14 +201,27 @@ struct mtk_i18n_entry translation_french[] = {
{ "DNS:", "DNS :" },
{ "Remote access", "Acc\xe8""s distant" },
{ "Login:", "Nom :" },
- { "Pass:", "MDP :" },
+ { "Pass:", "MdP :" },
+ { "Autostart", "D\xe9""marrage automatique" },
{ "Configured:", "Configur\xe9 :" },
{ "Select autostart performance", "S\xe9""lection du d\xe9""marrage automatique" },
+ // About
+ { "Flickernoise is free software, released under GNU GPL version 3.\n"
+ "Copyright (C) 2010, 2011 Flickernoise developers.\n"
+ "Milkymist is a trademark of S\xe9""bastien Bourdeauducq.\n"
+ "Web: www.milkymist.org",
+ "Flickernoise est un logiciel libre, sous licence GNU GPL version 3.\n"
+ "Copyright (C) 2010, 2011 d\xe9""veloppeurs Flickernoise.\n"
+ "Milkymist est une marque de S\xe9""bastien Bourdeauducq.\n"
+ "Web: www.milkymist.org" },
+
// Shutdown
{ "Do you want to power off or reboot the system?", "Souhaitez-vous arr\xea""ter ou red\xe9""marrer le syst\xe8""me ?" },
{ "Power off", "Arr\xea""ter" },
{ "Reboot", "Red\xe9""marrer" },
+ { "Messagebox", "Bo\xee""te de message" },
+
{ NULL, NULL }
};
2  src/ir.c
View
@@ -184,7 +184,7 @@ static void addupdate_callback(mtk_event *e, void *arg)
void init_ir()
{
- appid = mtk_init_app("IR");
+ appid = mtk_init_app("IR remote control settings");
mtk_cmd_seq(appid,
"g = new Grid()",
2  src/monitor.c
View
@@ -140,7 +140,7 @@ void init_monitor()
int column;
int brow;
- appid = mtk_init_app("Monitor");
+ appid = mtk_init_app("Variable monitor");
mtk_cmd(appid, "g = new Grid()");
for(i=0;i<8;i++) {
2  src/monitor.h
View
@@ -1,6 +1,6 @@
/*
* Flickernoise
- * Copyright (C) 2010 Sebastien Bourdeauducq
+ * Copyright (C) 2010, 2011 Sebastien Bourdeauducq
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
7 src/patcheditor.c
View
@@ -22,6 +22,7 @@
#include <mtklib.h>
#include <mtkeycodes.h>
+#include <mtki18n.h>
#include "filedialog.h"
#include "patcheditor.h"
@@ -42,7 +43,7 @@ static void update_wintitle()
const char *short_filename;
if(current_filename[0] == 0)
- short_filename = "untitled";
+ short_filename = mtk_translate("untitled");
else {
short_filename = strrchr(current_filename, '/');
if(short_filename == NULL)
@@ -50,7 +51,7 @@ static void update_wintitle()
else
short_filename++;
}
- mtk_cmdf(appid, "w.set(-title \"\e[%s]%s\")",
+ mtk_cmdf(appid, "w.set(-title \"\e%s%s\")",
short_filename,
modified ? " *" : "");
}
@@ -209,7 +210,7 @@ void init_patcheditor()
"status = new Label(-text \"Ready.\" -font \"title\")",
"g.place(status, -column 1 -row 3 -align \"nw\")",
"g.rowconfig(3, -size 0)",
- "w = new Window(-content g -title \"\e[untitled]\" -workw 400 -workh 300)",
+ "w = new Window(-content g -title \"untitled\" -workw 400 -workh 300)",
0);
fileopen_dlg = create_filedialog("Open patch", 0, "fnp", openok_callback, NULL, NULL, NULL);
18 src/videoin.c
View
@@ -1,6 +1,6 @@
/*
* Flickernoise
- * Copyright (C) 2010 Sebastien Bourdeauducq
+ * Copyright (C) 2010, 2011 Sebastien Bourdeauducq
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -125,14 +125,14 @@ static char *fmt_video_signal(unsigned int status)
{
if(!(status & 0x01)) return "None";
switch((status & 0x70) >> 4) {
- case 0: return "NTSM-MJ";
- case 1: return "NTSC-443";
- case 2: return "PAL-M";
- case 3: return "PAL-60";
- case 4: return "PAL-B/G/H/I/D";
- case 5: return "SECAM";
- case 6: return "PAL-Combination N";
- case 7: return "SECAM 525";
+ case 0: return "\eNTSM-MJ";
+ case 1: return "\eNTSC-443";
+ case 2: return "\ePAL-M";
+ case 3: return "\ePAL-60";
+ case 4: return "\ePAL-B/G/H/I/D";
+ case 5: return "\eSECAM";
+ case 6: return "\ePAL-Combination N";
+ case 7: return "\eSECAM 525";
default: return "Unknown";
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.