This commit is contained in:
a-ill 2023-07-03 21:44:24 +03:00
parent 637715d553
commit 0f25f779fe
3 changed files with 5 additions and 9 deletions

View File

@ -3,7 +3,7 @@
"groupsTitle": "GROUPS",
"groupsText": "We organize groups for the purposes of education, advocacy, and mutual aid. Our objective is to demonstrate to people how the current politico-economic systems detrimentally impact our well-being, present them with alternative approaches, and engage in mutual aid to alleviate the challenges of living under capitalism.",
"communitiesTitle": "COMMUNITIES",
"communitiesText": "We establish communities based on libertarian socialist principles, where communities have ownership of their land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.",
"communitiesText": "We establish communities based on libertarian socialist principles, where community members have ownership over land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.",
"cooperativesTitle": "COOPERATIVES",
"cooperativesText": "We form worker cooperatives to finance the operations of our groups and communities. Recognizing that economic power influences political power, we consider the establishment of cooperatives to be one of the initial steps towards achieving socialism."
}

View File

@ -91,17 +91,13 @@ export function loadLocaleContent(content,componentName,loaded,callback) {
locale = "en"
}
}
getData("/locales/" + locale + "/" + componentName + ".json" ,function(response) {
if (callback!=undefined) {
callback(locale)
}
getData("/locales/" + locale + "/" + componentName + ".json" ,function(response) {
let parsed = JSON.parse(response)
content.set(parsed)
loaded = 1
})
return locale
}
export function getLocale(locale,lang) {
locale[0] = lang
}

View File

@ -3,7 +3,7 @@
"groupsTitle": "GROUPS",
"groupsText": "We organize groups for the purposes of education, advocacy, and mutual aid. Our objective is to demonstrate to people how the current politico-economic systems detrimentally impact our well-being, present them with alternative approaches, and engage in mutual aid to alleviate the challenges of living under capitalism.",
"communitiesTitle": "COMMUNITIES",
"communitiesText": "We establish communities based on libertarian socialist principles, where communities have ownership of their land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.",
"communitiesText": "We establish communities based on libertarian socialist principles, where community members have ownership over land, houses, and the means of production as well as make decisions using direct democracy. We are gradually expanding our socialist world, one community at a time.",
"cooperativesTitle": "COOPERATIVES",
"cooperativesText": "We form worker cooperatives to finance the operations of our groups and communities. Recognizing that economic power influences political power, we consider the establishment of cooperatives to be one of the initial steps towards achieving socialism."
}