2021-03-01 00:02:32 +01:00
|
|
|
// FILE GENERATED AUTOMATICALLY, TO NOT EDIT BY HAND
|
2021-03-01 14:38:44 +01:00
|
|
|
// ignore_for_file: constant_identifier_names
|
2021-03-01 00:02:32 +01:00
|
|
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
|
|
|
|
2021-03-01 14:38:44 +01:00
|
|
|
abstract class L10nStrings {
|
|
|
|
static const settings = 'settings';
|
|
|
|
static const password = 'password';
|
|
|
|
static const email_or_username = 'email_or_username';
|
|
|
|
static const posts = 'posts';
|
|
|
|
static const comments = 'comments';
|
|
|
|
static const modlog = 'modlog';
|
|
|
|
static const community = 'community';
|
|
|
|
static const url = 'url';
|
|
|
|
static const title = 'title';
|
|
|
|
static const body = 'body';
|
|
|
|
static const nsfw = 'nsfw';
|
|
|
|
static const post = 'post';
|
|
|
|
static const save = 'save';
|
|
|
|
static const subscribed = 'subscribed';
|
|
|
|
static const local = 'local';
|
|
|
|
static const all = 'all';
|
|
|
|
static const replies = 'replies';
|
|
|
|
static const mentions = 'mentions';
|
|
|
|
static const from = 'from';
|
|
|
|
static const to = 'to';
|
|
|
|
static const deleted_by_creator = 'deleted_by_creator';
|
|
|
|
static const more = 'more';
|
|
|
|
static const mark_as_read = 'mark_as_read';
|
|
|
|
static const mark_as_unread = 'mark_as_unread';
|
|
|
|
static const reply = 'reply';
|
|
|
|
static const edit = 'edit';
|
|
|
|
static const delete = 'delete';
|
|
|
|
static const restore = 'restore';
|
|
|
|
static const yes = 'yes';
|
|
|
|
static const no = 'no';
|
|
|
|
static const avatar = 'avatar';
|
|
|
|
static const banner = 'banner';
|
|
|
|
static const display_name = 'display_name';
|
|
|
|
static const bio = 'bio';
|
|
|
|
static const email = 'email';
|
|
|
|
static const matrix_user = 'matrix_user';
|
|
|
|
static const sort_type = 'sort_type';
|
|
|
|
static const type = 'type';
|
|
|
|
static const show_nsfw = 'show_nsfw';
|
|
|
|
static const send_notifications_to_email = 'send_notifications_to_email';
|
|
|
|
static const delete_account = 'delete_account';
|
|
|
|
static const saved = 'saved';
|
|
|
|
static const communities = 'communities';
|
|
|
|
static const users = 'users';
|
|
|
|
static const theme = 'theme';
|
|
|
|
static const language = 'language';
|
|
|
|
static const hot = 'hot';
|
|
|
|
static const new_ = 'new_';
|
|
|
|
static const old = 'old';
|
|
|
|
static const top = 'top';
|
|
|
|
static const chat = 'chat';
|
|
|
|
static const admin = 'admin';
|
|
|
|
static const by = 'by';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const not_a_mod_or_admin = 'not_a_mod_or_admin';
|
2021-03-01 14:38:44 +01:00
|
|
|
static const not_an_admin = 'not_an_admin';
|
|
|
|
static const couldnt_find_post = 'couldnt_find_post';
|
|
|
|
static const not_logged_in = 'not_logged_in';
|
|
|
|
static const site_ban = 'site_ban';
|
|
|
|
static const community_ban = 'community_ban';
|
|
|
|
static const downvotes_disabled = 'downvotes_disabled';
|
|
|
|
static const invalid_url = 'invalid_url';
|
|
|
|
static const locked = 'locked';
|
|
|
|
static const couldnt_create_comment = 'couldnt_create_comment';
|
|
|
|
static const couldnt_like_comment = 'couldnt_like_comment';
|
|
|
|
static const couldnt_update_comment = 'couldnt_update_comment';
|
|
|
|
static const no_comment_edit_allowed = 'no_comment_edit_allowed';
|
|
|
|
static const couldnt_save_comment = 'couldnt_save_comment';
|
|
|
|
static const couldnt_get_comments = 'couldnt_get_comments';
|
|
|
|
static const report_reason_required = 'report_reason_required';
|
|
|
|
static const report_too_long = 'report_too_long';
|
|
|
|
static const couldnt_create_report = 'couldnt_create_report';
|
|
|
|
static const couldnt_resolve_report = 'couldnt_resolve_report';
|
|
|
|
static const invalid_post_title = 'invalid_post_title';
|
|
|
|
static const couldnt_create_post = 'couldnt_create_post';
|
|
|
|
static const couldnt_like_post = 'couldnt_like_post';
|
|
|
|
static const couldnt_find_community = 'couldnt_find_community';
|
|
|
|
static const couldnt_get_posts = 'couldnt_get_posts';
|
|
|
|
static const no_post_edit_allowed = 'no_post_edit_allowed';
|
|
|
|
static const couldnt_save_post = 'couldnt_save_post';
|
|
|
|
static const site_already_exists = 'site_already_exists';
|
|
|
|
static const couldnt_update_site = 'couldnt_update_site';
|
|
|
|
static const invalid_community_name = 'invalid_community_name';
|
|
|
|
static const community_already_exists = 'community_already_exists';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const community_moderator_already_exists =
|
|
|
|
'community_moderator_already_exists';
|
|
|
|
static const community_follower_already_exists =
|
|
|
|
'community_follower_already_exists';
|
2021-03-01 14:38:44 +01:00
|
|
|
static const not_a_moderator = 'not_a_moderator';
|
|
|
|
static const couldnt_update_community = 'couldnt_update_community';
|
|
|
|
static const no_community_edit_allowed = 'no_community_edit_allowed';
|
|
|
|
static const system_err_login = 'system_err_login';
|
|
|
|
static const community_user_already_banned = 'community_user_already_banned';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const couldnt_find_that_username_or_email =
|
|
|
|
'couldnt_find_that_username_or_email';
|
2021-03-01 14:38:44 +01:00
|
|
|
static const password_incorrect = 'password_incorrect';
|
|
|
|
static const registration_closed = 'registration_closed';
|
|
|
|
static const invalid_password = 'invalid_password';
|
|
|
|
static const passwords_dont_match = 'passwords_dont_match';
|
|
|
|
static const captcha_incorrect = 'captcha_incorrect';
|
|
|
|
static const invalid_username = 'invalid_username';
|
|
|
|
static const bio_length_overflow = 'bio_length_overflow';
|
|
|
|
static const couldnt_update_user = 'couldnt_update_user';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const couldnt_update_private_message =
|
|
|
|
'couldnt_update_private_message';
|
2021-03-01 14:38:44 +01:00
|
|
|
static const couldnt_update_post = 'couldnt_update_post';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const couldnt_create_private_message =
|
|
|
|
'couldnt_create_private_message';
|
|
|
|
static const no_private_message_edit_allowed =
|
|
|
|
'no_private_message_edit_allowed';
|
2021-03-02 00:23:35 +01:00
|
|
|
static const post_title_too_long = 'post_title_too_long';
|
|
|
|
static const email_already_exists = 'email_already_exists';
|
|
|
|
static const user_already_exists = 'user_already_exists';
|
2021-03-03 13:16:05 +01:00
|
|
|
static const number_of_users_online = 'number_of_users_online';
|
2021-03-02 22:12:08 +01:00
|
|
|
static const number_of_comments = 'number_of_comments';
|
|
|
|
static const number_of_posts = 'number_of_posts';
|
2021-03-02 22:53:29 +01:00
|
|
|
static const number_of_subscribers = 'number_of_subscribers';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const number_of_users = 'number_of_users';
|
2021-03-02 22:53:29 +01:00
|
|
|
static const unsubscribe = 'unsubscribe';
|
|
|
|
static const subscribe = 'subscribe';
|
2021-03-03 12:20:27 +01:00
|
|
|
static const messages = 'messages';
|
|
|
|
static const banned_users = 'banned_users';
|
|
|
|
static const delete_account_confirm = 'delete_account_confirm';
|
|
|
|
static const new_password = 'new_password';
|
|
|
|
static const verify_password = 'verify_password';
|
|
|
|
static const old_password = 'old_password';
|
|
|
|
static const show_avatars = 'show_avatars';
|
|
|
|
static const search = 'search';
|
2021-03-03 12:31:36 +01:00
|
|
|
static const send_message = 'send_message';
|
2021-03-09 22:21:14 +01:00
|
|
|
static const top_day = 'top_day';
|
|
|
|
static const top_week = 'top_week';
|
|
|
|
static const top_month = 'top_month';
|
|
|
|
static const top_year = 'top_year';
|
|
|
|
static const top_all = 'top_all';
|
|
|
|
static const most_comments = 'most_comments';
|
|
|
|
static const new_comments = 'new_comments';
|
|
|
|
static const active = 'active';
|
2021-04-27 22:42:52 +02:00
|
|
|
static const bot_account = 'bot_account';
|
|
|
|
static const show_bot_accounts = 'show_bot_accounts';
|
|
|
|
static const show_read_posts = 'show_read_posts';
|
2021-03-01 14:38:44 +01:00
|
|
|
}
|
|
|
|
|
2021-03-01 00:02:32 +01:00
|
|
|
extension L10nFromString on String {
|
|
|
|
String tr(BuildContext context) {
|
|
|
|
switch (this) {
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.settings:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.settings;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.password:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.password;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.email_or_username:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.email_or_username;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.posts:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.posts;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.comments:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.comments;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.modlog:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.modlog;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.url:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.url;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.title:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.title;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.body:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.body;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.nsfw:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.nsfw;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.save:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.save;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.subscribed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.subscribed;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.local:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.local;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.all:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.all;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.replies:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.replies;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.mentions:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.mentions;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.from:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.from;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.to:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.to;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.deleted_by_creator:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.deleted_by_creator;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.more:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.more;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.mark_as_read:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.mark_as_read;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.mark_as_unread:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.mark_as_unread;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.reply:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.reply;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.edit:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.edit;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.delete:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.delete;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.restore:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.restore;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.yes:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.yes;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.no:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.no;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.avatar:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.avatar;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.banner:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.banner;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.display_name:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.display_name;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.bio:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.bio;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.email:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.email;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.matrix_user:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.matrix_user;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.sort_type:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.sort_type;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.type:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.type;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.show_nsfw:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.show_nsfw;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.send_notifications_to_email:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.send_notifications_to_email;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.delete_account:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.delete_account;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.saved:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.saved;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.communities:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.communities;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.users:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.users;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.theme:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.theme;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.language:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.language;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.hot:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.hot;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.new_:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.new_;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.old:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.old;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.top:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.chat:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.chat;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.admin:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.admin;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.by:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.by;
|
2021-03-03 12:31:36 +01:00
|
|
|
case L10nStrings.not_a_mod_or_admin:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.not_a_mod_or_admin;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.not_an_admin:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.not_an_admin;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_find_post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_find_post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.not_logged_in:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.not_logged_in;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.site_ban:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.site_ban;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community_ban:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community_ban;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.downvotes_disabled:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.downvotes_disabled;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.invalid_url:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.invalid_url;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.locked:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.locked;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_create_comment:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_create_comment;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_like_comment:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_like_comment;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_comment:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_comment;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.no_comment_edit_allowed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.no_comment_edit_allowed;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_save_comment:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_save_comment;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_get_comments:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_get_comments;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.report_reason_required:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.report_reason_required;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.report_too_long:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.report_too_long;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_create_report:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_create_report;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_resolve_report:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_resolve_report;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.invalid_post_title:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.invalid_post_title;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_create_post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_create_post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_like_post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_like_post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_find_community:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_find_community;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_get_posts:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_get_posts;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.no_post_edit_allowed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.no_post_edit_allowed;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_save_post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_save_post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.site_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.site_already_exists;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_site:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_site;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.invalid_community_name:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.invalid_community_name;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community_already_exists;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community_moderator_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community_moderator_already_exists;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community_follower_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community_follower_already_exists;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.not_a_moderator:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.not_a_moderator;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_community:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_community;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.no_community_edit_allowed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.no_community_edit_allowed;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.system_err_login:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.system_err_login;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.community_user_already_banned:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.community_user_already_banned;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_find_that_username_or_email:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_find_that_username_or_email;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.password_incorrect:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.password_incorrect;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.registration_closed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.registration_closed;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.invalid_password:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.invalid_password;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.passwords_dont_match:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.passwords_dont_match;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.captcha_incorrect:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.captcha_incorrect;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.invalid_username:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.invalid_username;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.bio_length_overflow:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.bio_length_overflow;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_user:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_user;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_private_message:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_private_message;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_update_post:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_update_post;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.couldnt_create_private_message:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.couldnt_create_private_message;
|
2021-03-01 14:38:44 +01:00
|
|
|
case L10nStrings.no_private_message_edit_allowed:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.no_private_message_edit_allowed;
|
2021-03-02 00:23:35 +01:00
|
|
|
case L10nStrings.post_title_too_long:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.post_title_too_long;
|
2021-03-02 00:23:35 +01:00
|
|
|
case L10nStrings.email_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.email_already_exists;
|
2021-03-02 00:23:35 +01:00
|
|
|
case L10nStrings.user_already_exists:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.user_already_exists;
|
2021-03-02 22:53:29 +01:00
|
|
|
case L10nStrings.unsubscribe:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.unsubscribe;
|
2021-03-02 22:53:29 +01:00
|
|
|
case L10nStrings.subscribe:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.subscribe;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.messages:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.messages;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.banned_users:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.banned_users;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.delete_account_confirm:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.delete_account_confirm;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.new_password:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.new_password;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.verify_password:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.verify_password;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.old_password:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.old_password;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.show_avatars:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.show_avatars;
|
2021-03-03 12:20:27 +01:00
|
|
|
case L10nStrings.search:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.search;
|
2021-03-03 12:31:36 +01:00
|
|
|
case L10nStrings.send_message:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.send_message;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.top_day:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top_day;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.top_week:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top_week;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.top_month:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top_month;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.top_year:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top_year;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.top_all:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.top_all;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.most_comments:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.most_comments;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.new_comments:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.new_comments;
|
2021-03-09 22:21:14 +01:00
|
|
|
case L10nStrings.active:
|
2021-04-09 00:11:44 +02:00
|
|
|
return L10n.of(context)!.active;
|
2021-04-27 22:42:52 +02:00
|
|
|
case L10nStrings.bot_account:
|
|
|
|
return L10n.of(context)!.bot_account;
|
|
|
|
case L10nStrings.show_bot_accounts:
|
|
|
|
return L10n.of(context)!.show_bot_accounts;
|
|
|
|
case L10nStrings.show_read_posts:
|
|
|
|
return L10n.of(context)!.show_read_posts;
|
2021-03-01 00:02:32 +01:00
|
|
|
|
|
|
|
default:
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|