changes in french localization

This commit is contained in:
remi durand 2021-06-23 23:46:13 +02:00
parent 2441c15a69
commit e371b3088f
2 changed files with 207 additions and 204 deletions

File diff suppressed because it is too large Load Diff

View File

@ -21,39 +21,41 @@
#include <boost/format.hpp> #include <boost/format.hpp>
#include <string.h> #include <string.h>
#define L(s) (s)
namespace Slic3r { namespace Slic3r {
std::string toString(OptionCategory opt) { std::string toString(OptionCategory opt) {
switch (opt) { switch (opt) {
case none: return ""; case none: return "";
case perimeter: return "Perimeters & Shell"; case perimeter: return L("Perimeters & Shell");
case slicing: return "Slicing"; case slicing: return L("Slicing");
case infill: return "Infill"; case infill: return L("Infill");
case ironing: return "Ironing PP"; case ironing: return L("Ironing PP");
case skirtBrim: return "Skirt & Brim"; case skirtBrim: return L("Skirt & Brim");
case support: return "Support material"; case support: return L("Support material");
case width: return "Width & Flow"; case width: return L("Width & Flow");
case speed: return "Speed"; case speed: return L("Speed");
case extruders: return "Multiple extruders"; case extruders: return L("Multiple extruders");
case output: return "Output options"; case output: return L("Output options");
case notes: return "Notes"; case notes: return L("Notes");
case dependencies: return "Dependencies"; case dependencies: return L("Dependencies");
case filament: return "Filament"; case filament: return L("Filament");
case cooling: return "Cooling"; case cooling: return L("Cooling");
case advanced: return "Advanced"; case advanced: return L("Advanced");
case filoverride: return "Filament overrides"; case filoverride: return L("Filament overrides");
case customgcode: return "Custom G-code"; case customgcode: return L("Custom G-code");
case general: return "General"; case general: return L("General");
case limits: return "Machine limits"; case limits: return "Machine limits";
case mmsetup: return "Single Extruder MM Setup"; case mmsetup: return "Single Extruder MM Setup";
case firmware: return "Firmware"; case firmware: return "Firmware";
case pad: return "Pad"; case pad: return "Pad";
case padSupp: return "Pad and Support"; case padSupp: return "Pad and Support";
case wipe: return "Wipe Options"; case wipe: return "Wipe Options";
case milling: return "milling"; case milling: return "Milling";
case hollowing: return "hollowing"; case hollowing: return "Hollowing";
case milling_extruders: return "milling_extruders"; case milling_extruders: return "Milling extruders";
} }
return "error"; return "error";
} }