From aa27d628f5803dc3c8a8a8facee58c2b857f863e Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 5 Jul 2019 01:21:41 +0200 Subject: [PATCH] :briefcase: Updating [skip ci] --- po/fr/gwion.po | 1006 ++++++++++++++++++++++++----------------------- po/fr/gwion.po~ | 705 +++++++++++++++++++++++++++++++++ po/gwion.pot | 697 ++++++++++++++++---------------- 3 files changed, 1554 insertions(+), 854 deletions(-) create mode 100644 po/fr/gwion.po~ diff --git a/po/fr/gwion.po b/po/fr/gwion.po index 3a253805..07e5824a 100644 --- a/po/fr/gwion.po +++ b/po/fr/gwion.po @@ -4,702 +4,706 @@ # FIRST AUTHOR , YEAR. # #, fuzzy -msgid "" -msgstr "Project-Id-Version: PACKAGE VERSION\n" - "Report-Msgid-Bugs-To: \n" - "POT-Creation-Date: 2019-07-03 13:59+0200\n" - "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" - "Last-Translator: FULL NAME \n" - "Language-Team: LANGUAGE \n" - "Language: \n" - "MIME-Version: 1.0\n" - "Content-Type: text/plain; charset=UTF-8\n" - "Content-Transfer-Encoding: 8bit\n" +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-07-04 22:02+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/gwion.c:113 +#, c-format +msgid "in class: '%s'\n" +msgstr "" + +#: src/gwion.c:115 +#, c-format +msgid "in function: '%s'\n" +msgstr "" + +#: src/plug.c:69 +#, c-format +msgid "error in %s." +msgstr "" #: src/compile.c:77 #, c-format -msgid "'%s': no such file\n" -msgstr "" +msgid "'%s': no such file\n" +msgstr "" #: src/compile.c:100 #, c-format -msgid "while compiling file '%s'\n" -msgstr "" - -#: src/emit/emit.c:509 -msgid " ... in 'gack' expression." -msgstr "" +msgid "while compiling file '%s'\n" +msgstr "" -#: src/emit/emit.c:1291 -msgid "illegal case" -msgstr "" +#: src/parse/check.c:28 +#, c-format +msgid "incompatible array subscript type '%s' ..." +msgstr "" -#: src/emit/emit.c:1294 +#: src/parse/check.c:37 #, c-format -msgid "label '%s' defined but not used." -msgstr "" +msgid "in class '%s': '%s' has already been defined in parent class '%s' ..." +msgstr "" -#: src/emit/emit.c:1299 -msgid "you are trying to use a upper label." -msgstr "" +#: src/parse/check.c:58 +msgid "can't use non public typedef at global scope." +msgstr "" -#: src/emit/emit.c:1564 -msgid "vararg.start already used. this is an error" -msgstr "" +#: src/parse/check.c:61 +msgid "can't use non global fptr of other class." +msgstr "" -#: src/emit/emit.c:1570 -msgid "vararg.start not used before vararg.end. this is an error" -msgstr "" +#: src/parse/check.c:63 +msgid "can't use static variables for member function." +msgstr "" -#: src/emit/emit.c:1575 +#: src/parse/check.c:73 #, c-format -msgid "vararg.%s used before vararg.start. this is an error" -msgstr "" +msgid "" +"Expression must be of type '%s', not '%s'\n" +"maybe you meant typeof(Expression)" +msgstr "" -#: src/emit/emit.c:1577 +#: src/parse/check.c:101 src/parse/check.c:104 +msgid "can't infer type." +msgstr "" + +#: src/parse/check.c:143 +msgid "array init [...] contains incompatible types ..." +msgstr "" + +#: src/parse/check.c:157 +msgid "must provide values/expressions for array [...]" +msgstr "" + +#: src/parse/check.c:168 #, c-format -msgid "vararg.%s used after vararg.end. this is an error" -msgstr "" +msgid "non-static member '%s' used from static function." +msgstr "" -#: src/emit/emit.c:1711 src/emit/emit.c:1713 -msgid "invalid variadic use" -msgstr "" +#: src/parse/check.c:173 +#, c-format +msgid "non-global variable '%s' used from global function." +msgstr "" -#: src/emit/escape.c:29 +#: src/parse/check.c:182 #, c-format -msgid "unrecognized escape sequence '\\%c'" -msgstr "" +msgid "variable %s not legit at this point." +msgstr "" -#: src/emit/escape.c:40 -msgid "invalid: string ends with escape charactor '\\'" -msgstr "" +#: src/parse/check.c:200 +msgid "keyword 'this' can be used only inside class definition..." +msgstr "" -#: src/emit/escape.c:54 +#: src/parse/check.c:202 +msgid "keyword 'this' cannot be used inside static functions..." +msgstr "" + +#: src/parse/check.c:224 #, c-format -msgid "malformed octal escape sequence '\\%c%c%c'" -msgstr "" +msgid "" +"invalid type '%s' in %s value #%d...\n" +" (must be of type 'int' or 'float')" +msgstr "" -#: src/emit/escape.c:66 +#: src/parse/check.c:260 #, c-format -msgid "malformed hex escape sequence '\\%c%c'" -msgstr "" +msgid "extraneous component of %s value..." +msgstr "" -#: src/gwion.c:110 +#: src/parse/check.c:299 #, c-format -msgid "in class: '%s'\n" -msgstr "" +msgid "array index %i must be of type 'int', not '%s'" +msgstr "" + +#: src/parse/check.c:303 +msgid "invalid array acces expression." +msgstr "" -#: src/gwion.c:112 +#: src/parse/check.c:311 #, c-format -msgid "in function: '%s'\n" -msgstr "" +msgid "array subscripts (%i) exceeds defined dimension (%i)" +msgstr "" -#: src/lib/array.c:150 -msgid "array types do not match." -msgstr "" +#: src/parse/check.c:401 +msgid "invalid expression for function call." +msgstr "" -#: src/lib/array.c:157 -msgid "array depths do not match." -msgstr "" +#: src/parse/check.c:528 +msgid "arguments do not match for template call" +msgstr "" -#: src/lib/array.c:160 -msgid "do not provide array for 'xxx @=> declaration'." -msgstr "" +#: src/parse/check.c:532 +msgid "" +"and not\n" +" " +msgstr "" -#: src/lib/func.c:32 -msgid "calling fptr decl, this is forbidden." -msgstr "" +#: src/parse/check.c:545 +msgid "argument type(s) do not match for function. should be :" +msgstr "" -#: src/lib/func.c:104 -msgid "can't assign member function to non member function pointer" -msgstr "" +#: src/parse/check.c:553 +msgid "" +"and not:\n" +" void\n" +msgstr "" -#: src/lib/func.c:107 -msgid "can't assign non member function to member function pointer" -msgstr "" +#: src/parse/check.c:575 +msgid "" +"function is template. automatic type guess not fully implemented yet.\n" +" please provide template types. eg: ''" +msgstr "" -#: src/lib/func.c:109 -msgid "can't assign member function to a pointer of an other class" -msgstr "" +#: src/parse/check.c:606 +msgid "not able to guess types for template call." +msgstr "" -#: src/lib/func.c:112 -msgid "can't assign static function to member function pointer" -msgstr "" +#: src/parse/check.c:618 +msgid "function call using a non-function value" +msgstr "" -#: src/lib/func.c:114 -msgid "can't assign member function to static function pointer" -msgstr "" +#: src/parse/check.c:634 src/lib/func.c:164 +msgid "argument number does not match for lambda" +msgstr "" -#: src/lib/func.c:164 src/parse/check.c:633 -msgid "argument number does not match for lambda" -msgstr "" +#: src/parse/check.c:696 +msgid " template call of non-existant function." +msgstr "" -#: src/lib/func.c:251 -msgid "forks must be stored in a value:\n" - "fork xxx @=> Fork f" -msgstr "" +#: src/parse/check.c:698 +msgid "template call of non-function value." +msgstr "" -#: src/lib/func.c:264 -msgid "only function calls can be sporked..." -msgstr "" +#: src/parse/check.c:700 +msgid "template call of non-template function." +msgstr "" -#: src/lib/import.c:80 +#: src/parse/check.c:722 #, c-format -msgid "too many arguments for function '%s'." -msgstr "" +msgid "Invalid type '%s' in if expression condition." +msgstr "" -#: src/lib/import.c:107 +#: src/parse/check.c:726 #, c-format -msgid "illegal use of ',' outside of templating in name '%s'." -msgstr "" +msgid "incompatible types '%s' and '%s' in if expression..." +msgstr "" -#: src/lib/import.c:112 +#: src/parse/check.c:738 #, c-format -msgid "illegal templating in name '%s'." -msgstr "" +msgid "type '%s' does not have members - invalid use in dot expression of %s" +msgstr "" -#: src/lib/import.c:116 +#: src/parse/check.c:742 +msgid "keyword 'this' must be associated with object instance..." +msgstr "" + +#: src/parse/check.c:746 #, c-format -msgid "illegal character '%c' in name '%s'." -msgstr "" +msgid "class '%s' has no member '%s'" +msgstr "" -#: src/lib/import.c:135 +#: src/parse/check.c:754 #, c-format -msgid "illegal character '%c' in path '%s'." -msgstr "" +msgid "can't access private '%s' outside of class..." +msgstr "" -#: src/lib/import.c:145 +#: src/parse/check.c:760 #, c-format -msgid "path '%s' must not ini or end with '.'." -msgstr "" +msgid "cannot access member '%s.%s' without object instance..." +msgstr "" -#: src/lib/import.c:220 +#: src/parse/check.c:815 #, c-format -msgid "during import: class '%s' already imported." -msgstr "" +msgid "invalid type '%s' (in '%s' condition)" +msgstr "" -#: src/lib/import.c:236 -msgid "gwi_class_ext invoked before gwi_class_ini" -msgstr "" +#: src/parse/check.c:834 +msgid "" +"empty for loop condition......(note: explicitly use 'true' if it's the " +"intent)...(e.g., 'for(; true;){ /*...*/ }')" +msgstr "" -#: src/lib/import.c:240 -msgid "class extend already set" -msgstr "" +#: src/parse/check.c:847 +#, c-format +msgid "" +"type '%s' is not array.\n" +" This is not allowed in auto loop" +msgstr "" -#: src/lib/import.c:242 -msgid "class extend array can't be empty" -msgstr "" +#: src/parse/check.c:883 +msgid "conditional must be a single expression" +msgstr "" -#: src/lib/import.c:268 -msgid "import: too many class_end called." -msgstr "" +#: src/parse/check.c:891 +msgid "conditional must be of type 'int'..." +msgstr "" -#: src/lib/import.c:303 -#, c-format -msgid " ... during var import '%s.%s'." -msgstr "" +#: src/parse/check.c:919 +msgid "'return' statement found outside function definition" +msgstr "" -#: src/lib/import.c:398 +#: src/parse/check.c:925 +msgid "return types do not match for lambda expression" +msgstr "" + +#: src/parse/check.c:933 #, c-format -msgid " ... at argument '%i'" -msgstr "" +msgid "invalid return type '%s' -- expecting '%s'" +msgstr "" -#: src/lib/import.c:406 -msgid "array subscript specified incorrectly for built-in module" -msgstr "" +#: src/parse/check.c:943 +msgid "'" +msgstr "" -#: src/lib/import.c:438 +#: src/parse/check.c:954 #, c-format -msgid " ... during @ function import '%s' (type)." -msgstr "" +msgid "invalid type '%s' case expression. should be 'int'" +msgstr "" -#: src/lib/import.c:535 +#: src/parse/check.c:959 #, c-format -msgid " ... during fptr import '%s' (type)." -msgstr "" +msgid "'%s' is not constant." +msgstr "" -#: src/lib/import.c:561 +#: src/parse/check.c:973 src/parse/check.c:976 #, c-format -msgid "'%s' : invalid type" -msgstr "" +msgid "label '%s' used but not defined" +msgstr "" -#: src/lib/import.c:606 -msgid "union is empty" -msgstr "" +#: src/parse/check.c:1001 +msgid "In union, Objects must be declared as reference (use '@')" +msgstr "" -#: src/lib/object.c:109 +#: src/parse/check.c:1043 #, c-format -msgid "'%s' @=> '%s': not allowed" -msgstr "" +msgid "" +"function '%s.%s' ressembles '%s.%s' but cannot override...\n" +" ...(reason: '%s.%s' is declared as 'static')" +msgstr "" -#: src/lib/opfunc.c:32 +#: src/parse/check.c:1097 #, c-format -msgid "cannot assign '%s' on types '%s' and '%s'.\n" - " ... (reason: --- right-side operand is %s.)" -msgstr "" +msgid "global function '%s' already defined for those arguments" +msgstr "" -#: src/lib/opfunc.c:70 +#: src/parse/check.c:1110 #, c-format -msgid "'%s' must be applied to a unique expression" -msgstr "" +msgid "" +"function name '%s' conflicts with previously defined value...\n" +" from super class '%s'..." +msgstr "" -#: src/lib/opfunc.c:78 +#: src/parse/scan2.c:161 #, c-format -msgid "unary operator '%s' cannot be used on %s data-types." -msgstr "" +msgid "cant '%s' from/to a multi-variable declaration." +msgstr "" -#: src/lib/opfunc.c:88 +#: src/parse/scan2.c:266 #, c-format -msgid "post operator '%s' cannot be used on %s data-type." -msgstr "" +msgid "label '%s' already defined" +msgstr "" -#: src/lib/prim.c:133 -msgid "can't assign 'now' to 'now'" -msgstr "" - -#: src/lib/ptr.c:20 -msgid "left side operand is constant" -msgstr "" +#: src/parse/scan2.c:308 +#, c-format +msgid "function name '%s' is already used by another value" +msgstr "" -#: src/lib/ptr.c:45 -msgid "can't cast constant to Ptr" -msgstr "" +#: src/parse/scan2.c:311 +msgid "must overload template function with template" +msgstr "" -#: src/oo/env_utils.c:26 +#: src/parse/type_decl.c:63 #, c-format -msgid "'global' can only be used at %s scope." -msgstr "" +msgid "unknown type '%s'" +msgstr "" -#: src/oo/env_utils.c:32 -msgid "static/private/protect can only be used at class scope." -msgstr "" +#: src/parse/type_decl.c:70 +msgid "primitive types cannot be used as reference (@)...\n" +msgstr "" -#: src/oo/env_utils.c:69 +#: src/parse/type_utils.c:15 #, c-format -msgid "...(cannot find class '%s' in nspc '%s')" -msgstr "" +msgid "%s is reserved." +msgstr "" -#: src/oo/env_utils.c:83 src/parse/scan0.c:83 +#: src/parse/did_you_mean.c:58 src/parse/did_you_mean.c:69 #, c-format -msgid "'%s' already declared as variable of type '%s'." -msgstr "" +msgid " (did you mean '%s'?)\n" +msgstr "" -#: src/oo/switch.c:80 -msgid "Declaration in switch is prohibited." -msgstr "" - -#: src/oo/switch.c:118 -msgid "case found outside switch statement." -msgstr "" - -#: src/oo/switch.c:124 +#: src/parse/template.c:157 #, c-format -msgid "duplicated cases value %i" -msgstr "" - -#: src/oo/switch.c:146 -msgid "'default'case found outside switch statement." -msgstr "" - -#: src/oo/switch.c:149 -msgid "default case already defined" -msgstr "" +msgid "you must provide template types for type '%s'" +msgstr "" -#: src/oo/switch.c:181 -msgid "switch statement with no cases." -msgstr "" +#: src/parse/template.c:159 +msgid "invalid template types number" +msgstr "" -#: src/parse/check.c:28 +#: src/parse/template.c:191 #, c-format -msgid "incompatible array subscript type '%s' ..." -msgstr "" +msgid "type '%s' is not template. You should not provide template types" +msgstr "" -#: src/parse/check.c:37 +#: src/parse/scan0.c:32 #, c-format -msgid "in class '%s': '%s' has already been defined in parent class '%s' ..." -msgstr "" - -#: src/parse/check.c:58 -msgid "can't use non public typedef at global scope." -msgstr "" +msgid "type '%s' already defined" +msgstr "" -#: src/parse/check.c:61 -msgid "can't use non global fptr of other class." -msgstr "" - -#: src/parse/check.c:63 -msgid "can't use static variables for member function." -msgstr "" - -#: src/parse/check.c:73 +#: src/parse/scan0.c:83 src/oo/env_utils.c:83 #, c-format -msgid "Expression must be of type '%s', not '%s'\n" - "maybe you meant typeof(Expression)" -msgstr "" - -#: src/parse/check.c:101 src/parse/check.c:104 -msgid "can't infer type." -msgstr "" - -#: src/parse/check.c:143 -msgid "array init [...] contains incompatible types ..." -msgstr "" +msgid "'%s' already declared as variable of type '%s'." +msgstr "" -#: src/parse/check.c:157 -msgid "must provide values/expressions for array [...]" -msgstr "" - -#: src/parse/check.c:168 -#, c-format -msgid "non-static member '%s' used from static function." -msgstr "" +#: src/parse/scan1.c:21 +msgid "cannot declare variables of size '0' (i.e. 'void')..." +msgstr "" -#: src/parse/check.c:173 +#: src/parse/scan1.c:50 #, c-format -msgid "non-global variable '%s' used from global function." -msgstr "" +msgid "" +"%s declared inside %s\n" +". (make it a ref ?)" +msgstr "" -#: src/parse/check.c:182 +#: src/parse/scan1.c:69 #, c-format -msgid "variable %s not legit at this point." -msgstr "" - -#: src/parse/check.c:200 -msgid "keyword 'this' can be used only inside class definition..." -msgstr "" - -#: src/parse/check.c:202 -msgid "keyword 'this' cannot be used inside static functions..." -msgstr "" +msgid "Type '%s' is abstract, declare as ref. (use @)" +msgstr "" -#: src/parse/check.c:224 +#: src/parse/scan1.c:71 #, c-format -msgid "invalid type '%s' in %s value #%d...\n" - " (must be of type 'int' or 'float')" -msgstr "" +msgid "can't use private type %s" +msgstr "" -#: src/parse/check.c:260 +#: src/parse/scan1.c:73 #, c-format -msgid "extraneous component of %s value..." -msgstr "" +msgid "can't use protected type %s" +msgstr "" -#: src/parse/check.c:299 +#: src/parse/scan1.c:93 #, c-format -msgid "array index %i must be of type 'int', not '%s'" -msgstr "" +msgid "variable %s has already been defined in the same scope..." +msgstr "" -#: src/parse/check.c:303 -msgid "invalid array acces expression." -msgstr "" +#: src/parse/scan1.c:98 +msgid "" +"ref array must not have array expression.\n" +"e.g: int @my_array[];\n" +"not: @int my_array[2];" +msgstr "" -#: src/parse/check.c:311 +#: src/parse/scan1.c:148 #, c-format -msgid "array subscripts (%i) exceeds defined dimension (%i)" -msgstr "" +msgid "post operator '%s' cannot be used on non-mutable data-type..." +msgstr "" -#: src/parse/check.c:401 -msgid "invalid expression for function call." -msgstr "" +#: src/parse/scan1.c:333 +msgid "dtor must be in class def!!" +msgstr "" -#: src/parse/check.c:528 -msgid "arguments do not match for template call" -msgstr "" +#: src/parse/scan1.c:359 +#, c-format +msgid "recursive (%s <= %s) class declaration." +msgstr "" -#: src/parse/check.c:532 -msgid "and not\n" - " " -msgstr "" +#: src/parse/scan1.c:362 +#, c-format +msgid "cannot extend primitive type '%s'" +msgstr "" -#: src/parse/check.c:545 -msgid "argument type(s) do not match for function. should be :" -msgstr "" +#: src/parse/scan1.c:366 +msgid "can't use ref type in class extend" +msgstr "" -#: src/parse/check.c:553 -msgid "and not:\n" - " void\n" -msgstr "" +#: src/parse/operator.c:79 +#, c-format +msgid "operator '%s', for type '%s' and '%s' already imported" +msgstr "" -#: src/parse/check.c:575 -msgid "function is template. automatic type guess not fully implemented " - "yet.\n" - " please provide template types. eg: ''" -msgstr "" +#: src/parse/operator.c:157 +#, c-format +msgid "%s %s %s: no match found for operator" +msgstr "" -#: src/parse/check.c:606 -msgid "not able to guess types for template call." -msgstr "" +#: src/emit/emit.c:509 +msgid " ... in 'gack' expression." +msgstr "" -#: src/parse/check.c:615 -msgid "function call using a non-existing function" -msgstr "" +#: src/emit/emit.c:1291 +msgid "illegal case" +msgstr "" -#: src/parse/check.c:617 -msgid "function call using a non-function value" -msgstr "" +#: src/emit/emit.c:1294 +#, c-format +msgid "label '%s' defined but not used." +msgstr "" -#: src/parse/check.c:695 -msgid " template call of non-existant function." -msgstr "" +#: src/emit/emit.c:1299 +msgid "you are trying to use a upper label." +msgstr "" -#: src/parse/check.c:697 -msgid "template call of non-function value." -msgstr "" +#: src/emit/emit.c:1564 +msgid "vararg.start already used. this is an error" +msgstr "" -#: src/parse/check.c:699 -msgid "template call of non-template function." -msgstr "" +#: src/emit/emit.c:1570 +msgid "vararg.start not used before vararg.end. this is an error" +msgstr "" -#: src/parse/check.c:721 +#: src/emit/emit.c:1575 #, c-format -msgid "Invalid type '%s' in if expression condition." -msgstr "" +msgid "vararg.%s used before vararg.start. this is an error" +msgstr "" -#: src/parse/check.c:725 +#: src/emit/emit.c:1577 #, c-format -msgid "incompatible types '%s' and '%s' in if expression..." -msgstr "" +msgid "vararg.%s used after vararg.end. this is an error" +msgstr "" -#: src/parse/check.c:737 +#: src/emit/emit.c:1711 src/emit/emit.c:1713 +msgid "invalid variadic use" +msgstr "" + +#: src/emit/escape.c:29 #, c-format -msgid "type '%s' does not have members - invalid use in dot expression of %s" -msgstr "" +msgid "unrecognized escape sequence '\\%c'" +msgstr "" -#: src/parse/check.c:741 -msgid "keyword 'this' must be associated with object instance..." -msgstr "" +#: src/emit/escape.c:40 +msgid "invalid: string ends with escape charactor '\\'" +msgstr "" -#: src/parse/check.c:745 +#: src/emit/escape.c:54 #, c-format -msgid "class '%s' has no member '%s'" -msgstr "" +msgid "malformed octal escape sequence '\\%c%c%c'" +msgstr "" -#: src/parse/check.c:753 +#: src/emit/escape.c:66 #, c-format -msgid "can't access private '%s' outside of class..." -msgstr "" +msgid "malformed hex escape sequence '\\%c%c'" +msgstr "" -#: src/parse/check.c:759 +#: src/oo/env_utils.c:26 #, c-format -msgid "cannot access member '%s.%s' without object instance..." -msgstr "" +msgid "'global' can only be used at %s scope." +msgstr "" + +#: src/oo/env_utils.c:32 +msgid "static/private/protect can only be used at class scope." +msgstr "" -#: src/parse/check.c:814 +#: src/oo/env_utils.c:69 #, c-format -msgid "invalid type '%s' (in '%s' condition)" -msgstr "" +msgid "...(cannot find class '%s' in nspc '%s')" +msgstr "" -#: src/parse/check.c:833 -msgid "empty for loop condition......(note: explicitly use 'true' if it's " - "the intent)...(e.g., 'for(; true;){ /*...*/ }')" -msgstr "" +#: src/oo/switch.c:80 +msgid "Declaration in switch is prohibited." +msgstr "" -#: src/parse/check.c:846 -#, c-format -msgid "type '%s' is not array.\n" - " This is not allowed in auto loop" -msgstr "" +#: src/oo/switch.c:118 +msgid "case found outside switch statement." +msgstr "" -#: src/parse/check.c:882 -msgid "conditional must be a single expression" -msgstr "" +#: src/oo/switch.c:124 +#, c-format +msgid "duplicated cases value %i" +msgstr "" -#: src/parse/check.c:890 -msgid "conditional must be of type 'int'..." -msgstr "" +#: src/oo/switch.c:146 +msgid "'default'case found outside switch statement." +msgstr "" -#: src/parse/check.c:918 -msgid "'return' statement found outside function definition" -msgstr "" +#: src/oo/switch.c:149 +msgid "default case already defined" +msgstr "" -#: src/parse/check.c:924 -msgid "return types do not match for lambda expression" -msgstr "" +#: src/oo/switch.c:181 +msgid "switch statement with no cases." +msgstr "" -#: src/parse/check.c:932 -#, c-format -msgid "invalid return type '%s' -- expecting '%s'" -msgstr "" +#: src/vm/vm.c:691 +msgid " ... at index [%" +msgstr "" -#: src/parse/check.c:942 -msgid "'" -msgstr "" +#: src/vm/vm.c:692 +msgid " ... at dimension [%" +msgstr "" -#: src/parse/check.c:953 +#: src/lib/opfunc.c:32 #, c-format -msgid "invalid type '%s' case expression. should be 'int'" -msgstr "" +msgid "" +"cannot assign '%s' on types '%s' and '%s'.\n" +" ... (reason: --- right-side operand is %s.)" +msgstr "" -#: src/parse/check.c:958 +#: src/lib/opfunc.c:70 #, c-format -msgid "'%s' is not constant." -msgstr "" +msgid "'%s' must be applied to a unique expression" +msgstr "" -#: src/parse/check.c:972 src/parse/check.c:975 +#: src/lib/opfunc.c:78 #, c-format -msgid "label '%s' used but not defined" -msgstr "" +msgid "unary operator '%s' cannot be used on %s data-types." +msgstr "" -#: src/parse/check.c:1000 -msgid "In union, Objects must be declared as reference (use '@')" -msgstr "" - -#: src/parse/check.c:1042 +#: src/lib/opfunc.c:88 #, c-format -msgid "function '%s.%s' ressembles '%s.%s' but cannot override...\n" - " ...(reason: '%s.%s' is declared as 'static')" -msgstr "" +msgid "post operator '%s' cannot be used on %s data-type." +msgstr "" -#: src/parse/check.c:1096 +#: src/lib/object.c:109 #, c-format -msgid "global function '%s' already defined for those arguments" -msgstr "" +msgid "'%s' @=> '%s': not allowed" +msgstr "" -#: src/parse/check.c:1109 -#, c-format -msgid "function name '%s' conflicts with previously defined value...\n" - " from super class '%s'..." -msgstr "" +#: src/lib/ptr.c:20 +msgid "left side operand is constant" +msgstr "" -#: src/parse/did_you_mean.c:58 src/parse/did_you_mean.c:69 -#, c-format -msgid " (did you mean '%s'?)\n" -msgstr "" +#: src/lib/ptr.c:45 +msgid "can't cast constant to Ptr" +msgstr "" -#: src/parse/operator.c:79 +#: src/lib/import.c:80 #, c-format -msgid "operator '%s', for type '%s' and '%s' already imported" -msgstr "" +msgid "too many arguments for function '%s'." +msgstr "" -#: src/parse/operator.c:157 +#: src/lib/import.c:107 #, c-format -msgid "%s %s %s: no match found for operator" -msgstr "" +msgid "illegal use of ',' outside of templating in name '%s'." +msgstr "" -#: src/parse/scan0.c:32 +#: src/lib/import.c:112 #, c-format -msgid "type '%s' already defined" -msgstr "" - -#: src/parse/scan1.c:21 -msgid "cannot declare variables of size '0' (i.e. 'void')..." -msgstr "" +msgid "illegal templating in name '%s'." +msgstr "" -#: src/parse/scan1.c:50 +#: src/lib/import.c:116 #, c-format -msgid "%s declared inside %s\n" - ". (make it a ref ?)" -msgstr "" +msgid "illegal character '%c' in name '%s'." +msgstr "" -#: src/parse/scan1.c:69 +#: src/lib/import.c:135 #, c-format -msgid "Type '%s' is abstract, declare as ref. (use @)" -msgstr "" +msgid "illegal character '%c' in path '%s'." +msgstr "" -#: src/parse/scan1.c:71 +#: src/lib/import.c:145 #, c-format -msgid "can't use private type %s" -msgstr "" +msgid "path '%s' must not ini or end with '.'." +msgstr "" -#: src/parse/scan1.c:73 +#: src/lib/import.c:220 #, c-format -msgid "can't use protected type %s" -msgstr "" +msgid "during import: class '%s' already imported." +msgstr "" -#: src/parse/scan1.c:93 -#, c-format -msgid "variable %s has already been defined in the same scope..." -msgstr "" +#: src/lib/import.c:236 +msgid "gwi_class_ext invoked before gwi_class_ini" +msgstr "" -#: src/parse/scan1.c:98 -msgid "ref array must not have array expression.\n" - "e.g: int @my_array[];\n" - "not: @int my_array[2];" -msgstr "" +#: src/lib/import.c:240 +msgid "class extend already set" +msgstr "" -#: src/parse/scan1.c:148 -#, c-format -msgid "post operator '%s' cannot be used on non-mutable data-type..." -msgstr "" +#: src/lib/import.c:242 +msgid "class extend array can't be empty" +msgstr "" -#: src/parse/scan1.c:333 -msgid "dtor must be in class def!!" -msgstr "" +#: src/lib/import.c:268 +msgid "import: too many class_end called." +msgstr "" -#: src/parse/scan1.c:359 +#: src/lib/import.c:303 #, c-format -msgid "recursive (%s <= %s) class declaration." -msgstr "" +msgid " ... during var import '%s.%s'." +msgstr "" -#: src/parse/scan1.c:362 +#: src/lib/import.c:398 #, c-format -msgid "cannot extend primitive type '%s'" -msgstr "" +msgid " ... at argument '%i'" +msgstr "" -#: src/parse/scan1.c:366 -msgid "can't use ref type in class extend" -msgstr "" +#: src/lib/import.c:406 +msgid "array subscript specified incorrectly for built-in module" +msgstr "" -#: src/parse/scan2.c:161 +#: src/lib/import.c:438 #, c-format -msgid "cant '%s' from/to a multi-variable declaration." -msgstr "" +msgid " ... during @ function import '%s' (type)." +msgstr "" -#: src/parse/scan2.c:266 +#: src/lib/import.c:535 #, c-format -msgid "label '%s' already defined" -msgstr "" +msgid " ... during fptr import '%s' (type)." +msgstr "" -#: src/parse/scan2.c:308 +#: src/lib/import.c:561 #, c-format -msgid "function name '%s' is already used by another value" -msgstr "" +msgid "'%s' : invalid type" +msgstr "" -#: src/parse/scan2.c:311 -msgid "must overload template function with template" -msgstr "" +#: src/lib/import.c:606 +msgid "union is empty" +msgstr "" -#: src/parse/scan2.c:527 -#, c-format -msgid "'%s' already declared as type" -msgstr "" +#: src/lib/prim.c:133 +msgid "can't assign 'now' to 'now'" +msgstr "" -#: src/parse/template.c:157 -#, c-format -msgid "you must provide template types for type '%s'" -msgstr "" +#: src/lib/func.c:32 +msgid "calling fptr decl, this is forbidden." +msgstr "" -#: src/parse/template.c:159 -msgid "invalid template types number" -msgstr "" +#: src/lib/func.c:104 +msgid "can't assign member function to non member function pointer" +msgstr "" -#: src/parse/template.c:191 -#, c-format -msgid "type '%s' is not template. You should not provide template types" -msgstr "" +#: src/lib/func.c:107 +msgid "can't assign non member function to member function pointer" +msgstr "" -#: src/parse/type_decl.c:63 -#, c-format -msgid "unknown type '%s'" -msgstr "" +#: src/lib/func.c:109 +msgid "can't assign member function to a pointer of an other class" +msgstr "" -#: src/parse/type_decl.c:70 -msgid "primitive types cannot be used as reference (@)...\n" -msgstr "" +#: src/lib/func.c:112 +msgid "can't assign static function to member function pointer" +msgstr "" -#: src/parse/type_utils.c:15 -#, c-format -msgid "%s is reserved." -msgstr "" +#: src/lib/func.c:114 +msgid "can't assign member function to static function pointer" +msgstr "" -#: src/plug.c:69 -#, c-format -msgid "error in %s." -msgstr "" +#: src/lib/func.c:251 +msgid "" +"forks must be stored in a value:\n" +"fork xxx @=> Fork f" +msgstr "" -#: src/vm/vm.c:691 -msgid " ... at index [%" -msgstr "" +#: src/lib/func.c:264 +msgid "only function calls can be sporked..." +msgstr "" -#: src/vm/vm.c:692 -msgid " ... at dimension [%" -msgstr "" +#: src/lib/array.c:150 +msgid "array types do not match." +msgstr "" + +#: src/lib/array.c:157 +msgid "array depths do not match." +msgstr "" + +#: src/lib/array.c:160 +msgid "do not provide array for 'xxx @=> declaration'." +msgstr "" diff --git a/po/fr/gwion.po~ b/po/fr/gwion.po~ new file mode 100644 index 00000000..3a253805 --- /dev/null +++ b/po/fr/gwion.po~ @@ -0,0 +1,705 @@ +# Translations for gwion +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "Project-Id-Version: PACKAGE VERSION\n" + "Report-Msgid-Bugs-To: \n" + "POT-Creation-Date: 2019-07-03 13:59+0200\n" + "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" + "Last-Translator: FULL NAME \n" + "Language-Team: LANGUAGE \n" + "Language: \n" + "MIME-Version: 1.0\n" + "Content-Type: text/plain; charset=UTF-8\n" + "Content-Transfer-Encoding: 8bit\n" + +#: src/compile.c:77 +#, c-format +msgid "'%s': no such file\n" +msgstr "" + +#: src/compile.c:100 +#, c-format +msgid "while compiling file '%s'\n" +msgstr "" + +#: src/emit/emit.c:509 +msgid " ... in 'gack' expression." +msgstr "" + +#: src/emit/emit.c:1291 +msgid "illegal case" +msgstr "" + +#: src/emit/emit.c:1294 +#, c-format +msgid "label '%s' defined but not used." +msgstr "" + +#: src/emit/emit.c:1299 +msgid "you are trying to use a upper label." +msgstr "" + +#: src/emit/emit.c:1564 +msgid "vararg.start already used. this is an error" +msgstr "" + +#: src/emit/emit.c:1570 +msgid "vararg.start not used before vararg.end. this is an error" +msgstr "" + +#: src/emit/emit.c:1575 +#, c-format +msgid "vararg.%s used before vararg.start. this is an error" +msgstr "" + +#: src/emit/emit.c:1577 +#, c-format +msgid "vararg.%s used after vararg.end. this is an error" +msgstr "" + +#: src/emit/emit.c:1711 src/emit/emit.c:1713 +msgid "invalid variadic use" +msgstr "" + +#: src/emit/escape.c:29 +#, c-format +msgid "unrecognized escape sequence '\\%c'" +msgstr "" + +#: src/emit/escape.c:40 +msgid "invalid: string ends with escape charactor '\\'" +msgstr "" + +#: src/emit/escape.c:54 +#, c-format +msgid "malformed octal escape sequence '\\%c%c%c'" +msgstr "" + +#: src/emit/escape.c:66 +#, c-format +msgid "malformed hex escape sequence '\\%c%c'" +msgstr "" + +#: src/gwion.c:110 +#, c-format +msgid "in class: '%s'\n" +msgstr "" + +#: src/gwion.c:112 +#, c-format +msgid "in function: '%s'\n" +msgstr "" + +#: src/lib/array.c:150 +msgid "array types do not match." +msgstr "" + +#: src/lib/array.c:157 +msgid "array depths do not match." +msgstr "" + +#: src/lib/array.c:160 +msgid "do not provide array for 'xxx @=> declaration'." +msgstr "" + +#: src/lib/func.c:32 +msgid "calling fptr decl, this is forbidden." +msgstr "" + +#: src/lib/func.c:104 +msgid "can't assign member function to non member function pointer" +msgstr "" + +#: src/lib/func.c:107 +msgid "can't assign non member function to member function pointer" +msgstr "" + +#: src/lib/func.c:109 +msgid "can't assign member function to a pointer of an other class" +msgstr "" + +#: src/lib/func.c:112 +msgid "can't assign static function to member function pointer" +msgstr "" + +#: src/lib/func.c:114 +msgid "can't assign member function to static function pointer" +msgstr "" + +#: src/lib/func.c:164 src/parse/check.c:633 +msgid "argument number does not match for lambda" +msgstr "" + +#: src/lib/func.c:251 +msgid "forks must be stored in a value:\n" + "fork xxx @=> Fork f" +msgstr "" + +#: src/lib/func.c:264 +msgid "only function calls can be sporked..." +msgstr "" + +#: src/lib/import.c:80 +#, c-format +msgid "too many arguments for function '%s'." +msgstr "" + +#: src/lib/import.c:107 +#, c-format +msgid "illegal use of ',' outside of templating in name '%s'." +msgstr "" + +#: src/lib/import.c:112 +#, c-format +msgid "illegal templating in name '%s'." +msgstr "" + +#: src/lib/import.c:116 +#, c-format +msgid "illegal character '%c' in name '%s'." +msgstr "" + +#: src/lib/import.c:135 +#, c-format +msgid "illegal character '%c' in path '%s'." +msgstr "" + +#: src/lib/import.c:145 +#, c-format +msgid "path '%s' must not ini or end with '.'." +msgstr "" + +#: src/lib/import.c:220 +#, c-format +msgid "during import: class '%s' already imported." +msgstr "" + +#: src/lib/import.c:236 +msgid "gwi_class_ext invoked before gwi_class_ini" +msgstr "" + +#: src/lib/import.c:240 +msgid "class extend already set" +msgstr "" + +#: src/lib/import.c:242 +msgid "class extend array can't be empty" +msgstr "" + +#: src/lib/import.c:268 +msgid "import: too many class_end called." +msgstr "" + +#: src/lib/import.c:303 +#, c-format +msgid " ... during var import '%s.%s'." +msgstr "" + +#: src/lib/import.c:398 +#, c-format +msgid " ... at argument '%i'" +msgstr "" + +#: src/lib/import.c:406 +msgid "array subscript specified incorrectly for built-in module" +msgstr "" + +#: src/lib/import.c:438 +#, c-format +msgid " ... during @ function import '%s' (type)." +msgstr "" + +#: src/lib/import.c:535 +#, c-format +msgid " ... during fptr import '%s' (type)." +msgstr "" + +#: src/lib/import.c:561 +#, c-format +msgid "'%s' : invalid type" +msgstr "" + +#: src/lib/import.c:606 +msgid "union is empty" +msgstr "" + +#: src/lib/object.c:109 +#, c-format +msgid "'%s' @=> '%s': not allowed" +msgstr "" + +#: src/lib/opfunc.c:32 +#, c-format +msgid "cannot assign '%s' on types '%s' and '%s'.\n" + " ... (reason: --- right-side operand is %s.)" +msgstr "" + +#: src/lib/opfunc.c:70 +#, c-format +msgid "'%s' must be applied to a unique expression" +msgstr "" + +#: src/lib/opfunc.c:78 +#, c-format +msgid "unary operator '%s' cannot be used on %s data-types." +msgstr "" + +#: src/lib/opfunc.c:88 +#, c-format +msgid "post operator '%s' cannot be used on %s data-type." +msgstr "" + +#: src/lib/prim.c:133 +msgid "can't assign 'now' to 'now'" +msgstr "" + +#: src/lib/ptr.c:20 +msgid "left side operand is constant" +msgstr "" + +#: src/lib/ptr.c:45 +msgid "can't cast constant to Ptr" +msgstr "" + +#: src/oo/env_utils.c:26 +#, c-format +msgid "'global' can only be used at %s scope." +msgstr "" + +#: src/oo/env_utils.c:32 +msgid "static/private/protect can only be used at class scope." +msgstr "" + +#: src/oo/env_utils.c:69 +#, c-format +msgid "...(cannot find class '%s' in nspc '%s')" +msgstr "" + +#: src/oo/env_utils.c:83 src/parse/scan0.c:83 +#, c-format +msgid "'%s' already declared as variable of type '%s'." +msgstr "" + +#: src/oo/switch.c:80 +msgid "Declaration in switch is prohibited." +msgstr "" + +#: src/oo/switch.c:118 +msgid "case found outside switch statement." +msgstr "" + +#: src/oo/switch.c:124 +#, c-format +msgid "duplicated cases value %i" +msgstr "" + +#: src/oo/switch.c:146 +msgid "'default'case found outside switch statement." +msgstr "" + +#: src/oo/switch.c:149 +msgid "default case already defined" +msgstr "" + +#: src/oo/switch.c:181 +msgid "switch statement with no cases." +msgstr "" + +#: src/parse/check.c:28 +#, c-format +msgid "incompatible array subscript type '%s' ..." +msgstr "" + +#: src/parse/check.c:37 +#, c-format +msgid "in class '%s': '%s' has already been defined in parent class '%s' ..." +msgstr "" + +#: src/parse/check.c:58 +msgid "can't use non public typedef at global scope." +msgstr "" + +#: src/parse/check.c:61 +msgid "can't use non global fptr of other class." +msgstr "" + +#: src/parse/check.c:63 +msgid "can't use static variables for member function." +msgstr "" + +#: src/parse/check.c:73 +#, c-format +msgid "Expression must be of type '%s', not '%s'\n" + "maybe you meant typeof(Expression)" +msgstr "" + +#: src/parse/check.c:101 src/parse/check.c:104 +msgid "can't infer type." +msgstr "" + +#: src/parse/check.c:143 +msgid "array init [...] contains incompatible types ..." +msgstr "" + +#: src/parse/check.c:157 +msgid "must provide values/expressions for array [...]" +msgstr "" + +#: src/parse/check.c:168 +#, c-format +msgid "non-static member '%s' used from static function." +msgstr "" + +#: src/parse/check.c:173 +#, c-format +msgid "non-global variable '%s' used from global function." +msgstr "" + +#: src/parse/check.c:182 +#, c-format +msgid "variable %s not legit at this point." +msgstr "" + +#: src/parse/check.c:200 +msgid "keyword 'this' can be used only inside class definition..." +msgstr "" + +#: src/parse/check.c:202 +msgid "keyword 'this' cannot be used inside static functions..." +msgstr "" + +#: src/parse/check.c:224 +#, c-format +msgid "invalid type '%s' in %s value #%d...\n" + " (must be of type 'int' or 'float')" +msgstr "" + +#: src/parse/check.c:260 +#, c-format +msgid "extraneous component of %s value..." +msgstr "" + +#: src/parse/check.c:299 +#, c-format +msgid "array index %i must be of type 'int', not '%s'" +msgstr "" + +#: src/parse/check.c:303 +msgid "invalid array acces expression." +msgstr "" + +#: src/parse/check.c:311 +#, c-format +msgid "array subscripts (%i) exceeds defined dimension (%i)" +msgstr "" + +#: src/parse/check.c:401 +msgid "invalid expression for function call." +msgstr "" + +#: src/parse/check.c:528 +msgid "arguments do not match for template call" +msgstr "" + +#: src/parse/check.c:532 +msgid "and not\n" + " " +msgstr "" + +#: src/parse/check.c:545 +msgid "argument type(s) do not match for function. should be :" +msgstr "" + +#: src/parse/check.c:553 +msgid "and not:\n" + " void\n" +msgstr "" + +#: src/parse/check.c:575 +msgid "function is template. automatic type guess not fully implemented " + "yet.\n" + " please provide template types. eg: ''" +msgstr "" + +#: src/parse/check.c:606 +msgid "not able to guess types for template call." +msgstr "" + +#: src/parse/check.c:615 +msgid "function call using a non-existing function" +msgstr "" + +#: src/parse/check.c:617 +msgid "function call using a non-function value" +msgstr "" + +#: src/parse/check.c:695 +msgid " template call of non-existant function." +msgstr "" + +#: src/parse/check.c:697 +msgid "template call of non-function value." +msgstr "" + +#: src/parse/check.c:699 +msgid "template call of non-template function." +msgstr "" + +#: src/parse/check.c:721 +#, c-format +msgid "Invalid type '%s' in if expression condition." +msgstr "" + +#: src/parse/check.c:725 +#, c-format +msgid "incompatible types '%s' and '%s' in if expression..." +msgstr "" + +#: src/parse/check.c:737 +#, c-format +msgid "type '%s' does not have members - invalid use in dot expression of %s" +msgstr "" + +#: src/parse/check.c:741 +msgid "keyword 'this' must be associated with object instance..." +msgstr "" + +#: src/parse/check.c:745 +#, c-format +msgid "class '%s' has no member '%s'" +msgstr "" + +#: src/parse/check.c:753 +#, c-format +msgid "can't access private '%s' outside of class..." +msgstr "" + +#: src/parse/check.c:759 +#, c-format +msgid "cannot access member '%s.%s' without object instance..." +msgstr "" + +#: src/parse/check.c:814 +#, c-format +msgid "invalid type '%s' (in '%s' condition)" +msgstr "" + +#: src/parse/check.c:833 +msgid "empty for loop condition......(note: explicitly use 'true' if it's " + "the intent)...(e.g., 'for(; true;){ /*...*/ }')" +msgstr "" + +#: src/parse/check.c:846 +#, c-format +msgid "type '%s' is not array.\n" + " This is not allowed in auto loop" +msgstr "" + +#: src/parse/check.c:882 +msgid "conditional must be a single expression" +msgstr "" + +#: src/parse/check.c:890 +msgid "conditional must be of type 'int'..." +msgstr "" + +#: src/parse/check.c:918 +msgid "'return' statement found outside function definition" +msgstr "" + +#: src/parse/check.c:924 +msgid "return types do not match for lambda expression" +msgstr "" + +#: src/parse/check.c:932 +#, c-format +msgid "invalid return type '%s' -- expecting '%s'" +msgstr "" + +#: src/parse/check.c:942 +msgid "'" +msgstr "" + +#: src/parse/check.c:953 +#, c-format +msgid "invalid type '%s' case expression. should be 'int'" +msgstr "" + +#: src/parse/check.c:958 +#, c-format +msgid "'%s' is not constant." +msgstr "" + +#: src/parse/check.c:972 src/parse/check.c:975 +#, c-format +msgid "label '%s' used but not defined" +msgstr "" + +#: src/parse/check.c:1000 +msgid "In union, Objects must be declared as reference (use '@')" +msgstr "" + +#: src/parse/check.c:1042 +#, c-format +msgid "function '%s.%s' ressembles '%s.%s' but cannot override...\n" + " ...(reason: '%s.%s' is declared as 'static')" +msgstr "" + +#: src/parse/check.c:1096 +#, c-format +msgid "global function '%s' already defined for those arguments" +msgstr "" + +#: src/parse/check.c:1109 +#, c-format +msgid "function name '%s' conflicts with previously defined value...\n" + " from super class '%s'..." +msgstr "" + +#: src/parse/did_you_mean.c:58 src/parse/did_you_mean.c:69 +#, c-format +msgid " (did you mean '%s'?)\n" +msgstr "" + +#: src/parse/operator.c:79 +#, c-format +msgid "operator '%s', for type '%s' and '%s' already imported" +msgstr "" + +#: src/parse/operator.c:157 +#, c-format +msgid "%s %s %s: no match found for operator" +msgstr "" + +#: src/parse/scan0.c:32 +#, c-format +msgid "type '%s' already defined" +msgstr "" + +#: src/parse/scan1.c:21 +msgid "cannot declare variables of size '0' (i.e. 'void')..." +msgstr "" + +#: src/parse/scan1.c:50 +#, c-format +msgid "%s declared inside %s\n" + ". (make it a ref ?)" +msgstr "" + +#: src/parse/scan1.c:69 +#, c-format +msgid "Type '%s' is abstract, declare as ref. (use @)" +msgstr "" + +#: src/parse/scan1.c:71 +#, c-format +msgid "can't use private type %s" +msgstr "" + +#: src/parse/scan1.c:73 +#, c-format +msgid "can't use protected type %s" +msgstr "" + +#: src/parse/scan1.c:93 +#, c-format +msgid "variable %s has already been defined in the same scope..." +msgstr "" + +#: src/parse/scan1.c:98 +msgid "ref array must not have array expression.\n" + "e.g: int @my_array[];\n" + "not: @int my_array[2];" +msgstr "" + +#: src/parse/scan1.c:148 +#, c-format +msgid "post operator '%s' cannot be used on non-mutable data-type..." +msgstr "" + +#: src/parse/scan1.c:333 +msgid "dtor must be in class def!!" +msgstr "" + +#: src/parse/scan1.c:359 +#, c-format +msgid "recursive (%s <= %s) class declaration." +msgstr "" + +#: src/parse/scan1.c:362 +#, c-format +msgid "cannot extend primitive type '%s'" +msgstr "" + +#: src/parse/scan1.c:366 +msgid "can't use ref type in class extend" +msgstr "" + +#: src/parse/scan2.c:161 +#, c-format +msgid "cant '%s' from/to a multi-variable declaration." +msgstr "" + +#: src/parse/scan2.c:266 +#, c-format +msgid "label '%s' already defined" +msgstr "" + +#: src/parse/scan2.c:308 +#, c-format +msgid "function name '%s' is already used by another value" +msgstr "" + +#: src/parse/scan2.c:311 +msgid "must overload template function with template" +msgstr "" + +#: src/parse/scan2.c:527 +#, c-format +msgid "'%s' already declared as type" +msgstr "" + +#: src/parse/template.c:157 +#, c-format +msgid "you must provide template types for type '%s'" +msgstr "" + +#: src/parse/template.c:159 +msgid "invalid template types number" +msgstr "" + +#: src/parse/template.c:191 +#, c-format +msgid "type '%s' is not template. You should not provide template types" +msgstr "" + +#: src/parse/type_decl.c:63 +#, c-format +msgid "unknown type '%s'" +msgstr "" + +#: src/parse/type_decl.c:70 +msgid "primitive types cannot be used as reference (@)...\n" +msgstr "" + +#: src/parse/type_utils.c:15 +#, c-format +msgid "%s is reserved." +msgstr "" + +#: src/plug.c:69 +#, c-format +msgid "error in %s." +msgstr "" + +#: src/vm/vm.c:691 +msgid " ... at index [%" +msgstr "" + +#: src/vm/vm.c:692 +msgid " ... at dimension [%" +msgstr "" diff --git a/po/gwion.pot b/po/gwion.pot index 01a15dc1..e684b1cc 100644 --- a/po/gwion.pot +++ b/po/gwion.pot @@ -1,4 +1,4 @@ -# Translations for gwion +# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. @@ -7,7 +7,7 @@ msgid "" msgstr "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" - "POT-Creation-Date: 2019-07-03 13:59+0200\n" + "POT-Creation-Date: 2019-07-04 22:27+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,6 +16,21 @@ msgstr "Project-Id-Version: PACKAGE VERSION\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" +#: src/gwion.c:113 +#, c-format +msgid "in class: '%s'\n" +msgstr "" + +#: src/gwion.c:115 +#, c-format +msgid "in function: '%s'\n" +msgstr "" + +#: src/plug.c:69 +#, c-format +msgid "error in %s." +msgstr "" + #: src/compile.c:77 #, c-format msgid "'%s': no such file\n" @@ -26,680 +41,656 @@ msgstr "" msgid "while compiling file '%s'\n" msgstr "" -#: src/emit/emit.c:509 -msgid " ... in 'gack' expression." +#: src/parse/check.c:28 +#, c-format +msgid "incompatible array subscript type '%s' ..." msgstr "" -#: src/emit/emit.c:1291 -msgid "illegal case" +#: src/parse/check.c:37 +#, c-format +msgid "in class '%s': '%s' has already been defined in parent class '%s' ..." msgstr "" -#: src/emit/emit.c:1294 +#: src/parse/check.c:58 +msgid "can't use non public typedef at global scope." +msgstr "" + +#: src/parse/check.c:61 +msgid "can't use non global fptr of other class." +msgstr "" + +#: src/parse/check.c:63 +msgid "can't use static variables for member function." +msgstr "" + +#: src/parse/check.c:73 #, c-format -msgid "label '%s' defined but not used." +msgid "Expression must be of type '%s', not '%s'\n" + "maybe you meant typeof(Expression)" msgstr "" -#: src/emit/emit.c:1299 -msgid "you are trying to use a upper label." +#: src/parse/check.c:101 src/parse/check.c:104 +msgid "can't infer type." msgstr "" -#: src/emit/emit.c:1564 -msgid "vararg.start already used. this is an error" +#: src/parse/check.c:143 +msgid "array init [...] contains incompatible types ..." msgstr "" -#: src/emit/emit.c:1570 -msgid "vararg.start not used before vararg.end. this is an error" +#: src/parse/check.c:157 +msgid "must provide values/expressions for array [...]" msgstr "" -#: src/emit/emit.c:1575 +#: src/parse/check.c:168 #, c-format -msgid "vararg.%s used before vararg.start. this is an error" +msgid "non-static member '%s' used from static function." msgstr "" -#: src/emit/emit.c:1577 +#: src/parse/check.c:173 #, c-format -msgid "vararg.%s used after vararg.end. this is an error" +msgid "non-global variable '%s' used from global function." msgstr "" -#: src/emit/emit.c:1711 src/emit/emit.c:1713 -msgid "invalid variadic use" +#: src/parse/check.c:182 +#, c-format +msgid "variable %s not legit at this point." msgstr "" -#: src/emit/escape.c:29 -#, c-format -msgid "unrecognized escape sequence '\\%c'" +#: src/parse/check.c:200 +msgid "keyword 'this' can be used only inside class definition..." msgstr "" -#: src/emit/escape.c:40 -msgid "invalid: string ends with escape charactor '\\'" +#: src/parse/check.c:202 +msgid "keyword 'this' cannot be used inside static functions..." msgstr "" -#: src/emit/escape.c:54 +#: src/parse/check.c:224 #, c-format -msgid "malformed octal escape sequence '\\%c%c%c'" +msgid "invalid type '%s' in %s value #%d...\n" + " (must be of type 'int' or 'float')" msgstr "" -#: src/emit/escape.c:66 +#: src/parse/check.c:260 #, c-format -msgid "malformed hex escape sequence '\\%c%c'" +msgid "extraneous component of %s value..." msgstr "" -#: src/gwion.c:110 +#: src/parse/check.c:299 #, c-format -msgid "in class: '%s'\n" +msgid "array index %i must be of type 'int', not '%s'" msgstr "" -#: src/gwion.c:112 -#, c-format -msgid "in function: '%s'\n" +#: src/parse/check.c:303 +msgid "invalid array acces expression." msgstr "" -#: src/lib/array.c:150 -msgid "array types do not match." +#: src/parse/check.c:311 +#, c-format +msgid "array subscripts (%i) exceeds defined dimension (%i)" msgstr "" -#: src/lib/array.c:157 -msgid "array depths do not match." +#: src/parse/check.c:401 +msgid "invalid expression for function call." msgstr "" -#: src/lib/array.c:160 -msgid "do not provide array for 'xxx @=> declaration'." +#: src/parse/check.c:528 +msgid "arguments do not match for template call" msgstr "" -#: src/lib/func.c:32 -msgid "calling fptr decl, this is forbidden." +#: src/parse/check.c:532 +msgid "and not\n" + " " msgstr "" -#: src/lib/func.c:104 -msgid "can't assign member function to non member function pointer" +#: src/parse/check.c:545 +msgid "argument type(s) do not match for function. should be :" msgstr "" -#: src/lib/func.c:107 -msgid "can't assign non member function to member function pointer" +#: src/parse/check.c:553 +msgid "and not:\n" + " void\n" msgstr "" -#: src/lib/func.c:109 -msgid "can't assign member function to a pointer of an other class" +#: src/parse/check.c:575 +msgid "function is template. automatic type guess not fully implemented " + "yet.\n" + " please provide template types. eg: ''" msgstr "" -#: src/lib/func.c:112 -msgid "can't assign static function to member function pointer" +#: src/parse/check.c:606 +msgid "not able to guess types for template call." msgstr "" -#: src/lib/func.c:114 -msgid "can't assign member function to static function pointer" +#: src/parse/check.c:618 +msgid "function call using a non-function value" msgstr "" -#: src/lib/func.c:164 src/parse/check.c:633 +#: src/parse/check.c:634 src/lib/func.c:164 msgid "argument number does not match for lambda" msgstr "" -#: src/lib/func.c:251 -msgid "forks must be stored in a value:\n" - "fork xxx @=> Fork f" +#: src/parse/check.c:696 +msgid " template call of non-existant function." msgstr "" -#: src/lib/func.c:264 -msgid "only function calls can be sporked..." +#: src/parse/check.c:698 +msgid "template call of non-function value." msgstr "" -#: src/lib/import.c:80 +#: src/parse/check.c:700 +msgid "template call of non-template function." +msgstr "" + +#: src/parse/check.c:722 #, c-format -msgid "too many arguments for function '%s'." +msgid "Invalid type '%s' in if expression condition." msgstr "" -#: src/lib/import.c:107 +#: src/parse/check.c:726 #, c-format -msgid "illegal use of ',' outside of templating in name '%s'." +msgid "incompatible types '%s' and '%s' in if expression..." msgstr "" -#: src/lib/import.c:112 +#: src/parse/check.c:738 #, c-format -msgid "illegal templating in name '%s'." +msgid "type '%s' does not have members - invalid use in dot expression of %s" msgstr "" -#: src/lib/import.c:116 +#: src/parse/check.c:742 +msgid "keyword 'this' must be associated with object instance..." +msgstr "" + +#: src/parse/check.c:746 #, c-format -msgid "illegal character '%c' in name '%s'." +msgid "class '%s' has no member '%s'" msgstr "" -#: src/lib/import.c:135 +#: src/parse/check.c:754 #, c-format -msgid "illegal character '%c' in path '%s'." +msgid "can't access private '%s' outside of class..." msgstr "" -#: src/lib/import.c:145 +#: src/parse/check.c:760 #, c-format -msgid "path '%s' must not ini or end with '.'." +msgid "cannot access member '%s.%s' without object instance..." msgstr "" -#: src/lib/import.c:220 +#: src/parse/check.c:815 #, c-format -msgid "during import: class '%s' already imported." +msgid "invalid type '%s' (in '%s' condition)" msgstr "" -#: src/lib/import.c:236 -msgid "gwi_class_ext invoked before gwi_class_ini" +#: src/parse/check.c:834 +msgid "empty for loop condition......(note: explicitly use 'true' if it's " + "the intent)...(e.g., 'for(; true;){ /*...*/ }')" msgstr "" -#: src/lib/import.c:240 -msgid "class extend already set" +#: src/parse/check.c:847 +#, c-format +msgid "type '%s' is not array.\n" + " This is not allowed in auto loop" msgstr "" -#: src/lib/import.c:242 -msgid "class extend array can't be empty" +#: src/parse/check.c:883 +msgid "conditional must be a single expression" msgstr "" -#: src/lib/import.c:268 -msgid "import: too many class_end called." +#: src/parse/check.c:891 +msgid "conditional must be of type 'int'..." msgstr "" -#: src/lib/import.c:303 -#, c-format -msgid " ... during var import '%s.%s'." +#: src/parse/check.c:919 +msgid "'return' statement found outside function definition" msgstr "" -#: src/lib/import.c:398 +#: src/parse/check.c:925 +msgid "return types do not match for lambda expression" +msgstr "" + +#: src/parse/check.c:933 #, c-format -msgid " ... at argument '%i'" +msgid "invalid return type '%s' -- expecting '%s'" msgstr "" -#: src/lib/import.c:406 -msgid "array subscript specified incorrectly for built-in module" +#: src/parse/check.c:943 +msgid "'" msgstr "" -#: src/lib/import.c:438 +#: src/parse/check.c:954 #, c-format -msgid " ... during @ function import '%s' (type)." +msgid "invalid type '%s' case expression. should be 'int'" msgstr "" -#: src/lib/import.c:535 +#: src/parse/check.c:959 #, c-format -msgid " ... during fptr import '%s' (type)." +msgid "'%s' is not constant." msgstr "" -#: src/lib/import.c:561 +#: src/parse/check.c:973 src/parse/check.c:976 #, c-format -msgid "'%s' : invalid type" +msgid "label '%s' used but not defined" msgstr "" -#: src/lib/import.c:606 -msgid "union is empty" +#: src/parse/check.c:1001 +msgid "In union, Objects must be declared as reference (use '@')" msgstr "" -#: src/lib/object.c:109 +#: src/parse/check.c:1043 #, c-format -msgid "'%s' @=> '%s': not allowed" +msgid "function '%s.%s' ressembles '%s.%s' but cannot override...\n" + " ...(reason: '%s.%s' is declared as 'static')" msgstr "" -#: src/lib/opfunc.c:32 +#: src/parse/check.c:1097 #, c-format -msgid "cannot assign '%s' on types '%s' and '%s'.\n" - " ... (reason: --- right-side operand is %s.)" +msgid "global function '%s' already defined for those arguments" msgstr "" -#: src/lib/opfunc.c:70 +#: src/parse/check.c:1110 #, c-format -msgid "'%s' must be applied to a unique expression" +msgid "function name '%s' conflicts with previously defined value...\n" + " from super class '%s'..." msgstr "" -#: src/lib/opfunc.c:78 +#: src/parse/scan2.c:161 #, c-format -msgid "unary operator '%s' cannot be used on %s data-types." +msgid "cant '%s' from/to a multi-variable declaration." msgstr "" -#: src/lib/opfunc.c:88 +#: src/parse/scan2.c:266 #, c-format -msgid "post operator '%s' cannot be used on %s data-type." +msgid "label '%s' already defined" msgstr "" -#: src/lib/prim.c:133 -msgid "can't assign 'now' to 'now'" +#: src/parse/scan2.c:308 +#, c-format +msgid "function name '%s' is already used by another value" msgstr "" -#: src/lib/ptr.c:20 -msgid "left side operand is constant" +#: src/parse/scan2.c:311 +msgid "must overload template function with template" msgstr "" -#: src/lib/ptr.c:45 -msgid "can't cast constant to Ptr" +#: src/parse/type_decl.c:63 +#, c-format +msgid "unknown type '%s'" msgstr "" -#: src/oo/env_utils.c:26 -#, c-format -msgid "'global' can only be used at %s scope." +#: src/parse/type_decl.c:70 +msgid "primitive types cannot be used as reference (@)...\n" msgstr "" -#: src/oo/env_utils.c:32 -msgid "static/private/protect can only be used at class scope." +#: src/parse/type_utils.c:15 +#, c-format +msgid "%s is reserved." msgstr "" -#: src/oo/env_utils.c:69 +#: src/parse/did_you_mean.c:58 src/parse/did_you_mean.c:69 #, c-format -msgid "...(cannot find class '%s' in nspc '%s')" +msgid " (did you mean '%s'?)\n" msgstr "" -#: src/oo/env_utils.c:83 src/parse/scan0.c:83 +#: src/parse/template.c:157 #, c-format -msgid "'%s' already declared as variable of type '%s'." +msgid "you must provide template types for type '%s'" msgstr "" -#: src/oo/switch.c:80 -msgid "Declaration in switch is prohibited." -msgstr "" - -#: src/oo/switch.c:118 -msgid "case found outside switch statement." +#: src/parse/template.c:159 +msgid "invalid template types number" msgstr "" -#: src/oo/switch.c:124 +#: src/parse/template.c:191 #, c-format -msgid "duplicated cases value %i" -msgstr "" - -#: src/oo/switch.c:146 -msgid "'default'case found outside switch statement." -msgstr "" - -#: src/oo/switch.c:149 -msgid "default case already defined" -msgstr "" - -#: src/oo/switch.c:181 -msgid "switch statement with no cases." +msgid "type '%s' is not template. You should not provide template types" msgstr "" -#: src/parse/check.c:28 +#: src/parse/scan0.c:32 #, c-format -msgid "incompatible array subscript type '%s' ..." +msgid "type '%s' already defined" msgstr "" -#: src/parse/check.c:37 +#: src/parse/scan0.c:83 src/oo/env_utils.c:83 #, c-format -msgid "in class '%s': '%s' has already been defined in parent class '%s' ..." -msgstr "" - -#: src/parse/check.c:58 -msgid "can't use non public typedef at global scope." -msgstr "" - -#: src/parse/check.c:61 -msgid "can't use non global fptr of other class." +msgid "'%s' already declared as variable of type '%s'." msgstr "" -#: src/parse/check.c:63 -msgid "can't use static variables for member function." +#: src/parse/scan1.c:21 +msgid "cannot declare variables of size '0' (i.e. 'void')..." msgstr "" -#: src/parse/check.c:73 +#: src/parse/scan1.c:50 #, c-format -msgid "Expression must be of type '%s', not '%s'\n" - "maybe you meant typeof(Expression)" -msgstr "" - -#: src/parse/check.c:101 src/parse/check.c:104 -msgid "can't infer type." -msgstr "" - -#: src/parse/check.c:143 -msgid "array init [...] contains incompatible types ..." +msgid "%s declared inside %s\n" + ". (make it a ref ?)" msgstr "" -#: src/parse/check.c:157 -msgid "must provide values/expressions for array [...]" +#: src/parse/scan1.c:69 +#, c-format +msgid "Type '%s' is abstract, declare as ref. (use @)" msgstr "" -#: src/parse/check.c:168 +#: src/parse/scan1.c:71 #, c-format -msgid "non-static member '%s' used from static function." +msgid "can't use private type %s" msgstr "" -#: src/parse/check.c:173 +#: src/parse/scan1.c:73 #, c-format -msgid "non-global variable '%s' used from global function." +msgid "can't use protected type %s" msgstr "" -#: src/parse/check.c:182 +#: src/parse/scan1.c:93 #, c-format -msgid "variable %s not legit at this point." +msgid "variable %s has already been defined in the same scope..." msgstr "" -#: src/parse/check.c:200 -msgid "keyword 'this' can be used only inside class definition..." +#: src/parse/scan1.c:98 +msgid "ref array must not have array expression.\n" + "e.g: int @my_array[];\n" + "not: @int my_array[2];" msgstr "" -#: src/parse/check.c:202 -msgid "keyword 'this' cannot be used inside static functions..." +#: src/parse/scan1.c:148 +#, c-format +msgid "post operator '%s' cannot be used on non-mutable data-type..." msgstr "" -#: src/parse/check.c:224 -#, c-format -msgid "invalid type '%s' in %s value #%d...\n" - " (must be of type 'int' or 'float')" +#: src/parse/scan1.c:333 +msgid "dtor must be in class def!!" msgstr "" -#: src/parse/check.c:260 +#: src/parse/scan1.c:359 #, c-format -msgid "extraneous component of %s value..." +msgid "recursive (%s <= %s) class declaration." msgstr "" -#: src/parse/check.c:299 +#: src/parse/scan1.c:362 #, c-format -msgid "array index %i must be of type 'int', not '%s'" +msgid "cannot extend primitive type '%s'" msgstr "" -#: src/parse/check.c:303 -msgid "invalid array acces expression." +#: src/parse/scan1.c:366 +msgid "can't use ref type in class extend" msgstr "" -#: src/parse/check.c:311 +#: src/parse/operator.c:79 #, c-format -msgid "array subscripts (%i) exceeds defined dimension (%i)" +msgid "operator '%s', for type '%s' and '%s' already imported" msgstr "" -#: src/parse/check.c:401 -msgid "invalid expression for function call." +#: src/parse/operator.c:157 +#, c-format +msgid "%s %s %s: no match found for operator" msgstr "" -#: src/parse/check.c:528 -msgid "arguments do not match for template call" +#: src/emit/emit.c:509 +msgid " ... in 'gack' expression." msgstr "" -#: src/parse/check.c:532 -msgid "and not\n" - " " +#: src/emit/emit.c:1291 +msgid "illegal case" msgstr "" -#: src/parse/check.c:545 -msgid "argument type(s) do not match for function. should be :" +#: src/emit/emit.c:1294 +#, c-format +msgid "label '%s' defined but not used." msgstr "" -#: src/parse/check.c:553 -msgid "and not:\n" - " void\n" +#: src/emit/emit.c:1299 +msgid "you are trying to use a upper label." msgstr "" -#: src/parse/check.c:575 -msgid "function is template. automatic type guess not fully implemented " - "yet.\n" - " please provide template types. eg: ''" +#: src/emit/emit.c:1564 +msgid "vararg.start already used. this is an error" msgstr "" -#: src/parse/check.c:606 -msgid "not able to guess types for template call." +#: src/emit/emit.c:1570 +msgid "vararg.start not used before vararg.end. this is an error" msgstr "" -#: src/parse/check.c:615 -msgid "function call using a non-existing function" +#: src/emit/emit.c:1575 +#, c-format +msgid "vararg.%s used before vararg.start. this is an error" msgstr "" -#: src/parse/check.c:617 -msgid "function call using a non-function value" +#: src/emit/emit.c:1577 +#, c-format +msgid "vararg.%s used after vararg.end. this is an error" msgstr "" -#: src/parse/check.c:695 -msgid " template call of non-existant function." +#: src/emit/emit.c:1711 src/emit/emit.c:1713 +msgid "invalid variadic use" msgstr "" -#: src/parse/check.c:697 -msgid "template call of non-function value." +#: src/emit/escape.c:29 +#, c-format +msgid "unrecognized escape sequence '\\%c'" msgstr "" -#: src/parse/check.c:699 -msgid "template call of non-template function." +#: src/emit/escape.c:40 +msgid "invalid: string ends with escape charactor '\\'" msgstr "" -#: src/parse/check.c:721 +#: src/emit/escape.c:54 #, c-format -msgid "Invalid type '%s' in if expression condition." +msgid "malformed octal escape sequence '\\%c%c%c'" msgstr "" -#: src/parse/check.c:725 +#: src/emit/escape.c:66 #, c-format -msgid "incompatible types '%s' and '%s' in if expression..." +msgid "malformed hex escape sequence '\\%c%c'" msgstr "" -#: src/parse/check.c:737 +#: src/oo/env_utils.c:26 #, c-format -msgid "type '%s' does not have members - invalid use in dot expression of %s" +msgid "'global' can only be used at %s scope." msgstr "" -#: src/parse/check.c:741 -msgid "keyword 'this' must be associated with object instance..." +#: src/oo/env_utils.c:32 +msgid "static/private/protect can only be used at class scope." msgstr "" -#: src/parse/check.c:745 +#: src/oo/env_utils.c:69 #, c-format -msgid "class '%s' has no member '%s'" +msgid "...(cannot find class '%s' in nspc '%s')" msgstr "" -#: src/parse/check.c:753 -#, c-format -msgid "can't access private '%s' outside of class..." +#: src/oo/switch.c:80 +msgid "Declaration in switch is prohibited." msgstr "" -#: src/parse/check.c:759 -#, c-format -msgid "cannot access member '%s.%s' without object instance..." +#: src/oo/switch.c:118 +msgid "case found outside switch statement." msgstr "" -#: src/parse/check.c:814 +#: src/oo/switch.c:124 #, c-format -msgid "invalid type '%s' (in '%s' condition)" -msgstr "" - -#: src/parse/check.c:833 -msgid "empty for loop condition......(note: explicitly use 'true' if it's " - "the intent)...(e.g., 'for(; true;){ /*...*/ }')" +msgid "duplicated cases value %i" msgstr "" -#: src/parse/check.c:846 -#, c-format -msgid "type '%s' is not array.\n" - " This is not allowed in auto loop" +#: src/oo/switch.c:146 +msgid "'default'case found outside switch statement." msgstr "" -#: src/parse/check.c:882 -msgid "conditional must be a single expression" +#: src/oo/switch.c:149 +msgid "default case already defined" msgstr "" -#: src/parse/check.c:890 -msgid "conditional must be of type 'int'..." +#: src/oo/switch.c:181 +msgid "switch statement with no cases." msgstr "" -#: src/parse/check.c:918 -msgid "'return' statement found outside function definition" +#: src/vm/vm.c:691 +msgid " ... at index [%" msgstr "" -#: src/parse/check.c:924 -msgid "return types do not match for lambda expression" +#: src/vm/vm.c:692 +msgid " ... at dimension [%" msgstr "" -#: src/parse/check.c:932 +#: src/lib/opfunc.c:32 #, c-format -msgid "invalid return type '%s' -- expecting '%s'" +msgid "cannot assign '%s' on types '%s' and '%s'.\n" + " ... (reason: --- right-side operand is %s.)" msgstr "" -#: src/parse/check.c:942 -msgid "'" +#: src/lib/opfunc.c:70 +#, c-format +msgid "'%s' must be applied to a unique expression" msgstr "" -#: src/parse/check.c:953 +#: src/lib/opfunc.c:78 #, c-format -msgid "invalid type '%s' case expression. should be 'int'" +msgid "unary operator '%s' cannot be used on %s data-types." msgstr "" -#: src/parse/check.c:958 +#: src/lib/opfunc.c:88 #, c-format -msgid "'%s' is not constant." +msgid "post operator '%s' cannot be used on %s data-type." msgstr "" -#: src/parse/check.c:972 src/parse/check.c:975 +#: src/lib/object.c:109 #, c-format -msgid "label '%s' used but not defined" +msgid "'%s' @=> '%s': not allowed" msgstr "" -#: src/parse/check.c:1000 -msgid "In union, Objects must be declared as reference (use '@')" +#: src/lib/ptr.c:20 +msgid "left side operand is constant" msgstr "" -#: src/parse/check.c:1042 -#, c-format -msgid "function '%s.%s' ressembles '%s.%s' but cannot override...\n" - " ...(reason: '%s.%s' is declared as 'static')" +#: src/lib/ptr.c:45 +msgid "can't cast constant to Ptr" msgstr "" -#: src/parse/check.c:1096 +#: src/lib/import.c:80 #, c-format -msgid "global function '%s' already defined for those arguments" +msgid "too many arguments for function '%s'." msgstr "" -#: src/parse/check.c:1109 +#: src/lib/import.c:107 #, c-format -msgid "function name '%s' conflicts with previously defined value...\n" - " from super class '%s'..." +msgid "illegal use of ',' outside of templating in name '%s'." msgstr "" -#: src/parse/did_you_mean.c:58 src/parse/did_you_mean.c:69 +#: src/lib/import.c:112 #, c-format -msgid " (did you mean '%s'?)\n" +msgid "illegal templating in name '%s'." msgstr "" -#: src/parse/operator.c:79 +#: src/lib/import.c:116 #, c-format -msgid "operator '%s', for type '%s' and '%s' already imported" +msgid "illegal character '%c' in name '%s'." msgstr "" -#: src/parse/operator.c:157 +#: src/lib/import.c:135 #, c-format -msgid "%s %s %s: no match found for operator" +msgid "illegal character '%c' in path '%s'." msgstr "" -#: src/parse/scan0.c:32 +#: src/lib/import.c:145 #, c-format -msgid "type '%s' already defined" -msgstr "" - -#: src/parse/scan1.c:21 -msgid "cannot declare variables of size '0' (i.e. 'void')..." +msgid "path '%s' must not ini or end with '.'." msgstr "" -#: src/parse/scan1.c:50 +#: src/lib/import.c:220 #, c-format -msgid "%s declared inside %s\n" - ". (make it a ref ?)" +msgid "during import: class '%s' already imported." msgstr "" -#: src/parse/scan1.c:69 -#, c-format -msgid "Type '%s' is abstract, declare as ref. (use @)" +#: src/lib/import.c:236 +msgid "gwi_class_ext invoked before gwi_class_ini" msgstr "" -#: src/parse/scan1.c:71 -#, c-format -msgid "can't use private type %s" +#: src/lib/import.c:240 +msgid "class extend already set" msgstr "" -#: src/parse/scan1.c:73 -#, c-format -msgid "can't use protected type %s" +#: src/lib/import.c:242 +msgid "class extend array can't be empty" msgstr "" -#: src/parse/scan1.c:93 -#, c-format -msgid "variable %s has already been defined in the same scope..." +#: src/lib/import.c:268 +msgid "import: too many class_end called." msgstr "" -#: src/parse/scan1.c:98 -msgid "ref array must not have array expression.\n" - "e.g: int @my_array[];\n" - "not: @int my_array[2];" +#: src/lib/import.c:303 +#, c-format +msgid " ... during var import '%s.%s'." msgstr "" -#: src/parse/scan1.c:148 +#: src/lib/import.c:398 #, c-format -msgid "post operator '%s' cannot be used on non-mutable data-type..." +msgid " ... at argument '%i'" msgstr "" -#: src/parse/scan1.c:333 -msgid "dtor must be in class def!!" +#: src/lib/import.c:406 +msgid "array subscript specified incorrectly for built-in module" msgstr "" -#: src/parse/scan1.c:359 +#: src/lib/import.c:438 #, c-format -msgid "recursive (%s <= %s) class declaration." +msgid " ... during @ function import '%s' (type)." msgstr "" -#: src/parse/scan1.c:362 +#: src/lib/import.c:535 #, c-format -msgid "cannot extend primitive type '%s'" -msgstr "" - -#: src/parse/scan1.c:366 -msgid "can't use ref type in class extend" +msgid " ... during fptr import '%s' (type)." msgstr "" -#: src/parse/scan2.c:161 +#: src/lib/import.c:561 #, c-format -msgid "cant '%s' from/to a multi-variable declaration." +msgid "'%s' : invalid type" msgstr "" -#: src/parse/scan2.c:266 -#, c-format -msgid "label '%s' already defined" +#: src/lib/import.c:606 +msgid "union is empty" msgstr "" -#: src/parse/scan2.c:308 -#, c-format -msgid "function name '%s' is already used by another value" +#: src/lib/prim.c:133 +msgid "can't assign 'now' to 'now'" msgstr "" -#: src/parse/scan2.c:311 -msgid "must overload template function with template" +#: src/lib/func.c:32 +msgid "calling fptr decl, this is forbidden." msgstr "" -#: src/parse/scan2.c:527 -#, c-format -msgid "'%s' already declared as type" +#: src/lib/func.c:104 +msgid "can't assign member function to non member function pointer" msgstr "" -#: src/parse/template.c:157 -#, c-format -msgid "you must provide template types for type '%s'" +#: src/lib/func.c:107 +msgid "can't assign non member function to member function pointer" msgstr "" -#: src/parse/template.c:159 -msgid "invalid template types number" +#: src/lib/func.c:109 +msgid "can't assign member function to a pointer of an other class" msgstr "" -#: src/parse/template.c:191 -#, c-format -msgid "type '%s' is not template. You should not provide template types" +#: src/lib/func.c:112 +msgid "can't assign static function to member function pointer" msgstr "" -#: src/parse/type_decl.c:63 -#, c-format -msgid "unknown type '%s'" +#: src/lib/func.c:114 +msgid "can't assign member function to static function pointer" msgstr "" -#: src/parse/type_decl.c:70 -msgid "primitive types cannot be used as reference (@)...\n" +#: src/lib/func.c:251 +msgid "forks must be stored in a value:\n" + "fork xxx @=> Fork f" msgstr "" -#: src/parse/type_utils.c:15 -#, c-format -msgid "%s is reserved." +#: src/lib/func.c:264 +msgid "only function calls can be sporked..." msgstr "" -#: src/plug.c:69 -#, c-format -msgid "error in %s." +#: src/lib/array.c:150 +msgid "array types do not match." msgstr "" -#: src/vm/vm.c:691 -msgid " ... at index [%" +#: src/lib/array.c:157 +msgid "array depths do not match." msgstr "" -#: src/vm/vm.c:692 -msgid " ... at dimension [%" +#: src/lib/array.c:160 +msgid "do not provide array for 'xxx @=> declaration'." msgstr "" -- 2.43.0