1 import * as i18n from 'i18next';
3 // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66
5 // TODO don't forget to add moment locales for new languages.
18 moderates: 'Moderates',
26 remove_as_mod: 'remove as mod',
27 appoint_as_mod: 'appoint as mod',
28 remove_as_admin: 'remove as admin',
29 appoint_as_admin: 'appoint as admin',
30 mark_as_read: 'mark as read',
31 mark_as_unread: 'mark as unread',
32 remove_comment: 'Remove Comment',
33 remove_community: 'Remove Community',
39 ban_from_site: 'ban from site',
40 unban_from_site: 'unban from site',
44 subscribed_to_communities:'Subscribed to <1>communities</1>',
45 create_a_community: 'Create a community',
46 create_community: 'Create Community',
47 create_a_post: 'Create a post',
48 create_post: 'Create Post',
49 trending_communities:'Trending <1>communities</1>',
50 number_of_users:'{{count}} Users',
51 number_of_subscribers:'{{count}} Subscribers',
52 number_of_posts:'{{count}} Posts',
53 number_of_comments:'{{count}} Comments',
54 number_of_points:'{{count}} Points',
55 powered_by: 'Powered by',
56 landing_0: 'Lemmy is a <1>link aggregator</1> / reddit alternative, intended to work in the <2>fediverse</2>.<3></3>Its self-hostable, has live-updating comment threads, and is tiny (<4>~80kB</4>). Federation into the ActivityPub network is on the roadmap. <5></5>This is a <6>very early beta version</6>, and a lot of features are currently broken or missing. <7></7>Suggest new features or report bugs <8>here.</8><9></9>Made with <10>Rust</10>, <11>Actix</11>, <12>Inferno</12>, <13>Typescript</13>.',
57 list_of_communities: 'List of communities',
61 subscribers: 'Subscribers',
66 unsubscribe: 'Unsubscribe',
67 subscribe: 'Subscribe',
71 community_reqs: 'lowercase, underscores, and no spaces.',
72 sort_type: 'Sort type',
84 sponsors_of_lemmy: 'Sponsors of Lemmy',
85 sponsor_message: 'Lemmy is free, <1>open-source</1> software, meaning no advertising, monetizing, or venture capital, ever. Your donations directly support full-time development of the project. Thank you to the following people:',
86 support_on_patreon: 'Support on Patreon',
87 general_sponsors:'General Sponsors are those that pledged $10 to $39 to Lemmy.',
93 inbox_for: 'Inbox for <1>{{user}}</1>',
94 mark_all_as_read: 'mark all as read',
97 reply_sent: 'Reply sent',
99 communities: 'Communities',
101 overview: 'Overview',
104 login_sign_up: 'Login / Sign up',
105 notifications_error: 'Desktop notifications not available in your browser. Try Firefox or Chrome.',
106 unread_messages: 'Unread Messages',
108 email_or_username: 'Email or Username',
109 password: 'Password',
110 verify_password: 'Verify Password',
113 username: 'Username',
115 optional: 'Optional',
119 copy_suggested_title: 'copy suggested title: {{title}}',
120 related_posts: 'These posts might be related',
121 community: 'Community',
123 expand_here: 'Expand here',
124 remove_post: 'Remove Post',
126 no_posts: 'No Posts.',
127 subscribe_to_communities: 'Subscribe to some <1>communities</1>.',
131 no_results: 'No results.',
134 lemmy_instance_setup: 'Lemmy Instance Setup',
135 setup_admin: 'Set Up Site Administrator',
137 your_site: 'your site',
138 modified: 'modified',
143 baz: '<1>{{count}}</1>',
145 qux_plural: 'quxes<1></1>',
146 quux: '<1>{{name, uppercase}}</1>',
147 userMessagesUnread: 'Hello <1>{{name}}</1>, you have {{count}} unread messages. <3>Go to messages</3>.',
148 userMessagesUnread_plural: 'Hello <1>{{name}}</1>, you have {{count}} unread messages. <3>Go to messages</3>.'
153 function format(value: any, format: any, lng: any) {
154 if (format === 'uppercase') return value.toUpperCase();
167 export { i18n, resources };