Skip to content

Commit

Permalink
Remove social conservatism and add libertarian conservatism, fix tsu …
Browse files Browse the repository at this point in the history
…weights.
  • Loading branch information
Ramirisu committed Feb 23, 2024
1 parent 1aa21b2 commit 463cb63
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/data/ideology.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,11 @@ export const getIdeologies = () => [
},
},
{
id: 'social_conservatism',
id: 'libertarian_conservatism',
weight: {
economic: 60,
economic: 30,
diplomatic: 40,
civil: 50,
civil: 80,
societal: 30,
},
},
Expand Down
2 changes: 1 addition & 1 deletion src/data/political_party.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const getPoliticalParties = () => [
id: 'tsu',
icon: 'https://upload.wikimedia.org/wikipedia/commons/4/4c/Taiwan_orange.svg',
weight: {
economic: 60,
economic: 40,
civil: 50,
environmental: 30,
societal: 30,
Expand Down
6 changes: 3 additions & 3 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@
"name": "Right-Wing Populism",
"link": "https://en.wikipedia.org/wiki/Right-wing_populism"
},
"social_conservatism": {
"name": "Social Conservatism",
"link": "https://en.wikipedia.org/wiki/Social_conservatism"
"libertarian_conservatism": {
"name": "Libertarian Conservatism",
"link": "https://en.wikipedia.org/wiki/Libertarian_conservatism"
},
"liberal_conservatism": {
"name": "Liberal Conservatism",
Expand Down
6 changes: 3 additions & 3 deletions src/locales/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@
"name": "右翼民粹主义",
"link": "https://zh.wikipedia.org/zh-cn/%E5%8F%B3%E7%BF%BC%E6%B0%91%E7%B2%B9%E4%B8%BB%E7%BE%A9"
},
"social_conservatism": {
"name": "社会保守主义",
"link": "https://zh.wikipedia.org/zh-cn/%E7%A4%BE%E4%BC%9A%E4%BF%9D%E5%AE%88%E4%B8%BB%E4%B9%89"
"libertarian_conservatism": {
"name": "自由意志保守主义",
"link": "https://zh.wikipedia.org/zh-cn/%E8%87%AA%E7%94%B1%E6%84%8F%E5%BF%97%E4%BF%9D%E5%AE%88%E4%B8%BB%E7%BE%A9"
},
"liberal_conservatism": {
"name": "自由保守主义",
Expand Down
6 changes: 3 additions & 3 deletions src/locales/zh-TW/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,9 +502,9 @@
"name": "右翼民粹主義",
"link": "https://zh.wikipedia.org/zh-tw/%E5%8F%B3%E7%BF%BC%E6%B0%91%E7%B2%B9%E4%B8%BB%E7%BE%A9"
},
"social_conservatism": {
"name": "社會保守主義",
"link": "https://zh.wikipedia.org/zh-tw/%E7%A4%BE%E4%BC%9A%E4%BF%9D%E5%AE%88%E4%B8%BB%E4%B9%89"
"libertarian_conservatism": {
"name": "自由意志保守主義",
"link": "https://zh.wikipedia.org/zh-tw/%E8%87%AA%E7%94%B1%E6%84%8F%E5%BF%97%E4%BF%9D%E5%AE%88%E4%B8%BB%E7%BE%A9"
},
"liberal_conservatism": {
"name": "自由保守主義",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/match.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ test('pfp', () => {
test('tsu', () => {
const tsu = getPoliticalParty('tsu')
const dpp = getPoliticalParty('dpp')
const ideology = getIdeology('social_conservatism')
const ideology = getIdeology('liberal_conservatism')
for (const [key, value] of Object.entries(ideology.weight)) {
if (key in tsu.weight) {
expect(tsu.weight[key]).toEqual(value)
Expand Down

0 comments on commit 463cb63

Please sign in to comment.