From 8bb1164789bf97c020708eca6aafd3d496def078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerv=C3=A1sio=20J=C3=BAnior?= Date: Sun, 23 Apr 2017 13:33:07 -0300 Subject: [PATCH 01/33] Add localization for questions, with fallback to English Uses the i18next framework. Resolves 8values/8values.github.io#5 --- locales/en/questions.json | 62 ++++++++++++++++++++ locales/pt/questions.json | 3 + questions.js | 120 +++++++++++++++++++------------------- quiz.html | 26 +++++++-- 4 files changed, 147 insertions(+), 64 deletions(-) create mode 100644 locales/en/questions.json create mode 100644 locales/pt/questions.json diff --git a/locales/en/questions.json b/locales/en/questions.json new file mode 100644 index 00000000..fe472f32 --- /dev/null +++ b/locales/en/questions.json @@ -0,0 +1,62 @@ +{ + "q1": "Oppression by corporations is as much, if not more, of a concern than oppression by governments.", + "q2": "It is necessary for the government to intervene in the economy to protect citizens.", + "q3": "The freer the markets, the freer the people.", + "q4": "Publicly-funded research is more beneficial to the people than leaving it to the market.", + "q5": "From each according to his ability, to each according to his needs.", + "q6": "It would be best if social programs were abolished in favor of private charity.", + "q7": "Taxes should be increased on the rich to provide for the poor.", + "q8": "Inheritance and capital gains are legitimate forms of wealth.", + "q9": "Public utilities like roads and electricity should be publicly owned.", + "q10": "Those with a greater ability to pay should receive better healthcare.", + "q11": "Adequate education is a right of all people.", + "q12": "The means of production should belong to the workers who use them.", + "q13": "The United Nations should be abolished.", + "q14": "Military intervention is often necessary to protect the nation.", + "q15": "It is more important to retain peaceful relations than to further our strength.", + "q16": "Wars do not need to be justified to other countries.", + "q17": "Military spending is a waste of money.", + "q18": "International aid is a waste of money.", + "q19": "My nation is the best in the world.", + "q20": "Research should be conducted on an international scale.", + "q21": "Governments should be accountable to the international community.", + "q22": "Even when protesting an authoritarian government, violence is not acceptable.", + "q23": "My religion should be spread by force if necessary.", + "q24": "My political ideology should be spread by force if necessary.", + "q25": "Law and order should be maintained at all costs.", + "q26": "Political elites are necessary, as the general populace makes bad decisions.", + "q27": "A victimless crime, such as drug use, should not be a crime at all.", + "q28": "Terrorism is a major threat, and some civil liberties must be sacrificed to prevent it.", + "q29": "Government surveillance is necessary in the modern world.", + "q30": "The very existence of the state is a threat to our liberty.", + "q31": "Regardless of political opinions, it is important to side with your country.", + "q32": "No authority should be left unquestioned.", + "q33": "A strongly hierarchical state is most efficient.", + "q34": "It is important that the government follows the majority opinion, even if it is wrong.", + "q35": "The stronger the leadership, the better.", + "q36": "Democracy is intrinsically valuable as more than a decision-making process.", + "q37": "Environmental regulations are essential.", + "q38": "A better world will come from automation, science, and technology.", + "q39": "Children should be educated in religious or traditional values.", + "q40": "Irrational traditions should be abolished.", + "q41": "Religion should play a role in government.", + "q42": "Churches should not be exempt from taxes.", + "q43": "Climate change is either not real or not man-made.", + "q44": "It is important that we work as a united world to combat climate change.", + "q45": "Society was better many years ago than it is now.", + "q46": "It is important that we stay connected to our past.", + "q47": "It is important that we think in the long term, beyond our lifespans.", + "q48": "Reason is more important than maintaining our culture.", + "q49": "Drug use should be legalized or decriminalized.", + "q50": "Same-sex marriage should be legal.", + "q51": "Sex outside marriage is immoral.", + "q52": "Abortion should be prohibited.", + "q53": "Gun ownership should be prohibited for those without a valid reason.", + "q54": "I support single-payer, universal healthcare.", + "q55": "I support the European Union.", + "q56": "Communism isn't as bad as people say it is.", + "q57": "Fascism isn't as bad as people say it is.", + "q58": "Capitalism isn't as bad as people say it is.", + "q59": "All people, cultures, worldviews, genders, sexualities, and economic classes should be treated equally.", + "q60": "It is important that we further our ethnic, cultural, or economic group's goals above all others." +} \ No newline at end of file diff --git a/locales/pt/questions.json b/locales/pt/questions.json new file mode 100644 index 00000000..f8988791 --- /dev/null +++ b/locales/pt/questions.json @@ -0,0 +1,3 @@ +{ + "q1": "Opressão por parte das corporações é um problema tão grave quanto a opressão por parte dos governos, se não for maior." +} \ No newline at end of file diff --git a/questions.js b/questions.js index c8e24b13..c32cabae 100644 --- a/questions.js +++ b/questions.js @@ -1,6 +1,6 @@ questions = [ { - "question": "Oppression by corporations is as much, if not more, of a concern than oppression by governments.", + "question": "q1", "effect": { "econ": 10, "dipl": 0, @@ -9,7 +9,7 @@ questions = [ } }, { - "question": "It is necessary for the government to intervene in the economy to protect citizens.", + "question": "q2", "effect": { "econ": 10, "dipl": 0, @@ -18,7 +18,7 @@ questions = [ } }, { - "question": "The freer the markets, the freer the people.", + "question": "q3", "effect": { "econ": -10, "dipl": 0, @@ -27,7 +27,7 @@ questions = [ } }, { - "question": "Publicly-funded research is more beneficial to the people than leaving it to the market.", + "question": "q4", "effect": { "econ": 10, "dipl": 0, @@ -36,7 +36,7 @@ questions = [ } }, { - "question": "From each according to his ability, to each according to his needs.", + "question": "q5", "effect": { "econ": 10, "dipl": 0, @@ -45,7 +45,7 @@ questions = [ } }, { - "question": "It would be best if social programs were abolished in favor of private charity.", + "question": "q6", "effect": { "econ": -10, "dipl": 0, @@ -54,7 +54,7 @@ questions = [ } }, { - "question": "Taxes should be increased on the rich to provide for the poor.", + "question": "q7", "effect": { "econ": 10, "dipl": 0, @@ -63,7 +63,7 @@ questions = [ } }, { - "question": "Inheritance and capital gains are legitimate forms of wealth.", + "question": "q8", "effect": { "econ": -10, "dipl": 0, @@ -72,7 +72,7 @@ questions = [ } }, { - "question": "Public utilities like roads and electricity should be publicly owned.", + "question": "q9", "effect": { "econ": 10, "dipl": 0, @@ -81,7 +81,7 @@ questions = [ } }, { - "question": "Those with a greater ability to pay should receive better healthcare.", + "question": "q10", "effect": { "econ": -10, "dipl": 0, @@ -90,7 +90,7 @@ questions = [ } }, { - "question": "Adequate education is a right of all people.", + "question": "q11", "effect": { "econ": 10, "dipl": 0, @@ -99,7 +99,7 @@ questions = [ } }, { - "question": "The means of production should belong to the workers who use them.", + "question": "q12", "effect": { "econ": 10, "dipl": 0, @@ -108,7 +108,7 @@ questions = [ } }, { - "question": "The United Nations should be abolished.", + "question": "q13", "effect": { "econ": 0, "dipl": -10, @@ -117,7 +117,7 @@ questions = [ } }, { - "question": "Military intervention is often necessary to protect the nation.", + "question": "q14", "effect": { "econ": 0, "dipl": -10, @@ -126,7 +126,7 @@ questions = [ } }, { - "question": "It is more important to retain peaceful relations than to further our strength.", + "question": "q15", "effect": { "econ": 0, "dipl": 10, @@ -135,7 +135,7 @@ questions = [ } }, { - "question": "Wars do not need to be justified to other countries.", + "question": "q16", "effect": { "econ": 0, "dipl": -10, @@ -144,7 +144,7 @@ questions = [ } }, { - "question": "Military spending is a waste of money.", + "question": "q17", "effect": { "econ": 0, "dipl": 10, @@ -153,7 +153,7 @@ questions = [ } }, { - "question": "International aid is a waste of money.", + "question": "q18", "effect": { "econ": -5, "dipl": 10, @@ -162,7 +162,7 @@ questions = [ } }, { - "question": "My nation is the best in the world.", + "question": "q19", "effect": { "econ": 0, "dipl": -10, @@ -171,7 +171,7 @@ questions = [ } }, { - "question": "Research should be conducted on an international scale.", + "question": "q20", "effect": { "econ": 0, "dipl": -10, @@ -180,7 +180,7 @@ questions = [ } }, { - "question": "Governments should be accountable to the international community.", + "question": "q21", "effect": { "econ": 0, "dipl": 10, @@ -189,7 +189,7 @@ questions = [ } }, { - "question": "Even when protesting an authoritarian government, violence is not acceptable.", + "question": "q22", "effect": { "econ": 0, "dipl": 10, @@ -198,7 +198,7 @@ questions = [ } }, { - "question": "My religion should be spread by force if necessary.", + "question": "q23", "effect": { "econ": 0, "dipl": -10, @@ -207,7 +207,7 @@ questions = [ } }, { - "question": "My political ideology should be spread by force if necessary.", + "question": "q24", "effect": { "econ": 0, "dipl": -10, @@ -216,7 +216,7 @@ questions = [ } }, { - "question": "Law and order should be maintained at all costs.", + "question": "q25", "effect": { "econ": 0, "dipl": -5, @@ -225,7 +225,7 @@ questions = [ } }, { - "question": "Political elites are necessary, as the general populace makes bad decisions.", + "question": "q26", "effect": { "econ": 0, "dipl": 0, @@ -234,7 +234,7 @@ questions = [ } }, { - "question": "A victimless crime, such as drug use, should not be a crime at all.", + "question": "q27", "effect": { "econ": 0, "dipl": 0, @@ -243,7 +243,7 @@ questions = [ } }, { - "question": "Terrorism is a major threat, and some civil liberties must be sacrificed to prevent it.", + "question": "q28", "effect": { "econ": 0, "dipl": 0, @@ -252,7 +252,7 @@ questions = [ } }, { - "question": "Government surveillance is necessary in the modern world.", + "question": "q29", "effect": { "econ": 0, "dipl": 0, @@ -261,7 +261,7 @@ questions = [ } }, { - "question": "The very existence of the state is a threat to our liberty.", + "question": "q30", "effect": { "econ": 0, "dipl": 0, @@ -270,7 +270,7 @@ questions = [ } }, { - "question": "Regardless of political opinions, it is important to side with your country.", + "question": "q31", "effect": { "econ": 0, "dipl": -5, @@ -279,7 +279,7 @@ questions = [ } }, { - "question": "No authority should be left unquestioned.", + "question": "q32", "effect": { "econ": 0, "dipl": 0, @@ -288,7 +288,7 @@ questions = [ } }, { - "question": "A strongly hierarchical state is most efficient.", + "question": "q33", "effect": { "econ": 0, "dipl": 0, @@ -297,7 +297,7 @@ questions = [ } }, { - "question": "It is important that the government follows the majority opinion, even if it is wrong.", + "question": "q34", "effect": { "econ": 0, "dipl": 0, @@ -306,7 +306,7 @@ questions = [ } }, { - "question": "The stronger the leadership, the better.", + "question": "q35", "effect": { "econ": 0, "dipl": -5, @@ -315,7 +315,7 @@ questions = [ } }, { - "question": "Democracy is intrinsically valuable as more than a decision-making process.", + "question": "q36", "effect": { "econ": 0, "dipl": 0, @@ -324,7 +324,7 @@ questions = [ } }, { - "question": "Environmental regulations are essential.", + "question": "q37", "effect": { "econ": 5, "dipl": 0, @@ -333,7 +333,7 @@ questions = [ } }, { - "question": "A better world will come from automation, science, and technology.", + "question": "q38", "effect": { "econ": 0, "dipl": 0, @@ -342,7 +342,7 @@ questions = [ } }, { - "question": "Children should be educated in religious or traditional values.", + "question": "q39", "effect": { "econ": 0, "dipl": 0, @@ -351,7 +351,7 @@ questions = [ } }, { - "question": "Irrational traditions should be abolished.", + "question": "q40", "effect": { "econ": 0, "dipl": 0, @@ -360,7 +360,7 @@ questions = [ } }, { - "question": "Religion should play a role in government.", + "question": "q41", "effect": { "econ": 0, "dipl": 0, @@ -369,7 +369,7 @@ questions = [ } }, { - "question": "Churches should not be exempt from taxes.", + "question": "q42", "effect": { "econ": 5, "dipl": 0, @@ -378,7 +378,7 @@ questions = [ } }, { - "question": "Climate change is either not real or not man-made.", + "question": "q43", "effect": { "econ": 0, "dipl": 0, @@ -387,7 +387,7 @@ questions = [ } }, { - "question": "It is important that we work as a united world to combat climate change.", + "question": "q44", "effect": { "econ": 0, "dipl": 10, @@ -396,7 +396,7 @@ questions = [ } }, { - "question": "Society was better many years ago than it is now.", + "question": "q45", "effect": { "econ": 0, "dipl": 0, @@ -405,7 +405,7 @@ questions = [ } }, { - "question": "It is important that we stay connected to our past.", + "question": "q46", "effect": { "econ": 0, "dipl": 0, @@ -414,7 +414,7 @@ questions = [ } }, { - "question": "It is important that we think in the long term, beyond our lifespans.", + "question": "q47", "effect": { "econ": 0, "dipl": 0, @@ -423,7 +423,7 @@ questions = [ } }, { - "question": "Reason is more important than maintaining our culture.", + "question": "q48", "effect": { "econ": 0, "dipl": 0, @@ -432,7 +432,7 @@ questions = [ } }, { - "question": "Drug use should be legalized or decriminalized.", + "question": "q49", "effect": { "econ": 0, "dipl": 0, @@ -441,7 +441,7 @@ questions = [ } }, { - "question": "Same-sex marriage should be legal.", + "question": "q50", "effect": { "econ": 0, "dipl": 0, @@ -450,7 +450,7 @@ questions = [ } }, { - "question": "Sex outside marriage is immoral.", + "question": "q51", "effect": { "econ": 0, "dipl": 0, @@ -459,7 +459,7 @@ questions = [ } }, { - "question": "Abortion should be prohibited.", + "question": "q52", "effect": { "econ": 0, "dipl": 0, @@ -468,7 +468,7 @@ questions = [ } }, { - "question": "Gun ownership should be prohibited for those without a valid reason.", + "question": "q53", "effect": { "econ": 0, "dipl": 10, @@ -477,7 +477,7 @@ questions = [ } }, { - "question": "I support single-payer, universal healthcare.", + "question": "q54", "effect": { "econ": 10, "dipl": 0, @@ -486,7 +486,7 @@ questions = [ } }, { - "question": "I support the European Union.", + "question": "q55", "effect": { "econ": -5, "dipl": 10, @@ -495,7 +495,7 @@ questions = [ } }, { - "question": "Communism isn't as bad as people say it is.", + "question": "q56", "effect": { "econ": 10, "dipl": 0, @@ -504,7 +504,7 @@ questions = [ } }, { - "question": "Fascism isn't as bad as people say it is.", + "question": "q57", "effect": { "econ": -5, "dipl": -10, @@ -513,7 +513,7 @@ questions = [ } }, { - "question": "Capitalism isn't as bad as people say it is.", + "question": "q58", "effect": { "econ": -10, "dipl": 0, @@ -522,7 +522,7 @@ questions = [ } }, { - "question": "All people, cultures, worldviews, genders, sexualities, and economic classes should be treated equally.", + "question": "q59", "effect": { "econ": 10, "dipl": 10, @@ -531,7 +531,7 @@ questions = [ } }, { - "question": "It is important that we further our ethnic, cultural, or economic group's goals above all others.", + "question": "q60", "effect": { "econ": -10, "dipl": -10, diff --git a/quiz.html b/quiz.html index 38251e21..f1feb7a1 100644 --- a/quiz.html +++ b/quiz.html @@ -7,6 +7,9 @@ + + + @@ -21,19 +24,35 @@

Loading...


+ +

8values


- + -

What is 8values?

-

8values is, in essence, a political quiz that attempts to assign percentages for eight different political values. You will be presented by a statement, and then you will answer with your opinion on the statement, from Strongly Agree to Strongly Disagree, with each answer slightly affecting your scores. At the end of the quiz, your answers will be compared to the maximum possible for each value, thus giving you a percentage. Answer honestly!

+

+

-

What are the eight values?

-

There are four indendent axes - Economic, Diplomatic, State, and Society - and each has two opposing values assigned to them. They are:

-

Equality (Economic)
- Those with higher Equality scores believe the economy should distribute value evenly among the populace. They tend to support progressive tax codes, social programs, and at high values, socialism.

-

Wealth (Economic)
- Those with higher Wealth scores believe the economy should be focused on rapid growth. They tend to support lower taxes, privatization, deregulation, and at high values, laissez-faire capitalism.

-

Might (Diplomatic)
- Those with higher Might scores believe in an aggressive, or hawkish, foreign policy. They tend to support high military spending, nationalism, rivalry with other countries, and at high values, rapid military expansion.

-

Peace (Diplomatic)
- Those with higher Peace scores believe in an peaceful, or dovish, foreign policy. They tend to support low military spending, international aid, cooperation with other countries, and at high values, pacifism.

-

Liberty (State)
- Those with higher Liberty scores believe in strong civil liberties. They tend to support democracy and oppose state intervention in personal lives. Note that this refers to civil liberties, not economic liberties.

-

Authority (State)
- Those with higher Authority scores believe in strong state power. They tend to support state intervention in personal lives, government surveillance, and at high values, censorship or autocracy.

-

Tradition (Society)
- Those with higher Tradition scores believe in traditional values and strict adherence to a moral code. Though not always, they are usually religious, and support the status quo or the status quo ante.

-

Progress (Society)
- Those with higher Progress scores believe in social change and rationality. Though not always, they are usually secular or atheist, and support environmental action and scientific or technological research.

-

What's the "Closest Match" mean at the bottom of the results?

-

In addition to matching you to the eight values, the quiz also attempts to match you to a political ideology. This is a work in progress and is much less accurate than the values and axes, so don't take it too seriously. If you disagree with your assigned ideology, send us an email at eightvalues@gmail.com with your scores, matched ideology, and preferred ideology, and we'll look into adjusting the system. Thanks!

-

I don't like my scores!

-

¯\_(ツ)_/¯
- If you have any suggestions or constructive criticism, feel free to send it to eightvalues@gmail.com

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+ diff --git a/instructions.html b/instructions.html index 6ee1db14..21eaf1b2 100644 --- a/instructions.html +++ b/instructions.html @@ -7,11 +7,31 @@ + + +

8values


-

Instructions

-

You will be presented with a series of statements. For each one, click the button with your opinion on it.

-
-
+

+

+
+
+ + diff --git a/locales/en/instructions.json b/locales/en/instructions.json new file mode 100644 index 00000000..b0a37f77 --- /dev/null +++ b/locales/en/instructions.json @@ -0,0 +1,6 @@ +{ + "title": "Instructions", + "description": "You will be presented with a series of statements. For each one, click the button with your opinion on it.", + "confirm": "Got it!", + "cancel": "Wait, nevermind!" +} \ No newline at end of file diff --git a/locales/en/translation.json b/locales/en/translation.json new file mode 100644 index 00000000..c77eabba --- /dev/null +++ b/locales/en/translation.json @@ -0,0 +1,20 @@ +{ + "start": "Click here to start!", + "faq_whatis": "What is 8values?", + "faq_whatis_answer": "8values is, in essence, a political quiz that attempts to assign percentages for eight different political values. You will be presented by a statement, and then you will answer with your opinion on the statement, from Strongly Agree to Strongly Disagree, with each answer slightly affecting your scores. At the end of the quiz, your answers will be compared to the maximum possible for each value, thus giving you a percentage. Answer honestly!", + "faq_values": "What are the eight values?", + "faq_values_answer": "There are four indendent axes - Economic, Diplomatic, State, and Society - and each has two opposing values assigned to them. They are:", + "faq_match": "What's the "Closest Match" mean at the bottom of the results?", + "faq_match_answer": "In addition to matching you to the eight values, the quiz also attempts to match you to a political ideology. This is a work in progress and is much less accurate than the values and axes, so don't take it too seriously. If you disagree with your assigned ideology, send us an email at eightvalues@gmail.com with your scores, matched ideology, and preferred ideology, and we'll look into adjusting the system. Thanks!", + "faq_scores": "I don't like my scores!", + "faq_scores_answer": "¯\\_(ツ)_/¯
If you have any suggestions or constructive criticism, feel free to send it to eightvalues@gmail.com", + + "equality": "Equality (Economic)
Those with higher Equality scores believe the economy should distribute value evenly among the populace. They tend to support progressive tax codes, social programs, and at high values, socialism.", + "wealth": "Wealth (Economic)
Those with higher Wealth scores believe the economy should be focused on rapid growth. They tend to support lower taxes, privatization, deregulation, and at high values, laissez-faire capitalism.", + "might": "Might (Diplomatic)
Those with higher Might scores believe in an aggressive, or hawkish, foreign policy. They tend to support high military spending, nationalism, rivalry with other countries, and at high values, rapid military expansion.", + "peace": "Peace (Diplomatic)
Those with higher Peace scores believe in an peaceful, or dovish, foreign policy. They tend to support low military spending, international aid, cooperation with other countries, and at high values, pacifism.", + "liberty": "Liberty (State)
Those with higher Liberty scores believe in strong civil liberties. They tend to support democracy and oppose state intervention in personal lives. Note that this refers to civil liberties, not economic liberties.", + "authority": "Authority (State)
Those with higher Authority scores believe in strong state power. They tend to support state intervention in personal lives, government surveillance, and at high values, censorship or autocracy.", + "tradition": "Tradition (Society)
Those with higher Tradition scores believe in traditional values and strict adherence to a moral code. Though not always, they are usually religious, and support the status quo or the status quo ante.", + "progress": "Progress (Society)
Those with higher Progress scores believe in social change and rationality. Though not always, they are usually secular or atheist, and support environmental action and scientific or technological research." +} \ No newline at end of file diff --git a/locales/pt/instructions.json b/locales/pt/instructions.json new file mode 100644 index 00000000..3be4bb5e --- /dev/null +++ b/locales/pt/instructions.json @@ -0,0 +1,6 @@ +{ + "title": "Instruções", + "description": "Uma série de afirmações será apresentada. Para cada uma, clique no botão correspondente à sua opinião.", + "confirm": "Entendi!", + "cancel": "Espera, deixa pra lá!" +} \ No newline at end of file diff --git a/locales/pt/translation.json b/locales/pt/translation.json new file mode 100644 index 00000000..00e40fcc --- /dev/null +++ b/locales/pt/translation.json @@ -0,0 +1,4 @@ +{ + "start": "Clique aqui para iniciar!", + "faq_whatis": "O que é o 8values?" +} \ No newline at end of file diff --git a/style.css b/style.css index 873f8b7e..05bc8c1e 100644 --- a/style.css +++ b/style.css @@ -156,6 +156,30 @@ div.tradition { text-align: left; border-right-style: solid; } +b.equality { + color:#d32f2f; +} +b.wealth { + color:#00796b; +} +b.might { + color:#f57c00; +} +b.peace { + color:#0288d1; +} +b.liberty { + color:#fbc02d; +} +b.authority { + color:#303f9f; +} +b.tradition { + color:#689f38; +} +b.progress { + color:#7b1fa2; +} span.weight-300 { font-weight: 300; } From 2fb5dc39c1c1d914a09a9e46768d1acf62845428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerv=C3=A1sio=20J=C3=BAnior?= Date: Sun, 23 Apr 2017 21:14:42 -0300 Subject: [PATCH 04/33] Add localization for results Progress of adaptation: - [x] Questions - [x] Quiz - [x] Index - [x] Instructions - [x] Results --- ideologies.js | 767 +++++++++++++++--------------------- locales/en/ideologies.json | 53 +++ locales/en/matches.json | 6 + locales/en/translation.json | 11 +- locales/pt/ideologies.json | 1 + locales/pt/matches.json | 1 + results.html | 94 +++-- 7 files changed, 433 insertions(+), 500 deletions(-) create mode 100644 locales/en/ideologies.json create mode 100644 locales/en/matches.json create mode 100644 locales/pt/ideologies.json create mode 100644 locales/pt/matches.json diff --git a/ideologies.js b/ideologies.js index 9ce06178..d4e6ce8e 100644 --- a/ideologies.js +++ b/ideologies.js @@ -1,461 +1,308 @@ -ideologies = [ - { - "name": "Anarcho-Communism", - "stats": { - "econ": 100, - "dipl": 50, - "govt": 100, - "scty": 90 - } - }, - { - "name": "Libertarian Communism", - "stats": { - "econ": 100, - "dipl": 70, - "govt": 80, - "scty": 80 - } - }, - { - "name": "Trotskyism", - "stats": { - "econ": 100, - "dipl": 100, - "govt": 60, - "scty": 80 - } - }, - { - "name": "Marxism", - "stats": { - "econ": 100, - "dipl": 70, - "govt": 40, - "scty": 80 - } - }, - { - "name": "De Leonism", - "stats": { - "econ": 100, - "dipl": 30, - "govt": 30, - "scty": 80 - } - }, - { - "name": "Leninism", - "stats": { - "econ": 100, - "dipl": 40, - "govt": 20, - "scty": 70 - } - }, - { - "name": "Stalinism-Maoism", - "stats": { - "econ": 100, - "dipl": 20, - "govt": 0, - "scty": 60 - } - }, - { - "name": "Religious Communism", - "stats": { - "econ": 100, - "dipl": 50, - "govt": 30, - "scty": 30 - } - }, - { - "name": "State Socialism", - "stats": { - "econ": 80, - "dipl": 30, - "govt": 30, - "scty": 70 - } - }, - { - "name": "Theocratic Socialism", - "stats": { - "econ": 80, - "dipl": 50, - "govt": 30, - "scty": 20 - } - }, - { - "name": "Religious Socialism", - "stats": { - "econ": 80, - "dipl": 50, - "govt": 70, - "scty": 20 - } - }, - { - "name": "Democratic Socialism", - "stats": { - "econ": 80, - "dipl": 50, - "govt": 50, - "scty": 80 - } - }, - { - "name": "Revolutionary Socialism", - "stats": { - "econ": 80, - "dipl": 20, - "govt": 50, - "scty": 70 - } - }, - { - "name": "Libertarian Socialism", - "stats": { - "econ": 80, - "dipl": 80, - "govt": 80, - "scty": 80 - } - }, - { - "name": "Anarcho-Syndicalism", - "stats": { - "econ": 80, - "dipl": 50, - "govt": 100, - "scty": 80 - } - }, - { - "name": "Left-Wing Populism", - "stats": { - "econ": 60, - "dipl": 40, - "govt": 30, - "scty": 70 - } - }, - { - "name": "Theocratic Distributism", - "stats": { - "econ": 60, - "dipl": 40, - "govt": 30, - "scty": 20 - } - }, - { - "name": "Distributism", - "stats": { - "econ": 60, - "dipl": 50, - "govt": 50, - "scty": 20 - } - }, - { - "name": "Social Liberalism", - "stats": { - "econ": 60, - "dipl": 60, - "govt": 60, - "scty": 80 - } - }, - { - "name": "Christian Democracy", - "stats": { - "econ": 60, - "dipl": 60, - "govt": 40, - "scty": 30 - } - }, - { - "name": "Social Democracy", - "stats": { - "econ": 60, - "dipl": 70, - "govt": 40, - "scty": 80 - } - }, - { - "name": "Progressivism", - "stats": { - "econ": 60, - "dipl": 80, - "govt": 60, - "scty": 100 - } - }, - { - "name": "Anarcho-Mutualism", - "stats": { - "econ": 60, - "dipl": 50, - "govt": 100, - "scty": 70 - } - }, - { - "name": "National Totalitarianism", - "stats": { - "econ": 50, - "dipl": 20, - "govt": 0, - "scty": 50 - } - }, - { - "name": "Global Totalitarianism", - "stats": { - "econ": 50, - "dipl": 80, - "govt": 0, - "scty": 50 - } - }, - { - "name": "Technocracy", - "stats": { - "econ": 60, - "dipl": 60, - "govt": 20, - "scty": 70 - } - }, - { - "name": "Centrist", - "stats": { - "econ": 50, - "dipl": 50, - "govt": 50, - "scty": 50 - } - }, - { - "name": "Liberalism", - "stats": { - "econ": 50, - "dipl": 60, - "govt": 60, - "scty": 60 - } - }, - { - "name": "Religious Anarchism", - "stats": { - "econ": 50, - "dipl": 50, - "govt": 0, - "scty": 20 - } - }, - { - "name": "Right-Wing Populism", - "stats": { - "econ": 40, - "dipl": 30, - "govt": 30, - "scty": 30 - } - }, - { - "name": "Moderate Conservatism", - "stats": { - "econ": 40, - "dipl": 40, - "govt": 50, - "scty": 30 - } - }, - { - "name": "Reactionary", - "stats": { - "econ": 40, - "dipl": 40, - "govt": 40, - "scty": 10 - } - }, - { - "name": "Social Libertarianism", - "stats": { - "econ": 60, - "dipl": 70, - "govt": 80, - "scty": 70 - } - }, - { - "name": "Libertarianism", - "stats": { - "econ": 40, - "dipl": 60, - "govt": 80, - "scty": 60 - } - }, - { - "name": "Anarcho-Egoism", - "stats": { - "econ": 40, - "dipl": 50, - "govt": 100, - "scty": 50 - } - }, - { - "name": "Nazism", - "stats": { - "econ": 40, - "dipl": 0, - "govt": 0, - "scty": 5 - } - }, - { - "name": "Autocracy", - "stats": { - "econ": 50, - "dipl": 20, - "govt": 20, - "scty": 50 - } - }, - { - "name": "Fascism", - "stats": { - "econ": 40, - "dipl": 20, - "govt": 20, - "scty": 20 - } - }, - { - "name": "Capitalist Fascism", - "stats": { - "econ": 20, - "dipl": 20, - "govt": 20, - "scty": 20 - } - }, - { - "name": "Conservatism", - "stats": { - "econ": 30, - "dipl": 40, - "govt": 40, - "scty": 20 - } - }, - { - "name": "Neo-Liberalism", - "stats": { - "econ": 30, - "dipl": 30, - "govt": 50, - "scty": 60 - } - }, - { - "name": "Classical Liberalism", - "stats": { - "econ": 30, - "dipl": 60, - "govt": 60, - "scty": 80 - } - }, - { - "name": "Authoritarian Capitalism", - "stats": { - "econ": 20, - "dipl": 30, - "govt": 20, - "scty": 40 - } - }, - { - "name": "State Capitalism", - "stats": { - "econ": 20, - "dipl": 50, - "govt": 30, - "scty": 50 - } - }, - { - "name": "Neo-Conservatism", - "stats": { - "econ": 20, - "dipl": 20, - "govt": 40, - "scty": 20 - } - }, - { - "name": "Fundamentalism", - "stats": { - "econ": 20, - "dipl": 30, - "govt": 30, - "scty": 5 - } - }, - { - "name": "Libertarian Capitalism", - "stats": { - "econ": 20, - "dipl": 50, - "govt": 80, - "scty": 60 - } - }, - { - "name": "Market Anarchism", - "stats": { - "econ": 20, - "dipl": 50, - "govt": 100, - "scty": 50 - } - }, - { - "name": "Totalitarian Capitalism", - "stats": { - "econ": 0, - "dipl": 30, - "govt": 0, - "scty": 50 - } - }, - { - "name": "Ultra-Capitalism", - "stats": { - "econ": 0, - "dipl": 40, - "govt": 50, - "scty": 50 - } - }, - { - "name": "Anarcho-Capitalism", - "stats": { - "econ": 0, - "dipl": 50, - "govt": 100, - "scty": 50 - } +ideologies = { + "ideo1": { + "econ": 100, + "dipl": 50, + "govt": 100, + "scty": 90 + }, + "ideo2": { + "econ": 100, + "dipl": 70, + "govt": 80, + "scty": 80 + }, + "ideo3": { + "econ": 100, + "dipl": 100, + "govt": 60, + "scty": 80 + }, + "ideo4": { + "econ": 100, + "dipl": 70, + "govt": 40, + "scty": 80 + }, + "ideo5": { + "econ": 100, + "dipl": 30, + "govt": 30, + "scty": 80 + }, + "ideo6": { + "econ": 100, + "dipl": 40, + "govt": 20, + "scty": 70 + }, + "ideo7": { + "econ": 100, + "dipl": 20, + "govt": 0, + "scty": 60 + }, + "ideo8": { + "econ": 100, + "dipl": 50, + "govt": 30, + "scty": 30 + }, + "ideo9": { + "econ": 80, + "dipl": 30, + "govt": 30, + "scty": 70 + }, + "ideo10": { + "econ": 80, + "dipl": 50, + "govt": 30, + "scty": 20 + }, + "ideo11": { + "econ": 80, + "dipl": 50, + "govt": 70, + "scty": 20 + }, + "ideo12": { + "econ": 80, + "dipl": 50, + "govt": 50, + "scty": 80 + }, + "ideo13": { + "econ": 80, + "dipl": 20, + "govt": 50, + "scty": 70 + }, + "ideo14": { + "econ": 80, + "dipl": 80, + "govt": 80, + "scty": 80 + }, + "ideo15": { + "econ": 80, + "dipl": 50, + "govt": 100, + "scty": 80 + }, + "ideo16": { + "econ": 60, + "dipl": 40, + "govt": 30, + "scty": 70 + }, + "ideo17": { + "econ": 60, + "dipl": 40, + "govt": 30, + "scty": 20 + }, + "ideo18": { + "econ": 60, + "dipl": 50, + "govt": 50, + "scty": 20 + }, + "ideo19": { + "econ": 60, + "dipl": 60, + "govt": 60, + "scty": 80 + }, + "ideo20": { + "econ": 60, + "dipl": 60, + "govt": 40, + "scty": 30 + }, + "ideo21": { + "econ": 60, + "dipl": 70, + "govt": 40, + "scty": 80 + }, + "ideo22": { + "econ": 60, + "dipl": 80, + "govt": 60, + "scty": 100 + }, + "ideo23": { + "econ": 60, + "dipl": 50, + "govt": 100, + "scty": 70 + }, + "ideo24": { + "econ": 50, + "dipl": 20, + "govt": 0, + "scty": 50 + }, + "ideo25": { + "econ": 50, + "dipl": 80, + "govt": 0, + "scty": 50 + }, + "ideo26": { + "econ": 60, + "dipl": 60, + "govt": 20, + "scty": 70 + }, + "ideo27": { + "econ": 50, + "dipl": 50, + "govt": 50, + "scty": 50 + }, + "ideo28": { + "econ": 50, + "dipl": 60, + "govt": 60, + "scty": 60 + }, + "ideo29": { + "econ": 50, + "dipl": 50, + "govt": 0, + "scty": 20 + }, + "ideo30": { + "econ": 40, + "dipl": 30, + "govt": 30, + "scty": 30 + }, + "ideo31": { + "econ": 40, + "dipl": 40, + "govt": 50, + "scty": 30 + }, + "ideo32": { + "econ": 40, + "dipl": 40, + "govt": 40, + "scty": 10 + }, + "ideo33": { + "econ": 60, + "dipl": 70, + "govt": 80, + "scty": 70 + }, + "ideo34": { + "econ": 40, + "dipl": 60, + "govt": 80, + "scty": 60 + }, + "ideo35": { + "econ": 40, + "dipl": 50, + "govt": 100, + "scty": 50 + }, + "ideo36": { + "econ": 40, + "dipl": 0, + "govt": 0, + "scty": 5 + }, + "ideo37": { + "econ": 50, + "dipl": 20, + "govt": 20, + "scty": 50 + }, + "ideo38": { + "econ": 40, + "dipl": 20, + "govt": 20, + "scty": 20 + }, + "ideo39": { + "econ": 20, + "dipl": 20, + "govt": 20, + "scty": 20 + }, + "ideo40": { + "econ": 30, + "dipl": 40, + "govt": 40, + "scty": 20 + }, + "ideo41": { + "econ": 30, + "dipl": 30, + "govt": 50, + "scty": 60 + }, + "ideo42": { + "econ": 30, + "dipl": 60, + "govt": 60, + "scty": 80 + }, + "ideo43": { + "econ": 20, + "dipl": 30, + "govt": 20, + "scty": 40 + }, + "ideo44": { + "econ": 20, + "dipl": 50, + "govt": 30, + "scty": 50 + }, + "ideo45": { + "econ": 20, + "dipl": 20, + "govt": 40, + "scty": 20 + }, + "ideo46": { + "econ": 20, + "dipl": 30, + "govt": 30, + "scty": 5 + }, + "ideo47": { + "econ": 20, + "dipl": 50, + "govt": 80, + "scty": 60 + }, + "ideo48": { + "econ": 20, + "dipl": 50, + "govt": 100, + "scty": 50 + }, + "ideo49": { + "econ": 0, + "dipl": 30, + "govt": 0, + "scty": 50 + }, + "ideo50": { + "econ": 0, + "dipl": 40, + "govt": 50, + "scty": 50 + }, + "ideo51": { + "econ": 0, + "dipl": 50, + "govt": 100, + "scty": 50 } -]; +}; diff --git a/locales/en/ideologies.json b/locales/en/ideologies.json new file mode 100644 index 00000000..2ce764a9 --- /dev/null +++ b/locales/en/ideologies.json @@ -0,0 +1,53 @@ +{ + "ideo1": "Anarcho-Communism", + "ideo2": "Libertarian Communism", + "ideo3": "Trotskyism", + "ideo4": "Marxism", + "ideo5": "De Leonism", + "ideo6": "Leninism", + "ideo7": "Stalinism-Maoism", + "ideo8": "Religious Communism", + "ideo9": "State Socialism", + "ideo10": "Theocratic Socialism", + "ideo11": "Religious Socialism", + "ideo12": "Democratic Socialism", + "ideo13": "Revolutionary Socialism", + "ideo14": "Libertarian Socialism", + "ideo15": "Anarcho-Syndicalism", + "ideo16": "Left-Wing Populism", + "ideo17": "Theocratic Distributism", + "ideo18": "Distributism", + "ideo19": "Social Liberalism", + "ideo20": "Christian Democracy", + "ideo21": "Social Democracy", + "ideo22": "Progressivism", + "ideo23": "Anarcho-Mutualism", + "ideo24": "National Totalitarianism", + "ideo25": "Global Totalitarianism", + "ideo26": "Technocracy", + "ideo27": "Centrist", + "ideo28": "Liberalism", + "ideo29": "Religious Anarchism", + "ideo30": "Right-Wing Populism", + "ideo31": "Moderate Conservatism", + "ideo32": "Reactionary", + "ideo33": "Social Libertarianism", + "ideo34": "Libertarianism", + "ideo35": "Anarcho-Egoism", + "ideo36": "Nazism", + "ideo37": "Autocracy", + "ideo38": "Fascism", + "ideo39": "Capitalist Fascism", + "ideo40": "Conservatism", + "ideo41": "Neo-Liberalism", + "ideo42": "Classical Liberalism", + "ideo43": "Authoritarian Capitalism", + "ideo44": "State Capitalism", + "ideo45": "Neo-Conservatism", + "ideo46": "Fundamentalism", + "ideo47": "Libertarian Capitalism", + "ideo48": "Market Anarchism", + "ideo49": "Totalitarian Capitalism", + "ideo50": "Ultra-Capitalism", + "ideo51": "Anarcho-Capitalism" +} \ No newline at end of file diff --git a/locales/en/matches.json b/locales/en/matches.json new file mode 100644 index 00000000..b4d08abf --- /dev/null +++ b/locales/en/matches.json @@ -0,0 +1,6 @@ +{ + "econ": ["Communist","Socialist","Egalitarian","Centrist","Market","Capitalist","Laissez-Faire"], + "dipl": ["Ultra-Pacifist","Pacifist","Dovish","Balanced","Hawkish","Militarist","Ultra-Militarist"], + "govt": ["Anarchist","Libertarian","Liberal","Moderate","Statist","Authoritarian","Totalitarian"], + "scty": ["Revolutionary","Very Progressive","Progressive","Neutral","Traditional","Very Traditional","Reactionary"] +} \ No newline at end of file diff --git a/locales/en/translation.json b/locales/en/translation.json index c77eabba..ec71901f 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -16,5 +16,14 @@ "liberty": "Liberty (State)
Those with higher Liberty scores believe in strong civil liberties. They tend to support democracy and oppose state intervention in personal lives. Note that this refers to civil liberties, not economic liberties.", "authority": "Authority (State)
Those with higher Authority scores believe in strong state power. They tend to support state intervention in personal lives, government surveillance, and at high values, censorship or autocracy.", "tradition": "Tradition (Society)
Those with higher Tradition scores believe in traditional values and strict adherence to a moral code. Though not always, they are usually religious, and support the status quo or the status quo ante.", - "progress": "Progress (Society)
Those with higher Progress scores believe in social change and rationality. Though not always, they are usually secular or atheist, and support environmental action and scientific or technological research." + "progress": "Progress (Society)
Those with higher Progress scores believe in social change and rationality. Though not always, they are usually secular or atheist, and support environmental action and scientific or technological research.", + + "results": "Results", + "economic_axis": "Economic Axis: ", + "diplomatic_axis": "Diplomatic Axis: ", + "civic_axis": "Civil Axis: ", + "societal_axis": "Societal Axis: ", + "closest_match": "Closest Match: ", + "match_desc": "Ideological matching is a work in progress, and is much less accurate than the values and axes.
You can send these results by copying and pasting the URL at the top of the page or using the image below. Think your matched ideology was wrong? Want to help us calibrate the test? Send the results along with your political ideology to us at eightvalues@gmail.com, or send us any comments, questions, or criticism.", + "back": "Back" } \ No newline at end of file diff --git a/locales/pt/ideologies.json b/locales/pt/ideologies.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/locales/pt/ideologies.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/locales/pt/matches.json b/locales/pt/matches.json new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/locales/pt/matches.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/results.html b/results.html index 91d42891..fbccf57c 100644 --- a/results.html +++ b/results.html @@ -6,6 +6,9 @@ + + + @@ -14,42 +17,41 @@

8values


-

Results

+

-

Economic Axis:

+

-

Diplomatic Axis:

+

-

Civil Axis:

+

-

Societal Axis:

+

-

Closest Match:

-

Ideological matching is a work in progress, and is much less accurate than the values and axes.

-

You can send these results by copying and pasting the URL at the top of the page or using the image below. Think your matched ideology was wrong? Want to help us calibrate the test? Send the results along with your political ideology to us at eightvalues@gmail.com, or send us any comments, questions, or criticism.

+

+


-
+
From 9dfac025fd2313902d563dc8458bb3a5bf7bfd5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Guilherme=20Farias=20Duda?= Date: Wed, 26 Apr 2017 21:26:57 -0300 Subject: [PATCH 05/33] [LOCALIZATION] [PT-BR] Ideologies --- locales/pt/ideologies.json | 54 +++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/locales/pt/ideologies.json b/locales/pt/ideologies.json index 9e26dfee..9885edbb 100644 --- a/locales/pt/ideologies.json +++ b/locales/pt/ideologies.json @@ -1 +1,53 @@ -{} \ No newline at end of file +{ + "ideo1": "Anarco-comunismo", + "ideo2": "Comunismo libertário", + "ideo3": "Trotskismo", + "ideo4": "Marxismo", + "ideo5": "De Leonismo", + "ideo6": "Leninismo", + "ideo7": "Stalinismo-Maoinista", + "ideo8": "Comunismo Reliogioso", + "ideo9": "Socialismo de Estado", + "ideo10": "Socialismo Teocrático", + "ideo11": "Socialismo Religioso", + "ideo12": "Socialismo Democrático", + "ideo13": "Socialismo Revolucionário", + "ideo14": "Socialismo Libertário", + "ideo15": "Anarco-sindicalismo", + "ideo16": "Populismo de Esquerda", + "ideo17": "Distributismo Teocrático", + "ideo18": "Distributismo", + "ideo19": "Liberalismo Social", + "ideo20": "Democracia Cristã", + "ideo21": "Socio-democrácia", + "ideo22": "Progressivismo", + "ideo23": "Anarco-mutualismo", + "ideo24": "Totalitarianismo Nacionalista", + "ideo25": "Totalitarianismo Globalista", + "ideo26": "Tecnocracia", + "ideo27": "Centrista", + "ideo28": "Liberalismo", + "ideo29": "Anarchismo Religioso", + "ideo30": "Populismo de Direita", + "ideo31": "Conservacionismo Moderado", + "ideo32": "Reacionário", + "ideo33": "Socio-libertarianismo", + "ideo34": "Libertarianismo", + "ideo35": "Anarco-Egoísmo", + "ideo36": "Nazismo", + "ideo37": "Autocrácia", + "ideo38": "Fascismo", + "ideo39": "Fascismo Capitalista", + "ideo40": "Conservadorismo", + "ideo41": "Neo-Liberalismo", + "ideo42": "Liberalismo Clássico", + "ideo43": "Capitalismo Autoritário", + "ideo44": "Capitalismo de Estado", + "ideo45": "Neo-Conservadorismo", + "ideo46": "Fundamentalismo", + "ideo47": "Capitalismo LIbertário", + "ideo48": "Anarchismo de Mercado", + "ideo49": "Capitalismo Totalitário", + "ideo50": "Ultra-capitalismo", + "ideo51": "Anarco-capitalismo" +} From 315ec7b164abb48755cb10dca93685416b2ed44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Guilherme=20Farias=20Duda?= Date: Wed, 26 Apr 2017 21:29:57 -0300 Subject: [PATCH 06/33] [LOCALIZATION] [PT-BR] Matches --- locales/pt/matches.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/locales/pt/matches.json b/locales/pt/matches.json index 9e26dfee..e3c16761 100644 --- a/locales/pt/matches.json +++ b/locales/pt/matches.json @@ -1 +1,6 @@ -{} \ No newline at end of file +{ + "econ": ["Comunista","Socialista","Equalitário","Centrísta","Mercado","Capitalista","Laissez-Faire"], + "dipl": ["Ultra-pacifista","Pacifista","Dovish","Balanceado","Hawkish","Militarista","Ultra-militarista"], + "govt": ["Anarchista","Libertário","Liberal","Moderado","Estatista","Autoritário","Totalitarista"], + "scty": ["Revolucionário","Muito Progressista","Progressista","Neutro","Tradicional","Muito Tradicional","Reacionário"] +} From 5bbd29e6894fc5bee5f5832f2eb1a452dbc857fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joa=CC=83o=20Guilherme=20Farias=20Duda?= Date: Wed, 26 Apr 2017 21:39:29 -0300 Subject: [PATCH 07/33] [LOCALIZATION] [PT-BR] WIP: Transalation.json --- locales/pt/translation.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/locales/pt/translation.json b/locales/pt/translation.json index 00e40fcc..a3ba7b93 100644 --- a/locales/pt/translation.json +++ b/locales/pt/translation.json @@ -1,4 +1,10 @@ { "start": "Clique aqui para iniciar!", - "faq_whatis": "O que é o 8values?" -} \ No newline at end of file + "faq_whatis": "O que é o 8values?", + "faq_whatis_answer": "8values é, em essência, um questionário político que tenta indicar porcentagens para oito diferentes valores políticos. Você será apresentado a uma afirmação e, então, você responderá com tua opinião sobre esta afirmação, de Concordo Plenamente a Discordo Plenamente, e cada resposta afetará tua pontuação. Ao final do questionário, tuas reposta serão comparadas com o valor máximo possível para cada valor, dando, assim um porcentagem. Responda honestamente!", + "faq_values": "Quais são os oito valores?", + "faq_values_answer": "Existem quatro eixos - Econômico, Diplomático, Estado, e Sociedade - e cada um tem dois valores opostos assinalados para eles. Estes são:", + "faq_match": "O que significa "Perfil mais Próximo" ao final dos resultado?", + "faq_scores": "Eu não gosto da minha pontuação!", + "faq_scores_answer": "¯\\_(ツ)_/¯
Se você tem alguma sugestão ou crítica construtiva, sinta-se a vontade para enviar um e-mail para eightvalues@gmail.com", +} From 6200b8541d98d0835da004590b7f8b5c4749141c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerv=C3=A1sio=20J=C3=BAnior?= Date: Fri, 28 Apr 2017 17:15:34 -0300 Subject: [PATCH 08/33] Modularizes the localization binding In order to load the namespaces and do the string binding, just load the i18n.js file on the HTML and call the i18n_load_ns with the namespaces notation found [here](http://i18next.com/translate/namespace/). To fill the string data (e.g. "12 apples), the element must adhere to the following notation (see HTML data-* attributes): ```html

``` ```json { "apple_count": "{{amount}} apples" } ``` To refresh the string, alter the data-* attribute accordingly and call `i18n_ready()`. --- i18n.js | 22 ++++++++++++++++++++++ index.html | 46 ++++++++++++++++++---------------------------- instructions.html | 24 ++++++------------------ quiz.html | 45 +++++++++++++++++---------------------------- results.html | 33 +++++++++++---------------------- 5 files changed, 74 insertions(+), 96 deletions(-) create mode 100644 i18n.js diff --git a/i18n.js b/i18n.js new file mode 100644 index 00000000..518addac --- /dev/null +++ b/i18n.js @@ -0,0 +1,22 @@ +function i18n_load_ns(namespaces, callback) { + var options = { + "fallbackLng": "en" + } + + if (namespaces) options.ns = namespaces + + window.i18next + .use(window.i18nextBrowserLanguageDetector) + .use(window.i18nextXHRBackend) + .init(options, function() { + i18n_ready() + if (callback) callback() + }) +} + +function i18n_ready() { + var fields = document.querySelectorAll("[data-i18n]") + for (var i = 0; i < fields.length; i++) { + fields[i].innerHTML=i18next.t(fields[i].dataset.i18n, fields[i].dataset) + } +} \ No newline at end of file diff --git a/index.html b/index.html index 8aa9f914..0e3c6edb 100644 --- a/index.html +++ b/index.html @@ -10,42 +10,32 @@ +

8values


- + -

-

+

+

-

-

-

-

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

+

+

+

+

diff --git a/instructions.html b/instructions.html index 21eaf1b2..603a870f 100644 --- a/instructions.html +++ b/instructions.html @@ -10,28 +10,16 @@ +

8values


-

-

-
-
+

+

+
+
diff --git a/quiz.html b/quiz.html index 52485fb5..fb80cf6d 100644 --- a/quiz.html +++ b/quiz.html @@ -10,29 +10,24 @@ - + + +

8values


-

Loading...

-

-
-
-
-
-
+

Loading...

+

+
+
+
+
+
- + +

8values


-

+

-

+

-

+

-

+

-

+

-

-

+

+


-
+
diff --git a/locales/de/values.json b/locales/de/values.json new file mode 100644 index 00000000..30ce918e --- /dev/null +++ b/locales/de/values.json @@ -0,0 +1,15 @@ +{ + "economic": "ECONOMIC", + "diplomatic": "DIPLOMATIC", + "civil": "CIVIL", + "societal": "SOCIETAL", + + "equality": "EQUALITY", + "wealth": "MARKETS", + "might": "NATION", + "peace": "WORLD", + "liberty": "LIBERTY", + "authority": "AUTHORITY", + "tradition": "TRADITION", + "progress": "PROGRESS" +} diff --git a/locales/en/values.json b/locales/en/values.json new file mode 100644 index 00000000..30ce918e --- /dev/null +++ b/locales/en/values.json @@ -0,0 +1,15 @@ +{ + "economic": "ECONOMIC", + "diplomatic": "DIPLOMATIC", + "civil": "CIVIL", + "societal": "SOCIETAL", + + "equality": "EQUALITY", + "wealth": "MARKETS", + "might": "NATION", + "peace": "WORLD", + "liberty": "LIBERTY", + "authority": "AUTHORITY", + "tradition": "TRADITION", + "progress": "PROGRESS" +} diff --git a/results.html b/results.html index 39e4cb45..4264145a 100644 --- a/results.html +++ b/results.html @@ -27,31 +27,55 @@

- +
+ +
+
-
- +
+
+ +
+

- +
+ +
+
- +
+ +
+

- +
+ +
+
- +
+ +
+

- +
+ +
+
- +
+ +
+

@@ -151,7 +175,7 @@

image/svg+xml - + @@ -120,134 +120,6 @@ d="m 0.72760492,18.520836 v 4.167188 c 0,1.539081 1.23904398,2.778124 2.77812498,2.778124 H 22.952604 c 1.539081,0 2.778125,-1.239043 2.778125,-2.778124 v -4.167188 z" id="rect5205-3-6" inkscape:connector-curvature="0" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - + @@ -119,51 +119,6 @@ d="m 0.72760467,18.520836 v 4.167188 c 0,1.539081 1.23904383,2.778124 2.77812503,2.778124 H 22.952604 c 1.539081,0 2.778125,-1.239043 2.778125,-2.778124 v -4.167188 z" id="rect5205-3" inkscape:connector-curvature="0" /> - - - - - - - - - - image/svg+xml - + @@ -120,380 +120,6 @@ d="m 0.7276035,18.520835 v 4.167188 c 0,1.539081 1.2390438,2.778125 2.778125,2.778125 H 22.952604 c 1.539081,0 2.778125,-1.239044 2.778125,-2.778125 v -4.167188 z" id="rect5205" inkscape:connector-curvature="0" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WORLD - - - - - - - MARKETS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - + @@ -122,38 +122,7 @@ - - - - - - - + id="text4627-3-2" /> diff --git a/value_images/peace.svg b/value_images/peace.svg index 80378f64..8e319c73 100644 --- a/value_images/peace.svg +++ b/value_images/peace.svg @@ -51,20 +51,20 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="0.70710678" - inkscape:cx="766.04529" - inkscape:cy="-11.092422" + inkscape:zoom="1.4142136" + inkscape:cx="374.52874" + inkscape:cy="-32.492387" inkscape:document-units="mm" - inkscape:current-layer="layer1" + inkscape:current-layer="g5264-1" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1016" - inkscape:window-x="0" - inkscape:window-y="27" + inkscape:window-width="1440" + inkscape:window-height="837" + inkscape:window-x="-8" + inkscape:window-y="206" inkscape:window-maximized="1" showguides="false" inkscape:object-nodes="true" @@ -78,7 +78,7 @@ image/svg+xml - + @@ -120,36 +120,6 @@ id="path5258-9" d="m 0.72760492,18.520836 v 4.167188 c 0,1.539081 1.23904398,2.778124 2.77812498,2.778124 H 22.952604 c 1.539081,0 2.778125,-1.239043 2.778125,-2.778124 v -4.167188 z" style="opacity:1;fill:#222222;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24999997;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.90944878;paint-order:normal" /> - - - - - - - diff --git a/value_images/progress.svg b/value_images/progress.svg index d5dcbce9..f813ee41 100644 --- a/value_images/progress.svg +++ b/value_images/progress.svg @@ -51,20 +51,20 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="0.5" - inkscape:cx="616.35575" - inkscape:cy="150.46772" + inkscape:zoom="1.4142136" + inkscape:cx="275.02884" + inkscape:cy="50.562334" inkscape:document-units="px" - inkscape:current-layer="layer1" + inkscape:current-layer="g5375" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" - inkscape:window-width="1920" - inkscape:window-height="1016" - inkscape:window-x="0" - inkscape:window-y="27" + inkscape:window-width="1440" + inkscape:window-height="837" + inkscape:window-x="-8" + inkscape:window-y="206" inkscape:window-maximized="1" showguides="false" inkscape:object-nodes="true" @@ -78,7 +78,7 @@ image/svg+xml - + @@ -119,51 +119,6 @@ id="path5369" d="m 0.72760492,18.520836 v 4.167188 c 0,1.539081 1.23904398,2.778124 2.77812498,2.778124 H 22.952604 c 1.539081,0 2.778125,-1.239043 2.778125,-2.778124 v -4.167188 z" style="opacity:1;fill:#222222;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24999997;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.90944878;paint-order:normal" /> - - - - - - - - - - image/svg+xml - + @@ -87,179 +87,6 @@ inkscape:groupmode="layer" id="layer1" transform="translate(98.048812,-95.14345)"> - - - - - - - - - - - - - - - - - - - - - - - WORLD - - - - - - - MARKETS - - - - - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - + @@ -119,46 +119,6 @@ d="M 9.402202,18.520836 9.3842353,17.714385 8.7707532,17.612582 C 8.1138401,17.503572 7.2415254,17.250004 6.7688637,17.030669 5.9935039,16.670865 5.1956549,15.936571 4.9192966,15.328429 4.7733514,15.00727 4.7427698,14.852188 4.7438705,14.438837 c 0.00158,-0.597901 0.1498429,-0.938029 0.5540116,-1.271053 0.4177441,-0.344212 0.8957956,-0.507124 1.50327,-0.512292 0.5940108,-0.005 0.967738,0.115408 1.3599039,0.438346 1.2780673,1.052439 0.5843599,2.795862 -1.181084,2.968295 l -0.413681,0.04041 0.180008,0.17136 c 0.3424198,0.325973 1.1140979,0.626783 2.0760653,0.809279 0.6640289,0.125971 0.5941596,0.42663 0.5941596,-2.556758 V 11.904742 L 9.0774941,11.763171 C 8.8910279,11.685314 8.4861275,11.515931 8.1777156,11.386766 6.7313225,10.781013 5.720306,9.8937709 5.3432851,8.8993427 5.0479427,8.1203492 5.1364793,6.8520664 5.5433302,6.0336994 6.1097441,4.8943785 7.4248515,4.0262524 9.0452057,3.7220492 l 0.3713182,-0.06971 V 2.8908535 2.1293682 h 0.2583083 0.2583083 v 0.7362127 0.736212 h 0.6457715 0.645771 V 2.8655809 2.1293682 h 0.290596 0.290597 v 0.7656611 c 0,0.4211134 0.0218,0.7658609 0.04843,0.7661056 0.214223,0.00197 0.952992,0.1475188 1.352563,0.266479 1.647274,0.4904269 2.62301,1.3571426 2.715888,2.4124377 0.04107,0.4666781 -0.08942,0.8239198 -0.424568,1.1622535 C 15.118297,7.8858179 14.836133,7.9887054 14.16294,7.989196 13.631335,7.989607 13.551591,7.974022 13.228292,7.8067721 12.800408,7.5854242 12.491929,7.2031327 12.383007,6.7592262 c -0.06871,-0.2800274 -0.06207,-0.3634799 0.0575,-0.7225142 0.142449,-0.4277199 0.280509,-0.5849832 0.765472,-0.8719213 0.202322,-0.1197082 0.36002,-0.1621559 0.629103,-0.1693363 0.197502,-0.00527 0.359334,-0.029129 0.359623,-0.053016 0.0019,-0.1545445 -1.026083,-0.5681251 -1.71077,-0.6883032 -0.213104,-0.037405 -0.45317,-0.080796 -0.533479,-0.096425 l -0.146016,-0.028419 0.01686,2.4195036 0.01686,2.4195043 0.633602,0.2272833 c 1.370901,0.4917626 2.561358,1.1150746 3.199509,1.6752286 0.884419,0.776326 1.16184,1.294261 1.21711,2.27229 0.06066,1.073182 -0.157017,1.861345 -0.735324,2.66262 -0.521865,0.72307 -1.273547,1.201124 -2.432831,1.547225 -0.385558,0.115114 -0.974017,0.240735 -1.307686,0.279172 l -0.606669,0.06989 v 0.81264 0.812643 h -0.290592 -0.290596 v -0.79511 -0.79511 H 10.578912 9.9331405 v 0.79511 0.795108 H 9.6766546 9.4201685 Z m 1.580316,-1.313036 0.242165,-8.12e-4 V 14.857297 12.5076 l -0.58164,-0.212321 c -0.319901,-0.116778 -0.610499,-0.212322 -0.6457706,-0.212322 -0.041467,0 -0.064131,0.903997 -0.064131,2.558633 v 2.558632 l 0.2744526,0.02366 c 0.150949,0.01296 0.332573,0.01491 0.403607,0.0043 0.07104,-0.01075 0.238128,-0.01984 0.371318,-0.02027 z m 1.531619,-0.339787 c 0.485697,-0.208834 1.050883,-0.710139 1.231991,-1.092741 0.200732,-0.424062 0.203264,-1.131137 0.0055,-1.538866 -0.274099,-0.565145 -0.726598,-0.944109 -1.62073,-1.357346 l -0.325014,-0.15022 v 2.186566 2.186566 l 0.1755,-0.04017 c 0.09652,-0.0221 0.336268,-0.109294 0.532761,-0.193783 z M 11.224683,6.4288476 V 4.072969 l -0.403608,6.588e-4 c -0.221983,3.564e-4 -0.512938,0.017132 -0.646566,0.037273 l -0.2429617,0.036624 0.01694,2.1229688 0.01694,2.122969 0.1614437,0.042987 c 0.08879,0.023644 0.36486,0.1106938 0.613482,0.1934343 0.248622,0.082748 0.459305,0.1514358 0.468184,0.1526467 0.0089,0.00122 0.01615,-1.0579438 0.01615,-2.3536777 z M 9.4165239,6.2227086 c 0,-2.1780523 0.040029,-2.0522223 -0.5539916,-1.7414769 C 8.3787625,4.7343033 7.9129084,5.2270085 7.7725255,5.6340645 7.5337467,6.3264327 7.7293625,6.9430095 8.3637291,7.4975217 8.6004502,7.7044444 9.2685506,8.1277474 9.368091,8.1338773 9.394729,8.1354973 9.416524,7.2754917 9.4165239,6.2227086 Z" id="path5347" inkscape:connector-curvature="0" /> - - - - - - - - - From 04d8fcb0bd71a95e87dc2b3d369481d21f9a778f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gro=C3=9Fe?= Date: Sat, 6 May 2017 14:10:17 +0200 Subject: [PATCH 17/33] Fixed scaling issues on index --- index.html | 4 ++-- style.css | 31 ++++++++++++++++++------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index c21a1056..ca08c497 100644 --- a/index.html +++ b/index.html @@ -27,7 +27,7 @@

8values

-
+
@@ -43,7 +43,7 @@

8values

-
+
diff --git a/style.css b/style.css index 704b073d..f3b2105d 100644 --- a/style.css +++ b/style.css @@ -66,12 +66,6 @@ li { a { font-family: inherit; } -figure.center { - display: block; - margin: 1em auto; - width: 50%; - min-width: 500pt; -} .button { background-color: #2196f3; font-family: 'Montserrat', sans-serif; @@ -216,31 +210,42 @@ canvas { margin-left: auto; margin-right: auto; } -#values { - width: 870px; -} figure { position: relative; margin: 0; } +figure.center { + display: block; + margin: 1em auto; + width: 50%; + min-width: 500pt; +} +figure img { + width: 100%; +} +#values { + background: white; +} #values figure, #values p { + width: 23.5%; + min-width: 100pt; float: left; margin: 5px; } #values p { text-align: center; - width: 200px; font-family: Montserrat; - font-size: 24pt; + font-size: 150%; color: black; } figcaption { position: absolute; top: 75%; text-align: center; - width: 200px; + width: 100%; + min-width: 100pt; font-family: Montserrat; - font-size: 24pt; + font-size: 150%; color: white; } figcaption.small { From d3a70d877e24af40d49c7ab07e5c3980365351e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gro=C3=9Fe?= Date: Sat, 6 May 2017 14:29:36 +0200 Subject: [PATCH 18/33] Fixed [DE] again (some issues with file formatting) --- locales/de/questions.json | 146 +++++++++++++++++++------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/locales/de/questions.json b/locales/de/questions.json index 07504ce2..207a3d50 100644 --- a/locales/de/questions.json +++ b/locales/de/questions.json @@ -1,75 +1,75 @@ { - "q1": "Unterdrückung durch Konzerne ist genauso, wenn nicht mehr, beunruhigend wie Unterdrückung durch Regierungen.", -   "q2": "Es ist notwendig, dass die Regierung in die Wirtschaft eingreift, um die Bürger zu schützen.", -   "q3": "Je freier die Märkte sind, desto freier sind die Menschen.", - "q4": "Die öffentlich finanzierte Forschung ist für die Menschen vorteilhafter, als sie dem Markt zu überlassen.", - "q5": "Von jedem nach seiner Fähigkeit, zu jedem nach seinen Bedürfnissen.", -   "q6": "Es wäre am besten, wenn Sozialprogramme zugunsten der privaten Wohltätigkeit abgeschafft würden.", -   "q7": "Die Steuern auf die Reichen sollten erhöht werden, um für die Armen zu sorgen.", -   "q8": "Erbschaft ist eine legitime Form des Reichtums", -   "q9": "Öffentliche Einrichtungen wie Straßen und Stromversorgung sollten der Öffentlichkeit gehören.", - "q10": "Diejenigen die es sich leisten können, sollten eine bessere medizinische Versorgung erhalten.", -   "q11": "Schulbildung ist ein Recht aller Menschen.", -   "q12": "Die Produktionsmittel sollten den Arbeitern gehören, die sie benutzen.", -   "q13": "Die Vereinten Nationen sollten abgeschafft werden", -   "q14": "Militärische Aktionen von unserem Land sind oft notwendig, um es zu schützen.", - "q15": "Es ist wichtiger, friedliche Beziehungen zu führen, als unsere Stärke weiter zu erhöhen.", -   "q16": "Kriege müssen gegenüber anderen Ländern nicht gerechtfertigt werden.", -   "q17": "Militärausgaben sind Geldverschwendung.", -   "q18": "Internationale Hilfe ist Geldverschwendung.", -   "q19": "Mein Land ist großartig.", -   "q20": "Forschung sollte auf internationaler Ebene durchgeführt werden.", - "q21": "Die Regierungen sollten gegenüber der internationalen Gemeinschaft Verantwortung zeigen.", -   "q22": "Auch wenn man gegen eine autoritäre Regierung protestiert, ist Gewalt nicht akzeptabel.", -   "q23": "Meine religiösen Werte sollten so weit wie möglich verbreitet werden.", -   "q24": "Die Werte unserer Nation sollten so weit wie möglich verbreitet werden.", -   "q25": "Es ist sehr wichtig, Gesetz und Ordnung aufrecht zuerhalten.", -   "q26": "Die allgemeine Bevölkerung trifft schlechte Entscheidungen.", - "q27": "Verbrechen ohne Opfer (wie Drogenkonsum) sollten überhaupt keine Verbrechen sein.", -   "q28": "Einige zivile Freiheiten zu opfern ist notwendig, um uns vor Terrorakten zu schützen.", -   "q29": "Staatliche Überwachung ist in der modernen Welt notwendig.", -   "q30": "Die Existenz des Staates ist eine Bedrohung für unsere Freiheit.", -   "q31": "Unabhängig von politischen Ansichten ist es wichtig, zu deinem Land zu halten.", -   "q32": "Jede Autorität sollte hinterfragt werden.", -   "q33": "Ein hierarchischer Staat ist am besten.", -   "q34": "Es ist wichtig, dass die Regierung der überwiegenden Meinung folgt, auch wenn sie falsch ist.", -   "q35": "Je stärker die Führung, desto besser.", -   "q36": "Demokratie ist mehr als ein Entscheidungsprozess.", -   "q37": "Umweltvorschriften sind notwendig.", -   "q38": "Automatisierung, Wissenschaft und Technik werden eine bessere Welt schaffen.", -   "q39": "Kinder sollten nach religiösen oder traditionellen Werten erzogen werden.", -   "q40": "Traditionen haben keinen eigenen Wert.", - "q41": "Die Religion sollte in der Regierung eine Rolle spielen.", -   "q42": "Kirchen sollten wie alle anderen Institutionen besteuert werden.", -   "q43": "Der Klimawandel ist derzeit eine der größten Bedrohungen für unsere Art zu leben.", - "q44": "Es ist wichtig, dass wir als eine vereinte Welt zusammen arbeiten, um den Klimawandel zu bekämpfen.", -   "q45": "Die Gesellschaft war vor vielen Jahren besser als heute.", -   "q46": "Es ist wichtig, dass wir die Traditionen unserer Vergangenheit beibehalten.", -   "q47": "Es ist wichtig, dass wir langfristig, nach unserem Leben denken.", -   "q48": "Vernunft ist wichtiger als die Erhaltung unserer Kultur.", -   "q49": "Drogenkonsum sollte legalisiert oder entkriminalisiert werden.", -   "q50": "Gleichgeschlechtliche Ehe sollte legal sein.", - "q51": "Sex außerhalb der Ehe ist unmoralisch.", - "q52": "Abtreibung sollte in den meisten oder allen Fällen verboten sein.", -   "q53": "Waffenbesitz sollte für diejenigen ohne einen gültigen Grund verboten sein.", -   "q54": "Ich unterstütze staatliche Krankenversicherung.", - "q55": "Ich unterstütze regionale Bündnisse wie die Europäische Union", - "q56": "Kommunismus ist nicht so schlecht, wie die Leute sagen.", - "q57": "Faschismus ist nicht so schlecht, wie die Leute sagen.", - "q58": "Kapitalismus ist nicht so schlecht, wie die Leute sagen.", - "q59": "Alle Menschen - unabhängig von Faktoren wie Kultur oder Sexualität - sollten gleich behandelt werden.", -   "q60": "Es ist wichtig, dass wir die Ziele meiner Fraktion vor allen anderen weiter verbreiten.", - "q61": "Es ist besser, einen ausgewogenen Finanzhaushalt aufrechtzuerhalten, als das Wohlergehen für alle Bürger zu gewährleisten.",    -   "q62": "Internationaler Handel ist vorteilhaft.",    -   "q63": "Übermäßige staatliche Einmischung ist eine Bedrohung für die Wirtschaft.", - "q64": "Prostitution sollte illegal sein.", - "q65": "Es ist wichtig, unsere nationale Souveränität aufrecht zuerhalten.", -   "q66": "Eine vereinigte Weltregierung wäre für die Menschheit von Vorteil.", - "q67": "Keine Kultur ist anderen Kulturen überlegen.",    -   "q68": "Wenn wir Migranten überhaupt akzeptieren, ist es wichtig, dass sie sich in unsere Kultur integrieren.",    -   "q69": "Familienwerte beizubehalten ist wichtig.", -   "q70": "Das Streben nach Fortschritte um jeden Preis ist gefährlich.", -   "q71": "Genetische Veränderung ist gut, auch auf Menschen.", -   "q72": "Wir sollten unsere Grenzen für Einwanderer öffnen.", -   "q73": "Regierungen sollten sich genauso um ausländische Menschen sorgen, wie über die eigenen Bürger." + "q1": "Unterdrückung durch Konzerne ist genauso, wenn nicht mehr, beunruhigend wie Unterdrückung durch Regierungen.", + "q2": "Es ist notwendig, dass die Regierung in die Wirtschaft eingreift, um die Bürger zu schützen.", + "q3": "Je freier die Märkte sind, desto freier sind die Menschen.", + "q4": "Die öffentlich finanzierte Forschung ist für die Menschen vorteilhafter, als sie dem Markt zu überlassen.", + "q5": "Von jedem nach seiner Fähigkeit, zu jedem nach seinen Bedürfnissen.", + "q6": "Es wäre am besten, wenn Sozialprogramme zugunsten der privaten Wohltätigkeit abgeschafft würden.", + "q7": "Die Steuern auf die Reichen sollten erhöht werden, um für die Armen zu sorgen.", + "q8": "Erbschaft ist eine legitime Form des Reichtums", + "q9": "Öffentliche Einrichtungen wie Straßen und Stromversorgung sollten der Öffentlichkeit gehören.", + "q10": "Diejenigen die es sich leisten können, sollten eine bessere medizinische Versorgung erhalten.", + "q11": "Schulbildung ist ein Recht aller Menschen.", + "q12": "Die Produktionsmittel sollten den Arbeitern gehören, die sie benutzen.", + "q13": "Die Vereinten Nationen sollten abgeschafft werden", + "q14": "Militärische Aktionen von unserem Land sind oft notwendig, um es zu schützen.", + "q15": "Es ist wichtiger, friedliche Beziehungen zu führen, als unsere Stärke weiter zu erhöhen.", + "q16": "Kriege müssen gegenüber anderen Ländern nicht gerechtfertigt werden.", + "q17": "Militärausgaben sind Geldverschwendung.", + "q18": "Internationale Hilfe ist Geldverschwendung.", + "q19": "Mein Land ist großartig.", + "q20": "Forschung sollte auf internationaler Ebene durchgeführt werden.", + "q21": "Die Regierungen sollten gegenüber der internationalen Gemeinschaft Verantwortung zeigen.", + "q22": "Auch wenn man gegen eine autoritäre Regierung protestiert, ist Gewalt nicht akzeptabel.", + "q23": "Meine religiösen Werte sollten so weit wie möglich verbreitet werden.", + "q24": "Die Werte unserer Nation sollten so weit wie möglich verbreitet werden.", + "q25": "Es ist sehr wichtig, Gesetz und Ordnung aufrecht zuerhalten.", + "q26": "Die allgemeine Bevölkerung trifft schlechte Entscheidungen.", + "q27": "Verbrechen ohne Opfer (wie Drogenkonsum) sollten überhaupt keine Verbrechen sein.", + "q28": "Einige zivile Freiheiten zu opfern ist notwendig, um uns vor Terrorakten zu schützen.", + "q29": "Staatliche Überwachung ist in der modernen Welt notwendig.", + "q30": "Die Existenz des Staates ist eine Bedrohung für unsere Freiheit.", + "q31": "Unabhängig von politischen Ansichten ist es wichtig, zu deinem Land zu halten.", + "q32": "Jede Autorität sollte hinterfragt werden.", + "q33": "Ein hierarchischer Staat ist am besten.", + "q34": "Es ist wichtig, dass die Regierung der überwiegenden Meinung folgt, auch wenn sie falsch ist.", + "q35": "Je stärker die Führung, desto besser.", + "q36": "Demokratie ist mehr als ein Entscheidungsprozess.", + "q37": "Umweltvorschriften sind notwendig.", + "q38": "Automatisierung, Wissenschaft und Technik werden eine bessere Welt schaffen.", + "q39": "Kinder sollten nach religiösen oder traditionellen Werten erzogen werden.", + "q40": "Traditionen haben keinen eigenen Wert.", + "q41": "Die Religion sollte in der Regierung eine Rolle spielen.", + "q42": "Kirchen sollten wie alle anderen Institutionen besteuert werden.", + "q43": "Der Klimawandel ist derzeit eine der größten Bedrohungen für unsere Art zu leben.", + "q44": "Es ist wichtig, dass wir als eine vereinte Welt zusammen arbeiten, um den Klimawandel zu bekämpfen.", + "q45": "Die Gesellschaft war vor vielen Jahren besser als heute.", + "q46": "Es ist wichtig, dass wir die Traditionen unserer Vergangenheit beibehalten.", + "q47": "Es ist wichtig, dass wir langfristig, nach unserem Leben denken.", + "q48": "Vernunft ist wichtiger als die Erhaltung unserer Kultur.", + "q49": "Drogenkonsum sollte legalisiert oder entkriminalisiert werden.", + "q50": "Gleichgeschlechtliche Ehe sollte legal sein.", + "q51": "Sex außerhalb der Ehe ist unmoralisch.", + "q52": "Abtreibung sollte in den meisten oder allen Fällen verboten sein.", + "q53": "Waffenbesitz sollte für diejenigen ohne einen gültigen Grund verboten sein.", + "q54": "Ich unterstütze staatliche Krankenversicherung.", + "q55": "Ich unterstütze regionale Bündnisse wie die Europäische Union", + "q56": "Kommunismus ist nicht so schlecht, wie die Leute sagen.", + "q57": "Faschismus ist nicht so schlecht, wie die Leute sagen.", + "q58": "Kapitalismus ist nicht so schlecht, wie die Leute sagen.", + "q59": "Alle Menschen - unabhängig von Faktoren wie Kultur oder Sexualität - sollten gleich behandelt werden.", + "q60": "Es ist wichtig, dass wir die Ziele meiner Fraktion vor allen anderen weiter verbreiten.", + "q61": "Es ist besser, einen ausgewogenen Finanzhaushalt aufrechtzuerhalten, als das Wohlergehen für alle Bürger zu gewährleisten.", + "q62": "Internationaler Handel ist vorteilhaft.", + "q63": "Übermäßige staatliche Einmischung ist eine Bedrohung für die Wirtschaft.", + "q64": "Prostitution sollte illegal sein.", + "q65": "Es ist wichtig, unsere nationale Souveränität aufrecht zuerhalten.", + "q66": "Eine vereinigte Weltregierung wäre für die Menschheit von Vorteil.", + "q67": "Keine Kultur ist anderen Kulturen überlegen.", + "q68": "Wenn wir Migranten überhaupt akzeptieren, ist es wichtig, dass sie sich in unsere Kultur integrieren.", + "q69": "Familienwerte beizubehalten ist wichtig.", + "q70": "Das Streben nach Fortschritte um jeden Preis ist gefährlich.", + "q71": "Genetische Veränderung ist gut, auch auf Menschen.", + "q72": "Wir sollten unsere Grenzen für Einwanderer öffnen.", + "q73": "Regierungen sollten sich genauso um ausländische Menschen sorgen, wie über die eigenen Bürger." } From 1e1051292431d0a38382eed50741c6b1a18ce435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gro=C3=9Fe?= Date: Sat, 6 May 2017 14:42:43 +0200 Subject: [PATCH 19/33] Fixed images on results page --- results.html | 32 ++++++++++++++++---------------- style.css | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/results.html b/results.html index 4264145a..212701e5 100644 --- a/results.html +++ b/results.html @@ -28,53 +28,53 @@

- -
+ +
- -
+ +

- -
+ +
- -
+ +

- -
+ +
- -
+ +

- -
+ +
- -
+ +

diff --git a/style.css b/style.css index f3b2105d..bfd1e802 100644 --- a/style.css +++ b/style.css @@ -249,6 +249,6 @@ figcaption { color: white; } figcaption.small { - width: 128px; + width: 100%; font-size: 14pt; } From 61bd6d59f37813e28d8f06d8693cfd13dc82c21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gro=C3=9Fe?= Date: Sat, 6 May 2017 21:03:06 +0200 Subject: [PATCH 20/33] [DE] translation for values --- locales/de/values.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/locales/de/values.json b/locales/de/values.json index 30ce918e..61443768 100644 --- a/locales/de/values.json +++ b/locales/de/values.json @@ -1,15 +1,15 @@ { - "economic": "ECONOMIC", - "diplomatic": "DIPLOMATIC", - "civil": "CIVIL", - "societal": "SOCIETAL", + "economic": "WIRTSCHAFTLICH", + "diplomatic": "DIPLOMATISCH", + "civil": "ZIVIL", + "societal": "SOZIAL", - "equality": "EQUALITY", - "wealth": "MARKETS", - "might": "NATION", - "peace": "WORLD", - "liberty": "LIBERTY", - "authority": "AUTHORITY", + "equality": "GLEICHHEIT", + "wealth": "MÄRKTE", + "might": "STAAT", + "peace": "WELT", + "liberty": "FREIHEIT", + "authority": "AUTORITÄT", "tradition": "TRADITION", - "progress": "PROGRESS" + "progress": "FORTSCHRITT" } From 8a3479a97478972f69d7a6acca543b4f010e5435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerv=C3=A1sio=20J=C3=BAnior?= Date: Mon, 8 May 2017 10:12:15 -0300 Subject: [PATCH 21/33] [PT] Translation for image values, home page complete Added comments to `i18n.js` on how to block unfinished translations from being published --- i18n.js | 2 ++ locales/pt/translation.json | 42 +++++++++++++++++++++++-------------- locales/pt/values.json | 15 +++++++++++++ 3 files changed, 43 insertions(+), 16 deletions(-) create mode 100644 locales/pt/values.json diff --git a/i18n.js b/i18n.js index 1e453572..b71ab357 100644 --- a/i18n.js +++ b/i18n.js @@ -1,5 +1,7 @@ function i18n_load_ns(namespaces, callback) { var options = { + // "whitelist": ["en", "de"], + // "nonExplicitWhitelist": true, "fallbackLng": "en" } diff --git a/locales/pt/translation.json b/locales/pt/translation.json index d33cc1eb..ace84f6c 100644 --- a/locales/pt/translation.json +++ b/locales/pt/translation.json @@ -1,19 +1,29 @@ { - "start": "Clique aqui para iniciar!", - "faq_whatis": "O que é o 8values?", - "faq_whatis_answer": "8values é, em essência, um questionário político que tenta indicar porcentagens para oito diferentes valores políticos. Você será apresentado a uma afirmação e, então, você responderá com sua opinião sobre esta afirmação, de Concordo Fortemente a Discordo Fortemente, e cada resposta afetará significantemente sua pontuação. Ao final do questionário, suas repostas serão comparadas com o máximo possível para cada valor, resultando assim numa porcentagem. Responda honestamente!", - "faq_values": "Quais são os oito valores?", - "faq_values_answer": "Existem quatro eixos - Econômico, Diplomático, Estado, e Sociedade - e cada um tem dois valores opostos atribuídos para eles. Estes são:", - "faq_match": "O que significa "Perfil mais Próximo" ao final dos resultados?", - "faq_scores": "Eu não gosto da minha pontuação!", - "faq_scores_answer": "¯\\_(ツ)_/¯
Se você tem alguma sugestão ou crítica construtiva, sinta-se à vontade para enviar um e-mail para eightvalues@gmail.com", + "start": "Clique aqui para iniciar!", + "faq_whatis": "O que é o 8values?", + "faq_whatis_answer": "8values é, em essência, um questionário político que tenta indicar porcentagens para oito diferentes valores políticos. Você será apresentado a uma afirmação e, então, você responderá com sua opinião sobre esta afirmação, de Concordo Fortemente a Discordo Fortemente, e cada resposta afetará significantemente sua pontuação. Ao final do questionário, suas repostas serão comparadas com o máximo possível para cada valor, resultando assim numa porcentagem. Responda honestamente!", + "faq_values": "Quais são os oito valores?", + "faq_values_answer": "Existem quatro eixos - Econômico, Diplomático, Civil e Social - e cada um tem dois valores opostos atribuídos para eles. Estes são:", + "faq_match": "O que significa "Perfil mais Próximo" ao final dos resultados?", + "faq_match_answer": "Adicionalmente à associação dos oito valores, o quiz também tenta calcular o seu perfil ideológico. Isto é um trabalho em andamento e muito menos preciso que os valores e eixos, então não o leve muito a sério. Se você discorda com a ideologia que lhe foi atribuída, nos mande um email no endereço eightvalues@gmail.com com sua pontuação, ideologia atribuída e ideologia preferida, e vamos tentar ajustar o sistema. Obrigado!", + "faq_scores": "Eu não gosto da minha pontuação!", + "faq_scores_answer": "¯\\_(ツ)_/¯
Se você tem alguma sugestão ou crítica construtiva, sinta-se à vontade para enviar um e-mail para eightvalues@gmail.com", - "results": "Resultados", - "economic_axis": "Eixo Econômico: ", - "diplomatic_axis": "Eixo Diplomático: ", - "civic_axis": "Eixo Civil: ", - "societal_axis": "Eixo Social: ", - "closest_match": "Perfil mais Próximo: ", - "match_desc": "O cálculo do perfil ideológico é um trabalho em andamento, e é muito menos exato que os valores e eixos.
Você pode enviar esses resultados copiando e colando a URL no topo da página ou usando a imagem abaixo. Acha que a ideologia associada estava errada? Quer nos ajudar a calibrar os testes? Envie os resultados juntamente com sua ideologia política para nós no endereço eightvalues@gmail.com, ou nos mande quaisquer comentários, perguntas ou críticas.", - "back": "Voltar" + "equality": "Igualdade (Econômico)
Aqueles com uma pontuação maior em Igualdade acreditam que a economia deve distribuir valor igualmente entre a população. Estes tendem a apoiar leis tributárias progressivas, programas sociais, e no geral, socialismo.", + "wealth": "Mercado (Econômico)
Aqueles com uma pontuação maior em Mercado acreditam que a economia deve focar em crescimento rápido. Estes tendem a apoiar impostos mais baixos, privatização, desregulamentação, e no geral, capitalismo laissez-faire.", + "might": "Nação (Diplomático)
Aqueles com uma pontuação maior em Nação são patriotas e nacionalistas. Estes geralmente acreditam numa política externa agressiva, valorizando as forças armadas, força, soberanidade, e no geral, expansão territorial.", + "peace": "Mundo (Diplomático)
Aqueles com uma pontuação maior em Mundo são cosmopolitas e globalistas. Estes geralmente acreditam numa política externa pacífica, enfatizando diplomacia, cooperação, integração, e no geral, um governo global.", + "liberty": "Liberdade (Civil)
Aqueles com uma pontuação maior em Liberdade acreditam em forte liberdade civil. Estes tendem a apoiar democracia e opor-se à intervenção do Estado nas vidas pessoais. Note que isto se refere a liberdades civis, não a liberdades econômicas.", + "authority": "Autoridade (Civil)
Aqueles com uma pontuação maior em Autoridade acreditam em forte poder do Estado. Estes tendem a apoiar a intervenção do Estado nas vidas pessoais, fiscalização governamental, e no geral, censura ou autocracia.", + "tradition": "Tradição (Social)
Aqueles com uma pontuação maior em Tradição acreditam em valores tradicionais e aderência estrita a um código moral. Embora nem sempre, usualmente são religiosos, e apoiam o status quo ou o status quo ante.", + "progress": "Progresso (Social)
Aqueles com uma pontuação maior em Progresso acreditam em mudança social e racionalidade. Embora nem sempre, usualmente são seculares ou ateus, e apoiam ação ambiental e pesquisa científica ou tecnológica.", + + "results": "Resultados", + "economic_axis": "Eixo Econômico: ", + "diplomatic_axis": "Eixo Diplomático: ", + "civic_axis": "Eixo Civil: ", + "societal_axis": "Eixo Social: ", + "closest_match": "Perfil mais Próximo: ", + "match_desc": "O cálculo do perfil ideológico é um trabalho em andamento, e é muito menos exato que os valores e eixos.
Você pode enviar esses resultados copiando e colando a URL no topo da página ou usando a imagem abaixo. Acha que a ideologia associada estava errada? Quer nos ajudar a calibrar os testes? Envie os resultados juntamente com sua ideologia política para nós no endereço eightvalues@gmail.com, ou nos mande quaisquer comentários, perguntas ou críticas.", + "back": "Voltar" } \ No newline at end of file diff --git a/locales/pt/values.json b/locales/pt/values.json new file mode 100644 index 00000000..83513d86 --- /dev/null +++ b/locales/pt/values.json @@ -0,0 +1,15 @@ +{ + "economic": "ECONÔMICO", + "diplomatic": "DIPLOMÁTICO", + "civil": "CIVIL", + "societal": "SOCIAL", + + "equality": "IGUALDADE", + "wealth": "MERCADO", + "might": "NAÇÃO", + "peace": "MUNDO", + "liberty": "LIBERDADE", + "authority": "AUTORIDADE", + "tradition": "TRADIÇÃO", + "progress": "PROGRESSO" +} From 9c38340a3ae7295ff73fc7ef2d431ba75dac029d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerv=C3=A1sio=20J=C3=BAnior?= Date: Mon, 8 May 2017 11:53:12 -0300 Subject: [PATCH 22/33] Revert "Add localization for images" This reverts commit f7fe42bd06cf02e4bf5b8d43e83c2558f5103a92. --- i18n.js | 6 +- value_images/values.svg | 828 ---------------------------------------- 2 files changed, 1 insertion(+), 833 deletions(-) delete mode 100644 value_images/values.svg diff --git a/i18n.js b/i18n.js index b71ab357..2b834c03 100644 --- a/i18n.js +++ b/i18n.js @@ -19,10 +19,6 @@ function i18n_load_ns(namespaces, callback) { function i18n_ready() { var fields = document.querySelectorAll("[data-i18n]") for (var i = 0; i < fields.length; i++) { - if (fields[i].tagName === "IMG") { - fields[i].src = 'value_images/' + i18next.t(fields[i].dataset.i18n) - } else { - fields[i].innerHTML=i18next.t(fields[i].dataset.i18n, fields[i].dataset) - } + fields[i].innerHTML=i18next.t(fields[i].dataset.i18n, fields[i].dataset) } } \ No newline at end of file diff --git a/value_images/values.svg b/value_images/values.svg deleted file mode 100644 index 694e4666..00000000 --- a/value_images/values.svg +++ /dev/null @@ -1,828 +0,0 @@ - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - NATION - - - - - - - WORLD - - - - - - - MARKETS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ORD - TEXT - - From 848b9cc4d36f58c51f5786487b8f700f70d0c6f3 Mon Sep 17 00:00:00 2001 From: "renan.vaz@cwi.com.br" Date: Wed, 16 Aug 2017 11:58:18 -0300 Subject: [PATCH 23/33] =?UTF-8?q?traduzir=20quest=C3=B5es=20faltantes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/pt/questions.json | 76 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 2 deletions(-) diff --git a/locales/pt/questions.json b/locales/pt/questions.json index f8988791..b5ff0b28 100644 --- a/locales/pt/questions.json +++ b/locales/pt/questions.json @@ -1,3 +1,75 @@ { - "q1": "Opressão por parte das corporações é um problema tão grave quanto a opressão por parte dos governos, se não for maior." -} \ No newline at end of file + "q1": "Opressão por parte das corporações é um problema tão grave quanto a opressão por parte dos governos, se não for maior.", + "q2": "É necessário que o governo intervinha na economia para proteger consumidores.", + "q3": "Quanto mais livre o mercado, mais livre as pessoas.", + "q4": "Pesquisa publicamente financiada é mais beneficial às pessoas do que deixá-la ao mercado.", + "q5": "De cada qual, segundo sua capacidade; a cada qual, segundo suas necessidades.", + "q6": "Seria melhor se programas sociais fossem abolidos em favor da caridade privada.", + "q7": "Impostos sobre os ricos deveria aumentar para providenciar aos pobres.", + "q8": "Herança é uma forma legítima de riqueza.", + "q9": "Utilidades públicas como estradas e eletricidade deveriam ser propriedade pública.", + "q10": "Aqueles que podem pagar devem receber melhor acesso à saúde.", + "q11": "Educação de qualidade é um direito à todas as pessoas.", + "q12": "Os meios de produção deveriam pertencer aos trabalhadores que os usam.", + "q13": "As Nações Unidas deveriam ser abolidas.", + "q14": "Ação militar por parte da nação é frequentemente necessária para protegê-la", + "q15": "É mais importante manter relações pacíficas do que aumentar nossa força.", + "q16": "Guerras não têm de serem justificadas à outros países.", + "q17": "Despesas militares são perda de dinheiro.", + "q18": "Apoio internacional é perda de dinheiro.", + "q19": "Minha nação é ótima.", + "q20": "Pesquisa deveria ser conduzida em nível internacional.", + "q21": "Governos deveriam ser responsáveis pela comunidade internacional.", + "q22": "Mesmo ao protestar contra um governo autoritário violência não é aceitável.", + "q23": "Meus valores religiosos precisam ser disseminados tanto quanto possível.", + "q24": "Os valores da nossa nação precisam ser disseminados tanto quanto possível.", + "q25": "É muito importante o cumprimento da lei e ordem.", + "q26": "A população em geral faz más decisões.", + "q27": "Crimes sem vítimas (como uso de drogas) não necessitam ser crimes de jeito nenhum.", + "q28": "O sacrifício de liberdades civis é necessário para nos proteger de atos de terrorismo.", + "q29": "A vigilância governamental é necessária no mundo moderno. ", + "q30": "A prória existência do estado é uma ameaça à nossa liberdade.", + "q31": "Indiferente de opiniões políticas, é importante ficar ao lado de seu país.", + "q32": "Nenhuma autoridade deve manter-se inquestionada.", + "q33": "Um estado hierárquico é o melhor.", + "q34": "É imporatante que o governo siga a opinião da maioria, mesmo se estiver errada.", + "q35": "Quanto mais forte a liderança melhor.", + "q36": "Democracia é mais que um processo de tomada de decisões.", + "q37": "Regulações ambientais são essenciais.", + "q38": "Um mundo melhor virá de automação, ciência e tecnologia.", + "q39": "Crianças deveriam ser educadas com valores religiosos ou tradicionais.", + "q40": "Tradições não possuem valor por si só.", + "q41": "A religião deveria possuir um papel no governo.", + "q42": "Igrejas deviam pagar impostos da mesma forma como outras instituições pagam.", + "q43": "A mudança climática atualmente é uma das maiores ameaças ao nosso modo de vida.", + "q44": "É importante trabalharmos unidos para combater a mudança climática.", + "q45": "A sociedade era melhor muitos anos atrás do que é agora.", + "q46": "É importante preservar as tradições de nosso passado.", + "q47": "É importante pensarmos no longo termo, além da duração de nossas vidas.", + "q48": "Razão é mais importante do que preservar nossa cultura.", + "q49": "O uso de drogas deveria ser legalizado ou descriminalizado.", + "q50": "Casamento de mesmo sexo deveria ser legal.", + "q51": "Sexo fora do casamento é imoral.", + "q52": "Aborto deve ser proibida na maior parte ou todos os casos.", + "q53": "A posse de arma tem de ser proibida para aqueles sem uma razão válida.", + "q54": "Eu apoio um sistema único e universal de saúde.", + "q55": "Eu apoio uniões regionais, como a União Europeia.", + "q56": "Comunismo não é tão mau quanto dizem as pessoas.", + "q57": "Fascismo não é tão mau quanto dizem as pessoas.", + "q58": "Capitalismo não é tão mau quanto dizem as pessoas.", + "q59": "Todas as pessoas - independentemente de fatores como cultura ou sexualidade - devem ser tratadas igualmente.", + "q60": "É importante relevar os objetivos do meu grupo acima de todos outros.", + "q61": "É melhor manter as despesas balanceadas do que garantir o bem-estar de todos os cidadãos.", + "q62": "Trocas internacionais são benéficas.", + "q63": "Intervenção excessiva do governo é uma ameaça à economia", + "q64": "Prostituição necessita ser ilegal.", + "q65": "É importante manter nossa soberania nacional.", + "q66": "Um governo global seria benéfico à humanidade. ", + "q67": "Nenhuma cultura é superior à outra.", + "q68": "Se formos aceitar migrantes é importante que assimilem nossa cultura.", + "q69": "Preservar os valores familiares é essencial.", + "q70": "Perseguir progresso sobre todos os custos é perigoso.", + "q71": "Modificação genética é uma força para o bem, mesmo em humanos.", + "q72": "Devíamos abrir nossas fronteiras para imigração.", + "q73": "Governos deveriam estar tão preocupados com cidadãos estrangeiros quanto com os que estão dentro de seu território." +} From 00c16c81ac68a8d0f5e204642ab68442dd29993a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Alejandro=20Gonz=C3=A1lez=20Miranda?= Date: Sun, 27 Aug 2017 20:26:34 -0300 Subject: [PATCH 24/33] Spanish translation --- locales/es/ideologies.json | 53 +++++++++++++++++++++++++ locales/es/instructions.json | 6 +++ locales/es/matches.json | 6 +++ locales/es/questions.json | 75 ++++++++++++++++++++++++++++++++++++ locales/es/quiz.json | 8 ++++ locales/es/translation.json | 29 ++++++++++++++ locales/es/values.json | 15 ++++++++ 7 files changed, 192 insertions(+) create mode 100644 locales/es/ideologies.json create mode 100644 locales/es/instructions.json create mode 100644 locales/es/matches.json create mode 100644 locales/es/questions.json create mode 100644 locales/es/quiz.json create mode 100644 locales/es/translation.json create mode 100644 locales/es/values.json diff --git a/locales/es/ideologies.json b/locales/es/ideologies.json new file mode 100644 index 00000000..ed7ec1ef --- /dev/null +++ b/locales/es/ideologies.json @@ -0,0 +1,53 @@ +{ + "ideo1": "Anarco-Comunismo", + "ideo2": "Comunismo Libertario", + "ideo3": "Trotskismo", + "ideo4": "Marxismo", + "ideo5": "De Leonismo", + "ideo6": "Leninismo", + "ideo7": "Stalinismo/Maoismo", + "ideo8": "Comunismo Religioso", + "ideo9": "Socialismo de Estado", + "ideo10": "Socialismo Teocr\u00e1tico", + "ideo11": "Socialismo Religioso", + "ideo12": "Socialismo Democr\u00e1tico", + "ideo13": "Socialismo Revolucionario", + "ideo14": "Socialismo Libertario", + "ideo15": "Anarco-Sindicalismo", + "ideo16": "Populismo de Izquierda", + "ideo17": "Distribucionismo Teocr\u00e1tico", + "ideo18": "Distribucionismo", + "ideo19": "Socioliberalismo", + "ideo20": "Democracia Cristiana", + "ideo21": "Socialdemocracia", + "ideo22": "Progresivismo", + "ideo23": "Anarco-Mutualismo", + "ideo24": "Totalitarismo National", + "ideo25": "Totalitarismo Global", + "ideo26": "Tecnocracia", + "ideo27": "Centrismo", + "ideo28": "Liberalismo", + "ideo29": "Anarquismo Religioso", + "ideo30": "Populismo de Derecha", + "ideo31": "Conservadurismo Moderado", + "ideo32": "Reaccionario", + "ideo33": "Sociolibertarismo", + "ideo34": "Libertarismo", + "ideo35": "Anarco-Egoismo", + "ideo36": "Nazismo", + "ideo37": "Autocracia", + "ideo38": "Fascismo", + "ideo39": "Fascismo Capitalista", + "ideo40": "Conservadurismo", + "ideo41": "Neo-Liberalismo", + "ideo42": "Liberalismo Cl\u00e1sico", + "ideo43": "Capitalismo Authoritario", + "ideo44": "Capitalismo de Estado", + "ideo45": "Neo-Conservadurismo", + "ideo46": "Fundamentalismo", + "ideo47": "Capitalismo Libertario", + "ideo48": "Anarqu\u00eda de Mercado", + "ideo49": "Capitalismo Totalitario", + "ideo50": "Ultra-Capitalismo", + "ideo51": "Anarco-Capitalismo" +} diff --git a/locales/es/instructions.json b/locales/es/instructions.json new file mode 100644 index 00000000..1a1c4a84 --- /dev/null +++ b/locales/es/instructions.json @@ -0,0 +1,6 @@ +{ + "title": "Instruccciones", + "description": "A continuaci\u00f3n se le presentar\u00e1 una serie de declaraciones. Por cada una, pulse el bot\u00f3n con su opini\u00f3n acerca de ella.", + "confirm": "\u00a1Entendido!", + "cancel": "Espere, mejor no." +} diff --git a/locales/es/matches.json b/locales/es/matches.json new file mode 100644 index 00000000..a43c178d --- /dev/null +++ b/locales/es/matches.json @@ -0,0 +1,6 @@ +{ + "econ": ["Comunista","Socialista","Social","Centrista","Mercantilista","Capitalista","Laissez-Faire"], + "dipl": ["Cosmopolita","Internacionalista","Pac\u00edfico/a","Balanceado/a","Patri\u00f3tico/a","Nationalista","Chovinista"], + "govt": ["Anarquista","Libertario/a","Liberal","Moderado/a","Estatista","Authoritario/a","Totalitario/a"], + "scty": ["Revolucionario/a","Muy Progresivo/a","Progresivo/a","Neutral","Tradicional","Muy Traditional","Reaccionario/a"] +} diff --git a/locales/es/questions.json b/locales/es/questions.json new file mode 100644 index 00000000..10fb3d97 --- /dev/null +++ b/locales/es/questions.json @@ -0,0 +1,75 @@ +{ + "q1": "La opresi\u00f3n de las corporaciones es una preocupaci\u00f3n mayor que la opresi\u00f3n de los gobiernos.", + "q2": "Es necesario que el gobierno intervenga en la econom\u00eda para proteger a los consumidores.", + "q3": "Mientras m\u00e1s libres los mercados, m\u00e1s libre la gente.", + "q4": "Es m\u00e1s beneficioso para la gente que la investigaci\u00f3n cient\u00edfica sea financiada con recursos p\u00fablicos que el dejarla a merced del mercado.", + "q5": "Que cada uno entregue de acuerdo a sus habilidades, y reciba de acuerdo a sus necesidades.", + "q6": "Ser\u00eda mejor que los programas sociales fueran eliminados en favor de la caridad privada.", + "q7": "Los impuestos deben ser aumentados a los ricos para poder ayudar a los pobres.", + "q8": "La herencia es una forma leg\u00edtima de obtener riqueza.", + "q9": "Los servicios b\u00e1sicos tales como carreteras y electricidad deben ser p\u00fablicos, no privados.", + "q10": "Quienes tengan mayor capacidad para pagar deber\u00edan poder recibir mejor atenci\u00f3n sanitaria.", + "q11": "La educaci\u00f3n de calidad es un derecho de todos.", + "q12": "Los medios de producci\u00f3n deben pertenecer a los trabajadores que los utilizan.", + "q13": "La Organizaci\u00f3n de Naciones Unidas debe ser abolida.", + "q14": "Frecuentemente es necesario realizar acciones militares para proteger a nuestra naci\u00f3n.", + "q15": "Es m\u00e1s importante mantener relaciones pac\u00edficas que aumentar nuestro poder\u00edo.", + "q16": "No es necesario justificar las guerras ante otros pa\u00edses.", + "q17": "El gasto militar es una p\u00e9rdida de dinero.", + "q18": "La ayuda internacional es una p\u00e9rdida de dinero.", + "q19": "La m\u00eda es una gran naci\u00f3n.", + "q20": "La investigaci\u00f3n cient\u00edfica debe ser conducida a escala internacional.", + "q21": "La gobiernos deben responder ante la comunidad internacional.", + "q22": "A\u00fan al protestar en contra de un gobierno autoritario, la violencia no es aceptable.", + "q23": "Mis valores religiosos deber\u00edan difundirse lo m\u00e1s posible.", + "q24": "Nuestros valores nacionales deber\u00edan difundirse lo m\u00e1s posible.", + "q25": "Es muy importante mantener la ley y el orden.", + "q26": "El pueblo en general toma malas decisiones.", + "q27": "Los cr\u00edmenes sin v\u00edctimas (tales como el uso de drogas) ni siquiera deber\u00edan ser considerados cr\u00edmenes.", + "q28": "Sacrificar algunas libertades civiles es necesario para protegernos de los actos terroristas.", + "q29": "En el mundo moderno, es necesaria la vigilancia del gobierno.", + "q30": "La misma existencia del Estado es una amenaza a nuestra libertad.", + "q31": "Independientemente de las opiniones pol\u00edticas, es importante estar del lado de nuestro pa\u00eds.", + "q32": "Ninguna autoridad debe mantenerse sin cuestionar.", + "q33": "Es mejor un estado jer\u00e1rquico.", + "q34": "Es importante que el gobierno siga la opini\u00f3n mayoritaria, aunque \u00e9sta sea equivocada.", + "q35": "Mientras m\u00e1s fuerte sea el liderazgo, mejor.", + "q36": "La democracia es m\u00e1s que un proceso de toma de decisiones.", + "q37": "Las regulaciones medioambientales son esenciales.", + "q38": "Un mundo mejor vendr\u00e1 de la automatizaci\u00f3n, la ciencia y la tecnolog\u00eda.", + "q39": "Los ni\u00f1os deben ser educados con valores religiosos o tradicionales.", + "q40": "Las tradiciones no tienen valor por s\u00ed mismas.", + "q41": "La religi\u00f3n debe tomar parte en el gobierno.", + "q42": "Las iglesias deben pagar impuestos de la misma manera que otras instituciones.", + "q43": "El cambio clim\u00e1tico es actualmente una de las mayores amenazas a nuestra forma de vida.", + "q44": "Es importante que trabajemos como un mundo unido para combatir el cambio clim\u00e1tico.", + "q45": "La sociedad era mejor hace muchos a\u00f1os atr\u00e1s que como est\u00e1 ahora.", + "q46": "Es importante mantener las tradiciones de nuestro pasado.", + "q47": "Es importante que pensemos a largo plazo, m\u00e1s all\u00e1 de lo que duren nuestras vidas.", + "q48": "La raz\u00f3n es m\u00e1s importante que mantener nuestra cultura.", + "q49": "El uso de drogas debe ser legalizado o despenalizado.", + "q50": "El matrimonio entre personas del mismo sexo debe ser legal.", + "q51": "El sexo fuera del matrimonio es inmoral.", + "q52": "El aborto debe estar prohibido en todos o la mayor\u00eda de los casos.", + "q53": "La posesi\u00f3n de armas deber\u00eda estar prohibida para los que no tienen una justificaci\u00f3n v\u00e1lida.", + "q54": "Yo apoyo el sistema de asistencia sanitaria universal de fondo \u00fanico.", + "q55": "Yo apoyo las uniones regionales, tales como la Uni\u00f3n Europea.", + "q56": "El comunismo no es tan malo como la gente dice que es.", + "q57": "El fascismo no es tan malo como la gente dice que es.", + "q58": "El capitalismo no es tan malo como la gente dice que es.", + "q59": "Toda la gente - independientemente de factores como la cultura o la sexualidad - debe ser tratada igualmente.", + "q60": "Es importante que impulsemos los objetivos de mi grupo sobre todos los dem\u00e1s.", + "q61": "Es mejor mantener un presupuesto balanceado que asegurar bienestar social para todos los ciudadanos.", + "q62": "El comercio internacional es beneficioso.", + "q63": "La intervenci\u00f3n gubernamental excesiva es una amenaza para la econom\u00eda.", + "q64": "La prostituci\u00f3n debe ser ilegal.", + "q65": "Es importante mantener nuestra soberan\u00eda nacional.", + "q66": "Un gobierno mundial unido ser\u00eda beneficioso para la humanidad.", + "q67": "Ninguna cultura es superior a otra.", + "q68": "Si es que aceptamos a los inmigrantes, es importante que ellos se integren a nuestra cultura.", + "q69": "Es esencial mantener los valores de la familia.", + "q70": "Perseguir el progreso a toda costa es peligroso.", + "q71": "La modificaci\u00f3n gen\u00e9tica es una fuerza para bien, incluso en seres humanos.", + "q72": "Deber\u00edamos abrir nuestras fronteras a la inmigraci\u00f3n.", + "q73": "Los gobiernos deben estar tan preocupados de los ciudadanos extranjeros como lo son de aquellos dentro de nuestras fronteras." +} diff --git a/locales/es/quiz.json b/locales/es/quiz.json new file mode 100644 index 00000000..fcc45016 --- /dev/null +++ b/locales/es/quiz.json @@ -0,0 +1,8 @@ +{ + "strongly_agree": "Muy de acuerdo", + "agree": "De acuerdo", + "neutral": "Neutral/No estoy seguro/a", + "disagree": "En desacuerdo", + "strongly_disagree": "Muy en desacuerdo", + "question_no": "Pregunta {{current}} de {{total}}" +} diff --git a/locales/es/translation.json b/locales/es/translation.json new file mode 100644 index 00000000..80a97afa --- /dev/null +++ b/locales/es/translation.json @@ -0,0 +1,29 @@ +{ + "start": "\u00a1Pulse aqu\u00ed para empezar!", + "faq_whatis": "\u00bfQu\u00e9 es 8values?", + "faq_whatis_answer": "8values es, en esencia, un juego de preguntas pol\u00edticas que intenta asignar porcentajes a ocho diferentes valores pol\u00edticos. Se le presentar\u00e1 una declaraci\u00f3n, y usted responder\u00e1 con su opini\u00f3n acerca de la declaraci\u00f3n, desde Muy de acuerdo hasta Muy en desacuerdo, con cada respuesta, afectando ligeramente sus puntajes. Al final del juego, sus respuestas ser\u00e1n comparadas con el puntaje m\u00e1ximo para cada valor, entreg\u00e1ndole as\u00ed un porcentaje. \u00a1Responda honestamente!", + "faq_values": "\u00bfCu\u00e1les son los ocho valores?", + "faq_values_answer": "Hay cuatro ejes independientes - Econom\u00eda, Diplomacia, Estado y Sociedad - y cada uno tiene dos valores opuestos asignados. Ellos son:", + "faq_match": "Qu\u00e9 significa eso de "Ideolog\u00eda m\u00e1s cercana" al final de los resultados?", + "faq_match_answer": "Junto con asociarle a los ocho valores, este juego tambi\u00e9n intenta asociarte a una ideolog\u00eda pol\u00edtica. Esto es un trabajo en progreso, y es mucho menos preciso que los valores y ejes, as\u00ed que no lo tome muy en serio. Si no est\u00e1 de acuerdo con su ideolog\u00eda asignada, env\u00edenos un correo a eightvalues@gmail.com con sus puntajes, ideolog\u00eda asignada, e ideolog\u00eda preferida, y vamos a evaluar un posible ajuste al sistema. \u00a1Gracias!", + "faq_scores": "\u00a1No me gustan mis puntajes!", + "faq_scores_answer": "\u00af\\_(ツ)_/\u00af
Si usted tiene alguna sugerencia o cr\u00edtica, puede enviarla a eightvalues@gmail.com o reportar un problema en la p\u00e1gina en GitHub.", + + "equality": "Igualdad (Econom\u00eda)
Los que tienen mayor puntaje en Igualdad creen que la econom\u00eda deber\u00eda distribuir los recursos en forma igualitaria a la poblaci\u00f3n. Tienden a apoyar impuestos progresivos, programas sociales y, a mayores puntajes, socialismo.", + "wealth": "Mercados (Econom\u00eda)
Los que tienen mayor puntaje en Mercados creen que la econom\u00eda debe enfocarse en crecer r\u00e1pidamente. Tienden a apoyar bajos impuestos, privatizaci\u00f3n, desregulaci\u00f3n y, a mayores puntajes, capitalismo laissez-faire.", + "might": "Naci\u00f3n (Diplomacia)
Los que tienen mayor puntaje en Naci\u00f3n son patriotas y nacionalistas. Frecuentemente creen en una pol\u00edtica exterior agresiva, apreciando el poder militar, la soberan\u00eda y, a mayores puntajes, la expansi\u00f3n territorial.", + "peace": "Mundo (Diplomacia)
Los que tienen mayor puntaje en Mundo son cosmopolitas y globalistas. Frecuentemente creen en una pol\u00edtica exterior pac\u00edfica, enfatizando la diplomacia, la cooperaci\u00f3n, la integraci\u00f3n y, a mayores puntajes, un gobierno mundial.", + "liberty": "Libertad (Estado)
Los que tienen mayor puntaje en Libertad creen en mayores libertades civiles. Tienden a apoyar la democracia y se oponen a la intervenci\u00f3n estatal en la vida privada. N\u00f3tese que esto se refiere a la libertad civil, no a la libertad econ\u00f3mica.", + "authority": "Autoridad (Estado)
Los que tienen mayor puntaje en Autoridad creen en un mayor poder estatal. Tienden a apoyar la intervenci\u00f3n estatal en la vida privada, la vigilancia del gobierno y, a mayores valores, la censura o autocracia.", + "tradition": "Tradici\u00f3n (Sociedad)
Los que tienen mayor puntaje en Tradici\u00f3n creen en los valores tradicionales y en la adherencia estricta a un c\u00f3digo moral. Aunque no siempre, usualmente son religiosos, y apoyan el status quo o el status quo ante.", + "progress": "Progreso (Sociedad)
Los que tienen mayor puntaje en Progreso creen en el cambio social y la racionalidad. Aunque no siempre es as\u00ed, usualmente son seculares o ate\u00edstas, y apoyan la acci\u00f3n ambientalista y la investigaci\u00f3n cient\u00edfica o tecnol\u00f3gica.", + + "results": "Resultados", + "economic_axis": "Eje econ\u00f3mico: ", + "diplomatic_axis": "Eje diplom\u00e1tico: ", + "civic_axis": "Eje civil: ", + "societal_axis": "Eje societal: ", + "closest_match": "Ideolog\u00eda m\u00e1s cercana: ", + "match_desc": "La evaluaci\u00f3n ideol\u00f3gica es un trabajo en progreso, y es mucho menos precisa que los valores y ejes.
Puede enviar esos resultados copiando y pegando la URL al comienzo de la p\u00e1gina o usando la imagen de abajo. \u00bfPiensa que su ideolog\u00eda asignada es incorrecta? \u00bfDesea ayudarnos a calibrar la prueba? Env\u00edenos sus resultados junto con su ideolog\u00eda pol\u00edtica a eightvalues@gmail.com, o env\u00edenos cualquier comentario, pregunta o cr\u00edtica", + "back": "Volver" +} diff --git a/locales/es/values.json b/locales/es/values.json new file mode 100644 index 00000000..47680fd8 --- /dev/null +++ b/locales/es/values.json @@ -0,0 +1,15 @@ +{ + "economic": "ECON\u00d3MICO", + "diplomatic": "DIPLOM\u00c1TICO", + "civil": "CIVIL", + "societal": "SOCIETAL", + + "equality": "IGUALDAD", + "wealth": "MERCADOS", + "might": "NACI\u00d3N", + "peace": "MUNDO", + "liberty": "LIBERTAD", + "authority": "AUTORIDAD", + "tradition": "TRADICI\u00d3N", + "progress": "PROGRESO" +} From 4fda1afbf66c2f8a4d2a1925eb99647234be3b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Alejandro=20Gonz=C3=A1lez=20Miranda?= Date: Sun, 27 Aug 2017 22:40:57 -0300 Subject: [PATCH 25/33] Minor errors --- locales/es/ideologies.json | 4 ++-- locales/es/matches.json | 6 +++--- locales/es/questions.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/locales/es/ideologies.json b/locales/es/ideologies.json index ed7ec1ef..dcbff4be 100644 --- a/locales/es/ideologies.json +++ b/locales/es/ideologies.json @@ -22,7 +22,7 @@ "ideo21": "Socialdemocracia", "ideo22": "Progresivismo", "ideo23": "Anarco-Mutualismo", - "ideo24": "Totalitarismo National", + "ideo24": "Totalitarismo Nacional", "ideo25": "Totalitarismo Global", "ideo26": "Tecnocracia", "ideo27": "Centrismo", @@ -41,7 +41,7 @@ "ideo40": "Conservadurismo", "ideo41": "Neo-Liberalismo", "ideo42": "Liberalismo Cl\u00e1sico", - "ideo43": "Capitalismo Authoritario", + "ideo43": "Capitalismo Autoritario", "ideo44": "Capitalismo de Estado", "ideo45": "Neo-Conservadurismo", "ideo46": "Fundamentalismo", diff --git a/locales/es/matches.json b/locales/es/matches.json index a43c178d..924a0fff 100644 --- a/locales/es/matches.json +++ b/locales/es/matches.json @@ -1,6 +1,6 @@ { "econ": ["Comunista","Socialista","Social","Centrista","Mercantilista","Capitalista","Laissez-Faire"], - "dipl": ["Cosmopolita","Internacionalista","Pac\u00edfico/a","Balanceado/a","Patri\u00f3tico/a","Nationalista","Chovinista"], - "govt": ["Anarquista","Libertario/a","Liberal","Moderado/a","Estatista","Authoritario/a","Totalitario/a"], - "scty": ["Revolucionario/a","Muy Progresivo/a","Progresivo/a","Neutral","Tradicional","Muy Traditional","Reaccionario/a"] + "dipl": ["Cosmopolita","Internacionalista","Pac\u00edfico/a","Balanceado/a","Patri\u00f3tico/a","Nacionalista","Chovinista"], + "govt": ["Anarquista","Libertario/a","Liberal","Moderado/a","Estatista","Autoritario/a","Totalitario/a"], + "scty": ["Revolucionario/a","Muy Progresivo/a","Progresivo/a","Neutral","Tradicional","Muy Tradicional","Reaccionario/a"] } diff --git a/locales/es/questions.json b/locales/es/questions.json index 10fb3d97..c5bd307a 100644 --- a/locales/es/questions.json +++ b/locales/es/questions.json @@ -19,7 +19,7 @@ "q18": "La ayuda internacional es una p\u00e9rdida de dinero.", "q19": "La m\u00eda es una gran naci\u00f3n.", "q20": "La investigaci\u00f3n cient\u00edfica debe ser conducida a escala internacional.", - "q21": "La gobiernos deben responder ante la comunidad internacional.", + "q21": "Los gobiernos deben responder ante la comunidad internacional.", "q22": "A\u00fan al protestar en contra de un gobierno autoritario, la violencia no es aceptable.", "q23": "Mis valores religiosos deber\u00edan difundirse lo m\u00e1s posible.", "q24": "Nuestros valores nacionales deber\u00edan difundirse lo m\u00e1s posible.", From cac3c90e7affe8fb4271f1c348035812625224be Mon Sep 17 00:00:00 2001 From: Geno Racklin Asher Date: Tue, 22 Sep 2020 14:16:42 +0100 Subject: [PATCH 26/33] Fix en locale --- locales/en/questions.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/locales/en/questions.json b/locales/en/questions.json index 05709112..a0250e1d 100644 --- a/locales/en/questions.json +++ b/locales/en/questions.json @@ -7,7 +7,7 @@ "q6": "It would be best if social programs were abolished in favor of private charity.", "q7": "Taxes should be increased on the rich to provide for the poor.", "q8": "Inheritance is a legitimate form of wealth.", - "q9": "Public utilities like roads and electricity should be publicly owned.", + "q9": "Basic utilities like roads and electricity should be publicly owned.", "q10": "Those with a greater ability to pay should receive better healthcare.", "q11": "Quality education is a right of all people.", "q12": "The means of production should belong to the workers who use them.", @@ -25,12 +25,12 @@ "q24": "Our nation's values should be spread as much as possible.", "q25": "It is very important to maintain law and order.", "q26": "The general populace makes poor decisions.", - "q27": "Victimless crimes (such as drug use) should not be crimes at all.", + "q27": "Physician-assisted suicide should be legal.", "q28": "The sacrifice of some civil liberties is necessary to protect us from acts of terrorism.", "q29": "Government surveillance is necessary in the modern world.", "q30": "The very existence of the state is a threat to our liberty.", "q31": "Regardless of political opinions, it is important to side with your country.", - "q32": "No authority should be left unquestioned.", + "q32": "All authority should be questioned.", "q33": "A hierarchical state is best.", "q34": "It is important that the government follows the majority opinion, even if it is wrong.", "q35": "The stronger the leadership, the better.", @@ -60,8 +60,8 @@ "q59": "All people - regardless of factors like culture or sexuality - should be treated equally.", "q60": "It is important that we further my group's goals above all others.", "q61": "It is better to maintain a balanced budget than to ensure welfare for all citizens.", - "q62": "International trade is beneficial.", - "q63": "Excessive government intervention is a threat to the economy.", + "q62": "Tariffs on international trade are important to encourage local production.", + "q63": "Government intervention is a threat to the economy.", "q64": "Prostitution should be illegal.", "q65": "It is important to maintain our national sovereignty.", "q66": "A united world government would be beneficial to mankind.", @@ -71,5 +71,5 @@ "q70": "To chase progress at all costs is dangerous.", "q71": "Genetic modification is a force for good, even on humans.", "q72": "We should open our borders to immigration.", - "q73": "Governments should be as concerned about foreign citizens as they are about those within their borders." + "q73": "Governments should be as concerned about foreigners as they are about those within their borders." } \ No newline at end of file From 3565ae6597979d8fbc411b718ad72493d465a603 Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 08:47:04 -0800 Subject: [PATCH 27/33] chore: protected email from some bots --- locales/en/translation.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locales/en/translation.json b/locales/en/translation.json index 8fb810d1..14df653c 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -5,9 +5,9 @@ "faq_values": "What are the eight values?", "faq_values_answer": "There are four independent axes - Economic, Diplomatic, State, and Society - and each has two opposing values assigned to them. They are:", "faq_match": "What's the "Closest Match" mean at the bottom of the results?", - "faq_match_answer": "In addition to matching you to the eight values, the quiz also attempts to match you to a political ideology. This is a work in progress and is much less accurate than the values and axes, so don't take it too seriously. If you disagree with your assigned ideology, send us an email at eightvalues@gmail.com with your scores, matched ideology, and preferred ideology, and we'll look into adjusting the system. Thanks!", + "faq_match_answer": "In addition to matching you to the eight values, the quiz also attempts to match you to a political ideology. This is a work in progress and is much less accurate than the values and axes, so don't take it too seriously. If you disagree with your assigned ideology, send us an email at eightvalues [at] gmail.com with your scores, matched ideology, and preferred ideology, and we'll look into adjusting the system. Thanks!", "faq_scores": "I don't like my scores!", - "faq_scores_answer": "¯\\_(ツ)_/¯
If you have any suggestions or constructive criticism, feel free to send it to eightvalues@gmail.com or open an issue on the GitHub page!", + "faq_scores_answer": "¯\\_(ツ)_/¯
If you have any suggestions or constructive criticism, feel free to send it to eightvalues [at] gmail.com or open an issue on the GitHub page!", "equality": "Equality (Economic)
Those with higher Equality scores believe the economy should distribute value evenly among the populace. They tend to support progressive tax codes, social programs, and at high values, socialism.", "wealth": "Markets (Economic)
Those with higher Market scores believe the economy should be focused on rapid growth. They tend to support lower taxes, privatization, deregulation, and at high values, laissez-faire capitalism.", @@ -24,6 +24,6 @@ "civic_axis": "Civil Axis: ", "societal_axis": "Societal Axis: ", "closest_match": "Closest Match: ", - "match_desc": "Ideological matching is a work in progress, and is much less accurate than the values and axes.
You can send these results by copying and pasting the URL at the top of the page or using the image below. Think your matched ideology was wrong? Want to help us calibrate the test? Send the results along with your political ideology to us at eightvalues@gmail.com, or send us any comments, questions, or criticism.", + "match_desc": "Ideological matching is a work in progress, and is much less accurate than the values and axes.
You can send these results by copying and pasting the URL at the top of the page or using the image below. Think your matched ideology was wrong? Want to help us calibrate the test? Send the results along with your political ideology to us at eightvalues [at] gmail.com, or send us any comments, questions, or criticism.", "back": "Back" } From 129b00d91e84f9a9f539cdd403c24601b3b25325 Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 08:52:52 -0800 Subject: [PATCH 28/33] i18n: added French matches --- locales/fr/matches.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 locales/fr/matches.json diff --git a/locales/fr/matches.json b/locales/fr/matches.json new file mode 100644 index 00000000..c67025ef --- /dev/null +++ b/locales/fr/matches.json @@ -0,0 +1,6 @@ +{ + "econ": ["Communiste","Socialiste","Social","Centriste","Marché","Capitaliste","Laissez-Faire"], + "dipl": ["Cosmopolite","Internationaliste","Paisible","Équilibré","Patriotique","Nationaliste","Chauviniste"], + "govt": ["Anarchiste","Libertaire","Libéral","Modéré","Étatiste","Autoritaire","Totalitaire"], + "scty": ["Révolutionnaire","Très progressite","Progressite","Neutre","Traditionnel","Très traditionnel","Réactionnaire"] +} From 671d451aec2529780b0614c7d597d4aba72ffe89 Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 09:24:36 -0800 Subject: [PATCH 29/33] i18n: added french translations --- locales/fr/translation.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 locales/fr/translation.json diff --git a/locales/fr/translation.json b/locales/fr/translation.json new file mode 100644 index 00000000..6faecbe5 --- /dev/null +++ b/locales/fr/translation.json @@ -0,0 +1,29 @@ +{ + "start": "Cliquez ici pour commencer !", + "faq_whatis": "Qu'est-ce que 8values ?", + "faq_whatis_answer": "8values est, essentiellement, un quiz politique qui tente d'attribuer des pourcentages à huit valuers politiques différentes. On vous présentera une déclaration à laquelle vous devrez répondre en donnant votre opinion, de Tout à fait d'accord à Pas du tout d'accord, avec chaque réponse affecte légèrement vos résultats. À la fin du quiz, vos réponses seront comparées au maximum possible pour chaque valeur, ce qui vous donnera un pourcentage. Répondez honnêtement!", + "faq_values": "Quelles sont les huit valeurs ?", + "faq_values_answer": "Il y a quatre axes indépendants : l'axe économique, l'axe diplomatique, l'axe étatique et l'axe sociétal, chacun d'entre eux se voyant attribuer deux valeurs opposées.", + "faq_match": "Que signifie la mention «Correspondance la plus proche» en bas des résultats ?", + "faq_match_answer": "En plus de correspondre à vos huit valeurs, le quiz tente également de correspondre à votre idéologie politique. Ce n'est pas aussi précis, alors ne le prenez pas trop au sérieux. Si vous n'êtes pas d'accord avec votre idéologie, envoyez-nous un e-mail à «eightvalues[at]gmail.com» avec vos résultats, l'idéologie qui vous correspond et votre idéologie préférée, et nous chercherons à ajuster le système. Merci beaucoup !", + "faq_scores": "Je n'aime pas mes résultats !", + "faq_scores_answer": "¯\\_(ツ)_/¯
Si vous avez des suggestions ou des critiques constructives, n'hésitez pas à les envoyer à «eightvalues[ at ]gmail.com» ou à ouvrir un problème sur la page GitHub.", + + "equality": "Egalité (économique)
Les personnes ayant un score d'égalité élevé pensent que l'économie devrait distribuer la valeur de manière égale parmi la population. Ils ont tendance à soutenir les codes fiscaux progressifs, les programmes sociaux et, à des valeurs élevées, le socialisme.", + "wealth": "Marchés (Économique)
Les personnes ayant un score de marché élevé pensent que l'économie doit être axée sur une croissance rapide. Ils ont tendance à soutenir la baisse des impôts, la privatisation, la déréglementation et, à des valeurs élevées, le capitalisme de laissez-faire.", + "might": "Nation (Diplomatique)
Les personnes ayant un score de Nation élevé sont patriotes et nationalistes. Ils croient souvent en une politique étrangère agressive, valorisant l'armée, la force, la souveraineté et, pour les valeurs élevées, l'expansion territoriale.", + "peace": "Globe (Diplomatique)
Les personnes ayant un score Globe élevé sont cosmopolites et mondialistes. Ils croient souvent en une politique étrangère pacifique, mettant l'accent sur la diplomatie, la coopération, l'intégration et, pour les valeurs élevées, un gouvernement mondial.", + "liberty": "Liberté (État)
Les personnes ayant un score de liberté élevé croient en des libertés civiles fortes. Elles ont tendance à soutenir la démocratie et à s'opposer à l'intervention de l'État dans la vie personnelle. Notez que cela fait référence aux libertés civiles, et non aux libertés économiques.", + "authority": "Autorité (État)
Les personnes ayant un score d'autorité élevé croient en un pouvoir étatique fort. Elles ont tendance à soutenir l'intervention de l'État dans la vie personnelle, la surveillance gouvernementale et, à des valeurs élevées, la censure ou l'autocratie.", + "tradition": "Tradition (Société)
Les personnes ayant un score de Tradition élevé croient aux valeurs traditionnelles et au respect strict d'un code moral. Bien que ce ne soit pas toujours le cas, elles sont généralement religieuses et soutiennent le statu quo ou le statu quo ante.", + "progress": "Progrès (Société)
Les personnes ayant un score de progrès élevé croient au changement social et à la rationalité. Bien que ce ne soit pas toujours le cas, elles sont généralement laïques ou athées, et soutiennent l'action environnementale et la recherche scientifique ou technologique.", + + "results": "Résultats", + "economic_axis": "L'axe économique : ", + "diplomatic_axis": "L'axe diplomatique : ", + "civic_axis": "L'axe civil : ", + "societal_axis": "L'axe sociétal : ", + "closest_match": "Correspondance la plus proche : ", + "match_desc": "Vous pouvez envoyer ces résultats en copiant et collant l'adresse web en haut de la page ou en utilisant l'image ci-dessous. Vous pensez que votre idéologie appariée était fausse ou vous voulez nous aider à mieux calibrer le test ? Envoyez-nous les résultats ainsi que votre idéologie politique à «eightvalues [ at ]gmail.com», our envoyez-nous vos commentaires, questions, ou critiques.", + "back": "Retour" +} From e285fd963090f29b7b8eb4180efc789d64f4b81d Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 09:37:54 -0800 Subject: [PATCH 30/33] i18n: added french ideologies --- locales/fr/ideologies.json | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 locales/fr/ideologies.json diff --git a/locales/fr/ideologies.json b/locales/fr/ideologies.json new file mode 100644 index 00000000..1d418de7 --- /dev/null +++ b/locales/fr/ideologies.json @@ -0,0 +1,54 @@ +{ + "ideo1": "Anarcho-communisme", + "ideo2": "Communisme libertaire", + "ideo3": "Trotskyisme", + "ideo4": "Marxisme", + "ideo5": "De Leonisme", + "ideo6": "Leninisme", + "ideo7": "Stalinisme/Maoïsme", + "ideo8": "Communisme religieux", + "ideo9": "Socialisme d'État", + "ideo10": "Socialisme théocarqieu", + "ideo11": "Socialisme religieux", + "ideo12": "Socialism démocratique", + "ideo13": "Socialisme révolutionnaire", + "ideo14": "Socialisme libertaire", + "ideo15": "Anarcho-syndicalisme", + "ideo16": "Populisme de gauche", + "ideo17": "Distributisme théocratique", + "ideo18": "Distributisme", + "ideo19": "Libéralisme social", + "ideo20": "Démocratie chrétienne", + "ideo21": "Démocratie sociale", + "ideo22": "Progressiste", + "ideo23": "Anarcho-mutalisme", + "ideo24": "Tolitarisme national", + "ideo25": "Tolitarisme mondial", + "ideo26": "Technocratie", + "ideo27": "Centriste", + "ideo28": "Libéralisme", + "ideo29": "Anarchisme religieux", + "ideo30": "Populisme de droite", + "ideo31": "Conservatisme modéré", + "ideo32": "Réactionnaire", + "ideo33": "Le libertarisme social", + "ideo34": "Libertarisme", + "ideo35": "Anarcho-égoïsme", + "ideo36": "Nazisme", + "ideo37": "Autocratie", + "ideo38": "Fascisme", + "ideo39": "Fascisme capitaliste", + "ideo40": "Conservatisme", + "ideo41": "Néo-libéralisme", + "ideo42": "Libéralisme classqiue", + "ideo43": "Capitalisme autoritaire", + "ideo44": "Capitalisme d'État", + "ideo45": "Néo-conservatisme", + "ideo46": "Fondamentalisme", + "ideo47": "Capitalisme libertaire", + "ideo48": "Anarchisme de marché", + "ideo49": "Capitalisme totalitaire", + "ideo50": "Ultra-capitalisme", + "ideo51": "Anarcho-capitalisme", + "ideo52": "Objectivisme" +} From 7bc6e1d0c8415eb801621225ac10382c194e38bd Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 09:39:10 -0800 Subject: [PATCH 31/33] i18n: added french instructions --- locales/fr/instructions.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 locales/fr/instructions.json diff --git a/locales/fr/instructions.json b/locales/fr/instructions.json new file mode 100644 index 00000000..2c219288 --- /dev/null +++ b/locales/fr/instructions.json @@ -0,0 +1,6 @@ +{ + "title": "Instructions", + "description": "Vous allez recevoir une série de décalrations. Pour cacune d'elles, cliquez sur l'option qui correspond le mieux à votre opinion", + "confirm": "Je l'ai eu!", + "cancel": "Attends, laisse tomber!" +} \ No newline at end of file From 8f3c42b1a8976d6525ff9c5ca000e58ed48ebae0 Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 09:40:05 -0800 Subject: [PATCH 32/33] i18n: added french quiz choices --- locales/fr/quiz.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 locales/fr/quiz.json diff --git a/locales/fr/quiz.json b/locales/fr/quiz.json new file mode 100644 index 00000000..fec5e3bb --- /dev/null +++ b/locales/fr/quiz.json @@ -0,0 +1,8 @@ +{ + "strongly_agree": "Tout à fait d'accord", + "agree": "D'accord", + "neutral": "Neutre/incertain", + "disagree": "Pas d'accord", + "strongly_disagree": "Pas du totu d'accord", + "question_no": "Question {{current}} de {{total}}" +} \ No newline at end of file From eaebf4e48167f3b5d3054e7ec065b06677796910 Mon Sep 17 00:00:00 2001 From: "doamatto (Ronchetto, Matthew)" Date: Wed, 10 Mar 2021 09:41:37 -0800 Subject: [PATCH 33/33] i18n: added french values --- locales/fr/values.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 locales/fr/values.json diff --git a/locales/fr/values.json b/locales/fr/values.json new file mode 100644 index 00000000..2fe49d25 --- /dev/null +++ b/locales/fr/values.json @@ -0,0 +1,15 @@ +{ + "economic": "ÉCONOMIQUE", + "diplomatic": "DIPLOMATIQUE", + "civil": "CIVIL", + "societal": "SOCIÉTALE", + + "equality": "ÉGALITÉ", + "wealth": "MARCHÉS", + "might": "NATION", + "peace": "MONDE", + "liberty": "LIBERTÉ", + "authority": "AUTORITÉ", + "tradition": "TRADITION", + "progress": "PROGRÈS" +}