TeaWeb/tools/trgen/test/test_01.ts
WolverinDEV bbc929d46d
Merged translation system (#17)
* A lots of translation changes (Generate translation files)

* Removed auto generated package lock file

* Implementation of the translation system, inc generators.

* improved loader error handling

* Finalizing the translation system.
Needs some tests and a final translation generation.
As well a handy translation mapper or editor would be likely.
May source this out into another project?

* Finalizing the translation system

* Finalized translation system and added polish and turkish google translation

* Finally done :)

* Fixed defautl repositories dosnt show up

* fixed settings not initialized
2018-12-15 14:04:29 +01:00

27 lines
No EOL
412 B
TypeScript

function tr(message: string) : string {
console.log("Message: " + message);
return message;
}
const x = tr("yyy");
function y() {
const y = tr(tr("yyy"));
}
console.log("XXX: " + tr("XXX"));
console.log("YYY: " + tr("YYY"));
var z = 1 + 2 + 3;
debugger;
debugger;
debugger;
debugger;
const zzz = true ? "yyy" : "bbb";
const y = "";
debugger;
debugger;
debugger;
debugger;
const { a } = {a : ""};