Slightly off-topic, but...
On 28/06/15 22:02, Rudi Timmermans wrote:
lbWalletDetails.text = qsTr("you have") + " " + wallet.currency + " "
+ wallet.budget + " " + qsTr("per") + " " +
Util.budgetTypeNoun(wallet.budget_type)
Please, don't mark for translation this way. Firstly, this won't work
Hi,
Do anyone know how i can translate a JS string ?
I hope there is a easy way ;)
This is the code
function budgetTypeToString(type) {
var str;
switch (type) {
case BUDGET_TYPE_DAILY:
str = "daily";
break;
case BUDGET_TYPE_WEEKLY:
str = "weekly"
Hi,
Do anyone know how i can translate a JS string ?
I hope there is a easy way ;)
This is the code
function budgetTypeToString(type) {
var str;
switch (type) {
case BUDGET_TYPE_DAILY:
str = "daily";
break;
case BUDGET_TYPE_WEEKLY:
str = "weekly";