Skip to content

Commit 3b941aa

Browse files
authored
Merge pull request #933 from mastodon/feat/server-topics-first
Swaps position of region and topic filters
2 parents 069dc1c + bed3638 commit 3b941aa

File tree

5 files changed

+223
-205
lines changed

5 files changed

+223
-205
lines changed

data/categories.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { defineMessages } = require("react-intl")
1+
import { defineMessages } from "react-intl"
22

33
export const categoriesMessages = defineMessages({
44
academia: { id: "server.category.academia", defaultMessage: "Academia" },
@@ -14,6 +14,7 @@ export const categoriesMessages = defineMessages({
1414
games: { id: "server.category.gaming", defaultMessage: "Gaming" },
1515
general: { id: "server.category.general", defaultMessage: "General" },
1616
humor: { id: "server.category.humor", defaultMessage: "Humour" },
17+
hobby: { id: "server.category.hobby", defaultMessage: "Hobbies" },
1718
journalism: {
1819
id: "server.category.journalism",
1920
defaultMessage: "Journalism",

data/regions.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import { defineMessages } from "react-intl"
2+
3+
export const regionsMessages = defineMessages({
4+
all: {
5+
id: "server.regions.all",
6+
defaultMessage: "All regions",
7+
},
8+
africa: {
9+
id: "server.regions.africa",
10+
defaultMessage: "Africa",
11+
},
12+
asia: {
13+
id: "server.regions.asia",
14+
defaultMessage: "Asia",
15+
},
16+
europe: {
17+
id: "server.regions.europe",
18+
defaultMessage: "Europe",
19+
},
20+
oceania: {
21+
id: "server.regions.oceania",
22+
defaultMessage: "Oceania",
23+
},
24+
northAmerica: {
25+
id: "server.regions.north_america",
26+
defaultMessage: "North America",
27+
},
28+
southAmerica: {
29+
id: "server.regions.south_america",
30+
defaultMessage: "South America",
31+
},
32+
})

locales/en.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"404.go_back_home": "Go back home",
44
"404.title": "Page not found",
55
"apps.free": "Free",
6-
"apps.lead": "The best way to get started with Mastodon is through our official apps for iOS and Android, but many third-party apps are also available below.",
6+
"apps.lead": "The best way to get started with Mastodon is through our official iOS and Android apps, but many third-party apps are also available below.",
77
"apps.open": "Open",
88
"apps.paid": "Paid",
99
"apps.title": "Apps",
@@ -77,7 +77,6 @@
7777
"nav.docs.title": "Documentation",
7878
"nav.impressum.title": "Impressum",
7979
"nav.merch.title": "Merch",
80-
"nav.new": "New",
8180
"nav.privacy_policy.title": "Privacy Policy",
8281
"nav.product.title": "Product",
8382
"nav.resources.title": "Resources",
@@ -113,6 +112,7 @@
113112
"server.category.furry": "Furry",
114113
"server.category.gaming": "Gaming",
115114
"server.category.general": "General",
115+
"server.category.hobby": "Hobbies",
116116
"server.category.humor": "Humour",
117117
"server.category.journalism": "Journalism",
118118
"server.category.lgbt": "LGBTQ+",
@@ -121,7 +121,9 @@
121121
"server.category.religion": "Religion",
122122
"server.category.sports": "Sports",
123123
"server.category.technology": "Technology",
124+
"server.filter.all_categories": "All topics",
124125
"server.filter_by.category": "Topic",
126+
"server.filter_by.category.count": "({count})",
125127
"server.filter_by.category.lead": "Some providers specialize in hosting accounts from specific communities.",
126128
"server.filter_by.region": "Region",
127129
"server.filter_by.region.lead": "Where the provider is legally based.",
@@ -221,7 +223,6 @@
221223
"verification.why.privacy.body": "You do not need to submit your documents anywhere, so there is no chance of them being leaked.",
222224
"verification.why.privacy.title": "Privacy-friendly",
223225
"wizard.error": "Oops, something went wrong. Try refreshing the page.",
224-
"wizard.filter.all_categories": "All topics",
225226
"wizard.filter.all_languages": "All languages",
226227
"wizard.filter.ownership.all": "All",
227228
"wizard.filter.ownership.juridicial": "Public organization",

0 commit comments

Comments
 (0)