From 6e5470c05c83a2701821c24b3b78eddc5ac19bb3 Mon Sep 17 00:00:00 2001 From: Marcin Wojnarowski Date: Fri, 5 Nov 2021 21:37:27 +0100 Subject: [PATCH] Stop using l10n synthetic package (#289) * Stop using l10n synthetic package * Remove nullability * Keep l10n gen in repo --- analysis_options.yaml | 1 + ios/Podfile.lock | 8 +- l10n.yaml | 3 + lib/l10n/gen/l10n.dart | 1143 +++++++++++++++++ lib/l10n/gen/l10n_ar.dart | 459 +++++++ lib/l10n/gen/l10n_bg.dart | 463 +++++++ lib/l10n/gen/l10n_ca.dart | 467 +++++++ lib/l10n/gen/l10n_da.dart | 461 +++++++ lib/l10n/gen/l10n_de.dart | 466 +++++++ lib/l10n/gen/l10n_el.dart | 472 +++++++ lib/l10n/gen/l10n_en.dart | 459 +++++++ lib/l10n/gen/l10n_eo.dart | 461 +++++++ lib/l10n/gen/l10n_es.dart | 465 +++++++ lib/l10n/gen/l10n_eu.dart | 465 +++++++ lib/l10n/gen/l10n_fa.dart | 456 +++++++ lib/l10n/gen/l10n_fi.dart | 465 +++++++ lib/l10n/gen/l10n_fr.dart | 470 +++++++ lib/l10n/gen/l10n_ga.dart | 466 +++++++ lib/l10n/gen/l10n_gl.dart | 464 +++++++ lib/l10n/gen/l10n_hi.dart | 459 +++++++ lib/l10n/gen/l10n_hr.dart | 459 +++++++ lib/l10n/gen/l10n_hu.dart | 468 +++++++ lib/l10n/gen/l10n_it.dart | 466 +++++++ lib/l10n/gen/l10n_ja.dart | 448 +++++++ lib/l10n/gen/l10n_ka.dart | 460 +++++++ lib/l10n/gen/l10n_km.dart | 459 +++++++ lib/l10n/gen/l10n_ko.dart | 448 +++++++ lib/l10n/gen/l10n_nb.dart | 515 ++++++++ lib/l10n/gen/l10n_nl.dart | 468 +++++++ lib/l10n/gen/l10n_oc.dart | 459 +++++++ lib/l10n/gen/l10n_pl.dart | 465 +++++++ lib/l10n/gen/l10n_pt.dart | 899 +++++++++++++ lib/l10n/gen/l10n_ru.dart | 463 +++++++ lib/l10n/gen/l10n_sq.dart | 466 +++++++ lib/l10n/gen/l10n_sr.dart | 530 ++++++++ lib/l10n/gen/l10n_sv.dart | 465 +++++++ lib/l10n/gen/l10n_th.dart | 456 +++++++ lib/l10n/gen/l10n_tr.dart | 460 +++++++ lib/l10n/gen/l10n_uk.dart | 462 +++++++ lib/l10n/gen/l10n_zh.dart | 529 ++++++++ lib/l10n/l10n.dart | 3 +- lib/l10n/l10n_api.dart | 43 +- lib/l10n/l10n_from_string.dart | 259 ++-- lib/pages/community.dart | 14 +- lib/pages/create_post.dart | 14 +- lib/pages/home_tab.dart | 8 +- lib/pages/inbox.dart | 22 +- lib/pages/instance.dart | 14 +- lib/pages/manage_account.dart | 36 +- lib/pages/saved_page.dart | 6 +- lib/pages/search_results.dart | 8 +- lib/pages/search_tab.dart | 4 +- lib/pages/settings/add_account.dart | 5 +- lib/pages/settings/settings.dart | 18 +- lib/pages/write_message.dart | 4 +- lib/widgets/comment/comment.dart | 4 +- lib/widgets/comment/comment_actions.dart | 6 +- .../comment/comment_more_menu_button.dart | 2 +- lib/widgets/post/post_actions.dart | 2 +- lib/widgets/post/post_info_section.dart | 4 +- lib/widgets/user_profile.dart | 8 +- lib/widgets/write_comment.dart | 4 +- 62 files changed, 18658 insertions(+), 248 deletions(-) create mode 100644 lib/l10n/gen/l10n.dart create mode 100644 lib/l10n/gen/l10n_ar.dart create mode 100644 lib/l10n/gen/l10n_bg.dart create mode 100644 lib/l10n/gen/l10n_ca.dart create mode 100644 lib/l10n/gen/l10n_da.dart create mode 100644 lib/l10n/gen/l10n_de.dart create mode 100644 lib/l10n/gen/l10n_el.dart create mode 100644 lib/l10n/gen/l10n_en.dart create mode 100644 lib/l10n/gen/l10n_eo.dart create mode 100644 lib/l10n/gen/l10n_es.dart create mode 100644 lib/l10n/gen/l10n_eu.dart create mode 100644 lib/l10n/gen/l10n_fa.dart create mode 100644 lib/l10n/gen/l10n_fi.dart create mode 100644 lib/l10n/gen/l10n_fr.dart create mode 100644 lib/l10n/gen/l10n_ga.dart create mode 100644 lib/l10n/gen/l10n_gl.dart create mode 100644 lib/l10n/gen/l10n_hi.dart create mode 100644 lib/l10n/gen/l10n_hr.dart create mode 100644 lib/l10n/gen/l10n_hu.dart create mode 100644 lib/l10n/gen/l10n_it.dart create mode 100644 lib/l10n/gen/l10n_ja.dart create mode 100644 lib/l10n/gen/l10n_ka.dart create mode 100644 lib/l10n/gen/l10n_km.dart create mode 100644 lib/l10n/gen/l10n_ko.dart create mode 100644 lib/l10n/gen/l10n_nb.dart create mode 100644 lib/l10n/gen/l10n_nl.dart create mode 100644 lib/l10n/gen/l10n_oc.dart create mode 100644 lib/l10n/gen/l10n_pl.dart create mode 100644 lib/l10n/gen/l10n_pt.dart create mode 100644 lib/l10n/gen/l10n_ru.dart create mode 100644 lib/l10n/gen/l10n_sq.dart create mode 100644 lib/l10n/gen/l10n_sr.dart create mode 100644 lib/l10n/gen/l10n_sv.dart create mode 100644 lib/l10n/gen/l10n_th.dart create mode 100644 lib/l10n/gen/l10n_tr.dart create mode 100644 lib/l10n/gen/l10n_uk.dart create mode 100644 lib/l10n/gen/l10n_zh.dart diff --git a/analysis_options.yaml b/analysis_options.yaml index 694764a..119cad3 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -117,6 +117,7 @@ analyzer: - "**/*.g.dart" - "**/*.freezed.dart" - "lib/gen/assets.gen.dart" + - "lib/l10n/gen/*" # strong-mode: # TODO: consider disabling # implicit-dynamic: false diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 7701645..11a5885 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -40,12 +40,12 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a - image_picker: e06f7a68f000bd36f552c1847e33cda96ed31f1f + image_picker: 9aa50e1d8cdacdbed739e925b7eea16d014367e6 package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e - path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c + path_provider: d1e9807085df1f9cc9318206cd649dc0b76be3de share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68 - shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d - url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef + shared_preferences: 5033afbb22d372e15aff8ff766df9021b845f273 + url_launcher: b6e016d912f04be9f5bf6e8e82dc599b7ba59649 PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c diff --git a/l10n.yaml b/l10n.yaml index 3dfa015..700b719 100644 --- a/l10n.yaml +++ b/l10n.yaml @@ -1,6 +1,9 @@ arb-dir: lib/l10n +output-dir: lib/l10n/gen template-arb-file: intl_en.arb output-localization-file: l10n.dart preferred-supported-locales: [en] output-class: L10n untranslated-messages-file: lib/l10n/untranslated.json +synthetic-package: false +nullable-getter: false diff --git a/lib/l10n/gen/l10n.dart b/lib/l10n/gen/l10n.dart new file mode 100644 index 0000000..5c3c65a --- /dev/null +++ b/lib/l10n/gen/l10n.dart @@ -0,0 +1,1143 @@ +import 'dart:async'; + +import 'package:flutter/foundation.dart'; +import 'package:flutter/widgets.dart'; +import 'package:flutter_localizations/flutter_localizations.dart'; +import 'package:intl/intl.dart' as intl; + +import 'l10n_ar.dart'; +import 'l10n_bg.dart'; +import 'l10n_ca.dart'; +import 'l10n_da.dart'; +import 'l10n_de.dart'; +import 'l10n_el.dart'; +import 'l10n_en.dart'; +import 'l10n_eo.dart'; +import 'l10n_es.dart'; +import 'l10n_eu.dart'; +import 'l10n_fa.dart'; +import 'l10n_fi.dart'; +import 'l10n_fr.dart'; +import 'l10n_ga.dart'; +import 'l10n_gl.dart'; +import 'l10n_hi.dart'; +import 'l10n_hr.dart'; +import 'l10n_hu.dart'; +import 'l10n_it.dart'; +import 'l10n_ja.dart'; +import 'l10n_ka.dart'; +import 'l10n_km.dart'; +import 'l10n_ko.dart'; +import 'l10n_nb.dart'; +import 'l10n_nl.dart'; +import 'l10n_oc.dart'; +import 'l10n_pl.dart'; +import 'l10n_pt.dart'; +import 'l10n_ru.dart'; +import 'l10n_sq.dart'; +import 'l10n_sr.dart'; +import 'l10n_sv.dart'; +import 'l10n_th.dart'; +import 'l10n_tr.dart'; +import 'l10n_uk.dart'; +import 'l10n_zh.dart'; + +/// Callers can lookup localized strings with an instance of L10n returned +/// by `L10n.of(context)`. +/// +/// Applications need to include `L10n.delegate()` in their app's +/// localizationDelegates list, and the locales they support in the app's +/// supportedLocales list. For example: +/// +/// ``` +/// import 'gen/l10n.dart'; +/// +/// return MaterialApp( +/// localizationsDelegates: L10n.localizationsDelegates, +/// supportedLocales: L10n.supportedLocales, +/// home: MyApplicationHome(), +/// ); +/// ``` +/// +/// ## Update pubspec.yaml +/// +/// Please make sure to update your pubspec.yaml to include the following +/// packages: +/// +/// ``` +/// dependencies: +/// # Internationalization support. +/// flutter_localizations: +/// sdk: flutter +/// intl: any # Use the pinned version from flutter_localizations +/// +/// # rest of dependencies +/// ``` +/// +/// ## iOS Applications +/// +/// iOS applications define key application metadata, including supported +/// locales, in an Info.plist file that is built into the application bundle. +/// To configure the locales supported by your app, you’ll need to edit this +/// file. +/// +/// First, open your project’s ios/Runner.xcworkspace Xcode workspace file. +/// Then, in the Project Navigator, open the Info.plist file under the Runner +/// project’s Runner folder. +/// +/// Next, select the Information Property List item, select Add Item from the +/// Editor menu, then select Localizations from the pop-up menu. +/// +/// Select and expand the newly-created Localizations item then, for each +/// locale your application supports, add a new item and select the locale +/// you wish to add from the pop-up menu in the Value field. This list should +/// be consistent with the languages listed in the L10n.supportedLocales +/// property. +abstract class L10n { + L10n(String locale) + : localeName = intl.Intl.canonicalizedLocale(locale.toString()); + + final String localeName; + + static L10n of(BuildContext context) { + return Localizations.of(context, L10n)!; + } + + static const LocalizationsDelegate delegate = _L10nDelegate(); + + /// A list of this localizations delegate along with the default localizations + /// delegates. + /// + /// Returns a list of localizations delegates containing this delegate along with + /// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate, + /// and GlobalWidgetsLocalizations.delegate. + /// + /// Additional delegates can be added by appending to this list in + /// MaterialApp. This list does not have to be used at all if a custom list + /// of delegates is preferred or required. + static const List> localizationsDelegates = + >[ + delegate, + GlobalMaterialLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, + GlobalWidgetsLocalizations.delegate, + ]; + + /// A list of this localizations delegate's supported locales. + static const List supportedLocales = [ + Locale('en'), + Locale('ar'), + Locale('bg'), + Locale('ca'), + Locale('da'), + Locale('de'), + Locale('el'), + Locale('eo'), + Locale('es'), + Locale('eu'), + Locale('fa'), + Locale('fi'), + Locale('fr'), + Locale('ga'), + Locale('gl'), + Locale('hi'), + Locale('hr'), + Locale('hu'), + Locale('it'), + Locale('ja'), + Locale('ka'), + Locale('km'), + Locale('ko'), + Locale('nb'), + Locale('nb', 'NO'), + Locale('nl'), + Locale('oc'), + Locale('pl'), + Locale('pt'), + Locale('pt', 'BR'), + Locale('ru'), + Locale('sq'), + Locale('sr'), + Locale.fromSubtags(languageCode: 'sr', scriptCode: 'Latn'), + Locale('sv'), + Locale('th'), + Locale('tr'), + Locale('uk'), + Locale('zh'), + Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hant') + ]; + + /// No description provided for @settings. + /// + /// In en, this message translates to: + /// **'Settings'** + String get settings; + + /// No description provided for @password. + /// + /// In en, this message translates to: + /// **'Password'** + String get password; + + /// No description provided for @email_or_username. + /// + /// In en, this message translates to: + /// **'Email or Username'** + String get email_or_username; + + /// No description provided for @posts. + /// + /// In en, this message translates to: + /// **'Posts'** + String get posts; + + /// No description provided for @comments. + /// + /// In en, this message translates to: + /// **'Comments'** + String get comments; + + /// No description provided for @modlog. + /// + /// In en, this message translates to: + /// **'Modlog'** + String get modlog; + + /// No description provided for @community. + /// + /// In en, this message translates to: + /// **'Community'** + String get community; + + /// No description provided for @url. + /// + /// In en, this message translates to: + /// **'URL'** + String get url; + + /// No description provided for @title. + /// + /// In en, this message translates to: + /// **'Title'** + String get title; + + /// No description provided for @body. + /// + /// In en, this message translates to: + /// **'Body'** + String get body; + + /// No description provided for @nsfw. + /// + /// In en, this message translates to: + /// **'NSFW'** + String get nsfw; + + /// No description provided for @post. + /// + /// In en, this message translates to: + /// **'post'** + String get post; + + /// No description provided for @save. + /// + /// In en, this message translates to: + /// **'save'** + String get save; + + /// No description provided for @subscribed. + /// + /// In en, this message translates to: + /// **'Subscribed'** + String get subscribed; + + /// No description provided for @local. + /// + /// In en, this message translates to: + /// **'Local'** + String get local; + + /// No description provided for @all. + /// + /// In en, this message translates to: + /// **'All'** + String get all; + + /// No description provided for @replies. + /// + /// In en, this message translates to: + /// **'Replies'** + String get replies; + + /// No description provided for @mentions. + /// + /// In en, this message translates to: + /// **'Mentions'** + String get mentions; + + /// No description provided for @from. + /// + /// In en, this message translates to: + /// **'from'** + String get from; + + /// No description provided for @to. + /// + /// In en, this message translates to: + /// **'to'** + String get to; + + /// No description provided for @deleted_by_creator. + /// + /// In en, this message translates to: + /// **'deleted by creator'** + String get deleted_by_creator; + + /// No description provided for @more. + /// + /// In en, this message translates to: + /// **'more'** + String get more; + + /// No description provided for @mark_as_read. + /// + /// In en, this message translates to: + /// **'mark as read'** + String get mark_as_read; + + /// No description provided for @mark_as_unread. + /// + /// In en, this message translates to: + /// **'mark as unread'** + String get mark_as_unread; + + /// No description provided for @reply. + /// + /// In en, this message translates to: + /// **'reply'** + String get reply; + + /// No description provided for @edit. + /// + /// In en, this message translates to: + /// **'edit'** + String get edit; + + /// No description provided for @delete. + /// + /// In en, this message translates to: + /// **'delete'** + String get delete; + + /// No description provided for @restore. + /// + /// In en, this message translates to: + /// **'restore'** + String get restore; + + /// No description provided for @yes. + /// + /// In en, this message translates to: + /// **'yes'** + String get yes; + + /// No description provided for @no. + /// + /// In en, this message translates to: + /// **'no'** + String get no; + + /// No description provided for @avatar. + /// + /// In en, this message translates to: + /// **'Avatar'** + String get avatar; + + /// No description provided for @banner. + /// + /// In en, this message translates to: + /// **'Banner'** + String get banner; + + /// No description provided for @display_name. + /// + /// In en, this message translates to: + /// **'Display name'** + String get display_name; + + /// No description provided for @bio. + /// + /// In en, this message translates to: + /// **'Bio'** + String get bio; + + /// No description provided for @email. + /// + /// In en, this message translates to: + /// **'Email'** + String get email; + + /// No description provided for @matrix_user. + /// + /// In en, this message translates to: + /// **'Matrix User'** + String get matrix_user; + + /// No description provided for @sort_type. + /// + /// In en, this message translates to: + /// **'Sort type'** + String get sort_type; + + /// No description provided for @type. + /// + /// In en, this message translates to: + /// **'Type'** + String get type; + + /// No description provided for @show_nsfw. + /// + /// In en, this message translates to: + /// **'Show NSFW content'** + String get show_nsfw; + + /// No description provided for @send_notifications_to_email. + /// + /// In en, this message translates to: + /// **'Send notifications to Email'** + String get send_notifications_to_email; + + /// No description provided for @delete_account. + /// + /// In en, this message translates to: + /// **'Delete account'** + String get delete_account; + + /// No description provided for @saved. + /// + /// In en, this message translates to: + /// **'Saved'** + String get saved; + + /// No description provided for @communities. + /// + /// In en, this message translates to: + /// **'Communities'** + String get communities; + + /// No description provided for @users. + /// + /// In en, this message translates to: + /// **'Users'** + String get users; + + /// No description provided for @theme. + /// + /// In en, this message translates to: + /// **'Theme'** + String get theme; + + /// No description provided for @language. + /// + /// In en, this message translates to: + /// **'Language'** + String get language; + + /// No description provided for @hot. + /// + /// In en, this message translates to: + /// **'Hot'** + String get hot; + + /// No description provided for @new_. + /// + /// In en, this message translates to: + /// **'New'** + String get new_; + + /// No description provided for @old. + /// + /// In en, this message translates to: + /// **'Old'** + String get old; + + /// No description provided for @top. + /// + /// In en, this message translates to: + /// **'Top'** + String get top; + + /// No description provided for @chat. + /// + /// In en, this message translates to: + /// **'Chat'** + String get chat; + + /// No description provided for @admin. + /// + /// In en, this message translates to: + /// **'admin'** + String get admin; + + /// No description provided for @by. + /// + /// In en, this message translates to: + /// **'by'** + String get by; + + /// No description provided for @not_a_mod_or_admin. + /// + /// In en, this message translates to: + /// **'Not a moderator or admin.'** + String get not_a_mod_or_admin; + + /// No description provided for @not_an_admin. + /// + /// In en, this message translates to: + /// **'Not an admin.'** + String get not_an_admin; + + /// No description provided for @couldnt_find_post. + /// + /// In en, this message translates to: + /// **'Couldn\'t find post.'** + String get couldnt_find_post; + + /// No description provided for @not_logged_in. + /// + /// In en, this message translates to: + /// **'Not logged in.'** + String get not_logged_in; + + /// No description provided for @site_ban. + /// + /// In en, this message translates to: + /// **'You have been banned from the site'** + String get site_ban; + + /// No description provided for @community_ban. + /// + /// In en, this message translates to: + /// **'You have been banned from this community.'** + String get community_ban; + + /// No description provided for @downvotes_disabled. + /// + /// In en, this message translates to: + /// **'Downvotes disabled'** + String get downvotes_disabled; + + /// No description provided for @invalid_url. + /// + /// In en, this message translates to: + /// **'Invalid URL.'** + String get invalid_url; + + /// No description provided for @locked. + /// + /// In en, this message translates to: + /// **'locked'** + String get locked; + + /// No description provided for @couldnt_create_comment. + /// + /// In en, this message translates to: + /// **'Couldn\'t create comment.'** + String get couldnt_create_comment; + + /// No description provided for @couldnt_like_comment. + /// + /// In en, this message translates to: + /// **'Couldn\'t like comment.'** + String get couldnt_like_comment; + + /// No description provided for @couldnt_update_comment. + /// + /// In en, this message translates to: + /// **'Couldn\'t update comment.'** + String get couldnt_update_comment; + + /// No description provided for @no_comment_edit_allowed. + /// + /// In en, this message translates to: + /// **'Not allowed to edit comment.'** + String get no_comment_edit_allowed; + + /// No description provided for @couldnt_save_comment. + /// + /// In en, this message translates to: + /// **'Couldn\'t save comment.'** + String get couldnt_save_comment; + + /// No description provided for @couldnt_get_comments. + /// + /// In en, this message translates to: + /// **'Couldn\'t get comments.'** + String get couldnt_get_comments; + + /// No description provided for @report_reason_required. + /// + /// In en, this message translates to: + /// **'Report reason required.'** + String get report_reason_required; + + /// No description provided for @report_too_long. + /// + /// In en, this message translates to: + /// **'Report too long.'** + String get report_too_long; + + /// No description provided for @couldnt_create_report. + /// + /// In en, this message translates to: + /// **'Couldn\'t create report.'** + String get couldnt_create_report; + + /// No description provided for @couldnt_resolve_report. + /// + /// In en, this message translates to: + /// **'Couldn\'t resolve report.'** + String get couldnt_resolve_report; + + /// No description provided for @invalid_post_title. + /// + /// In en, this message translates to: + /// **'Invalid post title'** + String get invalid_post_title; + + /// No description provided for @couldnt_create_post. + /// + /// In en, this message translates to: + /// **'Couldn\'t create post.'** + String get couldnt_create_post; + + /// No description provided for @couldnt_like_post. + /// + /// In en, this message translates to: + /// **'Couldn\'t like post.'** + String get couldnt_like_post; + + /// No description provided for @couldnt_find_community. + /// + /// In en, this message translates to: + /// **'Couldn\'t find community.'** + String get couldnt_find_community; + + /// No description provided for @couldnt_get_posts. + /// + /// In en, this message translates to: + /// **'Couldn\'t get posts'** + String get couldnt_get_posts; + + /// No description provided for @no_post_edit_allowed. + /// + /// In en, this message translates to: + /// **'Not allowed to edit post.'** + String get no_post_edit_allowed; + + /// No description provided for @couldnt_save_post. + /// + /// In en, this message translates to: + /// **'Couldn\'t save post.'** + String get couldnt_save_post; + + /// No description provided for @site_already_exists. + /// + /// In en, this message translates to: + /// **'Site already exists.'** + String get site_already_exists; + + /// No description provided for @couldnt_update_site. + /// + /// In en, this message translates to: + /// **'Couldn\'t update site.'** + String get couldnt_update_site; + + /// No description provided for @invalid_community_name. + /// + /// In en, this message translates to: + /// **'Invalid name.'** + String get invalid_community_name; + + /// No description provided for @community_already_exists. + /// + /// In en, this message translates to: + /// **'Community already exists.'** + String get community_already_exists; + + /// No description provided for @community_moderator_already_exists. + /// + /// In en, this message translates to: + /// **'Community moderator already exists.'** + String get community_moderator_already_exists; + + /// No description provided for @community_follower_already_exists. + /// + /// In en, this message translates to: + /// **'Community follower already exists.'** + String get community_follower_already_exists; + + /// No description provided for @not_a_moderator. + /// + /// In en, this message translates to: + /// **'Not a moderator.'** + String get not_a_moderator; + + /// No description provided for @couldnt_update_community. + /// + /// In en, this message translates to: + /// **'Couldn\'t update Community.'** + String get couldnt_update_community; + + /// No description provided for @no_community_edit_allowed. + /// + /// In en, this message translates to: + /// **'Not allowed to edit community.'** + String get no_community_edit_allowed; + + /// No description provided for @system_err_login. + /// + /// In en, this message translates to: + /// **'System error. Try logging out and back in.'** + String get system_err_login; + + /// No description provided for @community_user_already_banned. + /// + /// In en, this message translates to: + /// **'Community user already banned.'** + String get community_user_already_banned; + + /// No description provided for @couldnt_find_that_username_or_email. + /// + /// In en, this message translates to: + /// **'Couldn\'t find that username or email.'** + String get couldnt_find_that_username_or_email; + + /// No description provided for @password_incorrect. + /// + /// In en, this message translates to: + /// **'Password incorrect.'** + String get password_incorrect; + + /// No description provided for @registration_closed. + /// + /// In en, this message translates to: + /// **'Registration closed'** + String get registration_closed; + + /// No description provided for @invalid_password. + /// + /// In en, this message translates to: + /// **'Invalid password. Password must be <= 60 characters.'** + String get invalid_password; + + /// No description provided for @passwords_dont_match. + /// + /// In en, this message translates to: + /// **'Passwords do not match.'** + String get passwords_dont_match; + + /// No description provided for @captcha_incorrect. + /// + /// In en, this message translates to: + /// **'Captcha incorrect.'** + String get captcha_incorrect; + + /// No description provided for @invalid_username. + /// + /// In en, this message translates to: + /// **'Invalid username.'** + String get invalid_username; + + /// No description provided for @bio_length_overflow. + /// + /// In en, this message translates to: + /// **'User bio cannot exceed 300 characters.'** + String get bio_length_overflow; + + /// No description provided for @couldnt_update_user. + /// + /// In en, this message translates to: + /// **'Couldn\'t update user.'** + String get couldnt_update_user; + + /// No description provided for @couldnt_update_private_message. + /// + /// In en, this message translates to: + /// **'Couldn\'t update private message.'** + String get couldnt_update_private_message; + + /// No description provided for @couldnt_update_post. + /// + /// In en, this message translates to: + /// **'Couldn\'t update post'** + String get couldnt_update_post; + + /// No description provided for @couldnt_create_private_message. + /// + /// In en, this message translates to: + /// **'Couldn\'t create private message.'** + String get couldnt_create_private_message; + + /// No description provided for @no_private_message_edit_allowed. + /// + /// In en, this message translates to: + /// **'Not allowed to edit private message.'** + String get no_private_message_edit_allowed; + + /// No description provided for @post_title_too_long. + /// + /// In en, this message translates to: + /// **'Post title too long.'** + String get post_title_too_long; + + /// No description provided for @email_already_exists. + /// + /// In en, this message translates to: + /// **'Email already exists.'** + String get email_already_exists; + + /// No description provided for @user_already_exists. + /// + /// In en, this message translates to: + /// **'User already exists.'** + String get user_already_exists; + + /// No description provided for @number_of_users_online. + /// + /// In en, this message translates to: + /// **'{count,plural, =1{{count} user online} other{{count} users online}}'** + String number_of_users_online(int count); + + /// No description provided for @number_of_comments. + /// + /// In en, this message translates to: + /// **'{count,plural, =1{{count} comment} other{{count} comments}}'** + String number_of_comments(int count); + + /// No description provided for @number_of_posts. + /// + /// In en, this message translates to: + /// **'{count,plural, =1{{count} post} other{{count} posts}}'** + String number_of_posts(int count); + + /// No description provided for @number_of_subscribers. + /// + /// In en, this message translates to: + /// **'{count,plural, =1{{count} subscriber} other{{count} subscribers}}'** + String number_of_subscribers(int count); + + /// No description provided for @number_of_users. + /// + /// In en, this message translates to: + /// **'{count,plural, =1{{count} user} other{{count} users}}'** + String number_of_users(int count); + + /// No description provided for @unsubscribe. + /// + /// In en, this message translates to: + /// **'unsubscribe'** + String get unsubscribe; + + /// No description provided for @subscribe. + /// + /// In en, this message translates to: + /// **'subscribe'** + String get subscribe; + + /// No description provided for @messages. + /// + /// In en, this message translates to: + /// **'Messages'** + String get messages; + + /// No description provided for @banned_users. + /// + /// In en, this message translates to: + /// **'Banned users'** + String get banned_users; + + /// No description provided for @delete_account_confirm. + /// + /// In en, this message translates to: + /// **'Warning: this will permanently delete all your data. Enter your password to confirm.'** + String get delete_account_confirm; + + /// No description provided for @new_password. + /// + /// In en, this message translates to: + /// **'New password'** + String get new_password; + + /// No description provided for @verify_password. + /// + /// In en, this message translates to: + /// **'Verify password'** + String get verify_password; + + /// No description provided for @old_password. + /// + /// In en, this message translates to: + /// **'Old password'** + String get old_password; + + /// No description provided for @show_avatars. + /// + /// In en, this message translates to: + /// **'Show avatars'** + String get show_avatars; + + /// No description provided for @search. + /// + /// In en, this message translates to: + /// **'search'** + String get search; + + /// No description provided for @send_message. + /// + /// In en, this message translates to: + /// **'Send message'** + String get send_message; + + /// No description provided for @top_day. + /// + /// In en, this message translates to: + /// **'Top Day'** + String get top_day; + + /// No description provided for @top_week. + /// + /// In en, this message translates to: + /// **'Top Week'** + String get top_week; + + /// No description provided for @top_month. + /// + /// In en, this message translates to: + /// **'Top Month'** + String get top_month; + + /// No description provided for @top_year. + /// + /// In en, this message translates to: + /// **'Top Year'** + String get top_year; + + /// No description provided for @top_all. + /// + /// In en, this message translates to: + /// **'Top All Time'** + String get top_all; + + /// No description provided for @most_comments. + /// + /// In en, this message translates to: + /// **'Most Comments'** + String get most_comments; + + /// No description provided for @new_comments. + /// + /// In en, this message translates to: + /// **'New Comments'** + String get new_comments; + + /// No description provided for @active. + /// + /// In en, this message translates to: + /// **'Active'** + String get active; + + /// No description provided for @bot_account. + /// + /// In en, this message translates to: + /// **'Bot Account'** + String get bot_account; + + /// No description provided for @show_bot_accounts. + /// + /// In en, this message translates to: + /// **'Show Bot Accounts'** + String get show_bot_accounts; + + /// No description provided for @show_read_posts. + /// + /// In en, this message translates to: + /// **'Show Read Posts'** + String get show_read_posts; +} + +class _L10nDelegate extends LocalizationsDelegate { + const _L10nDelegate(); + + @override + Future load(Locale locale) { + return SynchronousFuture(lookupL10n(locale)); + } + + @override + bool isSupported(Locale locale) => [ + 'ar', + 'bg', + 'ca', + 'da', + 'de', + 'el', + 'en', + 'eo', + 'es', + 'eu', + 'fa', + 'fi', + 'fr', + 'ga', + 'gl', + 'hi', + 'hr', + 'hu', + 'it', + 'ja', + 'ka', + 'km', + 'ko', + 'nb', + 'nl', + 'oc', + 'pl', + 'pt', + 'ru', + 'sq', + 'sr', + 'sv', + 'th', + 'tr', + 'uk', + 'zh' + ].contains(locale.languageCode); + + @override + bool shouldReload(_L10nDelegate old) => false; +} + +L10n lookupL10n(Locale locale) { + // Lookup logic when language+script codes are specified. + switch (locale.languageCode) { + case 'sr': + { + switch (locale.scriptCode) { + case 'Latn': + return L10nSrLatn(); + } + break; + } + case 'zh': + { + switch (locale.scriptCode) { + case 'Hant': + return L10nZhHant(); + } + break; + } + } + + // Lookup logic when language+country codes are specified. + switch (locale.languageCode) { + case 'nb': + { + switch (locale.countryCode) { + case 'NO': + return L10nNbNo(); + } + break; + } + case 'pt': + { + switch (locale.countryCode) { + case 'BR': + return L10nPtBr(); + } + break; + } + } + + // Lookup logic when only language code is specified. + switch (locale.languageCode) { + case 'ar': + return L10nAr(); + case 'bg': + return L10nBg(); + case 'ca': + return L10nCa(); + case 'da': + return L10nDa(); + case 'de': + return L10nDe(); + case 'el': + return L10nEl(); + case 'en': + return L10nEn(); + case 'eo': + return L10nEo(); + case 'es': + return L10nEs(); + case 'eu': + return L10nEu(); + case 'fa': + return L10nFa(); + case 'fi': + return L10nFi(); + case 'fr': + return L10nFr(); + case 'ga': + return L10nGa(); + case 'gl': + return L10nGl(); + case 'hi': + return L10nHi(); + case 'hr': + return L10nHr(); + case 'hu': + return L10nHu(); + case 'it': + return L10nIt(); + case 'ja': + return L10nJa(); + case 'ka': + return L10nKa(); + case 'km': + return L10nKm(); + case 'ko': + return L10nKo(); + case 'nb': + return L10nNb(); + case 'nl': + return L10nNl(); + case 'oc': + return L10nOc(); + case 'pl': + return L10nPl(); + case 'pt': + return L10nPt(); + case 'ru': + return L10nRu(); + case 'sq': + return L10nSq(); + case 'sr': + return L10nSr(); + case 'sv': + return L10nSv(); + case 'th': + return L10nTh(); + case 'tr': + return L10nTr(); + case 'uk': + return L10nUk(); + case 'zh': + return L10nZh(); + } + + throw FlutterError( + 'L10n.delegate failed to load unsupported locale "$locale". This is likely ' + 'an issue with the localizations generation tool. Please file an issue ' + 'on GitHub with a reproducible sample app and the gen-l10n configuration ' + 'that was used.'); +} diff --git a/lib/l10n/gen/l10n_ar.dart b/lib/l10n/gen/l10n_ar.dart new file mode 100644 index 0000000..024b857 --- /dev/null +++ b/lib/l10n/gen/l10n_ar.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Arabic (`ar`). +class L10nAr extends L10n { + L10nAr([String locale = 'ar']) : super(locale); + + @override + String get settings => 'الإعدادات'; + + @override + String get password => 'الكلمة السرية'; + + @override + String get email_or_username => 'عنوان البريد أو اسم المستخدم'; + + @override + String get posts => 'منشورات'; + + @override + String get comments => 'التعليقات'; + + @override + String get modlog => 'تأريخ الإشراف'; + + @override + String get community => 'المجتمع'; + + @override + String get url => 'الرابط'; + + @override + String get title => 'العنوان'; + + @override + String get body => 'المحتوى'; + + @override + String get nsfw => 'محتوى حساس'; + + @override + String get post => 'منشور'; + + @override + String get save => 'حفظ'; + + @override + String get subscribed => 'مُتابِعون'; + + @override + String get local => 'محلي'; + + @override + String get all => 'الكل'; + + @override + String get replies => 'الإجابات'; + + @override + String get mentions => 'الإشارات'; + + @override + String get from => 'من'; + + @override + String get to => 'إلى'; + + @override + String get deleted_by_creator => 'حذفه صاحبه'; + + @override + String get more => 'المزيد'; + + @override + String get mark_as_read => 'تعيين كمقروء'; + + @override + String get mark_as_unread => 'تعيين كغير مقروء بعد'; + + @override + String get reply => 'رد'; + + @override + String get edit => 'تعديل'; + + @override + String get delete => 'حذف'; + + @override + String get restore => 'استعادة'; + + @override + String get yes => 'نعم'; + + @override + String get no => 'لا'; + + @override + String get avatar => 'الصورة الرمزية'; + + @override + String get banner => 'اللافتة'; + + @override + String get display_name => 'الاسم'; + + @override + String get bio => 'السيرة'; + + @override + String get email => 'البريد الإلكتروني'; + + @override + String get matrix_user => 'مستخدم ماتريكس'; + + @override + String get sort_type => 'ترتيب حسب'; + + @override + String get type => 'النوع'; + + @override + String get show_nsfw => 'إظهار المحتوى الحساس'; + + @override + String get send_notifications_to_email => + 'إرسال الإشعارات عبر البريد الإلكتروني'; + + @override + String get delete_account => 'حذف الحساب'; + + @override + String get saved => 'تم حفظه'; + + @override + String get communities => 'المجتمعات'; + + @override + String get users => 'المستخدِمون'; + + @override + String get theme => 'المظهر'; + + @override + String get language => 'اللغة'; + + @override + String get hot => 'المتداولة'; + + @override + String get new_ => 'جديد'; + + @override + String get old => 'قديم'; + + @override + String get top => 'المتداولة'; + + @override + String get chat => 'دردشة'; + + @override + String get admin => 'مدير'; + + @override + String get by => 'مِن'; + + @override + String get not_a_mod_or_admin => 'ليس مشرفًا ولا مديرًا.'; + + @override + String get not_an_admin => 'لستَ مديرا.'; + + @override + String get couldnt_find_post => 'تعذر العثور على المشاركة.'; + + @override + String get not_logged_in => 'لستَ متصلا.'; + + @override + String get site_ban => 'لقد تم طردك مِن هذا الموقع'; + + @override + String get community_ban => 'لقد تم طردك مِن هذا المجتمع.'; + + @override + String get downvotes_disabled => 'تم تعطيل التصويتات السلبية'; + + @override + String get invalid_url => 'الرابط غير صالح.'; + + @override + String get locked => 'محظور'; + + @override + String get couldnt_create_comment => 'تعذّر إنشاءالتعليق.'; + + @override + String get couldnt_like_comment => 'تعذر الإعجاب بالتعليق.'; + + @override + String get couldnt_update_comment => 'تعذر تحديث التعليق.'; + + @override + String get no_comment_edit_allowed => 'لا يُسمح لك تعديل التعليق.'; + + @override + String get couldnt_save_comment => 'تعذر حفظ التعليق.'; + + @override + String get couldnt_get_comments => 'تعذر جلب التعليق.'; + + @override + String get report_reason_required => 'سبب الإبلاغ مطلوب.'; + + @override + String get report_too_long => 'تقرير الإبلاغ طويل.'; + + @override + String get couldnt_create_report => 'تعذر إتشاء التقرير.'; + + @override + String get couldnt_resolve_report => 'تعذر تحليل.'; + + @override + String get invalid_post_title => 'عنوان المنشور غير'; + + @override + String get couldnt_create_post => 'تعذر انشاء المشاركة.'; + + @override + String get couldnt_like_post => 'تعذر الإعجاب بالمنشور.'; + + @override + String get couldnt_find_community => 'تعذر العثور على المجتمع.'; + + @override + String get couldnt_get_posts => 'تعذر جلب المشاركات'; + + @override + String get no_post_edit_allowed => 'لا يسمح لك تعديل المشاركة.'; + + @override + String get couldnt_save_post => 'تعذر حفظ المشاركة.'; + + @override + String get site_already_exists => 'الموقع موجود.'; + + @override + String get couldnt_update_site => 'تعذر تحديث الموقع.'; + + @override + String get invalid_community_name => 'اسم غير صالح.'; + + @override + String get community_already_exists => 'المجتمع موجود مسبقًا.'; + + @override + String get community_moderator_already_exists => + 'مشىرف المجتمع موجود مسبقًا.'; + + @override + String get community_follower_already_exists => + 'هذا العضو مشترك في المجمع مسبقا.'; + + @override + String get not_a_moderator => 'ليس مشرفًا.'; + + @override + String get couldnt_update_community => 'تعذر تحديث المجتمع.'; + + @override + String get no_community_edit_allowed => 'لا يُسمح لك تعديل المجتمع.'; + + @override + String get system_err_login => 'خطأ في النظام. جرب إعادة الولوج.'; + + @override + String get community_user_already_banned => 'هذا العضو محضور مسبقا.'; + + @override + String get couldnt_find_that_username_or_email => + 'تعذر العثور على مستخدم يملك هذا البريد أو اسم المستخدم.'; + + @override + String get password_incorrect => 'الكلمة السرية خاطئة.'; + + @override + String get registration_closed => 'إنشاء الحسابات معطل'; + + @override + String get invalid_password => + 'كلمة المرور غير صالحة. يجب ألّا تزيد عن 60 محرفًا.'; + + @override + String get passwords_dont_match => 'الكلمات السرية غير متطابقة.'; + + @override + String get captcha_incorrect => 'رمز التحقق خاطئ.'; + + @override + String get invalid_username => 'اسم المستخدم غير صالح.'; + + @override + String get bio_length_overflow => 'لا يمكن أن تزيد السيرة عن 300 محرف.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => 'تعذر تحديث الرسالة الخاصة.'; + + @override + String get couldnt_update_post => 'تعذر تحديث'; + + @override + String get couldnt_create_private_message => 'تعذر انشاء الرسالة الخاصة.'; + + @override + String get no_private_message_edit_allowed => + 'لا يسمح لك تعديل الرسالة الخاصة.'; + + @override + String get post_title_too_long => 'عنوان المشاركة طويل.'; + + @override + String get email_already_exists => + 'عنوان البريد الإلكتروني هذا موجود بالفعل.'; + + @override + String get user_already_exists => 'هذا المستخدِم موجود بالفعل.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'الغ الإشتراك'; + + @override + String get subscribe => 'اتبع'; + + @override + String get messages => 'لرسائل'; + + @override + String get banned_users => 'المستخدمون المحظورون'; + + @override + String get delete_account_confirm => + 'تحذير: ستحذف جميع بياناتك. أدخل كلمة المرور لتأكيد.'; + + @override + String get new_password => 'لكلمة السرية الجديدة'; + + @override + String get verify_password => 'تأكيد الكلمة السرية'; + + @override + String get old_password => 'الكلمة السرية القديمة'; + + @override + String get show_avatars => 'إظهار الصور الرمزية'; + + @override + String get search => 'البحث'; + + @override + String get send_message => 'أرسل الرسالة'; + + @override + String get top_day => 'المتداول'; + + @override + String get top_week => 'المتداول هذا'; + + @override + String get top_month => 'المتداول هذا'; + + @override + String get top_year => 'المتداول هذه'; + + @override + String get top_all => 'المتداولة'; + + @override + String get most_comments => 'الأكثر'; + + @override + String get new_comments => 'الأحدث'; + + @override + String get active => 'النشط'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_bg.dart b/lib/l10n/gen/l10n_bg.dart new file mode 100644 index 0000000..c25840f --- /dev/null +++ b/lib/l10n/gen/l10n_bg.dart @@ -0,0 +1,463 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Bulgarian (`bg`). +class L10nBg extends L10n { + L10nBg([String locale = 'bg']) : super(locale); + + @override + String get settings => 'Настройки'; + + @override + String get password => 'Парола'; + + @override + String get email_or_username => 'Имейл или Потребителско име'; + + @override + String get posts => 'Постове'; + + @override + String get comments => 'Коментари'; + + @override + String get modlog => 'Мод-журнал'; + + @override + String get community => 'Общност'; + + @override + String get url => 'URL'; + + @override + String get title => 'Заглавие'; + + @override + String get body => 'Съдържание'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'пост'; + + @override + String get save => 'запази'; + + @override + String get subscribed => 'Абониран'; + + @override + String get local => 'Местни'; + + @override + String get all => 'Всички'; + + @override + String get replies => 'Отговори'; + + @override + String get mentions => 'Споменавания'; + + @override + String get from => 'от'; + + @override + String get to => 'към'; + + @override + String get deleted_by_creator => 'изтрито от създателя'; + + @override + String get more => 'още'; + + @override + String get mark_as_read => 'маркирай прочетено'; + + @override + String get mark_as_unread => 'маркирай непрочетено'; + + @override + String get reply => 'отговори'; + + @override + String get edit => 'редактирай'; + + @override + String get delete => 'изтрий'; + + @override + String get restore => 'възстанови'; + + @override + String get yes => 'да'; + + @override + String get no => 'не'; + + @override + String get avatar => 'Профилна Снимка'; + + @override + String get banner => 'Тапет'; + + @override + String get display_name => 'Заглавие'; + + @override + String get bio => 'Био'; + + @override + String get email => 'Имейл'; + + @override + String get matrix_user => 'Matrix Потребител'; + + @override + String get sort_type => 'Тип сортиране'; + + @override + String get type => 'Тип'; + + @override + String get show_nsfw => 'Покажи NSFW съдържание'; + + @override + String get send_notifications_to_email => 'Нотификации чрез Имейл'; + + @override + String get delete_account => 'Изтрий Профила'; + + @override + String get saved => 'Запазено'; + + @override + String get communities => 'Общности'; + + @override + String get users => 'Потребители'; + + @override + String get theme => 'Тема'; + + @override + String get language => 'Език'; + + @override + String get hot => 'Популярни'; + + @override + String get new_ => 'Нови'; + + @override + String get old => 'Стари'; + + @override + String get top => 'Топ'; + + @override + String get chat => 'Чат'; + + @override + String get admin => 'администратор'; + + @override + String get by => 'от'; + + @override + String get not_a_mod_or_admin => 'Не сте модератор или администратор.'; + + @override + String get not_an_admin => 'Не сте администратор.'; + + @override + String get couldnt_find_post => 'Постът не беше намерен.'; + + @override + String get not_logged_in => 'Не сте влезли.'; + + @override + String get site_ban => 'Блокирани сте от този сайт'; + + @override + String get community_ban => 'Блокирани сте от тази общност.'; + + @override + String get downvotes_disabled => 'Изключване на негативните гласове'; + + @override + String get invalid_url => 'Навалиден URL.'; + + @override + String get locked => 'заключено'; + + @override + String get couldnt_create_comment => 'Коментарът не може да бъде създаден.'; + + @override + String get couldnt_like_comment => 'Неуспешно одобрение на коментара.'; + + @override + String get couldnt_update_comment => 'Неуспешна актуализация на коментара.'; + + @override + String get no_comment_edit_allowed => + 'Нямате право да редактирате този коментар.'; + + @override + String get couldnt_save_comment => 'Неуспешно запазване на коментар.'; + + @override + String get couldnt_get_comments => 'Неуспешна доставка на коментарите.'; + + @override + String get report_reason_required => 'Причина за оплакването е задължителна.'; + + @override + String get report_too_long => 'Оплакването е твърде дълго.'; + + @override + String get couldnt_create_report => 'Оплакването не можа да бъде създадено.'; + + @override + String get couldnt_resolve_report => 'Оплакването не можа да бъде уредено.'; + + @override + String get invalid_post_title => 'Невалидно заглавие на пост'; + + @override + String get couldnt_create_post => 'Постът не можа да бъде създаден.'; + + @override + String get couldnt_like_post => 'Постът не можа да бъде харесан.'; + + @override + String get couldnt_find_community => 'Не можахме да намерим тази общност.'; + + @override + String get couldnt_get_posts => 'Неуспешна доставка на постовете'; + + @override + String get no_post_edit_allowed => 'Нямате право да редактирате този пост.'; + + @override + String get couldnt_save_post => 'Постът не можа да бъде запазен.'; + + @override + String get site_already_exists => 'Сайтът вече съществува.'; + + @override + String get couldnt_update_site => 'Сайтът не можа да бъде обновен.'; + + @override + String get invalid_community_name => 'Невалидно име.'; + + @override + String get community_already_exists => 'Общността вече съществува.'; + + @override + String get community_moderator_already_exists => + 'Модератор на общността вече съществува.'; + + @override + String get community_follower_already_exists => + 'Абонат на общността вече съществува.'; + + @override + String get not_a_moderator => 'Не сте модератор.'; + + @override + String get couldnt_update_community => 'Не можахме да обновим тази общност.'; + + @override + String get no_community_edit_allowed => + 'Нямате право да редактирате тази общност.'; + + @override + String get system_err_login => + 'Системна грешка. Опитайте се да се отпишете и впишете наново.'; + + @override + String get community_user_already_banned => 'Потребителят вече е баннат.'; + + @override + String get couldnt_find_that_username_or_email => + 'Потребителското име или имейла не съществуват.'; + + @override + String get password_incorrect => 'Грешна парола.'; + + @override + String get registration_closed => 'Регистрация затворена'; + + @override + String get invalid_password => + 'Невалидна парола. Паролата не може да е по-дълга от 60 символа.'; + + @override + String get passwords_dont_match => 'Паролите не съвпадат.'; + + @override + String get captcha_incorrect => 'Грешна Captcha.'; + + @override + String get invalid_username => 'Грешно потребителско име.'; + + @override + String get bio_length_overflow => + 'Потребителската Биография не може да надхвърля 300 символа.'; + + @override + String get couldnt_update_user => 'Неуспешен ъпдейт на потребителя.'; + + @override + String get couldnt_update_private_message => + 'Неуспешен ъпдейт на лично съобщение.'; + + @override + String get couldnt_update_post => 'Неуспешен ъпдейт на поста'; + + @override + String get couldnt_create_private_message => + 'Личното съобщение не можа да бъде създадено.'; + + @override + String get no_private_message_edit_allowed => + 'Нямате право да редактирате лично съобщение.'; + + @override + String get post_title_too_long => 'Заглавието на поста е твърде дълго.'; + + @override + String get email_already_exists => 'Имейлът вече съществува.'; + + @override + String get user_already_exists => 'Потребителят вече съществува.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count потребител онлайн', + other: '$count потребители онлайн', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Коментар', + other: '$countString Коментари', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Пост', + other: '$countString Постове', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count абонат', + other: '$count абонати', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count потребител', + other: '$count потребители', + ); + } + + @override + String get unsubscribe => 'Премахни абонамент'; + + @override + String get subscribe => 'Абонирай'; + + @override + String get messages => 'Съобщения'; + + @override + String get banned_users => 'Блокирани Потребители'; + + @override + String get delete_account_confirm => + 'Внимание: това трайно ще изтрие всичките Ви данни. Въведете своята парола за потвърждение.'; + + @override + String get new_password => 'Нова Парола'; + + @override + String get verify_password => 'Потвърди парола'; + + @override + String get old_password => 'Стара парола'; + + @override + String get show_avatars => 'Покажи Профилни Снимки'; + + @override + String get search => 'Търсене'; + + @override + String get send_message => 'Изпрати Съобщение'; + + @override + String get top_day => 'Топ Ден'; + + @override + String get top_week => 'Топ Седмица'; + + @override + String get top_month => 'Топ Месец'; + + @override + String get top_year => 'Топ Година'; + + @override + String get top_all => 'Топ на Всички Времена'; + + @override + String get most_comments => 'Най-много Коментари'; + + @override + String get new_comments => 'Нови Коментари'; + + @override + String get active => 'Активни'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_ca.dart b/lib/l10n/gen/l10n_ca.dart new file mode 100644 index 0000000..bd55ba3 --- /dev/null +++ b/lib/l10n/gen/l10n_ca.dart @@ -0,0 +1,467 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Catalan Valencian (`ca`). +class L10nCa extends L10n { + L10nCa([String locale = 'ca']) : super(locale); + + @override + String get settings => 'Configuració'; + + @override + String get password => 'Contrasenya'; + + @override + String get email_or_username => 'Adreça electrònica o usuari'; + + @override + String get posts => 'Publicacions'; + + @override + String get comments => 'Comentaris'; + + @override + String get modlog => 'Historial de moderació'; + + @override + String get community => 'Comunitat'; + + @override + String get url => 'URL'; + + @override + String get title => 'Títol'; + + @override + String get body => 'Cos'; + + @override + String get nsfw => 'Per a adults'; + + @override + String get post => 'publicar'; + + @override + String get save => 'desa'; + + @override + String get subscribed => 'Subscrit'; + + @override + String get local => 'Local'; + + @override + String get all => 'Tot'; + + @override + String get replies => 'Respostes'; + + @override + String get mentions => 'Mencions'; + + @override + String get from => 'des de'; + + @override + String get to => 'a'; + + @override + String get deleted_by_creator => 'suprimit pel creador'; + + @override + String get more => 'més'; + + @override + String get mark_as_read => 'marca com a llegit'; + + @override + String get mark_as_unread => 'marca com a no llegit'; + + @override + String get reply => 'respon'; + + @override + String get edit => 'edita'; + + @override + String get delete => 'suprimeix'; + + @override + String get restore => 'restaura'; + + @override + String get yes => 'sí'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Capçalera'; + + @override + String get display_name => 'Nom a mostrar'; + + @override + String get bio => 'Biografia'; + + @override + String get email => 'Correu electrònic'; + + @override + String get matrix_user => 'Usuari del Matrix'; + + @override + String get sort_type => 'Tipus d’ordenació'; + + @override + String get type => 'Tipus'; + + @override + String get show_nsfw => 'Mostra el contingut per a adults'; + + @override + String get send_notifications_to_email => 'Envia notificacions al correu'; + + @override + String get delete_account => 'Suprimeix el compte'; + + @override + String get saved => 'Desat'; + + @override + String get communities => 'Comunitats'; + + @override + String get users => 'Usuaris'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Llengua'; + + @override + String get hot => 'Popular'; + + @override + String get new_ => 'Nou'; + + @override + String get old => 'Antic'; + + @override + String get top => 'Millor'; + + @override + String get chat => 'Xat'; + + @override + String get admin => 'administrador'; + + @override + String get by => 'per'; + + @override + String get not_a_mod_or_admin => 'No ets un moderador ni un administrador.'; + + @override + String get not_an_admin => 'No és un administrador.'; + + @override + String get couldnt_find_post => 'No s’ha pogut trobar l’apunt.'; + + @override + String get not_logged_in => 'No heu iniciat una sessió.'; + + @override + String get site_ban => 'Us han expulsat del lloc'; + + @override + String get community_ban => 'Us han expulsat d’aquesta comunitat.'; + + @override + String get downvotes_disabled => 'Vots negatius inhabilitats'; + + @override + String get invalid_url => 'URL invàlida.'; + + @override + String get locked => 'blocat'; + + @override + String get couldnt_create_comment => 'No s’ha pogut crear el comentari.'; + + @override + String get couldnt_like_comment => + 'No s’ha pogut donar «m’agrada» al comentari.'; + + @override + String get couldnt_update_comment => + 'No s’ha pogut actualitzar el comentari.'; + + @override + String get no_comment_edit_allowed => + 'No teniu permisos per a editar el comentari.'; + + @override + String get couldnt_save_comment => 'No s’ha pogut desar el comentari.'; + + @override + String get couldnt_get_comments => 'No s’han pogut recuperar els comentaris.'; + + @override + String get report_reason_required => 'Motiu de l\'informe necessari.'; + + @override + String get report_too_long => 'Informe massa llarg.'; + + @override + String get couldnt_create_report => 'No s\'ha pogut crear l\'informe.'; + + @override + String get couldnt_resolve_report => 'No s\'ha pogut resoldre l\'informe.'; + + @override + String get invalid_post_title => 'Títol de la publicació invàlid'; + + @override + String get couldnt_create_post => 'No s’ha pogut crear l’apunt.'; + + @override + String get couldnt_like_post => 'No s’ha pogut donar «m’agrada» a l’apunt.'; + + @override + String get couldnt_find_community => 'No s’ha pogut trobar la comunitat.'; + + @override + String get couldnt_get_posts => 'No s’han pogut recuperar els apunts'; + + @override + String get no_post_edit_allowed => 'No teniu permisos per a editar l’apunt.'; + + @override + String get couldnt_save_post => 'No s’ha pogut desar l’apunt.'; + + @override + String get site_already_exists => 'El lloc ja existeix.'; + + @override + String get couldnt_update_site => 'No s’ha pogut actualitzar el lloc.'; + + @override + String get invalid_community_name => 'El nom no és vàlid.'; + + @override + String get community_already_exists => 'Aquesta comunitat ja existeix.'; + + @override + String get community_moderator_already_exists => + 'Aquest moderador de la comunitat ja existeix.'; + + @override + String get community_follower_already_exists => + 'Aquest seguidor de la comunitat ja existeix.'; + + @override + String get not_a_moderator => 'No ets un moderador.'; + + @override + String get couldnt_update_community => + 'No s’ha pogut actualitzar la comunitat.'; + + @override + String get no_community_edit_allowed => + 'No teniu permisos per a editar la comunitat.'; + + @override + String get system_err_login => + 'Error del sistema. Intenti tancar sessió i ingressar de nou.'; + + @override + String get community_user_already_banned => + 'Aquest usuari de la comunitat ja fou expulsat.'; + + @override + String get couldnt_find_that_username_or_email => + 'No s’ha pogut trobar aquest nom de usuari o adreça electrònica.'; + + @override + String get password_incorrect => 'Contrasenya incorrecta.'; + + @override + String get registration_closed => 'S’han tancat els registres'; + + @override + String get invalid_password => + 'Contrasenya no vàlida. La contrasenya ha de tenir <= 60 caràcters.'; + + @override + String get passwords_dont_match => 'Les contrasenyes no coincideixen.'; + + @override + String get captcha_incorrect => 'Captcha incorrecte.'; + + @override + String get invalid_username => 'El nom d’usuari no és vàlid.'; + + @override + String get bio_length_overflow => + 'La biografia d\'usuari no pot excedir els 300 caràcters.'; + + @override + String get couldnt_update_user => 'No s’ha pogut actualitzar l’usuari.'; + + @override + String get couldnt_update_private_message => + 'No s’ha pogut actualitzar el missatge privat.'; + + @override + String get couldnt_update_post => 'No s’ha pogut actualitzar l’apunt'; + + @override + String get couldnt_create_private_message => + 'No s’ha pogut crear el missatge privat.'; + + @override + String get no_private_message_edit_allowed => + 'No teniu permisos per a editar el missatge privat.'; + + @override + String get post_title_too_long => 'El títol de l’apunt és massa llarg.'; + + @override + String get email_already_exists => 'L’adreça ja és en ús.'; + + @override + String get user_already_exists => 'L’usuari ja existeix.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuari en línia', + other: '$count usuaris en línia', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comentari', + other: '$countString comentaris', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Publicació', + other: '$countString Publicacions', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriptor', + other: '$count subscriptors', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuari', + other: '$count usuaris', + ); + } + + @override + String get unsubscribe => 'Dóna’t de baixa'; + + @override + String get subscribe => 'Subscriu-t’hi'; + + @override + String get messages => 'Missatges'; + + @override + String get banned_users => 'Usuaris expulsats'; + + @override + String get delete_account_confirm => + 'Atenció: aquesta acció suprimirà permanentment la vostra informació. Introduïu la vostra contrasenya per a confirmar.'; + + @override + String get new_password => 'Contrasenya nova'; + + @override + String get verify_password => 'Verifica la contrasenya'; + + @override + String get old_password => 'Contrasenya antiga'; + + @override + String get show_avatars => 'Mostra els avatars'; + + @override + String get search => 'Cerca'; + + @override + String get send_message => 'Envia el missatge'; + + @override + String get top_day => 'El millor del dia'; + + @override + String get top_week => 'El millor de la setmana'; + + @override + String get top_month => 'El millor del mes'; + + @override + String get top_year => 'El millor de l\'any'; + + @override + String get top_all => 'El millor de tots els temps'; + + @override + String get most_comments => 'Més comentaris'; + + @override + String get new_comments => 'Comentaris nous'; + + @override + String get active => 'Actiu'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_da.dart b/lib/l10n/gen/l10n_da.dart new file mode 100644 index 0000000..fa46697 --- /dev/null +++ b/lib/l10n/gen/l10n_da.dart @@ -0,0 +1,461 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Danish (`da`). +class L10nDa extends L10n { + L10nDa([String locale = 'da']) : super(locale); + + @override + String get settings => 'Indstillinger'; + + @override + String get password => 'Kodeord'; + + @override + String get email_or_username => 'Email eller Brugernavn'; + + @override + String get posts => 'Indlæg'; + + @override + String get comments => 'Kommentarer'; + + @override + String get modlog => 'Moderator log'; + + @override + String get community => 'Forum'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titel'; + + @override + String get body => 'Korpus'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'indlæg'; + + @override + String get save => 'gem'; + + @override + String get subscribed => 'Abboneret'; + + @override + String get local => 'Lokal'; + + @override + String get all => 'Alle'; + + @override + String get replies => 'Svar'; + + @override + String get mentions => 'Nævnt dig'; + + @override + String get from => 'fra'; + + @override + String get to => 'til'; + + @override + String get deleted_by_creator => 'slettet af forfatter'; + + @override + String get more => 'mere'; + + @override + String get mark_as_read => 'marker som læst'; + + @override + String get mark_as_unread => 'marker som ulæst'; + + @override + String get reply => 'svar'; + + @override + String get edit => 'ret'; + + @override + String get delete => 'slet'; + + @override + String get restore => 'genskab'; + + @override + String get yes => 'ja'; + + @override + String get no => 'nej'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Visnings navn'; + + @override + String get bio => 'Beskrivelse'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix Bruger'; + + @override + String get sort_type => 'Sortering'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Vis NSFW indhold'; + + @override + String get send_notifications_to_email => 'Send notifikationer til email'; + + @override + String get delete_account => 'Slet Konto'; + + @override + String get saved => 'Gemt'; + + @override + String get communities => 'Forummer'; + + @override + String get users => 'Brugere'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Sprog'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'administrator'; + + @override + String get by => 'af'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Ej en administrator.'; + + @override + String get couldnt_find_post => 'Kunne ikke finde indlæg.'; + + @override + String get not_logged_in => 'Ikke logget ind.'; + + @override + String get site_ban => 'Du er udelukket fra denne site'; + + @override + String get community_ban => 'Du er blevet udelukket fra dette forum.'; + + @override + String get downvotes_disabled => 'Nedstem deaktiveret'; + + @override + String get invalid_url => 'Ugyldig URL.'; + + @override + String get locked => 'låst'; + + @override + String get couldnt_create_comment => 'Kunne ikke oprette kommentar.'; + + @override + String get couldnt_like_comment => 'Kunne ikke like kommentar.'; + + @override + String get couldnt_update_comment => 'Kunne ikke opdatere kommentar.'; + + @override + String get no_comment_edit_allowed => 'Ej tilladt at ændre kommentar.'; + + @override + String get couldnt_save_comment => 'Kunne ikke gemme kommentar.'; + + @override + String get couldnt_get_comments => 'Kunne ikke hente kommentarer.'; + + @override + String get report_reason_required => 'Angiv grund påkrævet.'; + + @override + String get report_too_long => 'Angivelsen er for lang.'; + + @override + String get couldnt_create_report => 'Kunne ikke oprette angivelse.'; + + @override + String get couldnt_resolve_report => 'Kunne ikke løse angivelse.'; + + @override + String get invalid_post_title => 'Ugyldig indlægstitel'; + + @override + String get couldnt_create_post => 'Kunne ikke oprette indlæg.'; + + @override + String get couldnt_like_post => 'Kunne ikke like indlæg.'; + + @override + String get couldnt_find_community => 'Kunne ikke finde forum.'; + + @override + String get couldnt_get_posts => 'Kunne ikke hente indlæg'; + + @override + String get no_post_edit_allowed => 'Ej tilladt at ændre indlæg.'; + + @override + String get couldnt_save_post => 'Kunne ikke gemme indlæg.'; + + @override + String get site_already_exists => 'Site findes allerede.'; + + @override + String get couldnt_update_site => 'Kunne ikke opdatere site.'; + + @override + String get invalid_community_name => 'Ugyldigt navn.'; + + @override + String get community_already_exists => 'Forum findes allerede.'; + + @override + String get community_moderator_already_exists => + 'Forum moderator findes allerede.'; + + @override + String get community_follower_already_exists => + 'Forum abonnent findes allerede.'; + + @override + String get not_a_moderator => 'Ej en moderator.'; + + @override + String get couldnt_update_community => 'Kunne ikke opdatere forum.'; + + @override + String get no_community_edit_allowed => 'Ej tilladt at ændre forum.'; + + @override + String get system_err_login => 'System fejl. Prøv at logge ud- og ind igen.'; + + @override + String get community_user_already_banned => + 'Forum bruger allerede udelukket.'; + + @override + String get couldnt_find_that_username_or_email => + 'Kunne ikke finde bruger eller email.'; + + @override + String get password_incorrect => 'Kodeord forkert.'; + + @override + String get registration_closed => 'Tilmelding lukket'; + + @override + String get invalid_password => + 'Ugyldigt kodeord. Kodeord skal have <= 60 tegn.'; + + @override + String get passwords_dont_match => 'Kodeord matcher ikke.'; + + @override + String get captcha_incorrect => 'Captcha forkert.'; + + @override + String get invalid_username => 'Fejl i brugernavn.'; + + @override + String get bio_length_overflow => + 'Brugerbeskrivelse skal være mindre end 300 tegn.'; + + @override + String get couldnt_update_user => 'Kunne ikke opdatere brugeren.'; + + @override + String get couldnt_update_private_message => + 'Kunne ej opdatere privat besked.'; + + @override + String get couldnt_update_post => 'Kunne ikke opdatere indlæg'; + + @override + String get couldnt_create_private_message => + 'Kunne ikke oprette privat besked.'; + + @override + String get no_private_message_edit_allowed => + 'Ulovligt at ændre i privat besked.'; + + @override + String get post_title_too_long => 'Indlægstitel for lang.'; + + @override + String get email_already_exists => 'Emailen findes allerede.'; + + @override + String get user_already_exists => 'Brugeren findes allerede.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Bruger Online', + other: '$count Brugere Online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Kommentar', + other: '$countString Kommentarer', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Indlæg', + other: '$countString Indlæg', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Abonnent', + other: '$count Abonnenter', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Bruger', + other: '$count Brugere', + ); + } + + @override + String get unsubscribe => 'Afmeld abbonement'; + + @override + String get subscribe => 'Abboner'; + + @override + String get messages => 'Beskeder'; + + @override + String get banned_users => 'Udelukkede Brugere'; + + @override + String get delete_account_confirm => + 'Advarsel: Dette vil slette alle dine data. Indtast adgangskode for at bekræfte.'; + + @override + String get new_password => 'Nyt Kodeord'; + + @override + String get verify_password => 'Check Kodeord'; + + @override + String get old_password => 'Tidligere Kodeord'; + + @override + String get show_avatars => 'Vis Avatarer'; + + @override + String get search => 'Søg'; + + @override + String get send_message => 'Send Besked'; + + @override + String get top_day => 'Top dag'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_de.dart b/lib/l10n/gen/l10n_de.dart new file mode 100644 index 0000000..a1a48be --- /dev/null +++ b/lib/l10n/gen/l10n_de.dart @@ -0,0 +1,466 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for German (`de`). +class L10nDe extends L10n { + L10nDe([String locale = 'de']) : super(locale); + + @override + String get settings => 'Einstellungen'; + + @override + String get password => 'Passwort'; + + @override + String get email_or_username => 'E-mail oder Username'; + + @override + String get posts => 'Beiträge'; + + @override + String get comments => 'Kommentare'; + + @override + String get modlog => 'Moderations-Log'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titel'; + + @override + String get body => 'Text'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'Beitrag'; + + @override + String get save => 'speichern'; + + @override + String get subscribed => 'Abonniert'; + + @override + String get local => 'Lokal'; + + @override + String get all => 'Alle'; + + @override + String get replies => 'Antworten'; + + @override + String get mentions => 'Erwähnung'; + + @override + String get from => 'von'; + + @override + String get to => 'in'; + + @override + String get deleted_by_creator => 'vom Ersteller gelöscht'; + + @override + String get more => 'mehr'; + + @override + String get mark_as_read => 'als gelesen markieren'; + + @override + String get mark_as_unread => 'als ungelesen markieren'; + + @override + String get reply => 'antworten'; + + @override + String get edit => 'editieren'; + + @override + String get delete => 'löschen'; + + @override + String get restore => 'wiederherstellen'; + + @override + String get yes => 'Ja'; + + @override + String get no => 'Nein'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Anzeigename'; + + @override + String get bio => 'Biographie'; + + @override + String get email => 'E-Mail'; + + @override + String get matrix_user => 'Matrix Benutzer'; + + @override + String get sort_type => 'Sortieren nach'; + + @override + String get type => 'Typ'; + + @override + String get show_nsfw => 'NSFW-Inhalte anzeigen'; + + @override + String get send_notifications_to_email => + 'Sende Benachrichtigungen per Email'; + + @override + String get delete_account => 'Konto löschen'; + + @override + String get saved => 'Gespeichert'; + + @override + String get communities => 'Communitys'; + + @override + String get users => 'Benutzer'; + + @override + String get theme => 'Aussehen'; + + @override + String get language => 'Sprache'; + + @override + String get hot => 'Heiß'; + + @override + String get new_ => 'Neu'; + + @override + String get old => 'Alt'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'Administrator'; + + @override + String get by => 'von'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Kein Administrator.'; + + @override + String get couldnt_find_post => 'Konnte Beitrag nicht finden.'; + + @override + String get not_logged_in => 'Nicht eingeloggt.'; + + @override + String get site_ban => 'Du wurdest von dieser Seite gebannt'; + + @override + String get community_ban => 'Du wurdest von dieser Community gebannt.'; + + @override + String get downvotes_disabled => 'Downvotes deaktiviert'; + + @override + String get invalid_url => 'Ungültige URL.'; + + @override + String get locked => 'gesperrt'; + + @override + String get couldnt_create_comment => 'Konnte Kommentar nicht anlegen.'; + + @override + String get couldnt_like_comment => 'Konnte nicht liken.'; + + @override + String get couldnt_update_comment => 'Konnte Kommentar nicht aktualisieren.'; + + @override + String get no_comment_edit_allowed => + 'Keine Erlaubnis Kommentar zu editieren.'; + + @override + String get couldnt_save_comment => 'Konnte Kommentar nicht speichern.'; + + @override + String get couldnt_get_comments => 'Konnte Kommentare nicht laden.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Ungültiger Post Titel'; + + @override + String get couldnt_create_post => 'Konnte Beitrag nicht anlegen.'; + + @override + String get couldnt_like_post => 'Konnte Beitrag nicht liken.'; + + @override + String get couldnt_find_community => 'Konnte Community nicht finden.'; + + @override + String get couldnt_get_posts => 'Konnte Beiträge nicht holen'; + + @override + String get no_post_edit_allowed => 'Keine Erlaubnis Beitrag zu editieren.'; + + @override + String get couldnt_save_post => 'Konnte Beitrag nicht speichern.'; + + @override + String get site_already_exists => 'Seite existiert bereits.'; + + @override + String get couldnt_update_site => 'Konnte Seite nicht aktualisieren.'; + + @override + String get invalid_community_name => 'Ungültiger Name.'; + + @override + String get community_already_exists => 'Die Community existiert bereits.'; + + @override + String get community_moderator_already_exists => + 'Community-Moderator*in existiert bereits.'; + + @override + String get community_follower_already_exists => + 'Community-Abonnent*in existiert bereits.'; + + @override + String get not_a_moderator => 'Kein Moderator.'; + + @override + String get couldnt_update_community => + 'Konnte die Community nicht aktualisieren.'; + + @override + String get no_community_edit_allowed => + 'Keine Erlaubnis, die Community zu editieren.'; + + @override + String get system_err_login => + 'Systemfehler. Versuche dich aus- und wieder einzuloggen.'; + + @override + String get community_user_already_banned => + 'Der*die Community-Benutzer*in ist schon gebannt.'; + + @override + String get couldnt_find_that_username_or_email => + 'Konnte Username oder E-Mail nicht finden.'; + + @override + String get password_incorrect => 'Passwort falsch.'; + + @override + String get registration_closed => 'Registrierung geschlossen'; + + @override + String get invalid_password => + 'Ungültiges Passwort. Das Passwort muss <= 60 Zeichen enthalten.'; + + @override + String get passwords_dont_match => 'Passwörter stimmen nicht überein.'; + + @override + String get captcha_incorrect => 'Das Captcha ist inkorrekt.'; + + @override + String get invalid_username => 'Ungültiger Benutzername.'; + + @override + String get bio_length_overflow => + 'Die Benutzerbiographie darf nicht länger als 300 Zeichen sein.'; + + @override + String get couldnt_update_user => 'Konnte Nutzer nicht aktualisieren.'; + + @override + String get couldnt_update_private_message => + 'Konnte Privatnachricht nicht aktualisieren.'; + + @override + String get couldnt_update_post => 'Konnte Beitrag nicht aktualisieren'; + + @override + String get couldnt_create_private_message => + 'Konnte Privatnachricht nicht erstelllen.'; + + @override + String get no_private_message_edit_allowed => + 'Editieren der Privatnachricht nicht erlaubt.'; + + @override + String get post_title_too_long => 'Posttitel zu lang.'; + + @override + String get email_already_exists => 'Email existiert bereits.'; + + @override + String get user_already_exists => 'Nutzer existiert bereits.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Benutzer online', + other: '$count Benutzer*innen online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Kommentar', + other: '$countString Kommentare', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Beitrag', + other: '$countString Beiträge', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Abonnent', + other: '$count Abonnent*innen', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Benutzer', + other: '$count Benutzer*innen', + ); + } + + @override + String get unsubscribe => 'Deabonnieren'; + + @override + String get subscribe => 'Abonnieren'; + + @override + String get messages => 'Nachrichten'; + + @override + String get banned_users => 'Gebannte Benutzer'; + + @override + String get delete_account_confirm => + 'Achtung: Dadurch werden alle Ihre Daten dauerhaft gelöscht. Geben Sie zur Bestätigung Ihr Passwort ein.'; + + @override + String get new_password => 'Neues Passwort'; + + @override + String get verify_password => 'Passwort überprüfen'; + + @override + String get old_password => 'Letztes Passwort'; + + @override + String get show_avatars => 'Avatare anzeigen'; + + @override + String get search => 'Suchen'; + + @override + String get send_message => 'Nachricht absenden'; + + @override + String get top_day => 'Top täglich'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Aktiv'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_el.dart b/lib/l10n/gen/l10n_el.dart new file mode 100644 index 0000000..5636679 --- /dev/null +++ b/lib/l10n/gen/l10n_el.dart @@ -0,0 +1,472 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Modern Greek (`el`). +class L10nEl extends L10n { + L10nEl([String locale = 'el']) : super(locale); + + @override + String get settings => 'Ρυθμίσεις'; + + @override + String get password => 'Κωδικός'; + + @override + String get email_or_username => + 'Διεύθυνση ηλεκτρονικού ταχυδρομείου ή όνομα χρήστη'; + + @override + String get posts => 'Δημοσιεύσεις'; + + @override + String get comments => 'Σχόλια'; + + @override + String get modlog => 'Ιστορικό συντονισμού'; + + @override + String get community => 'Κοινότητα'; + + @override + String get url => 'URL'; + + @override + String get title => 'Επικεφαλίδα'; + + @override + String get body => 'Κορμός'; + + @override + String get nsfw => 'Ακατάλληλο για ανηλίκους'; + + @override + String get post => 'δημοσίευση'; + + @override + String get save => 'αποθήκευση'; + + @override + String get subscribed => 'Συνδρομές'; + + @override + String get local => 'Τοπικά'; + + @override + String get all => 'Όλα'; + + @override + String get replies => 'Απαντήσεις'; + + @override + String get mentions => 'Αναφορές'; + + @override + String get from => 'από'; + + @override + String get to => 'προς'; + + @override + String get deleted_by_creator => 'διαγράφηκε από τον δημιουργό'; + + @override + String get more => 'περισσότερα'; + + @override + String get mark_as_read => 'επισήμανση ως διαβασμένο'; + + @override + String get mark_as_unread => 'επισήμανση ως μη διαβασμένο'; + + @override + String get reply => 'απάντηση'; + + @override + String get edit => 'επεξεργασία'; + + @override + String get delete => 'διαγραφή'; + + @override + String get restore => 'επαναφορά'; + + @override + String get yes => 'ναι'; + + @override + String get no => 'όχι'; + + @override + String get avatar => 'Άβαταρ'; + + @override + String get banner => 'Μπάνερ'; + + @override + String get display_name => 'Προβαλλόμενο όνομα'; + + @override + String get bio => 'Βιογραφικό'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Χρήστης Matrix'; + + @override + String get sort_type => 'Ταξινόμηση κατά'; + + @override + String get type => 'Είδος'; + + @override + String get show_nsfw => 'Προβολή περιεχομένου ακατάλληλου για ανηλίκους'; + + @override + String get send_notifications_to_email => + 'Αποστολή ειδοποιήσεων στη διεύθυνση ηλεκτρονικού ταχυδρομείου'; + + @override + String get delete_account => 'Διαγραφή λογαριασμού'; + + @override + String get saved => 'Αποθηκευμένα'; + + @override + String get communities => 'Κοινότητες'; + + @override + String get users => 'Χρήστες'; + + @override + String get theme => 'Θέμα'; + + @override + String get language => 'Γλώσσα'; + + @override + String get hot => 'Δημοφιλία'; + + @override + String get new_ => 'Φρεσκάδα'; + + @override + String get old => 'Παλιά'; + + @override + String get top => 'Κορυφαία'; + + @override + String get chat => 'Συνομιλία'; + + @override + String get admin => 'διαχειριστής'; + + @override + String get by => 'από'; + + @override + String get not_a_mod_or_admin => 'Δεν είστε συντονιστής ή διαχειριστής.'; + + @override + String get not_an_admin => 'Ο χρήστης δεν είναι διαχειριστής.'; + + @override + String get couldnt_find_post => 'Δεν μπόρεσε να βρεθεί η δημοσίευση.'; + + @override + String get not_logged_in => 'Αποσυνδεδέμενος.'; + + @override + String get site_ban => 'Έχετε αποβληθεί από τον ιστότοπο'; + + @override + String get community_ban => 'Έχετε αποβληθεί από αυτή την κοινότητα.'; + + @override + String get downvotes_disabled => 'Αρνητικές ψήφοι απενεργοποιημένες'; + + @override + String get invalid_url => 'Μη έγκυρο URL.'; + + @override + String get locked => 'κλειδωμένο'; + + @override + String get couldnt_create_comment => 'Αδυναμία δημιουργίας σχόλιου.'; + + @override + String get couldnt_like_comment => + 'Δεν μπόρεσε να ψηφισθεί θετικά το σχόλιο.'; + + @override + String get couldnt_update_comment => 'Δεν μπόρεσε να ενημερωθεί το σχόλιο.'; + + @override + String get no_comment_edit_allowed => + 'Δεν επιτρέπεται η επεξεργασία του σχολίου.'; + + @override + String get couldnt_save_comment => 'Δεν μπόρεσε να αποθηκευτεί το σχόλιο.'; + + @override + String get couldnt_get_comments => 'Δεν μπόρεσαν να φορτώσουν τα σχόλια.'; + + @override + String get report_reason_required => 'Απαιτείται λόγος αναφοράς.'; + + @override + String get report_too_long => 'Η αναφορά είναι υπερβολικά μεγάλη.'; + + @override + String get couldnt_create_report => 'Αδυναμία δημιουργίας αναφοράς.'; + + @override + String get couldnt_resolve_report => 'Αδυναμία επίλυσης αναφοράς.'; + + @override + String get invalid_post_title => 'Μη έγκυρη επικεφαλίδα δημοσίευσης'; + + @override + String get couldnt_create_post => 'Δεν μπόρεσε να δημιουργηθεί η δημοσίευση.'; + + @override + String get couldnt_like_post => + 'Δεν μπόρεσε να ψηφισθεί θετικά η δημοσίευση.'; + + @override + String get couldnt_find_community => 'Δεν μπόρεσε να βρεθεί η κοινότητα.'; + + @override + String get couldnt_get_posts => 'Αδυναμία εύρεσης δημοσιεύσων'; + + @override + String get no_post_edit_allowed => + 'Δεν επιτρέπεται η επεξεργασία της δημοσίευσης.'; + + @override + String get couldnt_save_post => 'Δεν μπόρεσε να αποθηκευτεί η δημοσίευση.'; + + @override + String get site_already_exists => 'Ο ιστότοπος υπάρχει ήδη.'; + + @override + String get couldnt_update_site => 'Αδυναμία ενημέρωσης ιστότοπου.'; + + @override + String get invalid_community_name => 'Άκυρο όνομα.'; + + @override + String get community_already_exists => 'Η κοινότητα υπάρχει ήδη.'; + + @override + String get community_moderator_already_exists => + 'Ο χρήστης είναι ήδη συντονιστής της κοινότητας.'; + + @override + String get community_follower_already_exists => + 'Ο χρήστης είναι ήδη εγγεγραμμένος στην κοινότητα.'; + + @override + String get not_a_moderator => 'Δεν είναι συντονιστής.'; + + @override + String get couldnt_update_community => + 'Δεν μπόρεσε να ενημερωθεί η κοινότητα.'; + + @override + String get no_community_edit_allowed => + 'Δεν επιτρέπεται η επεξεργασία της κοινότητας.'; + + @override + String get system_err_login => + 'Σφάλμα στο σύστημα. Προσπαθήστε να αποσυνδεθείτε και να συνδεθείτε ξανά.'; + + @override + String get community_user_already_banned => + 'Ο χρήστης έχει ήδη αποβληθεί από την κοινότητα.'; + + @override + String get couldnt_find_that_username_or_email => + 'Αδυναμία εύρεσης χρήστη ή διεύθυνσης ηλεκτρονικού ταχυδρομείου.'; + + @override + String get password_incorrect => 'Λάθος κωδικός.'; + + @override + String get registration_closed => 'Εγγραφή κλειστή'; + + @override + String get invalid_password => + 'Άκυρος κωδικός. Ο κωδικός πρέπει να είναι <= 60 χαρακτήρες.'; + + @override + String get passwords_dont_match => 'Οι κωδικοί δεν ταιριάζουν.'; + + @override + String get captcha_incorrect => 'Εσφαλμένο captcha.'; + + @override + String get invalid_username => 'Λάθος όνομα χρήστη.'; + + @override + String get bio_length_overflow => + 'Το βιογραφικό χρήστη δεν μπορεί να ξεπερνά τους 300 χαρακτήρες.'; + + @override + String get couldnt_update_user => 'Αδυναμία ενημέρωσης χρήστη.'; + + @override + String get couldnt_update_private_message => + 'Αδυναμία ενημέρωσης προσωπικού μηνύματος.'; + + @override + String get couldnt_update_post => 'Αδυναμία ενημέρωσης δημοσιεύσης'; + + @override + String get couldnt_create_private_message => + 'Αδυναμία δημιουργίας προσωπικού μηνύματος.'; + + @override + String get no_private_message_edit_allowed => + 'Δεν επιτρέπεται η επεξεργασία του προσωπικού μηνύματος.'; + + @override + String get post_title_too_long => + 'Η επικεφαλίδα της δημοσίευσης είναι υπερβολικά μεγάλη.'; + + @override + String get email_already_exists => + 'Η διεύθυνση ηλεκτρονικού ταχυδρομείου υπάρχει ήδη.'; + + @override + String get user_already_exists => 'Ο χρήστης υπάρχει ήδη.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count ενεργός χρήστης', + other: '$count ενεργοί χρήστες', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Σχόλιο', + other: '$countString Σχόλια', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Δημοσίευση', + other: '$countString Δημοσιεύσεις', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count εγγεγραμμένος', + other: '$count εγγεγραμμένοι', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count χρήστης', + other: '$count χρήστες', + ); + } + + @override + String get unsubscribe => 'Απεγγραφή'; + + @override + String get subscribe => 'Εγγραφή'; + + @override + String get messages => 'Μηνύματα'; + + @override + String get banned_users => 'Αποβεβλημένοι χρήστες'; + + @override + String get delete_account_confirm => + 'Προσοχή: αυτό θα διαγράψει όλα τα δεδομένα σας. Είσαγετε τον κωδικό σας για επιβεβαίωση.'; + + @override + String get new_password => 'Νέος κωδικός'; + + @override + String get verify_password => 'Επαλήθευση κωδικού'; + + @override + String get old_password => 'Παλιός κωδικός'; + + @override + String get show_avatars => 'Εμφάνιση των άβαταρς'; + + @override + String get search => 'Αναζήτηση'; + + @override + String get send_message => 'Αποστολή μηνύματος'; + + @override + String get top_day => 'Κορυφαία σήμερα'; + + @override + String get top_week => 'Κορυφαία της εβδομάδας'; + + @override + String get top_month => 'Κορυφαία του μήνα'; + + @override + String get top_year => 'Κορυφαία φέτος'; + + @override + String get top_all => 'Κορυφαία από πάντα'; + + @override + String get most_comments => 'Περισσότερα σχόλια'; + + @override + String get new_comments => 'Νέα σχόλια'; + + @override + String get active => 'Δραστηριότητα'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_en.dart b/lib/l10n/gen/l10n_en.dart new file mode 100644 index 0000000..886c7a0 --- /dev/null +++ b/lib/l10n/gen/l10n_en.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for English (`en`). +class L10nEn extends L10n { + L10nEn([String locale = 'en']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_eo.dart b/lib/l10n/gen/l10n_eo.dart new file mode 100644 index 0000000..917d01b --- /dev/null +++ b/lib/l10n/gen/l10n_eo.dart @@ -0,0 +1,461 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Esperanto (`eo`). +class L10nEo extends L10n { + L10nEo([String locale = 'eo']) : super(locale); + + @override + String get settings => 'Agordoj'; + + @override + String get password => 'Pasvorto'; + + @override + String get email_or_username => 'Retpoŝtadreso aŭ uzantonomo'; + + @override + String get posts => 'Afiŝoj'; + + @override + String get comments => 'Komentoj'; + + @override + String get modlog => 'Protokolo de reguligado'; + + @override + String get community => 'Komunumo'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titolo'; + + @override + String get body => 'Ĉefparto'; + + @override + String get nsfw => 'Konsterna'; + + @override + String get post => 'Afiŝi'; + + @override + String get save => 'konservi'; + + @override + String get subscribed => 'Abonita'; + + @override + String get local => 'Loka'; + + @override + String get all => 'Ĉiam'; + + @override + String get replies => 'Respondoj'; + + @override + String get mentions => 'Mencioj'; + + @override + String get from => 'de'; + + @override + String get to => 'al'; + + @override + String get deleted_by_creator => 'forigita de la kreinto'; + + @override + String get more => 'pli'; + + @override + String get mark_as_read => 'marki legita'; + + @override + String get mark_as_unread => 'marki nelegita'; + + @override + String get reply => 'respondi'; + + @override + String get edit => 'redakti'; + + @override + String get delete => 'forigi'; + + @override + String get restore => 'revenigi'; + + @override + String get yes => 'jes'; + + @override + String get no => 'ne'; + + @override + String get avatar => 'Profilbildo'; + + @override + String get banner => 'Standardo'; + + @override + String get display_name => 'Prezenta nomo'; + + @override + String get bio => 'Prio'; + + @override + String get email => 'Retpoŝtadreso'; + + @override + String get matrix_user => 'Uzanto de Matrix'; + + @override + String get sort_type => 'Ordigilo'; + + @override + String get type => 'Tipo'; + + @override + String get show_nsfw => 'Montri konsternan enhavon'; + + @override + String get send_notifications_to_email => 'Sendi sciigojn al retpoŝtadreso'; + + @override + String get delete_account => 'Forigi konton'; + + @override + String get saved => 'Konservita'; + + @override + String get communities => 'Komunumoj'; + + @override + String get users => 'Uzantoj'; + + @override + String get theme => 'Haŭto'; + + @override + String get language => 'Lingvo'; + + @override + String get hot => 'Furoraj'; + + @override + String get new_ => 'Novaj'; + + @override + String get old => 'Malnovaj'; + + @override + String get top => 'Supraj'; + + @override + String get chat => 'Babilo'; + + @override + String get admin => 'administranto'; + + @override + String get by => 'de'; + + @override + String get not_a_mod_or_admin => 'Nek reguligisto nek administranto.'; + + @override + String get not_an_admin => 'Ne estas administranto.'; + + @override + String get couldnt_find_post => 'Ne povis trovi la afiŝon.'; + + @override + String get not_logged_in => 'Nesalutinta.'; + + @override + String get site_ban => 'Vi estas forbarita de la retejo'; + + @override + String get community_ban => 'Vi estas forbarita de la komunumo.'; + + @override + String get downvotes_disabled => 'Kontraŭvoĉoj malŝaltiĝis'; + + @override + String get invalid_url => 'Nevalida URL.'; + + @override + String get locked => 'ŝlosita'; + + @override + String get couldnt_create_comment => 'Ne povis krei la komenton.'; + + @override + String get couldnt_like_comment => 'Ne povis ŝati la komenton.'; + + @override + String get couldnt_update_comment => 'Ne povis ĝisdatigi la komenton.'; + + @override + String get no_comment_edit_allowed => 'Ne rajtas redakti la komenton.'; + + @override + String get couldnt_save_comment => 'Ne povis konservi la komenton.'; + + @override + String get couldnt_get_comments => 'Ne povis akiri la komentojn.'; + + @override + String get report_reason_required => 'Necesas kialo de raporto.'; + + @override + String get report_too_long => 'Raporto estas tro longa.'; + + @override + String get couldnt_create_report => 'Ne povis krei raporton.'; + + @override + String get couldnt_resolve_report => 'Ne povis trakti raporton.'; + + @override + String get invalid_post_title => 'Nevalida titolo de afiŝo'; + + @override + String get couldnt_create_post => 'Ne povis krei la afiŝon.'; + + @override + String get couldnt_like_post => 'Ne povis ŝati la afiŝon.'; + + @override + String get couldnt_find_community => 'Ne povis trovi la komunumon.'; + + @override + String get couldnt_get_posts => 'Ne povis akiri afiŝojn'; + + @override + String get no_post_edit_allowed => 'Ne rajtas redakti la afiŝon.'; + + @override + String get couldnt_save_post => 'Ne povis konservi la afiŝon.'; + + @override + String get site_already_exists => 'Retejo jam ekzistas.'; + + @override + String get couldnt_update_site => 'Ne povis ĝisdatigi la retejon.'; + + @override + String get invalid_community_name => 'Nevalida nomo.'; + + @override + String get community_already_exists => 'Komunumo jam ekzistas.'; + + @override + String get community_moderator_already_exists => + 'Reguligisto de komunumo jam ekzistas.'; + + @override + String get community_follower_already_exists => + 'Abonanto de komunumo jam ekzistas.'; + + @override + String get not_a_moderator => 'Nereguligisto.'; + + @override + String get couldnt_update_community => 'Ne povis ĝisdatigi la komunumon.'; + + @override + String get no_community_edit_allowed => 'Ne rajtas redakti la komunumon.'; + + @override + String get system_err_login => 'Sistema eraro. Provu adiaŭi kaj resaluti.'; + + @override + String get community_user_already_banned => + 'Uzanto de komunumo jam estas forbarita.'; + + @override + String get couldnt_find_that_username_or_email => + 'Ne povis trovi tiun uzantonomon aŭ retpoŝtadreson.'; + + @override + String get password_incorrect => 'Pasvorto malĝustas.'; + + @override + String get registration_closed => 'Registrado malebliĝis'; + + @override + String get invalid_password => + 'Nevalido pasvorto. Pasvorto devas havi ≤ 60 signojn.'; + + @override + String get passwords_dont_match => 'Pasvortoj ne samas.'; + + @override + String get captcha_incorrect => 'Neĝuste solvita kontrolo de homeco.'; + + @override + String get invalid_username => 'Nevalida uzantonomo.'; + + @override + String get bio_length_overflow => + 'Prio de uzanto ne povas havi pli ol 300 signojn.'; + + @override + String get couldnt_update_user => 'Ne povis ĝisdatigi la uzanton.'; + + @override + String get couldnt_update_private_message => + 'Ne povis ĝisdatigi la privatan mesaĝon.'; + + @override + String get couldnt_update_post => 'Ne povis ĝisdatigi la afiŝon'; + + @override + String get couldnt_create_private_message => + 'Ne povis krei privatan mesaĝon.'; + + @override + String get no_private_message_edit_allowed => + 'Ne rajtas redakti la privatan mesaĝon.'; + + @override + String get post_title_too_long => 'Titolo de afiŝo estas tro longa.'; + + @override + String get email_already_exists => 'Retpoŝtadreso jam ekzistas.'; + + @override + String get user_already_exists => 'Uzanto jam ekzistas.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count uzanto enreta', + other: '$count uzantoj enretaj', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString komento', + other: '$countString komentoj', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString afiŝo', + other: '$countString afiŝoj', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count abonanto', + other: '$count abonantoj', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count uzanto', + other: '$count uzantoj', + ); + } + + @override + String get unsubscribe => 'Malaboni'; + + @override + String get subscribe => 'Aboni'; + + @override + String get messages => 'Mesaĝoj'; + + @override + String get banned_users => 'Forbaritaj uzantoj'; + + @override + String get delete_account_confirm => + 'Averto: ĉi tio por ĉiam forigos ĉiujn viajn datumojn. Enigu pasvorton por konfirmi.'; + + @override + String get new_password => 'Nova pasvorto'; + + @override + String get verify_password => 'Konfirmu vian pasvorton'; + + @override + String get old_password => 'Malnova pasvorto'; + + @override + String get show_avatars => 'Montri profilbildojn'; + + @override + String get search => 'Serĉi'; + + @override + String get send_message => 'Sendi mesaĝon'; + + @override + String get top_day => 'Supraj tagaj'; + + @override + String get top_week => 'Supraj semajnaj'; + + @override + String get top_month => 'Supraj monataj'; + + @override + String get top_year => 'Supraj jaraj'; + + @override + String get top_all => 'Supraj ĉiamaj'; + + @override + String get most_comments => 'Plej komentitaj'; + + @override + String get new_comments => 'Nove komentitaj'; + + @override + String get active => 'Aktiva'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_es.dart b/lib/l10n/gen/l10n_es.dart new file mode 100644 index 0000000..7ffd3ce --- /dev/null +++ b/lib/l10n/gen/l10n_es.dart @@ -0,0 +1,465 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Spanish Castilian (`es`). +class L10nEs extends L10n { + L10nEs([String locale = 'es']) : super(locale); + + @override + String get settings => 'Configuración'; + + @override + String get password => 'Contraseña'; + + @override + String get email_or_username => 'Correo o nombre de usuario'; + + @override + String get posts => 'Publicaciones'; + + @override + String get comments => 'Comentarios'; + + @override + String get modlog => 'Historial de moderación'; + + @override + String get community => 'Comunidad'; + + @override + String get url => 'URL'; + + @override + String get title => 'Título'; + + @override + String get body => 'Descripción'; + + @override + String get nsfw => 'Para adultos'; + + @override + String get post => 'publicar'; + + @override + String get save => 'guardar'; + + @override + String get subscribed => 'Suscrito'; + + @override + String get local => 'Local'; + + @override + String get all => 'Todo'; + + @override + String get replies => 'Respuestas'; + + @override + String get mentions => 'Menciones'; + + @override + String get from => 'desde'; + + @override + String get to => 'a'; + + @override + String get deleted_by_creator => 'eliminado por creador'; + + @override + String get more => 'más'; + + @override + String get mark_as_read => 'marcar como leído'; + + @override + String get mark_as_unread => 'marcar como no leído'; + + @override + String get reply => 'responder'; + + @override + String get edit => 'editar'; + + @override + String get delete => 'eliminar'; + + @override + String get restore => 'restaurar'; + + @override + String get yes => 'sí'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Nombre para visualizar'; + + @override + String get bio => 'Biografía'; + + @override + String get email => 'Correo electrónico'; + + @override + String get matrix_user => 'Usuario Matrix'; + + @override + String get sort_type => 'Tipo de orden'; + + @override + String get type => 'Tipo'; + + @override + String get show_nsfw => 'Mostrar contenido para adultos'; + + @override + String get send_notifications_to_email => 'Enviar notificaciones al correo'; + + @override + String get delete_account => 'Eliminar cuenta'; + + @override + String get saved => 'Guardado'; + + @override + String get communities => 'Comunidades'; + + @override + String get users => 'Usuarios'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Idioma'; + + @override + String get hot => 'Popular'; + + @override + String get new_ => 'Nuevo'; + + @override + String get old => 'Antiguo'; + + @override + String get top => 'Lo mejor'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'administrador'; + + @override + String get by => 'por'; + + @override + String get not_a_mod_or_admin => 'No eres un moderador ni un administrador.'; + + @override + String get not_an_admin => 'No es un administrador.'; + + @override + String get couldnt_find_post => 'No se pudo encontrar la publicación.'; + + @override + String get not_logged_in => 'No has iniciado sesión.'; + + @override + String get site_ban => 'Has sido expulsado del sitio'; + + @override + String get community_ban => 'Has sido expulsado de esta comunidad.'; + + @override + String get downvotes_disabled => 'Votos negativos deshabilitados'; + + @override + String get invalid_url => 'URL no válido.'; + + @override + String get locked => 'bloqueado'; + + @override + String get couldnt_create_comment => 'No se pudo crear el comentario.'; + + @override + String get couldnt_like_comment => 'No se pudo dar me gusta al comentario.'; + + @override + String get couldnt_update_comment => 'No se pudo actualizar el comentario.'; + + @override + String get no_comment_edit_allowed => + 'No tiene permisos para editar el comentario.'; + + @override + String get couldnt_save_comment => 'No se pudo guardar el comentario.'; + + @override + String get couldnt_get_comments => 'No se pudo obtener los comentarios.'; + + @override + String get report_reason_required => 'Motivo del informe necesario.'; + + @override + String get report_too_long => 'Informe demasiado largo.'; + + @override + String get couldnt_create_report => 'No se pudo generar el informe.'; + + @override + String get couldnt_resolve_report => 'No se pudo resolver el informe.'; + + @override + String get invalid_post_title => 'Título de la publicación no válido'; + + @override + String get couldnt_create_post => 'No se pudo crear la publicación.'; + + @override + String get couldnt_like_post => 'No se pudo dar me gusta a la publicación.'; + + @override + String get couldnt_find_community => 'No se pudo encontrar la comunidad.'; + + @override + String get couldnt_get_posts => 'No se pudo obtener las publicaciones'; + + @override + String get no_post_edit_allowed => + 'No tiene permisos para editar la publicación.'; + + @override + String get couldnt_save_post => 'No se pudo guardar la publicación.'; + + @override + String get site_already_exists => 'El sitio ya existe.'; + + @override + String get couldnt_update_site => 'No se pudo actualizar el sitio.'; + + @override + String get invalid_community_name => 'Nombre no válido.'; + + @override + String get community_already_exists => 'Esta comunidad ya existe.'; + + @override + String get community_moderator_already_exists => + 'Este moderador de la comunidad ya existe.'; + + @override + String get community_follower_already_exists => + 'Este seguidor de la comunidad ya existe.'; + + @override + String get not_a_moderator => 'No eres moderador.'; + + @override + String get couldnt_update_community => 'No se pudo actualizar la comunidad.'; + + @override + String get no_community_edit_allowed => + 'No tiene permisos para editar la comunidad.'; + + @override + String get system_err_login => + 'Error del sistema. Intente cerrar sesión e ingresar de nuevo.'; + + @override + String get community_user_already_banned => + 'Este usuario de la comunidad ya fue expulsado.'; + + @override + String get couldnt_find_that_username_or_email => + 'No se pudo encontrar ese nombre de usuario o correo electrónico.'; + + @override + String get password_incorrect => 'Contraseña incorrecta.'; + + @override + String get registration_closed => 'Registro cerrado'; + + @override + String get invalid_password => + 'Contraseña no válida. La contraseña debe ser <= 60 carácteres.'; + + @override + String get passwords_dont_match => 'Las contraseñas no coinciden.'; + + @override + String get captcha_incorrect => 'Captcha incorrecto.'; + + @override + String get invalid_username => 'Nombre de usuario inválido.'; + + @override + String get bio_length_overflow => + 'La biografía del usuario no puede exceder los 300 caracteres.'; + + @override + String get couldnt_update_user => 'No se pudo actualizar el usuario.'; + + @override + String get couldnt_update_private_message => + 'No se pudo actualizar el mensaje privado.'; + + @override + String get couldnt_update_post => 'No se pudo actualizar la publicación'; + + @override + String get couldnt_create_private_message => + 'No se pudo crear el mensaje privado.'; + + @override + String get no_private_message_edit_allowed => + 'Sin permisos para editar el mensaje privado.'; + + @override + String get post_title_too_long => 'El título de la publicación es muy largo.'; + + @override + String get email_already_exists => 'El correo ya está en uso.'; + + @override + String get user_already_exists => 'El usuario ya existe.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuario en línea', + other: '$count usuarios en línea', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Comentario', + other: '$countString Comentarios', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Publicación', + other: '$countString Publicaciones', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count suscriptor', + other: '$count suscriptores', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuario', + other: '$count usuarios', + ); + } + + @override + String get unsubscribe => 'Desuscribirse'; + + @override + String get subscribe => 'Suscribirse'; + + @override + String get messages => 'Mensajes'; + + @override + String get banned_users => 'Usuarios expulsados'; + + @override + String get delete_account_confirm => + 'Advertencia: esta acción eliminará permanentemente toda su información. Introduzca su contraseña para confirmar.'; + + @override + String get new_password => 'Nueva contraseña'; + + @override + String get verify_password => 'Verificar contraseña'; + + @override + String get old_password => 'Antigua contraseña'; + + @override + String get show_avatars => 'Mostrar avatares'; + + @override + String get search => 'Buscar'; + + @override + String get send_message => 'Enviar mensaje'; + + @override + String get top_day => 'Lo mejor del día'; + + @override + String get top_week => 'Lo mejor de la semana'; + + @override + String get top_month => 'Lo mejor del mes'; + + @override + String get top_year => 'Lo mejor del año'; + + @override + String get top_all => 'Lo mejor de todos los tiempos'; + + @override + String get most_comments => 'Más comentados'; + + @override + String get new_comments => 'Nuevos Comentarios'; + + @override + String get active => 'Activo'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_eu.dart b/lib/l10n/gen/l10n_eu.dart new file mode 100644 index 0000000..b545132 --- /dev/null +++ b/lib/l10n/gen/l10n_eu.dart @@ -0,0 +1,465 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Basque (`eu`). +class L10nEu extends L10n { + L10nEu([String locale = 'eu']) : super(locale); + + @override + String get settings => 'Ezarpenak'; + + @override + String get password => 'Pasahitza'; + + @override + String get email_or_username => 'Eposta edo erabiltzaile-izena'; + + @override + String get posts => 'Bidalketak'; + + @override + String get comments => 'Iruzkinak'; + + @override + String get modlog => 'Moderazio loga'; + + @override + String get community => 'Komunitatea'; + + @override + String get url => 'URL'; + + @override + String get title => 'Izenburua'; + + @override + String get body => 'Gorputza'; + + @override + String get nsfw => 'Eduki hunkigarriak (NSFW)'; + + @override + String get post => 'bidali'; + + @override + String get save => 'gorde'; + + @override + String get subscribed => 'Harpidetuta'; + + @override + String get local => 'Lokala'; + + @override + String get all => 'Guztiak'; + + @override + String get replies => 'Erantzunak'; + + @override + String get mentions => 'Aipamenak'; + + @override + String get from => 'nork'; + + @override + String get to => 'non:'; + + @override + String get deleted_by_creator => 'sortzaileak ezabatu du'; + + @override + String get more => 'gehiago'; + + @override + String get mark_as_read => 'markatu irakurritako gisa'; + + @override + String get mark_as_unread => 'markatu ez irakurrita'; + + @override + String get reply => 'erantzun'; + + @override + String get edit => 'editatu'; + + @override + String get delete => 'ezabatu'; + + @override + String get restore => 'leheneratu'; + + @override + String get yes => 'bai'; + + @override + String get no => 'ez'; + + @override + String get avatar => 'Avatarra'; + + @override + String get banner => 'Banerra'; + + @override + String get display_name => 'Bistaratzeko izena'; + + @override + String get bio => 'Biografia'; + + @override + String get email => 'Eposta'; + + @override + String get matrix_user => 'Matrix erabiltzailea'; + + @override + String get sort_type => 'Ordena-mota'; + + @override + String get type => 'Mota'; + + @override + String get show_nsfw => 'Erakutsi eduki hunkigarriak (NSFW)'; + + @override + String get send_notifications_to_email => 'Bidali jakinarazpenak epostara'; + + @override + String get delete_account => 'Ezabatu kontua'; + + @override + String get saved => 'Gordeta'; + + @override + String get communities => 'Komunitateak'; + + @override + String get users => 'Erabiltzaileak'; + + @override + String get theme => 'Itxura'; + + @override + String get language => 'Hizkuntza'; + + @override + String get hot => 'Pil-pilean'; + + @override + String get new_ => 'Berriak'; + + @override + String get old => 'Zaharrak'; + + @override + String get top => 'Bozkatuenak'; + + @override + String get chat => 'Txata'; + + @override + String get admin => 'administratzailea'; + + @override + String get by => 'egilea:'; + + @override + String get not_a_mod_or_admin => + 'Ez zara moderatzaile bat, ezta administratzaile bat ere.'; + + @override + String get not_an_admin => 'Ez zara administratzailea.'; + + @override + String get couldnt_find_post => 'Ezin izan da bidalketarik aurkitu.'; + + @override + String get not_logged_in => 'Ez duzu saiorik hasi.'; + + @override + String get site_ban => 'Gune honetan sartzea debekatu dizute'; + + @override + String get community_ban => 'Komunitate honetan sartzea debekatu dizute.'; + + @override + String get downvotes_disabled => 'Kontrako bozkak desgaituta'; + + @override + String get invalid_url => 'URL baliogabea.'; + + @override + String get locked => 'blokeatuta'; + + @override + String get couldnt_create_comment => 'Ezin izan da iruzkina sortu.'; + + @override + String get couldnt_like_comment => 'Ezin izan da iruzkinari datsegit eman.'; + + @override + String get couldnt_update_comment => 'Ezin izan da iruzkina eguneratu.'; + + @override + String get no_comment_edit_allowed => 'Ezin duzu iruzkina editatu.'; + + @override + String get couldnt_save_comment => 'Ezin izan da iruzkina gorde.'; + + @override + String get couldnt_get_comments => 'Ezin izan da iruzkinik lortu.'; + + @override + String get report_reason_required => 'Salaketaren arrazoia ezinbestekoa da.'; + + @override + String get report_too_long => 'Salaketa luzeegia.'; + + @override + String get couldnt_create_report => 'Ezin izan da salaketa sortu.'; + + @override + String get couldnt_resolve_report => 'Ezin izan da salaketa itxi.'; + + @override + String get invalid_post_title => 'Bidalketa izenburu baliogabea'; + + @override + String get couldnt_create_post => 'Ezin izan da bidalketa sortu.'; + + @override + String get couldnt_like_post => 'Ezin izan da bidalketari datsegit eman.'; + + @override + String get couldnt_find_community => 'Ezin izan da komunitaterik aurkitu.'; + + @override + String get couldnt_get_posts => 'Ezin izan da bidalketa lortu'; + + @override + String get no_post_edit_allowed => 'Ezin duzu bidalketa editatu.'; + + @override + String get couldnt_save_post => 'Ezin izan da bidalketa gorde.'; + + @override + String get site_already_exists => 'Gunea dagoeneko existitzen da.'; + + @override + String get couldnt_update_site => 'Ezin izan da gunea eguneratu.'; + + @override + String get invalid_community_name => 'Izen baliogabea.'; + + @override + String get community_already_exists => + 'Komunitate hori dagoeneko existitzen da.'; + + @override + String get community_moderator_already_exists => + 'Komunitateko moderatzaile hori dagoeneko existitzen da.'; + + @override + String get community_follower_already_exists => + 'Komunitateko jarraitzaile hori dagoeneko existitzen da.'; + + @override + String get not_a_moderator => 'Ez zara moderatzailea.'; + + @override + String get couldnt_update_community => 'Ezin izan da komunitatea eguneratu.'; + + @override + String get no_community_edit_allowed => 'Ezin duzu komunitatea editatu.'; + + @override + String get system_err_login => + 'Sistemaren errorea. Saiatu saioa ixten eta berriz hasten.'; + + @override + String get community_user_already_banned => + 'Komunitateko erabiltzaile hau dagoeneko debekatuta dago.'; + + @override + String get couldnt_find_that_username_or_email => + 'Ezin izan da aurkitu erabiltzaile-izen edo eposta hori.'; + + @override + String get password_incorrect => 'Pasahitz okerra.'; + + @override + String get registration_closed => 'Izen-ematea itxira'; + + @override + String get invalid_password => + 'Pasahitz baliogabea. Pasahitzak <= 60 karaktere izan behar ditu.'; + + @override + String get passwords_dont_match => 'Pasahitzak ez dira berdinak.'; + + @override + String get captcha_incorrect => 'Okerreko captcha.'; + + @override + String get invalid_username => 'Erabiltzaile-izen baliogabea.'; + + @override + String get bio_length_overflow => + 'Erabiltzailearen biografiak ezin ditu 300 hizki baino gehiago izan.'; + + @override + String get couldnt_update_user => 'Ezin izan da erabiltzailea eguneratu.'; + + @override + String get couldnt_update_private_message => + 'Ezin izan da mezu pribatu hori eguneratu.'; + + @override + String get couldnt_update_post => 'Ezin izan da bidalketa eguneratu'; + + @override + String get couldnt_create_private_message => + 'Ezin izan da mezu pribatu hori sortu.'; + + @override + String get no_private_message_edit_allowed => + 'Ezin duzu mezu pribaturik editatu.'; + + @override + String get post_title_too_long => 'Bidalketaren izenburua luzeegia da.'; + + @override + String get email_already_exists => 'Eposta hori dagoeneko existitzen da.'; + + @override + String get user_already_exists => + 'Erabiltzaile hori dagoeneko existitzen da.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'Erabiltzaile $count konektatuta', + other: '$count erabiltzaile konektatuta', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'Iruzkin $countString', + other: '$countString iruzkin', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'Bidalketa $countString', + other: '$countString bidalketa', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'Harpidetu $count', + other: '$count harpidetu', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'Erabiltzaile $count', + other: '$count erabiltzaile', + ); + } + + @override + String get unsubscribe => 'Ezabatu harpidetza'; + + @override + String get subscribe => 'Harpidetu'; + + @override + String get messages => 'Mezuak'; + + @override + String get banned_users => 'Debekatutako erabiltzaileak'; + + @override + String get delete_account_confirm => + 'Abisua: honek zure datu guztiak betirako ezabatu ditu. Sartu zure pasahitza baieztatzeko.'; + + @override + String get new_password => 'Pasahitz berria'; + + @override + String get verify_password => 'Balioztatu pasahitza'; + + @override + String get old_password => 'Aurreko pasahitza'; + + @override + String get show_avatars => 'Erakutsi avatarrak'; + + @override + String get search => 'Bilatu'; + + @override + String get send_message => 'Bidali mezua'; + + @override + String get top_day => 'Gaur pil-pilean'; + + @override + String get top_week => 'Asteko Onena'; + + @override + String get top_month => 'Hilabeteko Onena'; + + @override + String get top_year => 'Urteko Onena'; + + @override + String get top_all => 'Onena'; + + @override + String get most_comments => 'Iruzkin gehienak'; + + @override + String get new_comments => 'Iruzkin berriak'; + + @override + String get active => 'Aktibo'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_fa.dart b/lib/l10n/gen/l10n_fa.dart new file mode 100644 index 0000000..b3feb8a --- /dev/null +++ b/lib/l10n/gen/l10n_fa.dart @@ -0,0 +1,456 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Persian (`fa`). +class L10nFa extends L10n { + L10nFa([String locale = 'fa']) : super(locale); + + @override + String get settings => 'تنظیمات'; + + @override + String get password => 'گذرواژه'; + + @override + String get email_or_username => 'رایانامه یا نام‌کاربری'; + + @override + String get posts => 'مطالب'; + + @override + String get comments => 'نظرات'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'عنوان'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'مطلب'; + + @override + String get save => 'ذخیره'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'همه'; + + @override + String get replies => 'پاسخ‌ها'; + + @override + String get mentions => 'اشاره‌ها'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'پاک شد'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'علامت‌گذاری به عنوان خوانده شده'; + + @override + String get mark_as_unread => 'علامت‌گذاری به عنوان خوانده نشده'; + + @override + String get reply => 'پاسخ'; + + @override + String get edit => 'ویرایش'; + + @override + String get delete => 'پاک کردن'; + + @override + String get restore => 'بازگردانی'; + + @override + String get yes => 'بله'; + + @override + String get no => 'خیر'; + + @override + String get avatar => 'آواتار'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'رایانامه'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'نوع ترتیب'; + + @override + String get type => 'نوع'; + + @override + String get show_nsfw => 'نمایش محتوای NSFW'; + + @override + String get send_notifications_to_email => 'فرستادن اعلانات به رایانامه'; + + @override + String get delete_account => 'پاک کردن حساب'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'جوامع'; + + @override + String get users => 'کاربران'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'زبان'; + + @override + String get hot => 'داغ'; + + @override + String get new_ => 'تازه'; + + @override + String get old => 'Old'; + + @override + String get top => 'بالاترین'; + + @override + String get chat => 'گپ'; + + @override + String get admin => 'مدیر'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'مدیر نیستید.'; + + @override + String get couldnt_find_post => 'ناتوانی در یافتن مطلب.'; + + @override + String get not_logged_in => 'وارد نشده‌اید.'; + + @override + String get site_ban => 'فعالیت شما در این پایگاه ممنوع شده است'; + + @override + String get community_ban => 'فعالیت شما در این جامعه ممنوع شده است.'; + + @override + String get downvotes_disabled => 'رای پایین غیرفعال است'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'قفل شد'; + + @override + String get couldnt_create_comment => 'ناتوانی در ایجاد نظر.'; + + @override + String get couldnt_like_comment => 'ناتوانی در پسنیدن نظر.'; + + @override + String get couldnt_update_comment => 'ناتوانی در به‌روزرسانی نظر.'; + + @override + String get no_comment_edit_allowed => 'مجاز به ویرایش نظر نیستید.'; + + @override + String get couldnt_save_comment => 'ناتوانی در ذخیره نظر.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'ناتوانی در ایجاد مطلب.'; + + @override + String get couldnt_like_post => 'ناتوانی در پسندیدن مطلب.'; + + @override + String get couldnt_find_community => 'ناتوانی در یافتن جامعه.'; + + @override + String get couldnt_get_posts => 'ناتوانی در دریافت مطالب'; + + @override + String get no_post_edit_allowed => 'مجاز به ویرایش مطلب نیستید.'; + + @override + String get couldnt_save_post => 'ناتوانی در ذخیره مطلب.'; + + @override + String get site_already_exists => 'این پایگاه از قبل وجود داشته است.'; + + @override + String get couldnt_update_site => 'ناتوانی در به‌روزرسانی پایگاه.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'این جامعه از قبل وجود داشته است.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'ناتوانی در به‌روزرسانی جامعه.'; + + @override + String get no_community_edit_allowed => 'مجاز به ویرایش جامعه نیستید.'; + + @override + String get system_err_login => + 'خطای سامانه. سعی کنید خارج شده و دوباره وارد شوید.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'ناتوانی در یافتن این نام کاربری یا رایانامه.'; + + @override + String get password_incorrect => 'گذرواژه نادرست.'; + + @override + String get registration_closed => 'نام‌نویسی بسته است'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'گذرواژه‌ها با هم منطبق نیستند.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'ناتوانی در به‌روزرسانی کاربر.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'ناتوای در به‌روزرسانی مطلب'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'این رایانامه از قبل وجود دارد.'; + + @override + String get user_already_exists => 'این کاربر از قبل وجود دارد.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count کاربر برخط', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString نظر', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString مطلب', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count کاربر', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'هشدار: این کنش، تمام اطلاعات شما را برای همیشه پاک می‌کند. برای تایید، گذرواژه خود را وارد کنید.'; + + @override + String get new_password => 'گذرواژه جدید'; + + @override + String get verify_password => 'تایید گذرواژه'; + + @override + String get old_password => 'پسورد پیشین'; + + @override + String get show_avatars => 'نمایش آواتارها'; + + @override + String get search => 'جستجو'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'بهترین‌های روز'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_fi.dart b/lib/l10n/gen/l10n_fi.dart new file mode 100644 index 0000000..43786c8 --- /dev/null +++ b/lib/l10n/gen/l10n_fi.dart @@ -0,0 +1,465 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Finnish (`fi`). +class L10nFi extends L10n { + L10nFi([String locale = 'fi']) : super(locale); + + @override + String get settings => 'Asetukset'; + + @override + String get password => 'Salasana'; + + @override + String get email_or_username => 'Sähköposti tai käyttäjätunnus'; + + @override + String get posts => 'Viestit'; + + @override + String get comments => 'Kommentit'; + + @override + String get modlog => 'Moderoinnin loki'; + + @override + String get community => 'Yhteisö'; + + @override + String get url => 'URL'; + + @override + String get title => 'Otsikko'; + + @override + String get body => 'Sisältö'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'viesti'; + + @override + String get save => 'tallenna'; + + @override + String get subscribed => 'Tilattu'; + + @override + String get local => 'Paikallinen'; + + @override + String get all => 'Kaikki'; + + @override + String get replies => 'Vastaukset'; + + @override + String get mentions => 'Maininnat'; + + @override + String get from => 'paikasta'; + + @override + String get to => 'yhteisössä'; + + @override + String get deleted_by_creator => 'poistettu'; + + @override + String get more => 'lisää'; + + @override + String get mark_as_read => 'merkitse luetuksi'; + + @override + String get mark_as_unread => 'merkitse lukemattomaksi'; + + @override + String get reply => 'vastaa'; + + @override + String get edit => 'muokkaa'; + + @override + String get delete => 'poista'; + + @override + String get restore => 'palauta'; + + @override + String get yes => 'kyllä'; + + @override + String get no => 'ei'; + + @override + String get avatar => 'avatar'; + + @override + String get banner => 'Banneri'; + + @override + String get display_name => 'Näyttönimi'; + + @override + String get bio => 'Kuvaus'; + + @override + String get email => 'Sähköposti'; + + @override + String get matrix_user => 'Matrix-käyttäjä'; + + @override + String get sort_type => 'Lajittele tyypin mukaan'; + + @override + String get type => 'Tyyppi'; + + @override + String get show_nsfw => 'Näytä NSFW-sisältö'; + + @override + String get send_notifications_to_email => 'Lähetä ilmoitukset sähköpostiin'; + + @override + String get delete_account => 'Poista tili'; + + @override + String get saved => 'Tallennettu'; + + @override + String get communities => 'Yhteisöt'; + + @override + String get users => 'Käyttäjät'; + + @override + String get theme => 'Teema'; + + @override + String get language => 'Kieli'; + + @override + String get hot => 'Kuumat'; + + @override + String get new_ => 'Uudet'; + + @override + String get old => 'Vanhat'; + + @override + String get top => 'Parhaimmat'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'ylläpitäjä'; + + @override + String get by => 'käyttäjältä'; + + @override + String get not_a_mod_or_admin => 'Et ole moderaattori tai ylläpitäjä.'; + + @override + String get not_an_admin => 'Ei ole ylläpitäjä.'; + + @override + String get couldnt_find_post => 'Viestiä ei löytynyt.'; + + @override + String get not_logged_in => 'Ei kirjautunut sisään.'; + + @override + String get site_ban => 'Sinut on asetettu porttikieltoon tällä sivustolla'; + + @override + String get community_ban => + 'Sinulle on asetettu porttikielto tähän yhteisöön.'; + + @override + String get downvotes_disabled => 'Alaäänet otettu pois päältä'; + + @override + String get invalid_url => 'Viallinen URL.'; + + @override + String get locked => 'lukittu'; + + @override + String get couldnt_create_comment => 'Kommenttia ei pystytty luomaan.'; + + @override + String get couldnt_like_comment => 'Kommentista ei voitu tykätä.'; + + @override + String get couldnt_update_comment => 'Kommenttia ei voitu päivittää.'; + + @override + String get no_comment_edit_allowed => + 'Sinulla ei ole oikeutta muokata kommenttia.'; + + @override + String get couldnt_save_comment => 'Kommenttia ei voitu tallentaa.'; + + @override + String get couldnt_get_comments => 'Kommentteja ei voitu hakea.'; + + @override + String get report_reason_required => 'Ilmiannolle tarvitaan selitys.'; + + @override + String get report_too_long => 'Ilmianto on turhan pitkä.'; + + @override + String get couldnt_create_report => 'Ilmiantoa ei pystytty luomaan.'; + + @override + String get couldnt_resolve_report => 'Ilmiantoa ei pystytty selvittämään.'; + + @override + String get invalid_post_title => 'Väärä viestin otsikko'; + + @override + String get couldnt_create_post => 'Ei voitu luoda viestiä.'; + + @override + String get couldnt_like_post => 'Viestistä ei voitu tykätä.'; + + @override + String get couldnt_find_community => 'Yhteisöä ei voitu löytää.'; + + @override + String get couldnt_get_posts => 'Viestejä ei saatu'; + + @override + String get no_post_edit_allowed => 'Sinulla ei ole oikeutta muokata viestiä.'; + + @override + String get couldnt_save_post => 'Viestiä ei voitu tallentaa.'; + + @override + String get site_already_exists => 'Sivusto on jo olemassa.'; + + @override + String get couldnt_update_site => 'Sivustoa ei voitu päivittää.'; + + @override + String get invalid_community_name => 'Viallinen yhteisön nimi.'; + + @override + String get community_already_exists => 'Yhteisö on jo olemassa.'; + + @override + String get community_moderator_already_exists => + 'Yhteisön moderaattori on jo olemassa.'; + + @override + String get community_follower_already_exists => + 'Yhteisön seuraaja on jo olemassa.'; + + @override + String get not_a_moderator => 'Ei moderaattori.'; + + @override + String get couldnt_update_community => 'Yhteisöä ei voitu päivittää.'; + + @override + String get no_community_edit_allowed => + 'Sinulla ei ole oikeutta muokata yhteisöä.'; + + @override + String get system_err_login => + 'Järjestelmävirhe. Yritä kirjautua ulos ja kirjautua uudestaan sisään.'; + + @override + String get community_user_already_banned => + 'Yhteisön käyttäjä on jo porttikiellossa.'; + + @override + String get couldnt_find_that_username_or_email => + 'Käyttäjänimeä tai sähköpostia ei onnistuttu löytämään.'; + + @override + String get password_incorrect => 'Salasana on väärin.'; + + @override + String get registration_closed => 'Rekisteröityminen suljettu'; + + @override + String get invalid_password => + 'Virheellinen salasana. Salasanan on oltava <= 60 merkkiä.'; + + @override + String get passwords_dont_match => 'Salasanat eivät täsmää.'; + + @override + String get captcha_incorrect => 'Captcha on väärin.'; + + @override + String get invalid_username => 'Viallinen käyttäjänimi.'; + + @override + String get bio_length_overflow => + 'Käyttäjän kuvaus ei voi olla pidempi kuin 300 merkkiä.'; + + @override + String get couldnt_update_user => 'Käyttäjää ei voitu päivittää.'; + + @override + String get couldnt_update_private_message => + 'Yksityisviestiä ei voitu päivittää.'; + + @override + String get couldnt_update_post => 'Viestiä ei voitu päivittää'; + + @override + String get couldnt_create_private_message => + 'Yksityisviestiä ei voitu luoda.'; + + @override + String get no_private_message_edit_allowed => + 'Sinulla ei ole oikeutta muokata yksityisviestiä.'; + + @override + String get post_title_too_long => 'Viestin otsikko on liian pitkä.'; + + @override + String get email_already_exists => 'Sähköposti on jo olemassa.'; + + @override + String get user_already_exists => 'Käyttäjä on jo olemassa.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count käyttäjä aktiivisena', + other: '$count käyttäjää aktiivisena', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString kommentti', + other: '$countString kommenttia', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString viesti', + other: '$countString viestiä', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count tilaaja', + other: '$count tilaajaa', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count käyttäjä', + other: '$count käyttäjää', + ); + } + + @override + String get unsubscribe => 'Poista tilaus'; + + @override + String get subscribe => 'Tilaa'; + + @override + String get messages => 'Viestit'; + + @override + String get banned_users => 'Porttikieltoon asetetut käyttäjät'; + + @override + String get delete_account_confirm => + 'Varoitus: tämä poistaa pysyvästi kaiken datasi. Anna salasanasi varmistukseksi.'; + + @override + String get new_password => 'Uusi salasana'; + + @override + String get verify_password => 'Vahvista salasana'; + + @override + String get old_password => 'Vanha salasana'; + + @override + String get show_avatars => 'Näytä avatarit'; + + @override + String get search => 'Etsi'; + + @override + String get send_message => 'Lähetä viesti'; + + @override + String get top_day => 'Päivän parhaimmat'; + + @override + String get top_week => 'Viikon parhaimmat'; + + @override + String get top_month => 'Kuukauden parhaimmat'; + + @override + String get top_year => 'Vuoden parhaimmat'; + + @override + String get top_all => 'Kaikkien aikojen parhaimmat'; + + @override + String get most_comments => 'Eniten kommentteja'; + + @override + String get new_comments => 'Uudet kommentit'; + + @override + String get active => 'Aktiivinen'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_fr.dart b/lib/l10n/gen/l10n_fr.dart new file mode 100644 index 0000000..e3c1f7f --- /dev/null +++ b/lib/l10n/gen/l10n_fr.dart @@ -0,0 +1,470 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for French (`fr`). +class L10nFr extends L10n { + L10nFr([String locale = 'fr']) : super(locale); + + @override + String get settings => 'Paramètres'; + + @override + String get password => 'Mot de passe'; + + @override + String get email_or_username => 'Email ou nom d’utilisateur·rice'; + + @override + String get posts => 'Publications'; + + @override + String get comments => 'Commentaires'; + + @override + String get modlog => 'Historique de modération'; + + @override + String get community => 'Communauté'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titre'; + + @override + String get body => 'Texte'; + + @override + String get nsfw => 'Pas sûr pour le travail (NSFW)'; + + @override + String get post => 'publication'; + + @override + String get save => 'sauvegarder'; + + @override + String get subscribed => 'Abonnés'; + + @override + String get local => 'Local'; + + @override + String get all => 'Tout'; + + @override + String get replies => 'Réponses'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'de'; + + @override + String get to => 'dans'; + + @override + String get deleted_by_creator => 'supprimé par le créateur'; + + @override + String get more => 'plus'; + + @override + String get mark_as_read => 'marquer comme lu'; + + @override + String get mark_as_unread => 'marquer comme non-lu'; + + @override + String get reply => 'répondre'; + + @override + String get edit => 'éditer'; + + @override + String get delete => 'supprimer'; + + @override + String get restore => 'restaurer'; + + @override + String get yes => 'oui'; + + @override + String get no => 'non'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Bannière'; + + @override + String get display_name => 'Nom affiché'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Utilisateur Matrix'; + + @override + String get sort_type => 'Trier'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Afficher le contenu NSFW'; + + @override + String get send_notifications_to_email => + 'Envoyer des notifications par email'; + + @override + String get delete_account => 'Supprimer le compte'; + + @override + String get saved => 'Sauvegardé'; + + @override + String get communities => 'Communautés'; + + @override + String get users => 'Utilisateurs'; + + @override + String get theme => 'Thème'; + + @override + String get language => 'Langue'; + + @override + String get hot => 'Tendances'; + + @override + String get new_ => 'Nouveaux'; + + @override + String get old => 'Ancien'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'par'; + + @override + String get not_a_mod_or_admin => 'Pas un modérateur ou un administrateur.'; + + @override + String get not_an_admin => 'Pas administrateur.'; + + @override + String get couldnt_find_post => 'Impossible de trouver la publication.'; + + @override + String get not_logged_in => 'Vous n’êtes pas connecté.'; + + @override + String get site_ban => 'Vous avez été banni du site'; + + @override + String get community_ban => 'Vous avez été banni de cette communauté.'; + + @override + String get downvotes_disabled => 'Votes négatifs désactivés'; + + @override + String get invalid_url => 'URL invalide.'; + + @override + String get locked => 'verrouillé'; + + @override + String get couldnt_create_comment => 'Impossible de publier le commentaire.'; + + @override + String get couldnt_like_comment => 'Impossible d’aimer le commentaire.'; + + @override + String get couldnt_update_comment => + 'Impossible de mettre à jour le commentaire.'; + + @override + String get no_comment_edit_allowed => + 'Vous n’êtes pas autorisé à éditer ce commentaire.'; + + @override + String get couldnt_save_comment => + 'Impossible de sauvegarder le commentaire.'; + + @override + String get couldnt_get_comments => 'Impossible d\'obtenir les commentaires.'; + + @override + String get report_reason_required => 'Raison du signalement requise.'; + + @override + String get report_too_long => 'Rapport trop long.'; + + @override + String get couldnt_create_report => 'Impossible de créer le signalement.'; + + @override + String get couldnt_resolve_report => 'Impossible de résoudre le rapport.'; + + @override + String get invalid_post_title => 'Titre du post invalide'; + + @override + String get couldnt_create_post => 'Impossible de créer la publication.'; + + @override + String get couldnt_like_post => 'Impossible d’aimer la publication.'; + + @override + String get couldnt_find_community => + 'Impossible de trouver cette communauté.'; + + @override + String get couldnt_get_posts => 'Impossible d’obtenir les publications'; + + @override + String get no_post_edit_allowed => + 'Vous n’êtes pas autorisé à éditer cette publication.'; + + @override + String get couldnt_save_post => 'Impossible de sauvegarder la publication.'; + + @override + String get site_already_exists => 'Le site existe déjà.'; + + @override + String get couldnt_update_site => 'Impossible de mettre à jour le site.'; + + @override + String get invalid_community_name => 'Nom invalide.'; + + @override + String get community_already_exists => 'Cette communauté existe déjà.'; + + @override + String get community_moderator_already_exists => + 'Ce membre est déjà modérateur.'; + + @override + String get community_follower_already_exists => 'Ce membre est déjà abonné.'; + + @override + String get not_a_moderator => 'N\'êtes pas un modérateur.'; + + @override + String get couldnt_update_community => + 'Impossible de mettre à jour cette communauté.'; + + @override + String get no_community_edit_allowed => + 'Vous n’êtes pas autorisé à éditer cette communauté.'; + + @override + String get system_err_login => + 'Erreur système. Essayez de vous déconnecter puis de vous reconnecter.'; + + @override + String get community_user_already_banned => 'Ce membre est déjà banni.'; + + @override + String get couldnt_find_that_username_or_email => + 'Impossible de trouver cet·te utilisateur·rice ou cet email.'; + + @override + String get password_incorrect => 'Mot de passe incorrect.'; + + @override + String get registration_closed => 'Inscriptions fermées'; + + @override + String get invalid_password => + 'Mot de passe erroné. La longueur du mot de passe doit être <= 60 caractères.'; + + @override + String get passwords_dont_match => 'Les mots de passes ne correspondent pas.'; + + @override + String get captcha_incorrect => 'Captcha erroné.'; + + @override + String get invalid_username => 'Nom d\'utilisateur invalide.'; + + @override + String get bio_length_overflow => + 'La bio utilisateur ne peut dépasser 300 caractères.'; + + @override + String get couldnt_update_user => + 'Impossible de mettre à jour l’utilisateur·rice.'; + + @override + String get couldnt_update_private_message => + 'Impossible de modifier le message privé.'; + + @override + String get couldnt_update_post => + 'Impossible de mettre à jour la publication'; + + @override + String get couldnt_create_private_message => + 'Impossible de créer un message privé.'; + + @override + String get no_private_message_edit_allowed => + 'Pas autorisé à modifier un message privé.'; + + @override + String get post_title_too_long => 'Le titre de la publication est trop long.'; + + @override + String get email_already_exists => 'L’email existe déjà.'; + + @override + String get user_already_exists => 'L’utilisateur·rice existe déjà.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Utilisateur en ligne', + other: '$count Utilisateurs en ligne', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Commentaire', + other: '$countString Commentaires', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Publication', + other: '$countString Publications', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Abonné', + other: '$count Abonnés', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Utilisateur', + other: '$count Utilisateurs', + ); + } + + @override + String get unsubscribe => 'Se désabonner'; + + @override + String get subscribe => 'S’abonner'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Utilisateurs interdits'; + + @override + String get delete_account_confirm => + 'Avertissement : cette action supprimera toutes vos données de façons permanente ! Saisissez votre mot de passe pour confirmer.'; + + @override + String get new_password => 'Nouveau mot de passe'; + + @override + String get verify_password => 'Vérifiez le mot de passe'; + + @override + String get old_password => 'Ancien mot de passe'; + + @override + String get show_avatars => 'Afficher les avatars'; + + @override + String get search => 'Rechercher'; + + @override + String get send_message => 'Envoyer le message'; + + @override + String get top_day => 'Top du jour'; + + @override + String get top_week => 'Top de la semaine'; + + @override + String get top_month => 'Top du mois'; + + @override + String get top_year => 'Top de l\'année'; + + @override + String get top_all => 'Top'; + + @override + String get most_comments => 'Plus commentés'; + + @override + String get new_comments => 'Nouveaux commentaires'; + + @override + String get active => 'Actif'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_ga.dart b/lib/l10n/gen/l10n_ga.dart new file mode 100644 index 0000000..9947093 --- /dev/null +++ b/lib/l10n/gen/l10n_ga.dart @@ -0,0 +1,466 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Irish (`ga`). +class L10nGa extends L10n { + L10nGa([String locale = 'ga']) : super(locale); + + @override + String get settings => 'Socruithe'; + + @override + String get password => 'Pasfhocal'; + + @override + String get email_or_username => 'Ríomhphost nó Ainm Úsáideora'; + + @override + String get posts => 'Postálacha'; + + @override + String get comments => 'Tráchtanna'; + + @override + String get modlog => 'Logamod'; + + @override + String get community => 'Pobal'; + + @override + String get url => 'URL'; + + @override + String get title => 'Teideal'; + + @override + String get body => 'Corp'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'postáil'; + + @override + String get save => 'sábháil'; + + @override + String get subscribed => 'Suibscríofa'; + + @override + String get local => 'Áitiúil'; + + @override + String get all => 'Gach'; + + @override + String get replies => 'Freagraí'; + + @override + String get mentions => 'Luann'; + + @override + String get from => 'ó'; + + @override + String get to => 'chun'; + + @override + String get deleted_by_creator => 'scriosta ag cruthaitheoir'; + + @override + String get more => 'tuilleadh'; + + @override + String get mark_as_read => 'marc mar a léitear'; + + @override + String get mark_as_unread => 'marc mar neamhléite'; + + @override + String get reply => 'freagra'; + + @override + String get edit => 'cuir in eagar'; + + @override + String get delete => 'scriosadh'; + + @override + String get restore => 'athchóirigh'; + + @override + String get yes => 'tá'; + + @override + String get no => 'níl'; + + @override + String get avatar => 'Abhatár'; + + @override + String get banner => 'Meirge'; + + @override + String get display_name => 'Ainm taispeána'; + + @override + String get bio => 'Beathaisnéis'; + + @override + String get email => 'Ríomhphost'; + + @override + String get matrix_user => 'Úsáideoir Matrix'; + + @override + String get sort_type => 'Cineál sórtála'; + + @override + String get type => 'Cineál'; + + @override + String get show_nsfw => 'Taispeáin ábhar NSFW'; + + @override + String get send_notifications_to_email => 'Seol fógraí chuig Ríomhphost'; + + @override + String get delete_account => 'Scrios Cuntas'; + + @override + String get saved => 'Coinníodh'; + + @override + String get communities => 'Pobail'; + + @override + String get users => 'Úsáideoirí'; + + @override + String get theme => 'Téama'; + + @override + String get language => 'Teanga'; + + @override + String get hot => 'Te'; + + @override + String get new_ => 'Nua'; + + @override + String get old => 'Sean'; + + @override + String get top => 'Barr'; + + @override + String get chat => 'Comhrá'; + + @override + String get admin => 'riarthóir'; + + @override + String get by => 'le'; + + @override + String get not_a_mod_or_admin => 'Ní modhnóir ná riarthóir é.'; + + @override + String get not_an_admin => 'Ní riarthóir é.'; + + @override + String get couldnt_find_post => 'Níorbh fhéidir an post a aimsiú.'; + + @override + String get not_logged_in => 'Ní logáilte isteach.'; + + @override + String get site_ban => 'Cuireadh cosc ort ón suíomh'; + + @override + String get community_ban => 'Cuireadh cosc ort ón bpobal seo.'; + + @override + String get downvotes_disabled => 'Síosvótaí faoi mhíchumas'; + + @override + String get invalid_url => 'URL neamhbhailí.'; + + @override + String get locked => 'glasáilte'; + + @override + String get couldnt_create_comment => 'Níorbh fhéidir a chruthú trácht.'; + + @override + String get couldnt_like_comment => 'Níorbh fhéidir a is maith trácht.'; + + @override + String get couldnt_update_comment => 'Níorbh fhéidir trácht a nuashonrú.'; + + @override + String get no_comment_edit_allowed => + 'Ní cheadaítear trácht a chur in eagar.'; + + @override + String get couldnt_save_comment => 'Níorbh fhéidir trácht a shábháil.'; + + @override + String get couldnt_get_comments => 'Níorbh fhéidir tuairimí a fháil.'; + + @override + String get report_reason_required => 'Cúis leis an Tuarascáil Riachtanach.'; + + @override + String get report_too_long => 'Tuairiscigh ró-fhada.'; + + @override + String get couldnt_create_report => 'Níorbh fhéidir tuairisc a chruthú.'; + + @override + String get couldnt_resolve_report => + 'Níorbh fhéidir an tuarascáil a réiteach.'; + + @override + String get invalid_post_title => 'Teideal poist neamhbhailí'; + + @override + String get couldnt_create_post => 'Níorbh fhéidir postáil a chruthú.'; + + @override + String get couldnt_like_post => 'Níorbh fhéidir a is maith post.'; + + @override + String get couldnt_find_community => 'Níorbh fhéidir Pobal a aimsiú.'; + + @override + String get couldnt_get_posts => 'Níorbh fhéidir an post a fháil'; + + @override + String get no_post_edit_allowed => 'Ní cheadaítear an post a chur in eagar.'; + + @override + String get couldnt_save_post => 'Níorbh fhéidir an post a shábháil.'; + + @override + String get site_already_exists => 'Suíomh ann cheana.'; + + @override + String get couldnt_update_site => 'Níorbh fhéidir an suíomh a nuashonrú.'; + + @override + String get invalid_community_name => 'Ainm neamhbhailí.'; + + @override + String get community_already_exists => 'Pobal ann cheana féin.'; + + @override + String get community_moderator_already_exists => + 'Tá modhnóir pobail ann cheana féin.'; + + @override + String get community_follower_already_exists => + 'Tá leantóir pobail ann cheana féin.'; + + @override + String get not_a_moderator => 'Ní modhnóir.'; + + @override + String get couldnt_update_community => 'Níorbh fhéidir an Pobal a nuashonrú.'; + + @override + String get no_community_edit_allowed => + 'Ní cheadaítear an pobal a chur in eagar.'; + + @override + String get system_err_login => + 'Earráid chórais. Bain triail as logáil amach agus ar ais isteach.'; + + @override + String get community_user_already_banned => + 'Toirmisctear úsáideoir pobail cheana féin.'; + + @override + String get couldnt_find_that_username_or_email => + 'Níorbh fhéidir an t-ainm úsáideora nó an ríomhphost sin a fháil.'; + + @override + String get password_incorrect => 'Pasfhocal mícheart.'; + + @override + String get registration_closed => 'Clárú dúnta'; + + @override + String get invalid_password => + 'Pasfhocal neamhbhailí. Caithfidh <= 60 carachtar a bheith sa phasfhocal.'; + + @override + String get passwords_dont_match => 'Ní hionann pasfhocail.'; + + @override + String get captcha_incorrect => 'Ta Captcha mícheart.'; + + @override + String get invalid_username => 'Ainm Úsáideora neamhbhailí.'; + + @override + String get bio_length_overflow => + 'Ní féidir le bith-úsáideoir níos mó ná 300 carachtar.'; + + @override + String get couldnt_update_user => + 'Níorbh fhéidir an t-úsáideoir a nuashonrú.'; + + @override + String get couldnt_update_private_message => + 'Níorbh fhéidir teachtaireacht phríobháideach a nuashonrú.'; + + @override + String get couldnt_update_post => 'Níorbh fhéidir an post a nuashonrú'; + + @override + String get couldnt_create_private_message => + 'Níorbh fhéidir teachtaireacht phríobháideach a chruthú.'; + + @override + String get no_private_message_edit_allowed => + 'Ní cheadaítear teachtaireacht phríobháideach a chur in eagar.'; + + @override + String get post_title_too_long => 'Tá teideal an postáil ró-fhada.'; + + @override + String get email_already_exists => 'Tá ríomhphost ann cheana féin.'; + + @override + String get user_already_exists => 'Úsáideoir ann cheana.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'Díliostáil'; + + @override + String get subscribe => 'Liostáil'; + + @override + String get messages => 'Teachtaireachtaí'; + + @override + String get banned_users => 'Úsáideoirí Coisceadh'; + + @override + String get delete_account_confirm => + 'Rabhadh: scriosfaidh sé seo do chuid sonraí go buan. Iontráil do phasfhocal le deimhniú.'; + + @override + String get new_password => 'Focal Faire Nua'; + + @override + String get verify_password => 'Deimhnigh Pasfhocal'; + + @override + String get old_password => 'Sean Pasfhocal'; + + @override + String get show_avatars => 'Taispeáin Abhatáranna'; + + @override + String get search => 'Cuardaigh'; + + @override + String get send_message => 'Seol Teachtaireacht'; + + @override + String get top_day => 'Lá Barr'; + + @override + String get top_week => 'Seachtain Barr'; + + @override + String get top_month => 'Barr Mí'; + + @override + String get top_year => 'Bar Bliain'; + + @override + String get top_all => 'Barr an Ama Uile'; + + @override + String get most_comments => 'Tuairimí an chuid is mó'; + + @override + String get new_comments => 'Tráchtaireachtaí Nua'; + + @override + String get active => 'Gnóthach'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_gl.dart b/lib/l10n/gen/l10n_gl.dart new file mode 100644 index 0000000..c411744 --- /dev/null +++ b/lib/l10n/gen/l10n_gl.dart @@ -0,0 +1,464 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Galician (`gl`). +class L10nGl extends L10n { + L10nGl([String locale = 'gl']) : super(locale); + + @override + String get settings => 'Axustes'; + + @override + String get password => 'Contrasinal'; + + @override + String get email_or_username => 'Email ou Nome de usuaria'; + + @override + String get posts => 'Publicacións'; + + @override + String get comments => 'Comentarios'; + + @override + String get modlog => 'Rexistro da moderación'; + + @override + String get community => 'Comunidade'; + + @override + String get url => 'URL'; + + @override + String get title => 'Título'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'publicar'; + + @override + String get save => 'gardar'; + + @override + String get subscribed => 'Subscrita'; + + @override + String get local => 'Local'; + + @override + String get all => 'Todo'; + + @override + String get replies => 'Respostas'; + + @override + String get mentions => 'Mencións'; + + @override + String get from => 'desde'; + + @override + String get to => 'a'; + + @override + String get deleted_by_creator => 'eliminado pola creadora'; + + @override + String get more => 'máis'; + + @override + String get mark_as_read => 'marcar como lido'; + + @override + String get mark_as_unread => 'marcar como non lido'; + + @override + String get reply => 'reponder'; + + @override + String get edit => 'editar'; + + @override + String get delete => 'eliminar'; + + @override + String get restore => 'restablecer'; + + @override + String get yes => 'si'; + + @override + String get no => 'non'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Cabeceira'; + + @override + String get display_name => 'Nome público'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Usuaria Matrix'; + + @override + String get sort_type => 'Tipo de orde'; + + @override + String get type => 'Tipo'; + + @override + String get show_nsfw => 'Mostrar contido NSFW'; + + @override + String get send_notifications_to_email => 'Enviar notificacións ao email'; + + @override + String get delete_account => 'Eliminar Conta'; + + @override + String get saved => 'Gardado'; + + @override + String get communities => 'Comunidades'; + + @override + String get users => 'Usuarias'; + + @override + String get theme => 'Decorado'; + + @override + String get language => 'Idioma'; + + @override + String get hot => 'En voga'; + + @override + String get new_ => 'Novo'; + + @override + String get old => 'Antigo'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'por'; + + @override + String get not_a_mod_or_admin => 'Non é moderadora ou admin.'; + + @override + String get not_an_admin => 'Non é admin.'; + + @override + String get couldnt_find_post => 'Non se atopou a publicación.'; + + @override + String get not_logged_in => 'Non conectada.'; + + @override + String get site_ban => 'Retirouseche o veto nesta comunidade'; + + @override + String get community_ban => 'Foches vetada nesta comunidade.'; + + @override + String get downvotes_disabled => 'Votos negativos desactivados'; + + @override + String get invalid_url => 'URL non válido.'; + + @override + String get locked => 'bloqueado'; + + @override + String get couldnt_create_comment => 'Non se creou o comentario.'; + + @override + String get couldnt_like_comment => 'Non se puido gustar o comentario.'; + + @override + String get couldnt_update_comment => 'Non se actualizou o comentario.'; + + @override + String get no_comment_edit_allowed => + 'Non está permitido editar o comentario.'; + + @override + String get couldnt_save_comment => 'Non se gardou o comentario.'; + + @override + String get couldnt_get_comments => 'Non se obtiveron comentarios.'; + + @override + String get report_reason_required => 'Requírese unha razón para a denuncia.'; + + @override + String get report_too_long => 'Denuncia demasiado longa.'; + + @override + String get couldnt_create_report => 'Non se puido crear a denuncia.'; + + @override + String get couldnt_resolve_report => 'Non se puido resolver a denuncia.'; + + @override + String get invalid_post_title => 'Título da publicación non válido'; + + @override + String get couldnt_create_post => 'Non se puido crear a publicación.'; + + @override + String get couldnt_like_post => 'Non se puido gustar da publicación.'; + + @override + String get couldnt_find_community => 'Non se atopou a comunidade.'; + + @override + String get couldnt_get_posts => 'Non se obtiveron publicacións'; + + @override + String get no_post_edit_allowed => 'Non está permitido editar a publicación.'; + + @override + String get couldnt_save_post => 'Non se gardou a publicación.'; + + @override + String get site_already_exists => 'Xa existe o sitio.'; + + @override + String get couldnt_update_site => 'Non se actualizou o sitio.'; + + @override + String get invalid_community_name => 'Nome non válido.'; + + @override + String get community_already_exists => 'A comunidade xa existe.'; + + @override + String get community_moderator_already_exists => + 'Xa hai moderadora para a Comunidade.'; + + @override + String get community_follower_already_exists => + 'Xa existe a seguidora da comunidade.'; + + @override + String get not_a_moderator => 'Non é moderadora.'; + + @override + String get couldnt_update_community => 'Non se actualizou a Comunidade.'; + + @override + String get no_community_edit_allowed => + 'Non está permitido editar a comunidade.'; + + @override + String get system_err_login => + 'Erro no sistema. Intenta desconectar e conectar de volta.'; + + @override + String get community_user_already_banned => + 'A usuaria da comunidade xa foi vetada.'; + + @override + String get couldnt_find_that_username_or_email => + 'Non se atopa ese nome de usuaria ou email.'; + + @override + String get password_incorrect => 'Contrasinal incorrecto.'; + + @override + String get registration_closed => 'Rexistro pechado'; + + @override + String get invalid_password => + 'Contrasinal non válido. O contrasinal ten que ser inferior a 60 caracteres.'; + + @override + String get passwords_dont_match => 'Os contrasinais non coinciden.'; + + @override + String get captcha_incorrect => 'Captcha incorrecto.'; + + @override + String get invalid_username => 'Nome de usuaria non válido.'; + + @override + String get bio_length_overflow => + 'A bio da usuaria non pode superar os 300 caracteres.'; + + @override + String get couldnt_update_user => 'Non se actualizou a usuaria.'; + + @override + String get couldnt_update_private_message => + 'Non se actualizou a mensaxe privada.'; + + @override + String get couldnt_update_post => 'Non se actualizou a publicación'; + + @override + String get couldnt_create_private_message => + 'Non se creou a mensaxe privada.'; + + @override + String get no_private_message_edit_allowed => + 'Non está permitido editar a mensaxe privada.'; + + @override + String get post_title_too_long => 'O título é demasiado longo.'; + + @override + String get email_already_exists => 'Xa existe o email.'; + + @override + String get user_already_exists => 'Xa existe a usuaria.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuaria conectada', + other: '$count usuarias conectadas', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Comentario', + other: '$countString Comentarios', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Publicación', + other: '$countString Publicacións', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscritora', + other: '$count subscritoras', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuaria', + other: '$count usuarias', + ); + } + + @override + String get unsubscribe => 'Dar de baixa'; + + @override + String get subscribe => 'Subscribir'; + + @override + String get messages => 'Mensaxes'; + + @override + String get banned_users => 'Usuarias vetadas'; + + @override + String get delete_account_confirm => + 'Aviso: isto eliminará permanentemente tódolos teus datos. Escribe o contrasinal para confirmar.'; + + @override + String get new_password => 'Novo contrasinal'; + + @override + String get verify_password => 'Verifica o contrasinal'; + + @override + String get old_password => 'Contrasinal anterior'; + + @override + String get show_avatars => 'Mostrar avatares'; + + @override + String get search => 'Buscar'; + + @override + String get send_message => 'Enviar mensaxe'; + + @override + String get top_day => 'Top hoxe'; + + @override + String get top_week => 'Top semanal'; + + @override + String get top_month => 'Top mensual'; + + @override + String get top_year => 'Top anual'; + + @override + String get top_all => 'Top de sempre'; + + @override + String get most_comments => 'Máis comentado'; + + @override + String get new_comments => 'Novos comentarios'; + + @override + String get active => 'Activo'; + + @override + String get bot_account => 'Conta Bot'; + + @override + String get show_bot_accounts => 'Mostrar contas tipo bot'; + + @override + String get show_read_posts => 'Mostrar publicacións lidas'; +} diff --git a/lib/l10n/gen/l10n_hi.dart b/lib/l10n/gen/l10n_hi.dart new file mode 100644 index 0000000..67bfff9 --- /dev/null +++ b/lib/l10n/gen/l10n_hi.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Hindi (`hi`). +class L10nHi extends L10n { + L10nHi([String locale = 'hi']) : super(locale); + + @override + String get settings => 'समायोजन (सेटिंग्स)'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'पोस्ट'; + + @override + String get comments => 'टिप्पणी (कमेंट )'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'समुदाय'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'पोस्ट'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'और भी'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'जवाब दें'; + + @override + String get edit => 'संपादित करें ( एडिट करें )'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'अवतार'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'सामुदायिक'; + + @override + String get users => 'उपयोगकर्ता'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'प्रशासक'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'पोस्ट नहीं ढूंढ़ पाएं |'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'बंद'; + + @override + String get couldnt_create_comment => 'टिप्पणी (कमेंट) नहीं बना पाईं |'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'समुदायों नहीं ढूंढ़ पाएं |'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'यह समुदाय पहले स मौजूद है |'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '{{ count ', + other: '{{ count ', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString पोस्ट', + other: '$countString पोस्ट्स', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'अवतार दिखाएँ'; + + @override + String get search => 'search'; + + @override + String get send_message => 'संदेश भेजें'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_hr.dart b/lib/l10n/gen/l10n_hr.dart new file mode 100644 index 0000000..ecfed19 --- /dev/null +++ b/lib/l10n/gen/l10n_hr.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Croatian (`hr`). +class L10nHr extends L10n { + L10nHr([String locale = 'hr']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_hu.dart b/lib/l10n/gen/l10n_hu.dart new file mode 100644 index 0000000..3152514 --- /dev/null +++ b/lib/l10n/gen/l10n_hu.dart @@ -0,0 +1,468 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Hungarian (`hu`). +class L10nHu extends L10n { + L10nHu([String locale = 'hu']) : super(locale); + + @override + String get settings => 'Beállítások'; + + @override + String get password => 'Jelszó'; + + @override + String get email_or_username => 'Email vagy felhasználónév'; + + @override + String get posts => 'Bejegyzések'; + + @override + String get comments => 'Hozzászólások'; + + @override + String get modlog => 'Moderációs napló'; + + @override + String get community => 'Közösség'; + + @override + String get url => 'URL'; + + @override + String get title => 'Cím'; + + @override + String get body => 'Törzs'; + + @override + String get nsfw => 'Korhatáros tartalom'; + + @override + String get post => 'Elküld'; + + @override + String get save => 'mentés'; + + @override + String get subscribed => 'Feliratkozva'; + + @override + String get local => 'Local'; + + @override + String get all => 'Mind'; + + @override + String get replies => 'Válaszok'; + + @override + String get mentions => 'Említések'; + + @override + String get from => 'küldő'; + + @override + String get to => 'címzett'; + + @override + String get deleted_by_creator => 'eltávolítva a szerző által'; + + @override + String get more => 'több'; + + @override + String get mark_as_read => 'megjelölés olvasottnak'; + + @override + String get mark_as_unread => 'megjelölés olvasatlannak'; + + @override + String get reply => 'válasz'; + + @override + String get edit => 'szerkesztés'; + + @override + String get delete => 'törlés'; + + @override + String get restore => 'visszaállítás'; + + @override + String get yes => 'igen'; + + @override + String get no => 'nem'; + + @override + String get avatar => 'Avatár'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix felhasználó'; + + @override + String get sort_type => 'Rendezési mód'; + + @override + String get type => 'Típus'; + + @override + String get show_nsfw => 'Korhatáros tartalom megjelenítése'; + + @override + String get send_notifications_to_email => + 'Értesítések küldése emailen keresztül'; + + @override + String get delete_account => 'FIók törlése'; + + @override + String get saved => 'Mentve'; + + @override + String get communities => 'Közösségek'; + + @override + String get users => 'Felhasználók'; + + @override + String get theme => 'Téma'; + + @override + String get language => 'Nyelv'; + + @override + String get hot => 'Népszerű'; + + @override + String get new_ => 'Új'; + + @override + String get old => 'Régi'; + + @override + String get top => 'Legjobb'; + + @override + String get chat => 'Csevegés'; + + @override + String get admin => 'admin'; + + @override + String get by => 'szerző'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Nem egy admin.'; + + @override + String get couldnt_find_post => 'A bejegyzés nem található.'; + + @override + String get not_logged_in => 'Nem vagy bejelentkezve.'; + + @override + String get site_ban => 'Ki lettél tiltva az oldalról'; + + @override + String get community_ban => 'Ki lettél tiltva ebből a közösségből.'; + + @override + String get downvotes_disabled => 'Negatív szavazatok letiltva'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'zárolva'; + + @override + String get couldnt_create_comment => + 'Nem lehetett létrehozni a hozzászólást.'; + + @override + String get couldnt_like_comment => 'Nem lehetett kedvelni a hozzászólást.'; + + @override + String get couldnt_update_comment => + 'Nem lehetett frissíteni a hozzászólást.'; + + @override + String get no_comment_edit_allowed => + 'A hozzászólás szerkesztése nem engedélyezett.'; + + @override + String get couldnt_save_comment => 'Nem lehetett menteni a hozzászólást.'; + + @override + String get couldnt_get_comments => 'Nem lehetett lekérdezni a hozzászólást.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Nem lehetett létrehozni a bejegyzést.'; + + @override + String get couldnt_like_post => 'Nem lehetett kedvelni a bejegyzést.'; + + @override + String get couldnt_find_community => 'A közösség nem található.'; + + @override + String get couldnt_get_posts => 'Nem lehetett lekérdezni a bejegyzéseket'; + + @override + String get no_post_edit_allowed => + 'A bejegyzés szerkesztése nem engedélyezett.'; + + @override + String get couldnt_save_post => 'Nem lehetett menteni a bejegyzést.'; + + @override + String get site_already_exists => 'Az oldal már létezik.'; + + @override + String get couldnt_update_site => 'Nem lehetett frissíteni az oldalt.'; + + @override + String get invalid_community_name => 'Érvénytelen név.'; + + @override + String get community_already_exists => 'A közösség már létezik.'; + + @override + String get community_moderator_already_exists => + 'Már létezik a közösségi moderátor.'; + + @override + String get community_follower_already_exists => + 'Már létezik a közösségi követő.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => + 'Nem lehetett frissíteni a közösséget.'; + + @override + String get no_community_edit_allowed => + 'A közösség szerkesztése nem engedélyezett.'; + + @override + String get system_err_login => + 'Rendszerhiba. Próbálj meg ki- és bejelentkezni!'; + + @override + String get community_user_already_banned => + 'A közösségi felhasználó már ki lett tiltva.'; + + @override + String get couldnt_find_that_username_or_email => + 'Az a felhasználónév vagy email nem található.'; + + @override + String get password_incorrect => 'Rossz jelszó.'; + + @override + String get registration_closed => 'Regisztráció lezárva'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'A jelszavak nem egyeznek.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Érvénytelen felhasználónév.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Nem lehetett frissíteni a felhasználót.'; + + @override + String get couldnt_update_private_message => + 'Nem lehetett frissíteni a privát üzenetet.'; + + @override + String get couldnt_update_post => 'Nem lehetett frissíteni a bejegyzést'; + + @override + String get couldnt_create_private_message => + 'Nem lehetett létrehozni a privát üzenetet.'; + + @override + String get no_private_message_edit_allowed => + 'A privát üzenet szerkesztése nem engedélyezett.'; + + @override + String get post_title_too_long => 'A bejegyzés címe túl hosszú.'; + + @override + String get email_already_exists => 'Az email már létezik.'; + + @override + String get user_already_exists => 'A felhasználó már létezik.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count online felhasználó', + other: '$count online felhasználó', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString hozzászólás', + other: '$countString hozzászólás', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString bejegyzés', + other: '$countString bejegyzés', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count feliratkozó', + other: '$count feliratkozó', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count felhasználó', + other: '$count felhasználó', + ); + } + + @override + String get unsubscribe => 'Leiratkozás'; + + @override + String get subscribe => 'Feliratkozás'; + + @override + String get messages => 'Üzenetek'; + + @override + String get banned_users => 'Kitiltott felhasználók'; + + @override + String get delete_account_confirm => + 'Figyelmeztetés: ez véglegesen törölni fogja az összes adatodat. A megerősítéshez írd be a jelszavad!'; + + @override + String get new_password => 'Új jelszó'; + + @override + String get verify_password => 'Jelszó megerősítése'; + + @override + String get old_password => 'Régi jelszó'; + + @override + String get show_avatars => 'Avatárok mutatása'; + + @override + String get search => 'Keresés'; + + @override + String get send_message => 'Üzenet küldése'; + + @override + String get top_day => 'A nap bejegyzése'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_it.dart b/lib/l10n/gen/l10n_it.dart new file mode 100644 index 0000000..a7fe7cd --- /dev/null +++ b/lib/l10n/gen/l10n_it.dart @@ -0,0 +1,466 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Italian (`it`). +class L10nIt extends L10n { + L10nIt([String locale = 'it']) : super(locale); + + @override + String get settings => 'Impostazioni'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email o Nome Utente'; + + @override + String get posts => 'Pubblicazioni'; + + @override + String get comments => 'Commenti'; + + @override + String get modlog => 'Registro di moderazione'; + + @override + String get community => 'Comunità'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titolo'; + + @override + String get body => 'Contenuto'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'pubblica'; + + @override + String get save => 'salva'; + + @override + String get subscribed => 'Iscritto'; + + @override + String get local => 'Locale'; + + @override + String get all => 'Tutti'; + + @override + String get replies => 'Risposte'; + + @override + String get mentions => 'Menzioni'; + + @override + String get from => 'da'; + + @override + String get to => 'su'; + + @override + String get deleted_by_creator => 'eliminato dal creatore'; + + @override + String get more => 'altro'; + + @override + String get mark_as_read => 'segna come letto'; + + @override + String get mark_as_unread => 'segna come non letto'; + + @override + String get reply => 'rispondi'; + + @override + String get edit => 'modifica'; + + @override + String get delete => 'cancella'; + + @override + String get restore => 'ripristina'; + + @override + String get yes => 'sì'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Nome visualizzato'; + + @override + String get bio => 'Descrizione'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Utente Matrix'; + + @override + String get sort_type => 'Ordina per'; + + @override + String get type => 'Tipo'; + + @override + String get show_nsfw => 'Mostra contenuto NSFW'; + + @override + String get send_notifications_to_email => 'Invia notifiche via email'; + + @override + String get delete_account => 'Cancella Account'; + + @override + String get saved => 'Salvati'; + + @override + String get communities => 'Comunità'; + + @override + String get users => 'Utenti'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Lingua'; + + @override + String get hot => 'Popolari'; + + @override + String get new_ => 'Nuovi'; + + @override + String get old => 'Vecchi'; + + @override + String get top => 'Migliori'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'amministratore'; + + @override + String get by => 'di'; + + @override + String get not_a_mod_or_admin => 'Non moderatore o amministratore.'; + + @override + String get not_an_admin => 'Non un amministratore.'; + + @override + String get couldnt_find_post => 'Impossibile trovare la pubblicazione.'; + + @override + String get not_logged_in => 'Non hai effettuato l\'accesso.'; + + @override + String get site_ban => 'Sei stato escluso dal sito'; + + @override + String get community_ban => 'Sei stato escluso da questa comunità.'; + + @override + String get downvotes_disabled => 'Voti negativi disabilitati'; + + @override + String get invalid_url => 'URL non valido.'; + + @override + String get locked => 'bloccato'; + + @override + String get couldnt_create_comment => 'Impossibile creare il commento.'; + + @override + String get couldnt_like_comment => 'Impossibile apprezzare il commento.'; + + @override + String get couldnt_update_comment => 'Impossibile aggiornare il commento.'; + + @override + String get no_comment_edit_allowed => + 'Non sei autorizzato a modificare il commento.'; + + @override + String get couldnt_save_comment => 'Impossibile salvare il commento.'; + + @override + String get couldnt_get_comments => 'Impossibile ottenere i commenti.'; + + @override + String get report_reason_required => + 'Motivazione della segnalazione obbligatoria.'; + + @override + String get report_too_long => 'Segnalazione troppo lunga.'; + + @override + String get couldnt_create_report => 'Impossibile creare segnalazione.'; + + @override + String get couldnt_resolve_report => 'Impossibile risolvere segnalazione.'; + + @override + String get invalid_post_title => 'Titolo della pubblicazione non valido'; + + @override + String get couldnt_create_post => 'Impossibile creare la pubblicazione.'; + + @override + String get couldnt_like_post => 'Impossibile apprezzare la pubblicazione.'; + + @override + String get couldnt_find_community => 'Impossibile trovare la comunità.'; + + @override + String get couldnt_get_posts => 'Impossibile recuperare le pubblicazioni'; + + @override + String get no_post_edit_allowed => + 'Non sei autorizzato a modificare la pubblicazione.'; + + @override + String get couldnt_save_post => 'Impossibile salvare la pubblicazione.'; + + @override + String get site_already_exists => 'Il sito esiste già.'; + + @override + String get couldnt_update_site => 'Impossibile aggiornare il sito.'; + + @override + String get invalid_community_name => 'Nome non valido.'; + + @override + String get community_already_exists => 'La comunità esiste già.'; + + @override + String get community_moderator_already_exists => + 'Questo utente è già moderatore della comunità.'; + + @override + String get community_follower_already_exists => + 'Utente già membro della comunità.'; + + @override + String get not_a_moderator => 'Non moderatore.'; + + @override + String get couldnt_update_community => 'Impossibile aggiornare la comunità.'; + + @override + String get no_community_edit_allowed => + 'Non sei autorizzato a modificare la comunità.'; + + @override + String get system_err_login => + 'Si è verificato un errore. Prova ad effettuare nuovamente l\'accesso.'; + + @override + String get community_user_already_banned => + 'L\'utente della comunità è già stato espulso.'; + + @override + String get couldnt_find_that_username_or_email => + 'Il nome utente o l\'email non sono stati trovati.'; + + @override + String get password_incorrect => 'Password non corretta.'; + + @override + String get registration_closed => 'Registrazione Chiusa'; + + @override + String get invalid_password => + 'Password non valida. La password deve contenere <= 60 caratteri.'; + + @override + String get passwords_dont_match => 'Le password non corrispondono.'; + + @override + String get captcha_incorrect => 'Captcha errato.'; + + @override + String get invalid_username => 'Nome utente non valido.'; + + @override + String get bio_length_overflow => + 'La descrizione non può superare i 300 caratteri.'; + + @override + String get couldnt_update_user => 'Impossibile aggiornare l\'utente.'; + + @override + String get couldnt_update_private_message => + 'Impossibile aggiornare un messaggio privato.'; + + @override + String get couldnt_update_post => 'Impossibile aggiornare la pubblicazione'; + + @override + String get couldnt_create_private_message => + 'Impossibile creare un messaggio privato.'; + + @override + String get no_private_message_edit_allowed => + 'Non hai i permessi per modificare un messaggio privato.'; + + @override + String get post_title_too_long => 'Titolo della pubblicazione troppo lungo.'; + + @override + String get email_already_exists => 'Indirizzo email già presente.'; + + @override + String get user_already_exists => 'L\'utente esiste già.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count utente connesso', + other: '$count utenti connessi', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Commento', + other: '$countString Commenti', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Pubblicazione', + other: '$countString Pubblicazioni', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count iscritto', + other: '$count iscritti', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count utente', + other: '$count utenti', + ); + } + + @override + String get unsubscribe => 'Disiscriviti'; + + @override + String get subscribe => 'Iscriviti'; + + @override + String get messages => 'Messaggi'; + + @override + String get banned_users => 'Utenti Espulsi'; + + @override + String get delete_account_confirm => + 'Attenzione: stai per cancellare permanentemente tutti i tuoi dati. Inserisci la tua password per confermare questa azione.'; + + @override + String get new_password => 'Nuova Password'; + + @override + String get verify_password => 'Verifica Password'; + + @override + String get old_password => 'Vecchia Password'; + + @override + String get show_avatars => 'Mostra Avatar'; + + @override + String get search => 'Cerca'; + + @override + String get send_message => 'Invia Messaggio'; + + @override + String get top_day => 'Migliori della giornata'; + + @override + String get top_week => 'Migliori della settimana'; + + @override + String get top_month => 'Migliori del mese'; + + @override + String get top_year => 'Migliori dell\'anno'; + + @override + String get top_all => 'Migliori di sempre'; + + @override + String get most_comments => 'Più commenti'; + + @override + String get new_comments => 'Nuovi Commenti'; + + @override + String get active => 'Attivi'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_ja.dart b/lib/l10n/gen/l10n_ja.dart new file mode 100644 index 0000000..da56878 --- /dev/null +++ b/lib/l10n/gen/l10n_ja.dart @@ -0,0 +1,448 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Japanese (`ja`). +class L10nJa extends L10n { + L10nJa([String locale = 'ja']) : super(locale); + + @override + String get settings => '設定'; + + @override + String get password => 'パスワード'; + + @override + String get email_or_username => 'メールアドレスまたはユーザー名'; + + @override + String get posts => '投稿'; + + @override + String get comments => 'コメント'; + + @override + String get modlog => 'モデレーションログ'; + + @override + String get community => 'コミュニティ'; + + @override + String get url => 'URL'; + + @override + String get title => 'タイトル'; + + @override + String get body => '本文'; + + @override + String get nsfw => '閲覧注意'; + + @override + String get post => '投稿'; + + @override + String get save => '保存'; + + @override + String get subscribed => '登録済み'; + + @override + String get local => 'Local'; + + @override + String get all => '全て'; + + @override + String get replies => '返信'; + + @override + String get mentions => '言及'; + + @override + String get from => 'から'; + + @override + String get to => '宛先'; + + @override + String get deleted_by_creator => '削除済み'; + + @override + String get more => 'さらに表示'; + + @override + String get mark_as_read => '既読にする'; + + @override + String get mark_as_unread => '未読にする'; + + @override + String get reply => '返信'; + + @override + String get edit => '編集'; + + @override + String get delete => '削除'; + + @override + String get restore => '復元'; + + @override + String get yes => 'はい'; + + @override + String get no => 'いいえ'; + + @override + String get avatar => 'アバター'; + + @override + String get banner => 'バナー'; + + @override + String get display_name => '表示名'; + + @override + String get bio => '自己紹介'; + + @override + String get email => 'メールアドレス'; + + @override + String get matrix_user => 'Matrix のユーザーアカウント'; + + @override + String get sort_type => '並び順の種類'; + + @override + String get type => '種類'; + + @override + String get show_nsfw => '閲覧注意のコンテンツを表示'; + + @override + String get send_notifications_to_email => '通知をメール送信'; + + @override + String get delete_account => 'アカウントを削除'; + + @override + String get saved => '保存済み'; + + @override + String get communities => 'コミュニティ'; + + @override + String get users => 'ユーザー'; + + @override + String get theme => 'テーマ'; + + @override + String get language => '言語'; + + @override + String get hot => '人気'; + + @override + String get new_ => '新しい順'; + + @override + String get old => '古い順'; + + @override + String get top => 'トップ'; + + @override + String get chat => '会話'; + + @override + String get admin => '管理者'; + + @override + String get by => '投稿者'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => '管理者ではありません。'; + + @override + String get couldnt_find_post => '投稿が見付かりません。'; + + @override + String get not_logged_in => 'ログインしていません。'; + + @override + String get site_ban => 'サイトへのアクセスを禁止されています'; + + @override + String get community_ban => 'このコミュニティへのアクセスを禁止されています。'; + + @override + String get downvotes_disabled => '反対票を無効化'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => '凍結中'; + + @override + String get couldnt_create_comment => '投稿を作成できませんでした。'; + + @override + String get couldnt_like_comment => 'コメントが「いいね」できない。'; + + @override + String get couldnt_update_comment => 'コメントが更新されない。'; + + @override + String get no_comment_edit_allowed => 'コメントの編集権限がありません。'; + + @override + String get couldnt_save_comment => 'コメントが保存されない。'; + + @override + String get couldnt_get_comments => 'コメントが取得されない。'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => '投稿ができない。'; + + @override + String get couldnt_like_post => '投稿が「いいね」できない。'; + + @override + String get couldnt_find_community => 'コミュニティが見付かりません。'; + + @override + String get couldnt_get_posts => '投稿が取得できない'; + + @override + String get no_post_edit_allowed => '投稿の編集権限がありません。'; + + @override + String get couldnt_save_post => '投稿が保存されない。'; + + @override + String get site_already_exists => 'サイトは既に存在します。'; + + @override + String get couldnt_update_site => 'サイトが更新されない。'; + + @override + String get invalid_community_name => '無効な名前です。'; + + @override + String get community_already_exists => 'コミュニティは既に存在します。'; + + @override + String get community_moderator_already_exists => 'コミュニティ管理人は既に存在します。'; + + @override + String get community_follower_already_exists => 'コミュニティフォロワーは既に存在します。'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'コミュニティが更新されない。'; + + @override + String get no_community_edit_allowed => 'コミュニティの編集許可がありません。'; + + @override + String get system_err_login => 'システムエラーが発生しました。一度ログアウトして、再度ログインをお試しください。'; + + @override + String get community_user_already_banned => 'コミュニティユーザーは既に禁止されています。'; + + @override + String get couldnt_find_that_username_or_email => 'ユーザー名またはメールアドレスが見付かりません。'; + + @override + String get password_incorrect => 'パスワードが不正です。'; + + @override + String get registration_closed => '登録は受け付けていません'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'パスワードが一致しません。'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => '自己紹介は 300 文字までです。'; + + @override + String get couldnt_update_user => 'ユーザーが更新されない。'; + + @override + String get couldnt_update_private_message => 'プライベートメッセージが更新されない。'; + + @override + String get couldnt_update_post => '投稿が更新されない'; + + @override + String get couldnt_create_private_message => 'プライベートメッセージが作成されない。'; + + @override + String get no_private_message_edit_allowed => 'プライベートメッセージの編集許可がありません。'; + + @override + String get post_title_too_long => '投稿のタイトルが長すぎます。'; + + @override + String get email_already_exists => 'メールアドレスが既に使用されています。'; + + @override + String get user_already_exists => 'ユーザーは既に存在します。'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count 名のユーザーがオンライン', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString 件のコメント', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString 件の投稿', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count 名の登録者', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$count 名のユーザー', + ); + } + + @override + String get unsubscribe => '登録解除'; + + @override + String get subscribe => '登録'; + + @override + String get messages => 'メッセージ'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + '警告: あなたのデータを全て恒久的に削除します。確認のためパスワードを入力してください。'; + + @override + String get new_password => '新しいパスワード'; + + @override + String get verify_password => 'パスワードの確認'; + + @override + String get old_password => '現在のパスワード'; + + @override + String get show_avatars => 'アバターを表示'; + + @override + String get search => '検索'; + + @override + String get send_message => 'メッセージを送信'; + + @override + String get top_day => '日間トップ'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => '活発さ'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_ka.dart b/lib/l10n/gen/l10n_ka.dart new file mode 100644 index 0000000..f4e9772 --- /dev/null +++ b/lib/l10n/gen/l10n_ka.dart @@ -0,0 +1,460 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Georgian (`ka`). +class L10nKa extends L10n { + L10nKa([String locale = 'ka']) : super(locale); + + @override + String get settings => 'პარამეტრები'; + + @override + String get password => 'პაროლი'; + + @override + String get email_or_username => 'ელ-პოსტა ან მომხმარებლის სახელი'; + + @override + String get posts => 'პოსტები'; + + @override + String get comments => 'კომენტარები'; + + @override + String get modlog => 'მოდ-ლოგი'; + + @override + String get community => 'თემა'; + + @override + String get url => 'მისამართი'; + + @override + String get title => 'სათაური'; + + @override + String get body => 'ტექსტი'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'პოსტი'; + + @override + String get save => 'დამახსოვრება'; + + @override + String get subscribed => 'გამოწერილია'; + + @override + String get local => 'Local'; + + @override + String get all => 'ყველა'; + + @override + String get replies => 'პასუხები'; + + @override + String get mentions => 'ხსენებები'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'წაშლილია'; + + @override + String get more => 'მეტი'; + + @override + String get mark_as_read => 'მონიშნე როგორც წაკითხული'; + + @override + String get mark_as_unread => 'მონიშნე როგორც წაუკითხავი'; + + @override + String get reply => 'პასუხის გაცემა'; + + @override + String get edit => 'რადექტირება'; + + @override + String get delete => 'წაშლა'; + + @override + String get restore => 'რასტორაცია'; + + @override + String get yes => 'კი'; + + @override + String get no => 'არა'; + + @override + String get avatar => 'ავატარი'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'ელ-პოსტა'; + + @override + String get matrix_user => 'მატრიცული მომხმარებელი'; + + @override + String get sort_type => 'სორტირების ტიპი'; + + @override + String get type => 'ტიპი'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'შეტყობინების გაგზავნა ელ-პოსტაზე'; + + @override + String get delete_account => 'ჩემი ანგარიშის წაშლა'; + + @override + String get saved => 'შანახული'; + + @override + String get communities => 'თემები'; + + @override + String get users => 'მომხმარებელი'; + + @override + String get theme => 'საიტის თემა'; + + @override + String get language => 'ენა'; + + @override + String get hot => 'ცხელი'; + + @override + String get new_ => 'ახალი'; + + @override + String get old => 'ძველი'; + + @override + String get top => 'ტოპ'; + + @override + String get chat => 'ჩეტი'; + + @override + String get admin => 'ადმინი'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'ადმინი არ არის'; + + @override + String get couldnt_find_post => 'პოსტი ვერ მოიძებნა.'; + + @override + String get not_logged_in => 'შასული არ ხართ'; + + @override + String get site_ban => 'საიტიდან გაშავებული ხარ.'; + + @override + String get community_ban => 'შენ ამ თემისგან გაშავებული ხარ.'; + + @override + String get downvotes_disabled => 'არმოწონები გამორთულია'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'ჩაკეტილი'; + + @override + String get couldnt_create_comment => 'კომენტარის შექმნა ვერ მოხერხდა.'; + + @override + String get couldnt_like_comment => 'კომენტარის მოწონება ვერ მოხერხდა.'; + + @override + String get couldnt_update_comment => 'კომენტარის განახლება ვერ მოხერხდა.'; + + @override + String get no_comment_edit_allowed => 'კომენტარის რედაკტირება არ შეიძლება.'; + + @override + String get couldnt_save_comment => 'კომენტარის შენახვა ვერ მოხერხდა.'; + + @override + String get couldnt_get_comments => 'კომენტარების ნახვა ვერ მოხერხდა.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'პოსტი ვერ შეიქმნა.'; + + @override + String get couldnt_like_post => 'პოსტის მოწონება ვერ მოხერხდა.'; + + @override + String get couldnt_find_community => 'ტემა არ მოიძებნა.'; + + @override + String get couldnt_get_posts => 'პოსტები არ არის.'; + + @override + String get no_post_edit_allowed => 'პოსტის რედაკტირება არ შეიძლება.'; + + @override + String get couldnt_save_post => 'პოსტის დასეივება ვერ მოხერხდა.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'ეს თემა უკვე არსებობს.'; + + @override + String get community_moderator_already_exists => + 'ამ თემის მოდერატორი უკვე არსებობს.'; + + @override + String get community_follower_already_exists => + 'თემის ფოლოვორი უკვე არსებობს.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'თემა ვერ განახლდა.'; + + @override + String get no_community_edit_allowed => 'თემის რედაკტირება არ შეიძლება.'; + + @override + String get system_err_login => 'ერორი. თავიდან შემოსვლა ცადეთ.'; + + @override + String get community_user_already_banned => + 'თემის მომხმარებელი უკვე შავ სიაშია.'; + + @override + String get couldnt_find_that_username_or_email => + 'სახელი ან ელ-პოსტა ვერ მოიძებნა.'; + + @override + String get password_incorrect => 'პაროლი არასწორია .'; + + @override + String get registration_closed => 'რეგისტრაცია დახურულია'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'პაროლები იგივი არ არის.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'მომხმარებლის განახლება ვერ მოხერხდა.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'პოსტი ვერ განახლდა'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'პოსტის სათაური ძალიან გრძელია.'; + + @override + String get email_already_exists => 'ელ-პოსტა უკვე არსებობს.'; + + @override + String get user_already_exists => 'მომხმარებელი უკვე არსებობს.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'მომხმარებელი საიტზე', + other: 'მომხმარებელი საიტზე', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'კომენტარი', + other: 'კომანტარები', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'თარგმნა', + other: 'თარგმნა', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'გამომწერი', + other: 'გამომწერები', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: 'მომხმარებელი', + other: 'მომხმარებლები', + ); + } + + @override + String get unsubscribe => 'გამოწერის გაუქმნება'; + + @override + String get subscribe => 'გამოწერა'; + + @override + String get messages => 'მესეჯები'; + + @override + String get banned_users => 'გაშავებული მომხმარებლები'; + + @override + String get delete_account_confirm => + 'გაფთხილება: ეს შენს ყველაფერს წაშლის. პაროლი ჩაწერეთ რომ დაადასტუროთ.'; + + @override + String get new_password => 'ახალი პაროლი'; + + @override + String get verify_password => 'პაროლის დადასტურება'; + + @override + String get old_password => 'ძველი პაროლი'; + + @override + String get show_avatars => 'ავატარები გამოჩენა'; + + @override + String get search => 'ძებმა'; + + @override + String get send_message => 'მესეჯის გაგზავნა'; + + @override + String get top_day => 'ტოპ დღეს'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_km.dart b/lib/l10n/gen/l10n_km.dart new file mode 100644 index 0000000..b09043c --- /dev/null +++ b/lib/l10n/gen/l10n_km.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Khmer Central Khmer (`km`). +class L10nKm extends L10n { + L10nKm([String locale = 'km']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_ko.dart b/lib/l10n/gen/l10n_ko.dart new file mode 100644 index 0000000..9d5c48e --- /dev/null +++ b/lib/l10n/gen/l10n_ko.dart @@ -0,0 +1,448 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Korean (`ko`). +class L10nKo extends L10n { + L10nKo([String locale = 'ko']) : super(locale); + + @override + String get settings => '설정'; + + @override + String get password => '비밀번호'; + + @override + String get email_or_username => '이메일 또는 유저명'; + + @override + String get posts => '게시글'; + + @override + String get comments => '덧글'; + + @override + String get modlog => '관리기록'; + + @override + String get community => '커뮤니티'; + + @override + String get url => 'URL'; + + @override + String get title => '제목'; + + @override + String get body => '내용'; + + @override + String get nsfw => '18+ 콘텐츠'; + + @override + String get post => '등록'; + + @override + String get save => '저장'; + + @override + String get subscribed => '구독'; + + @override + String get local => 'Local'; + + @override + String get all => '모두'; + + @override + String get replies => '댓글'; + + @override + String get mentions => '언급'; + + @override + String get from => '에서'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => '글쓴이에 의해 삭제됨'; + + @override + String get more => '더 보기'; + + @override + String get mark_as_read => '읽은 상태로 표시'; + + @override + String get mark_as_unread => '읽지 않은 상태로 표시'; + + @override + String get reply => '댓글'; + + @override + String get edit => '수정'; + + @override + String get delete => '삭제'; + + @override + String get restore => '복원'; + + @override + String get yes => '예'; + + @override + String get no => '아니오'; + + @override + String get avatar => '아바타'; + + @override + String get banner => '배너'; + + @override + String get display_name => '표시 이름'; + + @override + String get bio => '자기 소개'; + + @override + String get email => '이메일'; + + @override + String get matrix_user => '메트릭스 사용자'; + + @override + String get sort_type => '정렬'; + + @override + String get type => '유형'; + + @override + String get show_nsfw => '18+ 콘텐츠 보기'; + + @override + String get send_notifications_to_email => '이메일로 알림 보내기'; + + @override + String get delete_account => '계정 삭제'; + + @override + String get saved => '저장한글'; + + @override + String get communities => '커뮤니티'; + + @override + String get users => '유저'; + + @override + String get theme => '테마'; + + @override + String get language => '언어'; + + @override + String get hot => '인기있는'; + + @override + String get new_ => '새로운'; + + @override + String get old => '오래된'; + + @override + String get top => 'Top'; + + @override + String get chat => '대화'; + + @override + String get admin => '관리자'; + + @override + String get by => '작성'; + + @override + String get not_a_mod_or_admin => '중재자 또는 관리자가 아닙니다.'; + + @override + String get not_an_admin => '관리자가 아닙니다.'; + + @override + String get couldnt_find_post => '게시물을 찾을 수 없습니다.'; + + @override + String get not_logged_in => '로그인하지 않았습니다.'; + + @override + String get site_ban => '당신은 사이트에서 추방되었습니다'; + + @override + String get community_ban => '이 커뮤니티에서 추방되었습니다.'; + + @override + String get downvotes_disabled => '내림 비활성화'; + + @override + String get invalid_url => '잘못된 URL.'; + + @override + String get locked => '잠김'; + + @override + String get couldnt_create_comment => '덧글을 작성할 수 없습니다.'; + + @override + String get couldnt_like_comment => '덧글에 좋아요 표시를 할 수 없습니다.'; + + @override + String get couldnt_update_comment => '덧글을 업데이트 할 수 없습니다.'; + + @override + String get no_comment_edit_allowed => '덧글을 수정할 수 없습니다.'; + + @override + String get couldnt_save_comment => '덧글을 저장할 수 없습니다.'; + + @override + String get couldnt_get_comments => '덧글을 가져올 수 없습니다.'; + + @override + String get report_reason_required => '사유를 제출해야합니다.'; + + @override + String get report_too_long => '보고 글이 너무 길어요.'; + + @override + String get couldnt_create_report => '보고서를 생성할 수 없습니다.'; + + @override + String get couldnt_resolve_report => '보고서를 해결할 수 없습니다.'; + + @override + String get invalid_post_title => '잘못된 게시물 제목'; + + @override + String get couldnt_create_post => '게시물을 작성할 수 없습니다.'; + + @override + String get couldnt_like_post => '이 게시물에 좋아요 표시를 할 수 없습니다.'; + + @override + String get couldnt_find_community => '커뮤니티를 찾을 수 없습니다.'; + + @override + String get couldnt_get_posts => '게시물을 가져올 수 없습니다'; + + @override + String get no_post_edit_allowed => '게시물을 수정할 수 없습니다.'; + + @override + String get couldnt_save_post => '게시물을 저장할 수 없습니다.'; + + @override + String get site_already_exists => '사이트가 이미 존재합니다.'; + + @override + String get couldnt_update_site => '사이트를 업데이트 할 수 없습니다.'; + + @override + String get invalid_community_name => '잘못된 이름.'; + + @override + String get community_already_exists => '커뮤니티가 이미 존재합니다.'; + + @override + String get community_moderator_already_exists => '커뮤니티 운영자가 이미 존재합니다.'; + + @override + String get community_follower_already_exists => '커뮤니티 팔로어가 이미 존재합니다.'; + + @override + String get not_a_moderator => '중재자가 아닙니다.'; + + @override + String get couldnt_update_community => '커뮤니티를 업데이트 할 수 없습니다.'; + + @override + String get no_community_edit_allowed => '커뮤니티를 수정할 수 없습니다.'; + + @override + String get system_err_login => '시스템 오류. 다시 로그인하십시오.'; + + @override + String get community_user_already_banned => '커뮤니티 사용자가 이미 차단되었습니다.'; + + @override + String get couldnt_find_that_username_or_email => + '해당 사용자 이름이나 이메일을 찾을 수 없습니다.'; + + @override + String get password_incorrect => '잘못된 비밀번호입니다.'; + + @override + String get registration_closed => '등록 닫기'; + + @override + String get invalid_password => '잘못된 비밀번호입니다. 비밀번호는 60글자이하로 만들어야 합니다.'; + + @override + String get passwords_dont_match => '비밀번호가 일치하지 않습니다.'; + + @override + String get captcha_incorrect => '보안문자가 일치하지 않습니다.'; + + @override + String get invalid_username => '잘못된 사용자 이름.'; + + @override + String get bio_length_overflow => '자기 소개는 300자를 초과 할 수 없습니다.'; + + @override + String get couldnt_update_user => '사용자를 업데이트 할 수 없습니다.'; + + @override + String get couldnt_update_private_message => '개인 메시지를 업데이트 할 수 없습니다.'; + + @override + String get couldnt_update_post => '게시물을 업데이트 할 수 없습니다'; + + @override + String get couldnt_create_private_message => '개인 메시지를 만들 수 없습니다.'; + + @override + String get no_private_message_edit_allowed => '개인 메시지를 편집 할 수 없습니다.'; + + @override + String get post_title_too_long => '게시물 제목이 너무 깁니다.'; + + @override + String get email_already_exists => '이메일이 이미 존재합니다.'; + + @override + String get user_already_exists => '사용자가 이미 존재합니다.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '접속자수 $count', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '덧글수 $countString', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '게시물수 $countString', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '구독자수 $count', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '가입자수 $count', + ); + } + + @override + String get unsubscribe => '구독취소'; + + @override + String get subscribe => '구독'; + + @override + String get messages => '메세지'; + + @override + String get banned_users => '금지 된 사용자'; + + @override + String get delete_account_confirm => + '경고: 모든 데이터가 영구적으로 삭제됩니다. 확인을 위해 비밀번호를 입력하십시오.'; + + @override + String get new_password => '새 비밀번호'; + + @override + String get verify_password => '비밀번호 재입력'; + + @override + String get old_password => '기존 비밀번호'; + + @override + String get show_avatars => '아바타 보기'; + + @override + String get search => '검색'; + + @override + String get send_message => '메세지 전송'; + + @override + String get top_day => '일별'; + + @override + String get top_week => '주별'; + + @override + String get top_month => '월별'; + + @override + String get top_year => '년간'; + + @override + String get top_all => '전체'; + + @override + String get most_comments => '최근 덧글'; + + @override + String get new_comments => '새 덧글'; + + @override + String get active => '활발한'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_nb.dart b/lib/l10n/gen/l10n_nb.dart new file mode 100644 index 0000000..a3316a1 --- /dev/null +++ b/lib/l10n/gen/l10n_nb.dart @@ -0,0 +1,515 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Norwegian Bokmål (`nb`). +class L10nNb extends L10n { + L10nNb([String locale = 'nb']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} + +/// The translations for Norwegian Bokmål, as used in Norway (`nb_NO`). +class L10nNbNo extends L10nNb { + L10nNbNo() : super('nb_NO'); + + @override + String get comments => 'Kommentarer'; + + @override + String get more => 'mer'; + + @override + String get reply => 'svare'; + + @override + String get edit => 'Redigere'; + + @override + String get avatar => 'Profilbilde'; + + @override + String get banner => 'Banner'; + + @override + String get communities => 'Nettsamfunn'; + + @override + String get users => 'Brukere'; + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Kommentar', + other: '$countString Kommentarer', + ); + } + + @override + String get show_avatars => 'Vis profilbilder'; + + @override + String get send_message => 'Sende melding'; + + @override + String get bot_account => 'Bot Konto'; + + @override + String get show_bot_accounts => 'Vis Bot Kontoer'; +} diff --git a/lib/l10n/gen/l10n_nl.dart b/lib/l10n/gen/l10n_nl.dart new file mode 100644 index 0000000..70ece87 --- /dev/null +++ b/lib/l10n/gen/l10n_nl.dart @@ -0,0 +1,468 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Dutch Flemish (`nl`). +class L10nNl extends L10n { + L10nNl([String locale = 'nl']) : super(locale); + + @override + String get settings => 'Instellingen'; + + @override + String get password => 'Wachtwoord'; + + @override + String get email_or_username => 'E-mailadres of gebruikersnaam'; + + @override + String get posts => 'Berichten'; + + @override + String get comments => 'Reacties'; + + @override + String get modlog => 'Moderatorlogboek'; + + @override + String get community => 'Gemeenschap'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titel'; + + @override + String get body => 'Hoofdtekst'; + + @override + String get nsfw => '18+'; + + @override + String get post => 'bericht'; + + @override + String get save => 'opslaan'; + + @override + String get subscribed => 'Geabonneerd'; + + @override + String get local => 'Lokaal'; + + @override + String get all => 'Alle'; + + @override + String get replies => 'Antwoorden'; + + @override + String get mentions => 'Vermeldingen'; + + @override + String get from => 'van'; + + @override + String get to => 'aan'; + + @override + String get deleted_by_creator => 'verwijderd door de maker'; + + @override + String get more => 'meer'; + + @override + String get mark_as_read => 'markeer als gelezen'; + + @override + String get mark_as_unread => 'markeer als ongelezen'; + + @override + String get reply => 'reageer'; + + @override + String get edit => 'bewerk'; + + @override + String get delete => 'verwijder'; + + @override + String get restore => 'herstellen'; + + @override + String get yes => 'ja'; + + @override + String get no => 'nee'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banier'; + + @override + String get display_name => 'Weergavenaam'; + + @override + String get bio => 'Biografie'; + + @override + String get email => 'E-mail'; + + @override + String get matrix_user => 'Matrix-gebruiker'; + + @override + String get sort_type => 'Sorteertype'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => '18+inhoud vertonen'; + + @override + String get send_notifications_to_email => + 'Stuur meldingen naar uw e-mailadres'; + + @override + String get delete_account => 'Account verwijderen'; + + @override + String get saved => 'Opgeslagen'; + + @override + String get communities => 'Gemeenschappen'; + + @override + String get users => 'Gebruikers'; + + @override + String get theme => 'Thema'; + + @override + String get language => 'Taal'; + + @override + String get hot => 'Populair'; + + @override + String get new_ => 'Nieuw'; + + @override + String get old => 'Oud'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Babbel'; + + @override + String get admin => 'beheerder'; + + @override + String get by => 'door'; + + @override + String get not_a_mod_or_admin => 'Niet een moderator of beheerder.'; + + @override + String get not_an_admin => 'Niet een beheerder.'; + + @override + String get couldnt_find_post => 'Het bericht kon niet gevonden worden.'; + + @override + String get not_logged_in => 'Niet aangemeld.'; + + @override + String get site_ban => 'U werd verbannen van deze site'; + + @override + String get community_ban => 'U werd verbannen uit deze gemeenschap.'; + + @override + String get downvotes_disabled => 'Neerstemmen uitgeschakeld'; + + @override + String get invalid_url => 'Ongeldige URL.'; + + @override + String get locked => 'vergrendeld'; + + @override + String get couldnt_create_comment => 'Reactie kon niet aangemaakt worden.'; + + @override + String get couldnt_like_comment => 'Reactie kon niet leuk gevonden worden.'; + + @override + String get couldnt_update_comment => 'Reactie kon niet bijgewerkt worden.'; + + @override + String get no_comment_edit_allowed => 'Reactie bewerken is niet toegestaan.'; + + @override + String get couldnt_save_comment => 'Reactie kon niet opgeslagen worden.'; + + @override + String get couldnt_get_comments => 'Reacties konden niet opgehaald worden.'; + + @override + String get report_reason_required => + 'Een rapporteringsmotivering is vereist.'; + + @override + String get report_too_long => 'Het rapport is te lang.'; + + @override + String get couldnt_create_report => 'Het rapport kon niet aangemaakt worden.'; + + @override + String get couldnt_resolve_report => 'Het rapport kon niet opgelost worden.'; + + @override + String get invalid_post_title => 'Ongeldige berichttitel'; + + @override + String get couldnt_create_post => 'Bericht kon niet aangemaakt worden.'; + + @override + String get couldnt_like_post => 'Het bericht kon niet leuk gevonden worden.'; + + @override + String get couldnt_find_community => + 'De gemeenschap kon niet teruggevonden worden.'; + + @override + String get couldnt_get_posts => 'De berichten konden niet opgehaald worden'; + + @override + String get no_post_edit_allowed => 'Bericht bewerken is niet toegestaan.'; + + @override + String get couldnt_save_post => 'De berichten konden niet opgeslagen worden.'; + + @override + String get site_already_exists => 'Site bestaat reeds.'; + + @override + String get couldnt_update_site => 'De site kon niet bijgewerkt worden.'; + + @override + String get invalid_community_name => 'Ongeldige naam.'; + + @override + String get community_already_exists => 'Deze gemeenschap bestaat reeds.'; + + @override + String get community_moderator_already_exists => + 'Deze gemeenschaps-moderator bestaat reeds.'; + + @override + String get community_follower_already_exists => + 'Deze gemeenschapsvolger bestaat reeds.'; + + @override + String get not_a_moderator => 'Niet een moderator.'; + + @override + String get couldnt_update_community => + 'De gemeenschap kon niet bijgewerkt worden.'; + + @override + String get no_community_edit_allowed => + 'Gemeenschap bewerken is niet toegestaan.'; + + @override + String get system_err_login => + 'Systeemfout. Probeer af te melden en vervolgens weer aan te melden.'; + + @override + String get community_user_already_banned => + 'Deze gemeenschapsgebruiker werd reeds verbannen.'; + + @override + String get couldnt_find_that_username_or_email => + 'De gebruikersnaam of het e-mailadres kon niet gevonden worden.'; + + @override + String get password_incorrect => 'Wachtwoord incorrect.'; + + @override + String get registration_closed => 'Registratie gesloten'; + + @override + String get invalid_password => + 'Ongeldig wachtwoord. Het wachtwoord moet kleiner dan of gelijk aan 60 tekens zijn.'; + + @override + String get passwords_dont_match => 'Wachtwoorden komen niet overeen.'; + + @override + String get captcha_incorrect => 'Incorrecte Captcha.'; + + @override + String get invalid_username => 'Ongeldige gebruikersnaam.'; + + @override + String get bio_length_overflow => + 'De gebruikersbiografie mag niet 300 tekens overschrijden.'; + + @override + String get couldnt_update_user => 'De gebruiker kon niet bijgewerkt worden.'; + + @override + String get couldnt_update_private_message => + 'Het privé-bericht kon niet bijgewerkt worden.'; + + @override + String get couldnt_update_post => + 'De berichten konden niet bijgewerkt worden'; + + @override + String get couldnt_create_private_message => + 'Het privébericht kon niet aangemaakt worden.'; + + @override + String get no_private_message_edit_allowed => + 'Het is niet toegestaan om privé-berichten te wijzigen.'; + + @override + String get post_title_too_long => 'De berichttitel is te lang.'; + + @override + String get email_already_exists => 'E-mailadres bestaat reeds.'; + + @override + String get user_already_exists => 'Gebruiker bestaat reeds.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count gebruiker online', + other: '$count gebruikers online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString reactie', + other: '$countString reacties', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString bericht', + other: '$countString berichten', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count abonnee', + other: '$count abonnees', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count gebruiker', + other: '$count gebruikers', + ); + } + + @override + String get unsubscribe => 'Afmelden'; + + @override + String get subscribe => 'Abonneren'; + + @override + String get messages => 'Boodschappen'; + + @override + String get banned_users => 'Verbannen gebruikers'; + + @override + String get delete_account_confirm => + 'Waarschuwing: dit zal al uw data voorgoed verwijderen. Vul uw wachtwoord in om te bevestigen.'; + + @override + String get new_password => 'Nieuw wachtwoord'; + + @override + String get verify_password => 'Bevestig wachtwoord'; + + @override + String get old_password => 'Oud wachtwoord'; + + @override + String get show_avatars => 'Avatars tonen'; + + @override + String get search => 'Zoeken'; + + @override + String get send_message => 'Boodschap versturen'; + + @override + String get top_day => 'Dagelijks hoogtepunt'; + + @override + String get top_week => 'Wekelijks hoogtepunt'; + + @override + String get top_month => 'Maandelijks hoogtepunt'; + + @override + String get top_year => 'Jaarlijks hoogtepunt'; + + @override + String get top_all => 'Hoogtepunt aller tijden'; + + @override + String get most_comments => 'Meeste reacties'; + + @override + String get new_comments => 'Nieuwe reacties'; + + @override + String get active => 'Actief'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_oc.dart b/lib/l10n/gen/l10n_oc.dart new file mode 100644 index 0000000..eb861f3 --- /dev/null +++ b/lib/l10n/gen/l10n_oc.dart @@ -0,0 +1,459 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Occitan (`oc`). +class L10nOc extends L10n { + L10nOc([String locale = 'oc']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_pl.dart b/lib/l10n/gen/l10n_pl.dart new file mode 100644 index 0000000..c906032 --- /dev/null +++ b/lib/l10n/gen/l10n_pl.dart @@ -0,0 +1,465 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Polish (`pl`). +class L10nPl extends L10n { + L10nPl([String locale = 'pl']) : super(locale); + + @override + String get settings => 'Ustawienia'; + + @override + String get password => 'Hasło'; + + @override + String get email_or_username => 'Email lub Login'; + + @override + String get posts => 'Posty'; + + @override + String get comments => 'Komentarze'; + + @override + String get modlog => 'Log moderatorski'; + + @override + String get community => 'Społeczność'; + + @override + String get url => 'URL'; + + @override + String get title => 'Tytuł'; + + @override + String get body => 'Treść'; + + @override + String get nsfw => 'NSFW (18+)'; + + @override + String get post => 'post'; + + @override + String get save => 'zapisz'; + + @override + String get subscribed => 'Subskrybowane'; + + @override + String get local => 'Lokalne'; + + @override + String get all => 'Wszystko'; + + @override + String get replies => 'Odpowiedzi'; + + @override + String get mentions => 'Wzmianki'; + + @override + String get from => 'od'; + + @override + String get to => 'do'; + + @override + String get deleted_by_creator => 'usunięte przez autora'; + + @override + String get more => 'więcej'; + + @override + String get mark_as_read => 'zaznacz jako przeczytane'; + + @override + String get mark_as_unread => 'zaznacz jako nieprzeczytane'; + + @override + String get reply => 'odpowiedz'; + + @override + String get edit => 'edytuj'; + + @override + String get delete => 'usuń'; + + @override + String get restore => 'przywróć'; + + @override + String get yes => 'tak'; + + @override + String get no => 'nie'; + + @override + String get avatar => 'Awatar'; + + @override + String get banner => 'Baner'; + + @override + String get display_name => 'Nazwa wyświetlana'; + + @override + String get bio => 'Opis'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Login na Matrixie'; + + @override + String get sort_type => 'Sortuj typ'; + + @override + String get type => 'Rodzaj'; + + @override + String get show_nsfw => 'Pokaż treści NSFW (18+)'; + + @override + String get send_notifications_to_email => 'Wysyłaj powiadomienia na Email'; + + @override + String get delete_account => 'Usuń Konto'; + + @override + String get saved => 'Zapisane'; + + @override + String get communities => 'Społeczności'; + + @override + String get users => 'Osoby zalogowane'; + + @override + String get theme => 'Motyw'; + + @override + String get language => 'Język'; + + @override + String get hot => 'Popularne'; + + @override + String get new_ => 'Nowe'; + + @override + String get old => 'Stare'; + + @override + String get top => 'Najpopularniejsze'; + + @override + String get chat => 'Dyskusja'; + + @override + String get admin => 'admin'; + + @override + String get by => 'przez'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Nie jest administratorem.'; + + @override + String get couldnt_find_post => 'Nie udało się znaleźć posta.'; + + @override + String get not_logged_in => 'Nie jesteś zalogowana/y.'; + + @override + String get site_ban => 'Zostałaś/eś zbanowana/y z tej witryny'; + + @override + String get community_ban => 'Zostałaś/eś zbanowana/y z tej społeczności.'; + + @override + String get downvotes_disabled => 'Wdółgłosy wyłączone'; + + @override + String get invalid_url => 'Nieprawidłowy URL.'; + + @override + String get locked => 'zablokowane'; + + @override + String get couldnt_create_comment => 'Nie udało się stworzyć komentarza.'; + + @override + String get couldnt_like_comment => 'Polubienie komentarza nie powiodło się.'; + + @override + String get couldnt_update_comment => + 'Zaktualizowanie komentarza nie powiodło się.'; + + @override + String get no_comment_edit_allowed => + 'Nie masz uprawnień do edycji komentarza.'; + + @override + String get couldnt_save_comment => 'Zapisanie komentarza nie powiodło się.'; + + @override + String get couldnt_get_comments => 'Pobranie komentarzy nie powiodło się.'; + + @override + String get report_reason_required => 'Wymagane jest uzasadnienie zgłoszenia.'; + + @override + String get report_too_long => 'Zgłoszenie jest zbyt długie.'; + + @override + String get couldnt_create_report => 'Nie udało się stworzyć zgłoszenia.'; + + @override + String get couldnt_resolve_report => 'Nie udało się rozwiązać zgłoszenia.'; + + @override + String get invalid_post_title => 'Nieprawidłowy tytuł posta'; + + @override + String get couldnt_create_post => 'Nie udało się stworzyć posta.'; + + @override + String get couldnt_like_post => 'Nie udało się polubić posta.'; + + @override + String get couldnt_find_community => 'Nie udało się znaleźć społeczności.'; + + @override + String get couldnt_get_posts => 'Nie udało się pobrać postów'; + + @override + String get no_post_edit_allowed => 'Nie masz uprawnień do edycji posta.'; + + @override + String get couldnt_save_post => 'Nie udało się zapisać posta.'; + + @override + String get site_already_exists => 'Witryna już istnieje.'; + + @override + String get couldnt_update_site => 'Nie udało się zaktualizować witryny.'; + + @override + String get invalid_community_name => 'Niepoprawna nazwa.'; + + @override + String get community_already_exists => 'Społeczność już istnieje.'; + + @override + String get community_moderator_already_exists => + 'Moderator społeczności już istnieje.'; + + @override + String get community_follower_already_exists => + 'Osoba obserwująca społeczność już istnieje.'; + + @override + String get not_a_moderator => 'Nie jest moderatorem.'; + + @override + String get couldnt_update_community => + 'Nie udało się zaktualizować Społeczności.'; + + @override + String get no_community_edit_allowed => + 'Nie masz uprawnień do edycji społeczności.'; + + @override + String get system_err_login => + 'Błąd systemu. Spróbuj wylogować się i następnie zalogować ponownie.'; + + @override + String get community_user_already_banned => + 'Login już zablokowany w tej społeczności.'; + + @override + String get couldnt_find_that_username_or_email => + 'Nie udało się znaleźć takiego loginu lub adresu email.'; + + @override + String get password_incorrect => 'Hasło niepoprawne.'; + + @override + String get registration_closed => 'Rejestracja Zamknięta'; + + @override + String get invalid_password => + 'Nieprawidłowe hasło. Hasło musi mieć mniej niż 60 znaków.'; + + @override + String get passwords_dont_match => 'Hasła nie pasują do siebie.'; + + @override + String get captcha_incorrect => 'Captcha niepoprawna.'; + + @override + String get invalid_username => 'Nieprawidłowy login.'; + + @override + String get bio_length_overflow => 'To pole nie może przekraczać 300 znaków.'; + + @override + String get couldnt_update_user => 'Nie udało się zaktualizować.'; + + @override + String get couldnt_update_private_message => + 'Nie udało się zaktualizować prywatnej wiadomości.'; + + @override + String get couldnt_update_post => 'Nie udało się zaktualizować postów'; + + @override + String get couldnt_create_private_message => + 'Nie udało się stworzyć prywatnej wiadomości.'; + + @override + String get no_private_message_edit_allowed => + 'Brak uprawnień do edycji prywatnej wiadomości.'; + + @override + String get post_title_too_long => 'Tytuł posta zbyt długi.'; + + @override + String get email_already_exists => 'Email już istnieje.'; + + @override + String get user_already_exists => 'Login już istnieje.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'Odsubskrybuj'; + + @override + String get subscribe => 'Subskrybuj'; + + @override + String get messages => 'Wiadomości'; + + @override + String get banned_users => 'Zbanowani Użytkownicy'; + + @override + String get delete_account_confirm => + 'Ostrzeżenie: twoje dane zostaną bezpowrotnie usunięte. Wpisz swoje hasło aby potwierdzić.'; + + @override + String get new_password => 'Nowe Hasło'; + + @override + String get verify_password => 'Zweryfikuj Hasło'; + + @override + String get old_password => 'Stare Hasło'; + + @override + String get show_avatars => 'Pokaż Awatary'; + + @override + String get search => 'Szukaj'; + + @override + String get send_message => 'Wyślij Wiadomość'; + + @override + String get top_day => 'Najpopularniejsze dziś'; + + @override + String get top_week => 'Najpopularniejsze tydzień'; + + @override + String get top_month => 'Najpopularniejsze miesiąc'; + + @override + String get top_year => 'Najpopularniejsze rok'; + + @override + String get top_all => 'Najpopularniejsze kiedykolwiek'; + + @override + String get most_comments => 'Najwięcej komentarzy'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Aktywne'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_pt.dart b/lib/l10n/gen/l10n_pt.dart new file mode 100644 index 0000000..bf741f0 --- /dev/null +++ b/lib/l10n/gen/l10n_pt.dart @@ -0,0 +1,899 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Portuguese (`pt`). +class L10nPt extends L10n { + L10nPt([String locale = 'pt']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} + +/// The translations for Portuguese, as used in Brazil (`pt_BR`). +class L10nPtBr extends L10nPt { + L10nPtBr() : super('pt_BR'); + + @override + String get settings => 'Configurações'; + + @override + String get password => 'Senha'; + + @override + String get email_or_username => 'E-mail ou nome de usuário'; + + @override + String get posts => 'Publicações'; + + @override + String get comments => 'Comentários'; + + @override + String get modlog => 'Registro de moderação'; + + @override + String get community => 'Comunidade'; + + @override + String get url => 'URL'; + + @override + String get title => 'Título'; + + @override + String get body => 'Conteúdo'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'publicação'; + + @override + String get save => 'guardar'; + + @override + String get subscribed => 'Inscrito'; + + @override + String get local => 'Local'; + + @override + String get all => 'Tudo'; + + @override + String get replies => 'Respostas'; + + @override + String get mentions => 'Menções'; + + @override + String get from => 'de'; + + @override + String get to => 'para'; + + @override + String get deleted_by_creator => 'apagado pelo criador'; + + @override + String get more => 'mais'; + + @override + String get mark_as_read => 'marcar como lido'; + + @override + String get mark_as_unread => 'marcar como não lido'; + + @override + String get reply => 'responder'; + + @override + String get edit => 'editar'; + + @override + String get delete => 'apagar'; + + @override + String get restore => 'restaurar'; + + @override + String get yes => 'sim'; + + @override + String get no => 'não'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Nome de exibição'; + + @override + String get bio => 'Biografia'; + + @override + String get email => 'E-mail'; + + @override + String get matrix_user => 'Usuário Matrix'; + + @override + String get sort_type => 'Ordenação'; + + @override + String get type => 'Tipo'; + + @override + String get show_nsfw => 'Mostrar conteúdo NSFW'; + + @override + String get send_notifications_to_email => 'Enviar notificações para o e-mail'; + + @override + String get delete_account => 'Apagar conta'; + + @override + String get saved => 'Guardado'; + + @override + String get communities => 'Comunidades'; + + @override + String get users => 'Usuários'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Idioma'; + + @override + String get hot => 'Popular'; + + @override + String get new_ => 'Novo'; + + @override + String get old => 'Velho'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'administrador'; + + @override + String get by => 'por'; + + @override + String get not_a_mod_or_admin => 'Não é moderador ou administrador.'; + + @override + String get not_an_admin => 'Não é administrador.'; + + @override + String get couldnt_find_post => 'Não foi possível encontrar a publicação.'; + + @override + String get not_logged_in => 'Não autenticado.'; + + @override + String get site_ban => 'Você foi banido do site'; + + @override + String get community_ban => 'Você foi banido desta comunidade.'; + + @override + String get downvotes_disabled => 'Votos negativos desativados'; + + @override + String get invalid_url => 'URL inválida.'; + + @override + String get locked => 'trancado'; + + @override + String get couldnt_create_comment => 'Não foi possível criar o comentário.'; + + @override + String get couldnt_like_comment => 'Não foi possível curtir o comentário.'; + + @override + String get couldnt_update_comment => + 'Não foi possível atualizar o comentário.'; + + @override + String get no_comment_edit_allowed => 'Sem permissão para editar comentário.'; + + @override + String get couldnt_save_comment => 'Não foi possível salvar o comentário.'; + + @override + String get couldnt_get_comments => 'Não foi possível obter os comentários.'; + + @override + String get invalid_post_title => 'Título de publicação inválido'; + + @override + String get couldnt_create_post => 'Não foi possível criar a publicação.'; + + @override + String get couldnt_like_post => 'Não foi possível curtir a publicação.'; + + @override + String get couldnt_find_community => + 'Não foi possível encontrar a comunidade.'; + + @override + String get couldnt_get_posts => 'Não foi possível obter as publicações'; + + @override + String get no_post_edit_allowed => 'Sem permissão para editar publicação.'; + + @override + String get couldnt_save_post => 'Não foi possível guardar a publicação.'; + + @override + String get site_already_exists => 'O site já existe.'; + + @override + String get couldnt_update_site => 'Não foi possível atualizar o site.'; + + @override + String get invalid_community_name => 'Nome inválido.'; + + @override + String get community_already_exists => 'Esta comunidade já existe.'; + + @override + String get community_moderator_already_exists => + 'Este moderador da comunidade já existe.'; + + @override + String get community_follower_already_exists => + 'Este seguidor da comunidade já existe.'; + + @override + String get not_a_moderator => 'Não é um(a) moderador(a).'; + + @override + String get couldnt_update_community => + 'Não foi possível atualizar a comunidade.'; + + @override + String get no_community_edit_allowed => + 'Sem permissão para editar comunidade.'; + + @override + String get system_err_login => + 'Erro no sistema. Tente sair e autenticar-se outra vez.'; + + @override + String get community_user_already_banned => + 'Este usuário da comunidade já foi banido.'; + + @override + String get couldnt_find_that_username_or_email => + 'Não foi possível encontrar esse usuário ou e-mail.'; + + @override + String get password_incorrect => 'Senha incorreta.'; + + @override + String get registration_closed => 'Registros desativados'; + + @override + String get invalid_password => + 'Senha inválida. A senha deve ter no máximo 60 caracteres.'; + + @override + String get passwords_dont_match => 'As senhas não são iguais.'; + + @override + String get captcha_incorrect => 'Captcha incorreto.'; + + @override + String get invalid_username => 'Nome de usuário inválido.'; + + @override + String get bio_length_overflow => + 'Uma biografia de usuário não pode ter mais de 300 caracters.'; + + @override + String get couldnt_update_user => 'Não foi possível atualizar o usuário.'; + + @override + String get couldnt_update_private_message => + 'Não foi possível atualizar a mensagem privada.'; + + @override + String get couldnt_update_post => 'Não foi possível atualizar a publicação'; + + @override + String get couldnt_create_private_message => + 'Não foi possível criar mensagem privada.'; + + @override + String get no_private_message_edit_allowed => + 'Sem permissão para editar mensagem privada.'; + + @override + String get post_title_too_long => 'Título da publicação muito longo.'; + + @override + String get email_already_exists => 'Este e-mail já existe.'; + + @override + String get user_already_exists => 'Este usuário já existe.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuário online', + other: '$count usuários online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comentário', + other: '$countString comentários', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString publicação', + other: '$countString publicações', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count inscrito', + other: '$count inscritos', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count usuário', + other: '$count usuários', + ); + } + + @override + String get unsubscribe => 'Cancelar inscrição'; + + @override + String get subscribe => 'Inscrever-se'; + + @override + String get messages => 'Mensagens'; + + @override + String get banned_users => 'Usuários Banidos'; + + @override + String get delete_account_confirm => + 'Aviso: isso vai apagar seus dados de forma permanente. Escreva sua senha para confirmar.'; + + @override + String get new_password => 'Nova senha'; + + @override + String get verify_password => 'Verifique a senha'; + + @override + String get old_password => 'Senha antiga'; + + @override + String get show_avatars => 'Mostrar Avatares'; + + @override + String get search => 'Busca'; + + @override + String get send_message => 'Enviar mensagem'; + + @override + String get top_day => 'Melhor do dia'; + + @override + String get top_week => 'Melhor da semana'; + + @override + String get top_month => 'Melhor do mês'; + + @override + String get top_year => 'Melhor do ano'; + + @override + String get most_comments => 'Mais comentados'; + + @override + String get new_comments => 'Novos comentários'; + + @override + String get active => 'Ativo'; +} diff --git a/lib/l10n/gen/l10n_ru.dart b/lib/l10n/gen/l10n_ru.dart new file mode 100644 index 0000000..1af49dc --- /dev/null +++ b/lib/l10n/gen/l10n_ru.dart @@ -0,0 +1,463 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Russian (`ru`). +class L10nRu extends L10n { + L10nRu([String locale = 'ru']) : super(locale); + + @override + String get settings => 'Настройки'; + + @override + String get password => 'Пароль'; + + @override + String get email_or_username => 'Электронная почта или Имя пользователя'; + + @override + String get posts => 'Посты'; + + @override + String get comments => 'Комментарии'; + + @override + String get modlog => 'Модерация'; + + @override + String get community => 'Сообщество'; + + @override + String get url => 'URL'; + + @override + String get title => 'Название'; + + @override + String get body => 'Тело'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'запостить'; + + @override + String get save => 'сохранить'; + + @override + String get subscribed => 'Подписаны'; + + @override + String get local => 'Локальные'; + + @override + String get all => 'Все'; + + @override + String get replies => 'Ответы'; + + @override + String get mentions => 'Упоминания'; + + @override + String get from => 'от'; + + @override + String get to => 'в'; + + @override + String get deleted_by_creator => 'удалено автором'; + + @override + String get more => 'больше'; + + @override + String get mark_as_read => 'пометить как прочитанное'; + + @override + String get mark_as_unread => 'пометить как непрочитанное'; + + @override + String get reply => 'ответить'; + + @override + String get edit => 'редактировать'; + + @override + String get delete => 'удалить'; + + @override + String get restore => 'восстановить'; + + @override + String get yes => 'да'; + + @override + String get no => 'нет'; + + @override + String get avatar => 'Аватар'; + + @override + String get banner => 'Баннер'; + + @override + String get display_name => 'Отображаемое имя'; + + @override + String get bio => 'БИО'; + + @override + String get email => 'Эл. почта'; + + @override + String get matrix_user => 'Пользователь Matrix'; + + @override + String get sort_type => 'Тип сортировки'; + + @override + String get type => 'Тип'; + + @override + String get show_nsfw => 'Показывать NSFW контент'; + + @override + String get send_notifications_to_email => 'Посылать уведомления на Эл. почту'; + + @override + String get delete_account => 'Удалить Аккаунт'; + + @override + String get saved => 'Сохранено'; + + @override + String get communities => 'Сообщества'; + + @override + String get users => 'Пользователи'; + + @override + String get theme => 'Тема'; + + @override + String get language => 'Язык'; + + @override + String get hot => 'Популярные'; + + @override + String get new_ => 'Новые'; + + @override + String get old => 'Старые'; + + @override + String get top => 'Лучшие'; + + @override + String get chat => 'Чат'; + + @override + String get admin => 'администратор'; + + @override + String get by => 'от'; + + @override + String get not_a_mod_or_admin => 'Не модератор и не админинстратор.'; + + @override + String get not_an_admin => 'Не администратор.'; + + @override + String get couldnt_find_post => 'Не удалось найти пост.'; + + @override + String get not_logged_in => 'Не авторизованы.'; + + @override + String get site_ban => 'Вы были заблокированы на данном сайте'; + + @override + String get community_ban => 'Вы были заблокированы в данном сообществе.'; + + @override + String get downvotes_disabled => 'Голосование не понравилось отключено'; + + @override + String get invalid_url => 'Недопустимый URL.'; + + @override + String get locked => 'заблокировано'; + + @override + String get couldnt_create_comment => 'Не удалось создать комментарий.'; + + @override + String get couldnt_like_comment => 'Не удалось лайкнуть комментарий.'; + + @override + String get couldnt_update_comment => 'Не удалось обновить комментарий.'; + + @override + String get no_comment_edit_allowed => 'Комментарий редактировать запрещено.'; + + @override + String get couldnt_save_comment => 'Не удалось сохранить комментарий.'; + + @override + String get couldnt_get_comments => 'Не удалось получить комментарии.'; + + @override + String get report_reason_required => 'Укажите причину жалобы.'; + + @override + String get report_too_long => 'Жалоба слишком длинная.'; + + @override + String get couldnt_create_report => 'Невозможно создать жалобу.'; + + @override + String get couldnt_resolve_report => 'Невозможно разрешить жалобу.'; + + @override + String get invalid_post_title => 'Недопустимый заголовок записи'; + + @override + String get couldnt_create_post => 'Не удалось создать пост.'; + + @override + String get couldnt_like_post => 'Не удалось лайкнуть пост.'; + + @override + String get couldnt_find_community => 'Сообщество не найдено.'; + + @override + String get couldnt_get_posts => 'Не удалось найти посты'; + + @override + String get no_post_edit_allowed => 'Запрещено комментировать пост.'; + + @override + String get couldnt_save_post => 'Не удалось сохранить пост.'; + + @override + String get site_already_exists => 'Сайт уже существует.'; + + @override + String get couldnt_update_site => 'Не удалось обновить сайт.'; + + @override + String get invalid_community_name => 'Неверное имя.'; + + @override + String get community_already_exists => 'Сообщество уже существует.'; + + @override + String get community_moderator_already_exists => + 'Модератор сообщества уже существует.'; + + @override + String get community_follower_already_exists => + 'Подписчик сообщества уже существует.'; + + @override + String get not_a_moderator => 'Не модератор.'; + + @override + String get couldnt_update_community => 'Не удалось обновить Сообщество.'; + + @override + String get no_community_edit_allowed => + 'Редактирование сообщества запрещено.'; + + @override + String get system_err_login => + 'Системная ошибка. Попробуйте выйти из системы и вернуться обратно.'; + + @override + String get community_user_already_banned => + 'Пользователь сообщества уже забанен.'; + + @override + String get couldnt_find_that_username_or_email => + 'Указанные имя пользователя или электронную почту найти не удалось.'; + + @override + String get password_incorrect => 'Неверный пароль.'; + + @override + String get registration_closed => 'Регистрация закрыта'; + + @override + String get invalid_password => + 'Неверный пароль. Пароль должен быть не длиннее 60 символов.'; + + @override + String get passwords_dont_match => 'Пароли не совпадают.'; + + @override + String get captcha_incorrect => 'Некорректная капча.'; + + @override + String get invalid_username => 'Неверное имя пользователя.'; + + @override + String get bio_length_overflow => + 'БИО пользователя не может быть длиннее 300 символов.'; + + @override + String get couldnt_update_user => 'Не удалось обновить пользователя.'; + + @override + String get couldnt_update_private_message => + 'Не удалось обновить личное сообщение.'; + + @override + String get couldnt_update_post => 'Не удалось обновить посты'; + + @override + String get couldnt_create_private_message => + 'Не удалось создать личное сообщение.'; + + @override + String get no_private_message_edit_allowed => + 'Не разрешено редактировать личное сообщение.'; + + @override + String get post_title_too_long => 'Название поста слишком длинное.'; + + @override + String get email_already_exists => 'Эл. почта уже существует.'; + + @override + String get user_already_exists => 'Пользователь уже существует.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'Отписаться'; + + @override + String get subscribe => 'Подписаться'; + + @override + String get messages => 'Сообщения'; + + @override + String get banned_users => 'Забаненные Пользователи'; + + @override + String get delete_account_confirm => + 'Предупреждение: это действие полностью уничтожит все данные вашего аккаунта. Введите свой пароль для подтверждения.'; + + @override + String get new_password => 'Новый Пароль'; + + @override + String get verify_password => 'Подтвердите Пароль'; + + @override + String get old_password => 'Старый Пароль'; + + @override + String get show_avatars => 'Показывать Аватары'; + + @override + String get search => 'Поиск'; + + @override + String get send_message => 'Послать Сообщение'; + + @override + String get top_day => 'Лучшие за День'; + + @override + String get top_week => 'Лучшие за Неделю'; + + @override + String get top_month => 'Лучшие за Месяц'; + + @override + String get top_year => 'Лучшие за Год'; + + @override + String get top_all => 'Лучшие за Всё Время'; + + @override + String get most_comments => 'Наиболее Комментируемые'; + + @override + String get new_comments => 'Новые Комментарии'; + + @override + String get active => 'Активные'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_sq.dart b/lib/l10n/gen/l10n_sq.dart new file mode 100644 index 0000000..2ad22c4 --- /dev/null +++ b/lib/l10n/gen/l10n_sq.dart @@ -0,0 +1,466 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Albanian (`sq`). +class L10nSq extends L10n { + L10nSq([String locale = 'sq']) : super(locale); + + @override + String get settings => 'Konfigurimet'; + + @override + String get password => 'Fjalëkalimi'; + + @override + String get email_or_username => 'Email-i ose Emri Virtual'; + + @override + String get posts => 'Postime'; + + @override + String get comments => 'Komentet'; + + @override + String get modlog => 'Ditari i moderimit'; + + @override + String get community => 'Komuniteti'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titulli'; + + @override + String get body => 'Teksti'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'publiko'; + + @override + String get save => 'ruaj'; + + @override + String get subscribed => 'Jeni abonuar'; + + @override + String get local => 'Local'; + + @override + String get all => 'Gjithçka'; + + @override + String get replies => 'Përgjigjet'; + + @override + String get mentions => 'Përmendur'; + + @override + String get from => 'nga'; + + @override + String get to => 'në'; + + @override + String get deleted_by_creator => 'është fshirë nga autori'; + + @override + String get more => 'më shumë'; + + @override + String get mark_as_read => 'shëno si të lexuar'; + + @override + String get mark_as_unread => 'shëno si të palexuar'; + + @override + String get reply => 'përgjigju'; + + @override + String get edit => 'redakto'; + + @override + String get delete => 'fshije'; + + @override + String get restore => 'riktheje'; + + @override + String get yes => 'po'; + + @override + String get no => 'jo'; + + @override + String get avatar => 'Fotoja e profilit'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Përdorues i Matrix-it'; + + @override + String get sort_type => 'Radhit sipas'; + + @override + String get type => 'Lloji'; + + @override + String get show_nsfw => 'Shfaq përmbajtje NSFW'; + + @override + String get send_notifications_to_email => 'Dërgo njoftimet në Email'; + + @override + String get delete_account => 'Fshije Account-in'; + + @override + String get saved => 'E ruajtur'; + + @override + String get communities => 'Komunitetet'; + + @override + String get users => 'Përdoruesit'; + + @override + String get theme => 'Pamja'; + + @override + String get language => 'Gjuha'; + + @override + String get hot => 'Popullore'; + + @override + String get new_ => 'Të rejat'; + + @override + String get old => 'Të vjetrat'; + + @override + String get top => 'Më të pëqlyerat'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'administrator'; + + @override + String get by => 'nga'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Nuk je administrator.'; + + @override + String get couldnt_find_post => 'Nuk mund të gjendeshin postimet.'; + + @override + String get not_logged_in => 'Nuk jeni kyçur.'; + + @override + String get site_ban => 'Jeni dëbuar nga kjo faqe'; + + @override + String get community_ban => 'Jeni dëbuar nga ky komunitet.'; + + @override + String get downvotes_disabled => 'Votat negative janë të çaktivizuara'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'mbyllur'; + + @override + String get couldnt_create_comment => + 'Krijimi i komentit nuk ishte i mundshëm.'; + + @override + String get couldnt_like_comment => 'Pëlqimi i komentit nuk ishte i mundshëm.'; + + @override + String get couldnt_update_comment => + 'Përditësimi i komentit nuk ishte i mundshëm.'; + + @override + String get no_comment_edit_allowed => 'Nuk të lejohet redaktimi i komentit.'; + + @override + String get couldnt_save_comment => 'Ruajtja e komentit nuk ishte e mundshme.'; + + @override + String get couldnt_get_comments => 'Nuk mund të merrnim komentet.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Nuk mund të krijohej postimi.'; + + @override + String get couldnt_like_post => 'Nuk mund të pëlqehej postimi.'; + + @override + String get couldnt_find_community => 'Komuniteti nuk mund të gjendej.'; + + @override + String get couldnt_get_posts => 'Nuk mund të merreshin postimet'; + + @override + String get no_post_edit_allowed => 'Nuk lejohet redaktimi i postimit.'; + + @override + String get couldnt_save_post => 'Postimi nuk u ruajt.'; + + @override + String get site_already_exists => 'Faqja tashmë ekziston.'; + + @override + String get couldnt_update_site => 'Faqja nuk mund të përditësohej.'; + + @override + String get invalid_community_name => 'Emër invalid.'; + + @override + String get community_already_exists => 'Komuniteti ekziston më.'; + + @override + String get community_moderator_already_exists => + 'Moderatori i komunitetit tashmë ekziston.'; + + @override + String get community_follower_already_exists => + 'Ndjekësi i komunitetit tashmë ekziston.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => + 'Komuniteti nuk mundi të përditësohej.'; + + @override + String get no_community_edit_allowed => + 'Nuk të lejohet redaktimi i komunitetit.'; + + @override + String get system_err_login => + 'Gabim sistemi. Provo të shkyçesh dhe të kyçesh përsëri.'; + + @override + String get community_user_already_banned => + 'Anëtari i komunitetit tashmë është dëbuar.'; + + @override + String get couldnt_find_that_username_or_email => + 'Nuk mund të gjendej ky emër virtual ose email.'; + + @override + String get password_incorrect => 'Fjalëkalimi është i pasaktë.'; + + @override + String get registration_closed => 'Regjistrimi u mbyll'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Fjalëkalimet nuk janë të njëjta.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Emri virtual është invalid.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => + 'Përditësimi i përdoruesit nuk ishte i mundshëm.'; + + @override + String get couldnt_update_private_message => + 'Nuk mundëm të përditësonim mesazhin privat.'; + + @override + String get couldnt_update_post => 'Postimi nuk mundi të përditësohej'; + + @override + String get couldnt_create_private_message => + 'Nuk mund të krijohej mesazhi privat.'; + + @override + String get no_private_message_edit_allowed => + 'Nuk lejohet redaktimi i mesazhit privat.'; + + @override + String get post_title_too_long => 'Titulli i postimit ishte shumë i gjatë.'; + + @override + String get email_already_exists => 'Email-i tashmë ekziston.'; + + @override + String get user_already_exists => 'Përdoruesi tashmë ekziston.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Përdorues Online', + other: '$count Përdoruesa Online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Koment', + other: '$countString Komente', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Postim', + other: '$countString Postime', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count i abonuar', + other: '$count të abonuar', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Përdorues', + other: '$count Përdoruesa', + ); + } + + @override + String get unsubscribe => 'Ndalo Abonimin'; + + @override + String get subscribe => 'Abonohu'; + + @override + String get messages => 'Mesazhet'; + + @override + String get banned_users => 'Pëdoruesit e dëbuar'; + + @override + String get delete_account_confirm => + 'Paralajmërim: kjo do të fshij të gjitha të dhënat e juaja përgjithmonë. Shtyp fjalëkalimin tënd për ta konfirmuar.'; + + @override + String get new_password => 'Fjalëkalimi i ri'; + + @override + String get verify_password => 'Konfirmo Fjalëkalimin'; + + @override + String get old_password => 'Fjalëkalimi i vjetër'; + + @override + String get show_avatars => 'Shfaq fotot e profilit'; + + @override + String get search => 'Kërko'; + + @override + String get send_message => 'Dërgo Mesazh'; + + @override + String get top_day => 'Më të pëlqyerat e ditës'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_sr.dart b/lib/l10n/gen/l10n_sr.dart new file mode 100644 index 0000000..3b82335 --- /dev/null +++ b/lib/l10n/gen/l10n_sr.dart @@ -0,0 +1,530 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Serbian (`sr`). +class L10nSr extends L10n { + L10nSr([String locale = 'sr']) : super(locale); + + @override + String get settings => 'Settings'; + + @override + String get password => 'Password'; + + @override + String get email_or_username => 'Email or Username'; + + @override + String get posts => 'Posts'; + + @override + String get comments => 'Comments'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'post'; + + @override + String get save => 'save'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'All'; + + @override + String get replies => 'Replies'; + + @override + String get mentions => 'Mentions'; + + @override + String get from => 'from'; + + @override + String get to => 'to'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'more'; + + @override + String get mark_as_read => 'mark as read'; + + @override + String get mark_as_unread => 'mark as unread'; + + @override + String get reply => 'reply'; + + @override + String get edit => 'edit'; + + @override + String get delete => 'delete'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'yes'; + + @override + String get no => 'no'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'Delete account'; + + @override + String get saved => 'Saved'; + + @override + String get communities => 'Communities'; + + @override + String get users => 'Users'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'Language'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'New'; + + @override + String get old => 'Old'; + + @override + String get top => 'Top'; + + @override + String get chat => 'Chat'; + + @override + String get admin => 'admin'; + + @override + String get by => 'by'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'Not logged in.'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'Couldn\'t save post.'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'Invalid name.'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'Password incorrect.'; + + @override + String get registration_closed => 'Registration closed'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Passwords do not match.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'Email already exists.'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'unsubscribe'; + + @override + String get subscribe => 'subscribe'; + + @override + String get messages => 'Messages'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'New password'; + + @override + String get verify_password => 'Verify password'; + + @override + String get old_password => 'Old password'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'search'; + + @override + String get send_message => 'Send message'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} + +/// The translations for Serbian, using the Latin script (`sr_Latn`). +class L10nSrLatn extends L10nSr { + L10nSrLatn() : super('sr_Latn'); + + @override + String get password => 'Lozinka'; + + @override + String get community => 'Zajednica'; + + @override + String get url => 'URL'; + + @override + String get body => 'Sadržaj'; + + @override + String get nsfw => 'NSFW'; + + @override + String get from => 'od'; + + @override + String get to => 'do'; + + @override + String get yes => 'da'; + + @override + String get no => 'ne'; + + @override + String get email => 'Email'; + + @override + String get matrix_user => 'Korisnik Matrixa'; + + @override + String get show_nsfw => 'Prikaži NSFW sadržaj'; + + @override + String get send_notifications_to_email => 'Primajte notifikacie na Vaš Email'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Jezik'; + + @override + String get chat => 'Ćaskanje'; + + @override + String get by => 'od'; + + @override + String get downvotes_disabled => 'Onemogućite negativne glasove'; + + @override + String get registration_closed => 'Zatvorena registracija'; + + @override + String get new_password => 'Nova Lozinka'; + + @override + String get verify_password => 'Potvrdite Loziku'; + + @override + String get old_password => 'Stara Lozinka'; +} diff --git a/lib/l10n/gen/l10n_sv.dart b/lib/l10n/gen/l10n_sv.dart new file mode 100644 index 0000000..44278d8 --- /dev/null +++ b/lib/l10n/gen/l10n_sv.dart @@ -0,0 +1,465 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Swedish (`sv`). +class L10nSv extends L10n { + L10nSv([String locale = 'sv']) : super(locale); + + @override + String get settings => 'Inställningar'; + + @override + String get password => 'Lösenord'; + + @override + String get email_or_username => 'E-postadress eller användarnamn'; + + @override + String get posts => 'Inlägg'; + + @override + String get comments => 'Kommentarer'; + + @override + String get modlog => 'Moderationslogg'; + + @override + String get community => 'Gemenskap'; + + @override + String get url => 'URL'; + + @override + String get title => 'Titel'; + + @override + String get body => 'Text'; + + @override + String get nsfw => 'Känsligt eller oförbehållsamt innehåll'; + + @override + String get post => 'publicera'; + + @override + String get save => 'spara'; + + @override + String get subscribed => 'Prenumererar'; + + @override + String get local => 'Lokalt'; + + @override + String get all => 'Allt'; + + @override + String get replies => 'Svar'; + + @override + String get mentions => 'Nämner'; + + @override + String get from => 'från'; + + @override + String get to => 'till'; + + @override + String get deleted_by_creator => 'raderad av skapare'; + + @override + String get more => 'mer'; + + @override + String get mark_as_read => 'markera som läst'; + + @override + String get mark_as_unread => 'markera som oläst'; + + @override + String get reply => 'svara'; + + @override + String get edit => 'redigera'; + + @override + String get delete => 'radera'; + + @override + String get restore => 'återställ'; + + @override + String get yes => 'ja'; + + @override + String get no => 'nej'; + + @override + String get avatar => 'Profilbild'; + + @override + String get banner => 'Omslagsbild'; + + @override + String get display_name => 'Visningsnamn'; + + @override + String get bio => 'Presentation'; + + @override + String get email => 'E-postadress'; + + @override + String get matrix_user => 'Matrix-användare'; + + @override + String get sort_type => 'Sortering'; + + @override + String get type => 'Typ'; + + @override + String get show_nsfw => 'Visa känsligt eller oförbehållsamt innehåll'; + + @override + String get send_notifications_to_email => + 'Skicka aviseringar till e-postadress'; + + @override + String get delete_account => 'Ta bort konto'; + + @override + String get saved => 'Sparade'; + + @override + String get communities => 'Gemenskaper'; + + @override + String get users => 'Användare'; + + @override + String get theme => 'Utseende'; + + @override + String get language => 'Språk'; + + @override + String get hot => 'Hett'; + + @override + String get new_ => 'Nytt'; + + @override + String get old => 'Gammalt'; + + @override + String get top => 'Topp'; + + @override + String get chat => 'Chatta'; + + @override + String get admin => 'administratör'; + + @override + String get by => 'av'; + + @override + String get not_a_mod_or_admin => 'Inte en moderator eller administratör.'; + + @override + String get not_an_admin => 'Inte en administratör.'; + + @override + String get couldnt_find_post => 'Kunde inte hitta inlägg.'; + + @override + String get not_logged_in => 'Inte inloggad.'; + + @override + String get site_ban => 'Du har blockerats från webbplatsen'; + + @override + String get community_ban => 'Du har blockerats från den här gemenskapen.'; + + @override + String get downvotes_disabled => 'Nedröstningar inaktiverade'; + + @override + String get invalid_url => 'Ogiltig URL.'; + + @override + String get locked => 'låst'; + + @override + String get couldnt_create_comment => 'Kunde inte skapa kommentar.'; + + @override + String get couldnt_like_comment => 'Kunde inte gilla kommentar.'; + + @override + String get couldnt_update_comment => 'Kunde inte uppdatera kommentar.'; + + @override + String get no_comment_edit_allowed => + 'Har inte behörighet att redigera kommentar.'; + + @override + String get couldnt_save_comment => 'Kunde inte spara kommentar.'; + + @override + String get couldnt_get_comments => 'Kunde inte hämta kommentarer.'; + + @override + String get report_reason_required => 'En anledning måste anges.'; + + @override + String get report_too_long => 'Anmälan är för lång.'; + + @override + String get couldnt_create_report => 'Kunde inte skapa anmälan.'; + + @override + String get couldnt_resolve_report => 'Kunde inte markera anmälan som löst.'; + + @override + String get invalid_post_title => 'Ogiltig inläggstitel'; + + @override + String get couldnt_create_post => 'Kunde inte skapa inlägg.'; + + @override + String get couldnt_like_post => 'Kunde inte gilla inlägg.'; + + @override + String get couldnt_find_community => 'Kunde inte hitta gemenskap.'; + + @override + String get couldnt_get_posts => 'Kunde inte hämta inlägg'; + + @override + String get no_post_edit_allowed => 'Har inte behörighet att redigera inlägg.'; + + @override + String get couldnt_save_post => 'Kunde inte spara inlägg.'; + + @override + String get site_already_exists => 'Webbplatsen finns redan.'; + + @override + String get couldnt_update_site => 'Kunde inte uppdatera webbplats.'; + + @override + String get invalid_community_name => 'Ogiltigt namn.'; + + @override + String get community_already_exists => 'Gemenskapen finns redan.'; + + @override + String get community_moderator_already_exists => + 'Gemenskapsmoderatorn finns redan.'; + + @override + String get community_follower_already_exists => + 'Gemenskapsföljaren finns redan.'; + + @override + String get not_a_moderator => 'Inte en moderator.'; + + @override + String get couldnt_update_community => 'Kunde inte uppdatera gemenskap.'; + + @override + String get no_community_edit_allowed => + 'Har inte behörighet att redigera gemenskap.'; + + @override + String get system_err_login => + 'Systemfel. Försök att logga ut och sedan in igen.'; + + @override + String get community_user_already_banned => + 'Gemenskapsanvändaren redan blockerad.'; + + @override + String get couldnt_find_that_username_or_email => + 'Kunde inte hitta det användarnamnet eller e-postadressen.'; + + @override + String get password_incorrect => 'Ogiltigt lösenord.'; + + @override + String get registration_closed => 'Registrering stängd'; + + @override + String get invalid_password => + 'Ogiltigt lösenord. Lösenordet måste innehålla minst 60 tecken.'; + + @override + String get passwords_dont_match => 'Lösenorden stämmer inte överens.'; + + @override + String get captcha_incorrect => 'Captchan stämmer inte.'; + + @override + String get invalid_username => 'Ogiltigt användarnamn.'; + + @override + String get bio_length_overflow => + 'Användarpresentationen får inte innehålla fler än 300 tecken.'; + + @override + String get couldnt_update_user => 'Kunde inte uppdatera användare.'; + + @override + String get couldnt_update_private_message => + 'Kunde inte uppdatera privat meddelande.'; + + @override + String get couldnt_update_post => 'Kunde inte uppdatera inlägg'; + + @override + String get couldnt_create_private_message => + 'Kunde inte skapa privat meddelande.'; + + @override + String get no_private_message_edit_allowed => + 'Inte tillåtet att redigera privata meddelanden.'; + + @override + String get post_title_too_long => 'Inläggstiteln är för lång.'; + + @override + String get email_already_exists => 'E-post finns redan.'; + + @override + String get user_already_exists => 'Användaren finns redan.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count användare inloggad', + other: '$count användare inloggade', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString kommentar', + other: '$countString kommentarer', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString inlägg', + other: '$countString inlägg', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count prenumerant', + other: '$count prenumeranter', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count användare', + other: '$count användare', + ); + } + + @override + String get unsubscribe => 'Avsluta prenumeration'; + + @override + String get subscribe => 'Prenumerera'; + + @override + String get messages => 'Meddelanden'; + + @override + String get banned_users => 'Blockerade användare'; + + @override + String get delete_account_confirm => + 'Varning: den här åtgärden kommer radera alla dina data permanent. Skriv in ditt lösenord för att bekräfta.'; + + @override + String get new_password => 'Nytt lösenord'; + + @override + String get verify_password => 'Bekräfta lösenord'; + + @override + String get old_password => 'Gammalt lösenord'; + + @override + String get show_avatars => 'Visa profilbilder'; + + @override + String get search => 'Sök'; + + @override + String get send_message => 'Skicka meddelande'; + + @override + String get top_day => 'Dagstoppen'; + + @override + String get top_week => 'Veckotoppen'; + + @override + String get top_month => 'Månadstoppen'; + + @override + String get top_year => 'Årstoppen'; + + @override + String get top_all => 'Totaltoppen'; + + @override + String get most_comments => 'Flest kommentarer'; + + @override + String get new_comments => 'Nya kommentarer'; + + @override + String get active => 'Aktivt'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_th.dart b/lib/l10n/gen/l10n_th.dart new file mode 100644 index 0000000..0bf11df --- /dev/null +++ b/lib/l10n/gen/l10n_th.dart @@ -0,0 +1,456 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Thai (`th`). +class L10nTh extends L10n { + L10nTh([String locale = 'th']) : super(locale); + + @override + String get settings => 'การตั้งค่า'; + + @override + String get password => 'รหัสผ่าน'; + + @override + String get email_or_username => 'อีเมลหรือชื่อผู้ใช้'; + + @override + String get posts => 'โพสต์'; + + @override + String get comments => 'ความคิดเห็น'; + + @override + String get modlog => 'Modlog'; + + @override + String get community => 'Community'; + + @override + String get url => 'URL'; + + @override + String get title => 'Title'; + + @override + String get body => 'Body'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'โพสต์'; + + @override + String get save => 'บันทึก'; + + @override + String get subscribed => 'Subscribed'; + + @override + String get local => 'Local'; + + @override + String get all => 'ทั้งหมด'; + + @override + String get replies => 'การตอบกลับ'; + + @override + String get mentions => 'การกล่าวถึง'; + + @override + String get from => 'จาก'; + + @override + String get to => 'ไปยัง'; + + @override + String get deleted_by_creator => 'deleted by creator'; + + @override + String get more => 'เพิ่มเติม'; + + @override + String get mark_as_read => 'ทำเครื่องหมายว่าอ่านแล้ว'; + + @override + String get mark_as_unread => 'ทำเครื่องหมายว่ายังไม่อ่าน'; + + @override + String get reply => 'ตอบกลับ'; + + @override + String get edit => 'แก้ไข'; + + @override + String get delete => 'ลบ'; + + @override + String get restore => 'restore'; + + @override + String get yes => 'ใช่'; + + @override + String get no => 'ไม่'; + + @override + String get avatar => 'รูปประจำตัว'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'อีเมล'; + + @override + String get matrix_user => 'Matrix User'; + + @override + String get sort_type => 'Sort type'; + + @override + String get type => 'Type'; + + @override + String get show_nsfw => 'Show NSFW content'; + + @override + String get send_notifications_to_email => 'Send notifications to Email'; + + @override + String get delete_account => 'ลบบัญชี'; + + @override + String get saved => 'บันทึกแล้ว'; + + @override + String get communities => 'ชุมชน'; + + @override + String get users => 'ผู้ใช้งาน'; + + @override + String get theme => 'Theme'; + + @override + String get language => 'ภาษา'; + + @override + String get hot => 'Hot'; + + @override + String get new_ => 'ใหม่'; + + @override + String get old => 'เก่า'; + + @override + String get top => 'Top'; + + @override + String get chat => 'แชท'; + + @override + String get admin => 'admin'; + + @override + String get by => 'โดย'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Not an admin.'; + + @override + String get couldnt_find_post => 'Couldn\'t find post.'; + + @override + String get not_logged_in => 'ไม่ได้เข้าสู่ระบบ'; + + @override + String get site_ban => 'You have been banned from the site'; + + @override + String get community_ban => 'You have been banned from this community.'; + + @override + String get downvotes_disabled => 'Downvotes disabled'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'locked'; + + @override + String get couldnt_create_comment => 'Couldn\'t create comment.'; + + @override + String get couldnt_like_comment => 'Couldn\'t like comment.'; + + @override + String get couldnt_update_comment => 'Couldn\'t update comment.'; + + @override + String get no_comment_edit_allowed => 'Not allowed to edit comment.'; + + @override + String get couldnt_save_comment => 'Couldn\'t save comment.'; + + @override + String get couldnt_get_comments => 'Couldn\'t get comments.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Couldn\'t create post.'; + + @override + String get couldnt_like_post => 'Couldn\'t like post.'; + + @override + String get couldnt_find_community => 'Couldn\'t find community.'; + + @override + String get couldnt_get_posts => 'Couldn\'t get posts'; + + @override + String get no_post_edit_allowed => 'Not allowed to edit post.'; + + @override + String get couldnt_save_post => 'ไม่สามารถบันทึกโพสต์ได้'; + + @override + String get site_already_exists => 'Site already exists.'; + + @override + String get couldnt_update_site => 'Couldn\'t update site.'; + + @override + String get invalid_community_name => 'ชื่อไม่ถูกต้อง'; + + @override + String get community_already_exists => 'Community already exists.'; + + @override + String get community_moderator_already_exists => + 'Community moderator already exists.'; + + @override + String get community_follower_already_exists => + 'Community follower already exists.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Couldn\'t update Community.'; + + @override + String get no_community_edit_allowed => 'Not allowed to edit community.'; + + @override + String get system_err_login => 'System error. Try logging out and back in.'; + + @override + String get community_user_already_banned => 'Community user already banned.'; + + @override + String get couldnt_find_that_username_or_email => + 'Couldn\'t find that username or email.'; + + @override + String get password_incorrect => 'รหัสผ่านไม่ถูกต้อง'; + + @override + String get registration_closed => 'การลงทะเบียนปิดอยู่'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'รหัสผ่านไม่ตรงกัน'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Invalid username.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Couldn\'t update user.'; + + @override + String get couldnt_update_private_message => + 'Couldn\'t update private message.'; + + @override + String get couldnt_update_post => 'Couldn\'t update post'; + + @override + String get couldnt_create_private_message => + 'Couldn\'t create private message.'; + + @override + String get no_private_message_edit_allowed => + 'Not allowed to edit private message.'; + + @override + String get post_title_too_long => 'Post title too long.'; + + @override + String get email_already_exists => 'อีเมลถูกใช้งานแล้ว'; + + @override + String get user_already_exists => 'User already exists.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString ความคิดเห็น', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString โพสต์', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: 'ผู้ใช้ $count คน', + ); + } + + @override + String get unsubscribe => 'เลิกติดตาม'; + + @override + String get subscribe => 'ติดตาม'; + + @override + String get messages => 'ข้อความ'; + + @override + String get banned_users => 'Banned users'; + + @override + String get delete_account_confirm => + 'Warning: this will permanently delete all your data. Enter your password to confirm.'; + + @override + String get new_password => 'รหัสผ่านใหม่'; + + @override + String get verify_password => 'ยืนยันรหัสผ่าน'; + + @override + String get old_password => 'รหัสผ่านเก่า'; + + @override + String get show_avatars => 'Show avatars'; + + @override + String get search => 'ค้นหา'; + + @override + String get send_message => 'ส่งข้อความ'; + + @override + String get top_day => 'Top Day'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_tr.dart b/lib/l10n/gen/l10n_tr.dart new file mode 100644 index 0000000..1aeec12 --- /dev/null +++ b/lib/l10n/gen/l10n_tr.dart @@ -0,0 +1,460 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Turkish (`tr`). +class L10nTr extends L10n { + L10nTr([String locale = 'tr']) : super(locale); + + @override + String get settings => 'Ayarlar'; + + @override + String get password => 'Şifre'; + + @override + String get email_or_username => 'E-mail ya da Kullanıcı Adı'; + + @override + String get posts => 'Paylaşımlar'; + + @override + String get comments => 'Yorumlar'; + + @override + String get modlog => 'İdare geçmişi'; + + @override + String get community => 'Topluluk'; + + @override + String get url => 'URL'; + + @override + String get title => 'Başlık'; + + @override + String get body => 'Metin'; + + @override + String get nsfw => 'Müstehcen'; + + @override + String get post => 'paylaşım'; + + @override + String get save => 'kaydet'; + + @override + String get subscribed => 'Takibe alındı'; + + @override + String get local => 'Local'; + + @override + String get all => 'Hepsi'; + + @override + String get replies => 'Cevaplar'; + + @override + String get mentions => 'Bahisler'; + + @override + String get from => 'tarafından'; + + @override + String get to => 'tarafına'; + + @override + String get deleted_by_creator => 'yazarı tarafından silindi'; + + @override + String get more => 'dahası'; + + @override + String get mark_as_read => 'okunmuş olarak işaretle'; + + @override + String get mark_as_unread => 'okunmamış olarak işaretle'; + + @override + String get reply => 'cevapla'; + + @override + String get edit => 'düzenle'; + + @override + String get delete => 'sil'; + + @override + String get restore => 'geri al'; + + @override + String get yes => 'evet'; + + @override + String get no => 'hayır'; + + @override + String get avatar => 'Avatar'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'E-mail'; + + @override + String get matrix_user => 'Matrix Kullanıcısı'; + + @override + String get sort_type => 'Sıralama metodu'; + + @override + String get type => 'Tür'; + + @override + String get show_nsfw => 'Müstehcen içerikleri göster'; + + @override + String get send_notifications_to_email => 'E-maile bildirim yolla'; + + @override + String get delete_account => 'Hesabı Sil'; + + @override + String get saved => 'Kaydedildi'; + + @override + String get communities => 'Topluluklar'; + + @override + String get users => 'Kullanıcılar'; + + @override + String get theme => 'Tema'; + + @override + String get language => 'Dil'; + + @override + String get hot => 'Flaş'; + + @override + String get new_ => 'Yeni'; + + @override + String get old => 'Eski'; + + @override + String get top => 'En iyiler'; + + @override + String get chat => 'Sohbet'; + + @override + String get admin => 'baş idareci'; + + @override + String get by => 'tarafından'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Baş idareci değil.'; + + @override + String get couldnt_find_post => 'Paylaşım bulunamadı.'; + + @override + String get not_logged_in => 'Hesaba giriş yapılmamış.'; + + @override + String get site_ban => 'Bu siteden yasaklandınız'; + + @override + String get community_ban => 'Bu topluluğa yazmanız yasaklandı.'; + + @override + String get downvotes_disabled => 'Eksi puan verme özelliği kaldırıldı'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'kilitlendi'; + + @override + String get couldnt_create_comment => 'Yorum yapılamadı.'; + + @override + String get couldnt_like_comment => 'Yorum beğenilemedi.'; + + @override + String get couldnt_update_comment => 'Yorum güncellenemedi.'; + + @override + String get no_comment_edit_allowed => 'Yorumu düzenleme izniniz yok.'; + + @override + String get couldnt_save_comment => 'Yorum kaydedilemedi.'; + + @override + String get couldnt_get_comments => 'Yorumlar yüklenemedi.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Paylaşım yapılamadı.'; + + @override + String get couldnt_like_post => 'Paylaşım beğenilemedi.'; + + @override + String get couldnt_find_community => 'Topluluk bulunamadı.'; + + @override + String get couldnt_get_posts => 'Paylaşımlar yüklenemedi'; + + @override + String get no_post_edit_allowed => 'Paylaşımı düzenleme izniniz yok.'; + + @override + String get couldnt_save_post => 'Paylaşım kaydedilemedi.'; + + @override + String get site_already_exists => 'Bu site zaten var.'; + + @override + String get couldnt_update_site => 'Site güncellenemedi.'; + + @override + String get invalid_community_name => 'Hatalı ad.'; + + @override + String get community_already_exists => 'Böyle bir topluluk zaten var.'; + + @override + String get community_moderator_already_exists => + 'Bu kullanıcı zaten bu topluluğun bir idarecisi.'; + + @override + String get community_follower_already_exists => + 'Topluluğun böyle bir takipçisi zaten var.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Topluluk bilgisi güncellenemedi.'; + + @override + String get no_community_edit_allowed => 'Topluluğu düzenleme yetkiniz yok.'; + + @override + String get system_err_login => + 'Sistem hatası. Hesaptan çıkıp tekrar girmeyi deneyin.'; + + @override + String get community_user_already_banned => + 'Bu kullanıcı zaten bu toplulukta yasaklı.'; + + @override + String get couldnt_find_that_username_or_email => + 'Böyle bir e-mail ya da kullanıcı adı bulunamadı.'; + + @override + String get password_incorrect => 'Şifre yanlış.'; + + @override + String get registration_closed => 'Kayıt kapalı'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Şifreler eşleşmiyor.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Hatalı kullanıcı adı.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Kullanıcı bilgisi güncellenemedi.'; + + @override + String get couldnt_update_private_message => + 'Şahsa özel mesaj güncellenemedi.'; + + @override + String get couldnt_update_post => 'Paylaşım güncellenemedi'; + + @override + String get couldnt_create_private_message => 'Şahsa özel mesaj yaratılamadı.'; + + @override + String get no_private_message_edit_allowed => + 'Şahsa özel mesajı düzenlemek mümkün değil.'; + + @override + String get post_title_too_long => 'Paylaşım başlığı çok uzun.'; + + @override + String get email_already_exists => 'Böyle bir e-mail adresi zaten var.'; + + @override + String get user_already_exists => 'Böyle bir kullanıcı zaten var.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Kullanıcı Hatta', + other: '$count Kullanıcı Hatta', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Yorum', + other: '$countString Yorum', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString Paylaşım', + other: '$countString Paylaşım', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Takipçi', + other: '$count Takipçi', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count Kullanıcı', + other: '$count Kullanıcı', + ); + } + + @override + String get unsubscribe => 'Takibi bırak'; + + @override + String get subscribe => 'Takip et'; + + @override + String get messages => 'Mesajlar'; + + @override + String get banned_users => 'Yasaklanmış Kullanıcılar'; + + @override + String get delete_account_confirm => + 'Uyarı: Devam etmek bütün verilerinizi kalıcı olarak silecektir. Onaylamak için şifrenizi girin.'; + + @override + String get new_password => 'Yeni şifre'; + + @override + String get verify_password => 'Şifreyi doğrulayın'; + + @override + String get old_password => 'Eski şifre'; + + @override + String get show_avatars => 'Avatarları Göster'; + + @override + String get search => 'Ara'; + + @override + String get send_message => 'Mesaj Yolla'; + + @override + String get top_day => 'Günün en iyileri'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_uk.dart b/lib/l10n/gen/l10n_uk.dart new file mode 100644 index 0000000..ddce0e9 --- /dev/null +++ b/lib/l10n/gen/l10n_uk.dart @@ -0,0 +1,462 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Ukrainian (`uk`). +class L10nUk extends L10n { + L10nUk([String locale = 'uk']) : super(locale); + + @override + String get settings => 'Налаштування'; + + @override + String get password => 'Пароль'; + + @override + String get email_or_username => 'email або ім\'я користувача'; + + @override + String get posts => 'Записи'; + + @override + String get comments => 'Коментарі'; + + @override + String get modlog => 'Модлог'; + + @override + String get community => 'Спільнота'; + + @override + String get url => 'URL'; + + @override + String get title => 'Назва'; + + @override + String get body => 'Тіло'; + + @override + String get nsfw => 'NSFW'; + + @override + String get post => 'Запис'; + + @override + String get save => 'зберегти'; + + @override + String get subscribed => 'Підписані'; + + @override + String get local => 'Local'; + + @override + String get all => 'Все'; + + @override + String get replies => 'Відповіді'; + + @override + String get mentions => 'Згадування'; + + @override + String get from => 'від'; + + @override + String get to => 'в'; + + @override + String get deleted_by_creator => 'видалено автором'; + + @override + String get more => 'більше'; + + @override + String get mark_as_read => 'позначити як прочитані'; + + @override + String get mark_as_unread => 'позначити як непрочитані'; + + @override + String get reply => 'відповісти'; + + @override + String get edit => 'редагувати'; + + @override + String get delete => 'видалити'; + + @override + String get restore => 'відновити'; + + @override + String get yes => 'так'; + + @override + String get no => 'ні'; + + @override + String get avatar => 'Аватар'; + + @override + String get banner => 'Banner'; + + @override + String get display_name => 'Display name'; + + @override + String get bio => 'Bio'; + + @override + String get email => 'email'; + + @override + String get matrix_user => 'Matrix айді користувача'; + + @override + String get sort_type => 'Тип сортування'; + + @override + String get type => 'Тип'; + + @override + String get show_nsfw => 'Показувати NSFW-контент'; + + @override + String get send_notifications_to_email => + 'Посилати повідомлення на e-mail адресу'; + + @override + String get delete_account => 'Видалити акаунт'; + + @override + String get saved => 'Збережено'; + + @override + String get communities => 'Спільноти'; + + @override + String get users => 'Користувачі'; + + @override + String get theme => 'Візуальна тема'; + + @override + String get language => 'Мова'; + + @override + String get hot => 'Популярне'; + + @override + String get new_ => 'Нове'; + + @override + String get old => 'Старе'; + + @override + String get top => 'Найкраще'; + + @override + String get chat => 'Чат'; + + @override + String get admin => 'адміністратор'; + + @override + String get by => 'від'; + + @override + String get not_a_mod_or_admin => 'Not a moderator or admin.'; + + @override + String get not_an_admin => 'Не адміністратор.'; + + @override + String get couldnt_find_post => 'Не вдалося знайти запис.'; + + @override + String get not_logged_in => 'Не авторизовані.'; + + @override + String get site_ban => 'Ви були заблоковані на данному сайті'; + + @override + String get community_ban => 'Ви були заблоковані в цій спільноті.'; + + @override + String get downvotes_disabled => 'Від\'ємне голосування вимкненно.'; + + @override + String get invalid_url => 'Invalid URL.'; + + @override + String get locked => 'заблоковоано'; + + @override + String get couldnt_create_comment => 'Не вдалося створити коментар.'; + + @override + String get couldnt_like_comment => 'Не вдалося лайкнути коментар.'; + + @override + String get couldnt_update_comment => 'Не вдалося обновити коментар.'; + + @override + String get no_comment_edit_allowed => 'Неможливо відредагувати коментар.'; + + @override + String get couldnt_save_comment => 'Не вдалося зберегти коментар.'; + + @override + String get couldnt_get_comments => 'Не вдалося отримати коментар.'; + + @override + String get report_reason_required => 'Report reason required.'; + + @override + String get report_too_long => 'Report too long.'; + + @override + String get couldnt_create_report => 'Couldn\'t create report.'; + + @override + String get couldnt_resolve_report => 'Couldn\'t resolve report.'; + + @override + String get invalid_post_title => 'Invalid post title'; + + @override + String get couldnt_create_post => 'Не вдалося створити запис.'; + + @override + String get couldnt_like_post => 'Не вдалося лайкнути запис.'; + + @override + String get couldnt_find_community => 'Не вдалося знайти спільноту.'; + + @override + String get couldnt_get_posts => 'Не вдалося знайти записи'; + + @override + String get no_post_edit_allowed => 'Неможливо відредагувати запис.'; + + @override + String get couldnt_save_post => 'Не вдалося зберегти запис.'; + + @override + String get site_already_exists => 'Сайт вже існує.'; + + @override + String get couldnt_update_site => 'Не вдалося оновити сайт.'; + + @override + String get invalid_community_name => 'Неправильне ім\'я користувача.'; + + @override + String get community_already_exists => 'Спільнота вже існує.'; + + @override + String get community_moderator_already_exists => + 'Модератор спільноти вже існує.'; + + @override + String get community_follower_already_exists => + 'Підписник спільноти вже існує.'; + + @override + String get not_a_moderator => 'Not a moderator.'; + + @override + String get couldnt_update_community => 'Не вдалося обновити спільноту.'; + + @override + String get no_community_edit_allowed => 'Неможливо відредагувати спільноту.'; + + @override + String get system_err_login => + 'Системна помилка. Спробуйте вийти та зайти назад.'; + + @override + String get community_user_already_banned => 'Член спільноти вже забаниний..'; + + @override + String get couldnt_find_that_username_or_email => + 'Не вдалося знайти ім\'я користувача чи email.'; + + @override + String get password_incorrect => 'Неправильний пароль.'; + + @override + String get registration_closed => 'Реєстрацію закрито'; + + @override + String get invalid_password => + 'Invalid password. Password must be <= 60 characters.'; + + @override + String get passwords_dont_match => 'Паролі не співпадають.'; + + @override + String get captcha_incorrect => 'Captcha incorrect.'; + + @override + String get invalid_username => 'Неправильне ім\'я користувача.'; + + @override + String get bio_length_overflow => 'User bio cannot exceed 300 characters.'; + + @override + String get couldnt_update_user => 'Не вдалося оновити користувача.'; + + @override + String get couldnt_update_private_message => + 'Не вдалося оновити особисте повідомлення.'; + + @override + String get couldnt_update_post => 'Не вдалося обновити запис'; + + @override + String get couldnt_create_private_message => + 'Не вдалося отримати особисте повідомлення.'; + + @override + String get no_private_message_edit_allowed => + 'Не можна редагувати особисті повідомлення.'; + + @override + String get post_title_too_long => + 'Довжина назви перебільшує допустимий ліміт.'; + + @override + String get email_already_exists => 'E-mail вже існує.'; + + @override + String get user_already_exists => 'Користувач вже існує.'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user online', + other: '$count users online', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString comment', + other: '$countString comments', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString post', + other: '$countString posts', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count subscriber', + other: '$count subscribers', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count user', + other: '$count users', + ); + } + + @override + String get unsubscribe => 'Відписатися'; + + @override + String get subscribe => 'Підписатися'; + + @override + String get messages => 'Повідомлення'; + + @override + String get banned_users => 'Забанані користувачі'; + + @override + String get delete_account_confirm => + 'Попередження: ця дія повністю знищить всі данні вашего акаунта. Введіть свій пароль для підтвердження.'; + + @override + String get new_password => 'Новий пароль'; + + @override + String get verify_password => 'Повторіть пароль'; + + @override + String get old_password => 'Діючий пароль'; + + @override + String get show_avatars => 'Показувати аватари'; + + @override + String get search => 'Пошук'; + + @override + String get send_message => 'Послати повідомлення'; + + @override + String get top_day => 'Найкраще за день'; + + @override + String get top_week => 'Top Week'; + + @override + String get top_month => 'Top Month'; + + @override + String get top_year => 'Top Year'; + + @override + String get top_all => 'Top All Time'; + + @override + String get most_comments => 'Most Comments'; + + @override + String get new_comments => 'New Comments'; + + @override + String get active => 'Active'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} diff --git a/lib/l10n/gen/l10n_zh.dart b/lib/l10n/gen/l10n_zh.dart new file mode 100644 index 0000000..807b8bc --- /dev/null +++ b/lib/l10n/gen/l10n_zh.dart @@ -0,0 +1,529 @@ +import 'package:intl/intl.dart' as intl; +import 'l10n.dart'; + +/// The translations for Chinese (`zh`). +class L10nZh extends L10n { + L10nZh([String locale = 'zh']) : super(locale); + + @override + String get settings => '设置'; + + @override + String get password => '密码'; + + @override + String get email_or_username => '邮箱或用户名'; + + @override + String get posts => '帖子'; + + @override + String get comments => '评论'; + + @override + String get modlog => '管理记录'; + + @override + String get community => '社群'; + + @override + String get url => '相关网址'; + + @override + String get title => '标语'; + + @override + String get body => '内容'; + + @override + String get nsfw => '工作场所不宜'; + + @override + String get post => '回帖'; + + @override + String get save => '保存'; + + @override + String get subscribed => '已订阅'; + + @override + String get local => '本地'; + + @override + String get all => '所有'; + + @override + String get replies => '回复'; + + @override + String get mentions => '提到'; + + @override + String get from => '由'; + + @override + String get to => '发布到'; + + @override + String get deleted_by_creator => '作者已删除'; + + @override + String get more => '更多'; + + @override + String get mark_as_read => '标记为已读'; + + @override + String get mark_as_unread => '标记为未读'; + + @override + String get reply => '回复'; + + @override + String get edit => '编辑'; + + @override + String get delete => '删除'; + + @override + String get restore => '恢复'; + + @override + String get yes => '是'; + + @override + String get no => '否'; + + @override + String get avatar => '头像'; + + @override + String get banner => '横幅'; + + @override + String get display_name => '显示名称'; + + @override + String get bio => '简介'; + + @override + String get email => '邮箱'; + + @override + String get matrix_user => 'Matrix用户'; + + @override + String get sort_type => '排序方式'; + + @override + String get type => '类型'; + + @override + String get show_nsfw => '显示工作场所不宜内容'; + + @override + String get send_notifications_to_email => '向邮箱发送通知'; + + @override + String get delete_account => '删除账号'; + + @override + String get saved => '保存'; + + @override + String get communities => '社群'; + + @override + String get users => '用户'; + + @override + String get theme => '主题'; + + @override + String get language => '语言'; + + @override + String get hot => '最热'; + + @override + String get new_ => '最新'; + + @override + String get old => '最早'; + + @override + String get top => '推荐'; + + @override + String get chat => '聊天'; + + @override + String get admin => '总管理员'; + + @override + String get by => ' '; + + @override + String get not_a_mod_or_admin => '不是仲裁员或管理员。'; + + @override + String get not_an_admin => '不是管理员。'; + + @override + String get couldnt_find_post => '无法找到帖子。'; + + @override + String get not_logged_in => '未登录。'; + + @override + String get site_ban => '你已被本站拉黑'; + + @override + String get community_ban => '你已被此社群拉黑。'; + + @override + String get downvotes_disabled => '踩已禁用'; + + @override + String get invalid_url => 'URL无效。'; + + @override + String get locked => '已锁定'; + + @override + String get couldnt_create_comment => '无法创建评论。'; + + @override + String get couldnt_like_comment => '无法点赞评论。'; + + @override + String get couldnt_update_comment => '无法更新评论。'; + + @override + String get no_comment_edit_allowed => '没有编辑评论的权限。'; + + @override + String get couldnt_save_comment => '无法保存评论。'; + + @override + String get couldnt_get_comments => '无法获取评论。'; + + @override + String get report_reason_required => '需要报告原因。'; + + @override + String get report_too_long => '报告时间过长。'; + + @override + String get couldnt_create_report => '无法创建报告。'; + + @override + String get couldnt_resolve_report => '无法解析报告。'; + + @override + String get invalid_post_title => '帖子标题无效'; + + @override + String get couldnt_create_post => '无法创建帖子。'; + + @override + String get couldnt_like_post => '无法点赞帖子。'; + + @override + String get couldnt_find_community => '无法找到社群。'; + + @override + String get couldnt_get_posts => '无法获取帖子'; + + @override + String get no_post_edit_allowed => '没有编辑帖子的权限。'; + + @override + String get couldnt_save_post => '无法保存帖子。'; + + @override + String get site_already_exists => '站点已存在。'; + + @override + String get couldnt_update_site => '无法更新站点。'; + + @override + String get invalid_community_name => '无效名称。'; + + @override + String get community_already_exists => '社群已存在。'; + + @override + String get community_moderator_already_exists => '社群监管人已存在。'; + + @override + String get community_follower_already_exists => '社群关注者已存在。'; + + @override + String get not_a_moderator => '不是仲裁员。'; + + @override + String get couldnt_update_community => '无法更新社群。'; + + @override + String get no_community_edit_allowed => '没有编辑社群的权限。'; + + @override + String get system_err_login => '系统错误。请尝试注销后重新登入。'; + + @override + String get community_user_already_banned => '社群用户已被禁止。'; + + @override + String get couldnt_find_that_username_or_email => '用户名/邮箱不存在。'; + + @override + String get password_incorrect => '密码不正确。'; + + @override + String get registration_closed => '注册功能已关闭'; + + @override + String get invalid_password => '密码无效。密码长度必须小于60个字符。'; + + @override + String get passwords_dont_match => '密码不匹配。'; + + @override + String get captcha_incorrect => '验证码不正确。'; + + @override + String get invalid_username => '用户名无效。'; + + @override + String get bio_length_overflow => '自我介绍不能超过300个字符。'; + + @override + String get couldnt_update_user => '无法更新用户。'; + + @override + String get couldnt_update_private_message => '无法更新私信。'; + + @override + String get couldnt_update_post => '无法更新帖子'; + + @override + String get couldnt_create_private_message => '无法创建私信。'; + + @override + String get no_private_message_edit_allowed => '没有编辑私信的权限。'; + + @override + String get post_title_too_long => '帖子标题过长。'; + + @override + String get email_already_exists => '邮箱已占用。'; + + @override + String get user_already_exists => '用户已存在。'; + + @override + String number_of_users_online(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count 在线用户', + other: '$count 名在线用户', + ); + } + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString 条评论', + other: '$countString 条评论', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$countString 个帖子', + other: '$countString 条帖子', + ); + } + + @override + String number_of_subscribers(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count 订阅者', + other: '$count 名订阅者', + ); + } + + @override + String number_of_users(int count) { + return intl.Intl.pluralLogic( + count, + locale: localeName, + one: '$count 用户', + other: '$count 名用户', + ); + } + + @override + String get unsubscribe => '取消订阅'; + + @override + String get subscribe => '订阅'; + + @override + String get messages => '信息'; + + @override + String get banned_users => '被禁止用户'; + + @override + String get delete_account_confirm => '警告:此操作将永久删除你的数据,请输入密码进行确认。'; + + @override + String get new_password => '新密码'; + + @override + String get verify_password => '确认密码'; + + @override + String get old_password => '当前密码'; + + @override + String get show_avatars => '显示头像'; + + @override + String get search => '搜索'; + + @override + String get send_message => '发送消息'; + + @override + String get top_day => '日推荐'; + + @override + String get top_week => '周推荐'; + + @override + String get top_month => '月推荐'; + + @override + String get top_year => '年推荐'; + + @override + String get top_all => '全部推荐'; + + @override + String get most_comments => '最多评论'; + + @override + String get new_comments => '新评论'; + + @override + String get active => '活跃'; + + @override + String get bot_account => 'Bot Account'; + + @override + String get show_bot_accounts => 'Show Bot Accounts'; + + @override + String get show_read_posts => 'Show Read Posts'; +} + +/// The translations for Chinese, using the Han script (`zh_Hant`). +class L10nZhHant extends L10nZh { + L10nZhHant() : super('zh_Hant'); + + @override + String get posts => '貼文'; + + @override + String get comments => '評論'; + + @override + String get post => '回文'; + + @override + String get more => '更多'; + + @override + String get reply => '回覆'; + + @override + String get edit => '編輯'; + + @override + String get avatar => '虛擬化身'; + + @override + String get banner => '橫幅'; + + @override + String get communities => '社群'; + + @override + String get users => '使用者'; + + @override + String get invalid_community_name => '無效的名稱。'; + + @override + String number_of_comments(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString 則評論', + ); + } + + @override + String number_of_posts(int count) { + final intl.NumberFormat countNumberFormat = intl.NumberFormat.compact( + locale: localeName, + ); + final String countString = countNumberFormat.format(count); + + return intl.Intl.pluralLogic( + count, + locale: localeName, + other: '$countString 個貼文', + ); + } + + @override + String get show_avatars => '顯示頭像'; + + @override + String get send_message => '發送私人訊息'; + + @override + String get bot_account => '機器人帳號'; + + @override + String get show_bot_accounts => '顯示機器人帳號'; +} diff --git a/lib/l10n/l10n.dart b/lib/l10n/l10n.dart index ca5c83e..6c1bba7 100644 --- a/lib/l10n/l10n.dart +++ b/lib/l10n/l10n.dart @@ -1,8 +1,7 @@ import 'package:flutter/material.dart'; import 'package:json_annotation/json_annotation.dart'; -export 'package:flutter_gen/gen_l10n/l10n.dart'; - +export 'gen/l10n.dart'; export 'l10n_api.dart'; export 'l10n_from_string.dart'; diff --git a/lib/l10n/l10n_api.dart b/lib/l10n/l10n_api.dart index 97d3116..a2cd399 100644 --- a/lib/l10n/l10n_api.dart +++ b/lib/l10n/l10n_api.dart @@ -1,30 +1,31 @@ import 'package:flutter/material.dart'; -import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:lemmy_api_client/v3.dart'; +import 'gen/l10n.dart'; + extension SortTypeL10n on SortType { String tr(BuildContext context) { switch (this) { case SortType.hot: - return L10n.of(context)!.hot; + return L10n.of(context).hot; case SortType.new_: - return L10n.of(context)!.new_; + return L10n.of(context).new_; case SortType.topYear: - return L10n.of(context)!.top_year; + return L10n.of(context).top_year; case SortType.topMonth: - return L10n.of(context)!.top_month; + return L10n.of(context).top_month; case SortType.topWeek: - return L10n.of(context)!.top_week; + return L10n.of(context).top_week; case SortType.topDay: - return L10n.of(context)!.top_day; + return L10n.of(context).top_day; case SortType.topAll: - return L10n.of(context)!.top_all; + return L10n.of(context).top_all; case SortType.newComments: - return L10n.of(context)!.new_comments; + return L10n.of(context).new_comments; case SortType.active: - return L10n.of(context)!.active; + return L10n.of(context).active; case SortType.mostComments: - return L10n.of(context)!.most_comments; + return L10n.of(context).most_comments; default: throw Exception('unreachable'); } @@ -35,13 +36,13 @@ extension PostListingTypeL10n on PostListingType { String tr(BuildContext context) { switch (this) { case PostListingType.all: - return L10n.of(context)!.all; + return L10n.of(context).all; case PostListingType.community: - return L10n.of(context)!.community; + return L10n.of(context).community; case PostListingType.local: - return L10n.of(context)!.local; + return L10n.of(context).local; case PostListingType.subscribed: - return L10n.of(context)!.subscribed; + return L10n.of(context).subscribed; default: throw Exception('unreachable'); } @@ -52,17 +53,17 @@ extension SearchTypeL10n on SearchType { String tr(BuildContext context) { switch (this) { case SearchType.all: - return L10n.of(context)!.all; + return L10n.of(context).all; case SearchType.comments: - return L10n.of(context)!.comments; + return L10n.of(context).comments; case SearchType.communities: - return L10n.of(context)!.communities; + return L10n.of(context).communities; case SearchType.posts: - return L10n.of(context)!.posts; + return L10n.of(context).posts; case SearchType.url: - return L10n.of(context)!.url; + return L10n.of(context).url; case SearchType.users: - return L10n.of(context)!.users; + return L10n.of(context).users; default: throw Exception('unreachable'); } diff --git a/lib/l10n/l10n_from_string.dart b/lib/l10n/l10n_from_string.dart index 7bcbb33..d982ee0 100644 --- a/lib/l10n/l10n_from_string.dart +++ b/lib/l10n/l10n_from_string.dart @@ -2,7 +2,8 @@ // ignore_for_file: constant_identifier_names import 'package:flutter/material.dart'; -import 'package:flutter_gen/gen_l10n/l10n.dart'; + +import 'gen/l10n.dart'; abstract class L10nStrings { static const settings = 'settings'; @@ -150,261 +151,261 @@ extension L10nFromString on String { String tr(BuildContext context) { switch (this) { case L10nStrings.settings: - return L10n.of(context)!.settings; + return L10n.of(context).settings; case L10nStrings.password: - return L10n.of(context)!.password; + return L10n.of(context).password; case L10nStrings.email_or_username: - return L10n.of(context)!.email_or_username; + return L10n.of(context).email_or_username; case L10nStrings.posts: - return L10n.of(context)!.posts; + return L10n.of(context).posts; case L10nStrings.comments: - return L10n.of(context)!.comments; + return L10n.of(context).comments; case L10nStrings.modlog: - return L10n.of(context)!.modlog; + return L10n.of(context).modlog; case L10nStrings.community: - return L10n.of(context)!.community; + return L10n.of(context).community; case L10nStrings.url: - return L10n.of(context)!.url; + return L10n.of(context).url; case L10nStrings.title: - return L10n.of(context)!.title; + return L10n.of(context).title; case L10nStrings.body: - return L10n.of(context)!.body; + return L10n.of(context).body; case L10nStrings.nsfw: - return L10n.of(context)!.nsfw; + return L10n.of(context).nsfw; case L10nStrings.post: - return L10n.of(context)!.post; + return L10n.of(context).post; case L10nStrings.save: - return L10n.of(context)!.save; + return L10n.of(context).save; case L10nStrings.subscribed: - return L10n.of(context)!.subscribed; + return L10n.of(context).subscribed; case L10nStrings.local: - return L10n.of(context)!.local; + return L10n.of(context).local; case L10nStrings.all: - return L10n.of(context)!.all; + return L10n.of(context).all; case L10nStrings.replies: - return L10n.of(context)!.replies; + return L10n.of(context).replies; case L10nStrings.mentions: - return L10n.of(context)!.mentions; + return L10n.of(context).mentions; case L10nStrings.from: - return L10n.of(context)!.from; + return L10n.of(context).from; case L10nStrings.to: - return L10n.of(context)!.to; + return L10n.of(context).to; case L10nStrings.deleted_by_creator: - return L10n.of(context)!.deleted_by_creator; + return L10n.of(context).deleted_by_creator; case L10nStrings.more: - return L10n.of(context)!.more; + return L10n.of(context).more; case L10nStrings.mark_as_read: - return L10n.of(context)!.mark_as_read; + return L10n.of(context).mark_as_read; case L10nStrings.mark_as_unread: - return L10n.of(context)!.mark_as_unread; + return L10n.of(context).mark_as_unread; case L10nStrings.reply: - return L10n.of(context)!.reply; + return L10n.of(context).reply; case L10nStrings.edit: - return L10n.of(context)!.edit; + return L10n.of(context).edit; case L10nStrings.delete: - return L10n.of(context)!.delete; + return L10n.of(context).delete; case L10nStrings.restore: - return L10n.of(context)!.restore; + return L10n.of(context).restore; case L10nStrings.yes: - return L10n.of(context)!.yes; + return L10n.of(context).yes; case L10nStrings.no: - return L10n.of(context)!.no; + return L10n.of(context).no; case L10nStrings.avatar: - return L10n.of(context)!.avatar; + return L10n.of(context).avatar; case L10nStrings.banner: - return L10n.of(context)!.banner; + return L10n.of(context).banner; case L10nStrings.display_name: - return L10n.of(context)!.display_name; + return L10n.of(context).display_name; case L10nStrings.bio: - return L10n.of(context)!.bio; + return L10n.of(context).bio; case L10nStrings.email: - return L10n.of(context)!.email; + return L10n.of(context).email; case L10nStrings.matrix_user: - return L10n.of(context)!.matrix_user; + return L10n.of(context).matrix_user; case L10nStrings.sort_type: - return L10n.of(context)!.sort_type; + return L10n.of(context).sort_type; case L10nStrings.type: - return L10n.of(context)!.type; + return L10n.of(context).type; case L10nStrings.show_nsfw: - return L10n.of(context)!.show_nsfw; + return L10n.of(context).show_nsfw; case L10nStrings.send_notifications_to_email: - return L10n.of(context)!.send_notifications_to_email; + return L10n.of(context).send_notifications_to_email; case L10nStrings.delete_account: - return L10n.of(context)!.delete_account; + return L10n.of(context).delete_account; case L10nStrings.saved: - return L10n.of(context)!.saved; + return L10n.of(context).saved; case L10nStrings.communities: - return L10n.of(context)!.communities; + return L10n.of(context).communities; case L10nStrings.users: - return L10n.of(context)!.users; + return L10n.of(context).users; case L10nStrings.theme: - return L10n.of(context)!.theme; + return L10n.of(context).theme; case L10nStrings.language: - return L10n.of(context)!.language; + return L10n.of(context).language; case L10nStrings.hot: - return L10n.of(context)!.hot; + return L10n.of(context).hot; case L10nStrings.new_: - return L10n.of(context)!.new_; + return L10n.of(context).new_; case L10nStrings.old: - return L10n.of(context)!.old; + return L10n.of(context).old; case L10nStrings.top: - return L10n.of(context)!.top; + return L10n.of(context).top; case L10nStrings.chat: - return L10n.of(context)!.chat; + return L10n.of(context).chat; case L10nStrings.admin: - return L10n.of(context)!.admin; + return L10n.of(context).admin; case L10nStrings.by: - return L10n.of(context)!.by; + return L10n.of(context).by; case L10nStrings.not_a_mod_or_admin: - return L10n.of(context)!.not_a_mod_or_admin; + return L10n.of(context).not_a_mod_or_admin; case L10nStrings.not_an_admin: - return L10n.of(context)!.not_an_admin; + return L10n.of(context).not_an_admin; case L10nStrings.couldnt_find_post: - return L10n.of(context)!.couldnt_find_post; + return L10n.of(context).couldnt_find_post; case L10nStrings.not_logged_in: - return L10n.of(context)!.not_logged_in; + return L10n.of(context).not_logged_in; case L10nStrings.site_ban: - return L10n.of(context)!.site_ban; + return L10n.of(context).site_ban; case L10nStrings.community_ban: - return L10n.of(context)!.community_ban; + return L10n.of(context).community_ban; case L10nStrings.downvotes_disabled: - return L10n.of(context)!.downvotes_disabled; + return L10n.of(context).downvotes_disabled; case L10nStrings.invalid_url: - return L10n.of(context)!.invalid_url; + return L10n.of(context).invalid_url; case L10nStrings.locked: - return L10n.of(context)!.locked; + return L10n.of(context).locked; case L10nStrings.couldnt_create_comment: - return L10n.of(context)!.couldnt_create_comment; + return L10n.of(context).couldnt_create_comment; case L10nStrings.couldnt_like_comment: - return L10n.of(context)!.couldnt_like_comment; + return L10n.of(context).couldnt_like_comment; case L10nStrings.couldnt_update_comment: - return L10n.of(context)!.couldnt_update_comment; + return L10n.of(context).couldnt_update_comment; case L10nStrings.no_comment_edit_allowed: - return L10n.of(context)!.no_comment_edit_allowed; + return L10n.of(context).no_comment_edit_allowed; case L10nStrings.couldnt_save_comment: - return L10n.of(context)!.couldnt_save_comment; + return L10n.of(context).couldnt_save_comment; case L10nStrings.couldnt_get_comments: - return L10n.of(context)!.couldnt_get_comments; + return L10n.of(context).couldnt_get_comments; case L10nStrings.report_reason_required: - return L10n.of(context)!.report_reason_required; + return L10n.of(context).report_reason_required; case L10nStrings.report_too_long: - return L10n.of(context)!.report_too_long; + return L10n.of(context).report_too_long; case L10nStrings.couldnt_create_report: - return L10n.of(context)!.couldnt_create_report; + return L10n.of(context).couldnt_create_report; case L10nStrings.couldnt_resolve_report: - return L10n.of(context)!.couldnt_resolve_report; + return L10n.of(context).couldnt_resolve_report; case L10nStrings.invalid_post_title: - return L10n.of(context)!.invalid_post_title; + return L10n.of(context).invalid_post_title; case L10nStrings.couldnt_create_post: - return L10n.of(context)!.couldnt_create_post; + return L10n.of(context).couldnt_create_post; case L10nStrings.couldnt_like_post: - return L10n.of(context)!.couldnt_like_post; + return L10n.of(context).couldnt_like_post; case L10nStrings.couldnt_find_community: - return L10n.of(context)!.couldnt_find_community; + return L10n.of(context).couldnt_find_community; case L10nStrings.couldnt_get_posts: - return L10n.of(context)!.couldnt_get_posts; + return L10n.of(context).couldnt_get_posts; case L10nStrings.no_post_edit_allowed: - return L10n.of(context)!.no_post_edit_allowed; + return L10n.of(context).no_post_edit_allowed; case L10nStrings.couldnt_save_post: - return L10n.of(context)!.couldnt_save_post; + return L10n.of(context).couldnt_save_post; case L10nStrings.site_already_exists: - return L10n.of(context)!.site_already_exists; + return L10n.of(context).site_already_exists; case L10nStrings.couldnt_update_site: - return L10n.of(context)!.couldnt_update_site; + return L10n.of(context).couldnt_update_site; case L10nStrings.invalid_community_name: - return L10n.of(context)!.invalid_community_name; + return L10n.of(context).invalid_community_name; case L10nStrings.community_already_exists: - return L10n.of(context)!.community_already_exists; + return L10n.of(context).community_already_exists; case L10nStrings.community_moderator_already_exists: - return L10n.of(context)!.community_moderator_already_exists; + return L10n.of(context).community_moderator_already_exists; case L10nStrings.community_follower_already_exists: - return L10n.of(context)!.community_follower_already_exists; + return L10n.of(context).community_follower_already_exists; case L10nStrings.not_a_moderator: - return L10n.of(context)!.not_a_moderator; + return L10n.of(context).not_a_moderator; case L10nStrings.couldnt_update_community: - return L10n.of(context)!.couldnt_update_community; + return L10n.of(context).couldnt_update_community; case L10nStrings.no_community_edit_allowed: - return L10n.of(context)!.no_community_edit_allowed; + return L10n.of(context).no_community_edit_allowed; case L10nStrings.system_err_login: - return L10n.of(context)!.system_err_login; + return L10n.of(context).system_err_login; case L10nStrings.community_user_already_banned: - return L10n.of(context)!.community_user_already_banned; + return L10n.of(context).community_user_already_banned; case L10nStrings.couldnt_find_that_username_or_email: - return L10n.of(context)!.couldnt_find_that_username_or_email; + return L10n.of(context).couldnt_find_that_username_or_email; case L10nStrings.password_incorrect: - return L10n.of(context)!.password_incorrect; + return L10n.of(context).password_incorrect; case L10nStrings.registration_closed: - return L10n.of(context)!.registration_closed; + return L10n.of(context).registration_closed; case L10nStrings.invalid_password: - return L10n.of(context)!.invalid_password; + return L10n.of(context).invalid_password; case L10nStrings.passwords_dont_match: - return L10n.of(context)!.passwords_dont_match; + return L10n.of(context).passwords_dont_match; case L10nStrings.captcha_incorrect: - return L10n.of(context)!.captcha_incorrect; + return L10n.of(context).captcha_incorrect; case L10nStrings.invalid_username: - return L10n.of(context)!.invalid_username; + return L10n.of(context).invalid_username; case L10nStrings.bio_length_overflow: - return L10n.of(context)!.bio_length_overflow; + return L10n.of(context).bio_length_overflow; case L10nStrings.couldnt_update_user: - return L10n.of(context)!.couldnt_update_user; + return L10n.of(context).couldnt_update_user; case L10nStrings.couldnt_update_private_message: - return L10n.of(context)!.couldnt_update_private_message; + return L10n.of(context).couldnt_update_private_message; case L10nStrings.couldnt_update_post: - return L10n.of(context)!.couldnt_update_post; + return L10n.of(context).couldnt_update_post; case L10nStrings.couldnt_create_private_message: - return L10n.of(context)!.couldnt_create_private_message; + return L10n.of(context).couldnt_create_private_message; case L10nStrings.no_private_message_edit_allowed: - return L10n.of(context)!.no_private_message_edit_allowed; + return L10n.of(context).no_private_message_edit_allowed; case L10nStrings.post_title_too_long: - return L10n.of(context)!.post_title_too_long; + return L10n.of(context).post_title_too_long; case L10nStrings.email_already_exists: - return L10n.of(context)!.email_already_exists; + return L10n.of(context).email_already_exists; case L10nStrings.user_already_exists: - return L10n.of(context)!.user_already_exists; + return L10n.of(context).user_already_exists; case L10nStrings.unsubscribe: - return L10n.of(context)!.unsubscribe; + return L10n.of(context).unsubscribe; case L10nStrings.subscribe: - return L10n.of(context)!.subscribe; + return L10n.of(context).subscribe; case L10nStrings.messages: - return L10n.of(context)!.messages; + return L10n.of(context).messages; case L10nStrings.banned_users: - return L10n.of(context)!.banned_users; + return L10n.of(context).banned_users; case L10nStrings.delete_account_confirm: - return L10n.of(context)!.delete_account_confirm; + return L10n.of(context).delete_account_confirm; case L10nStrings.new_password: - return L10n.of(context)!.new_password; + return L10n.of(context).new_password; case L10nStrings.verify_password: - return L10n.of(context)!.verify_password; + return L10n.of(context).verify_password; case L10nStrings.old_password: - return L10n.of(context)!.old_password; + return L10n.of(context).old_password; case L10nStrings.show_avatars: - return L10n.of(context)!.show_avatars; + return L10n.of(context).show_avatars; case L10nStrings.search: - return L10n.of(context)!.search; + return L10n.of(context).search; case L10nStrings.send_message: - return L10n.of(context)!.send_message; + return L10n.of(context).send_message; case L10nStrings.top_day: - return L10n.of(context)!.top_day; + return L10n.of(context).top_day; case L10nStrings.top_week: - return L10n.of(context)!.top_week; + return L10n.of(context).top_week; case L10nStrings.top_month: - return L10n.of(context)!.top_month; + return L10n.of(context).top_month; case L10nStrings.top_year: - return L10n.of(context)!.top_year; + return L10n.of(context).top_year; case L10nStrings.top_all: - return L10n.of(context)!.top_all; + return L10n.of(context).top_all; case L10nStrings.most_comments: - return L10n.of(context)!.most_comments; + return L10n.of(context).most_comments; case L10nStrings.new_comments: - return L10n.of(context)!.new_comments; + return L10n.of(context).new_comments; case L10nStrings.active: - return L10n.of(context)!.active; + return L10n.of(context).active; case L10nStrings.bot_account: - return L10n.of(context)!.bot_account; + return L10n.of(context).bot_account; case L10nStrings.show_bot_accounts: - return L10n.of(context)!.show_bot_accounts; + return L10n.of(context).show_bot_accounts; case L10nStrings.show_read_posts: - return L10n.of(context)!.show_read_posts; + return L10n.of(context).show_read_posts; default: return this; diff --git a/lib/pages/community.dart b/lib/pages/community.dart index 76d4419..afe7357 100644 --- a/lib/pages/community.dart +++ b/lib/pages/community.dart @@ -171,8 +171,8 @@ class CommunityPage extends HookWidget { color: theme.cardColor, child: TabBar( tabs: [ - Tab(text: L10n.of(context)!.posts), - Tab(text: L10n.of(context)!.comments), + Tab(text: L10n.of(context).posts), + Tab(text: L10n.of(context).comments), const Tab(text: 'About'), ], ), @@ -392,7 +392,7 @@ class _AboutTab extends StatelessWidget { padding: const EdgeInsets.symmetric(horizontal: 15), children: [ Chip( - label: Text(L10n.of(context)! + label: Text(L10n.of(context) .number_of_users_online(onlineUsers ?? 0))), Chip( label: @@ -407,7 +407,7 @@ class _AboutTab extends StatelessWidget { label: Text( '${community.counts.usersActiveHalfYear} users / 6 months')), Chip( - label: Text(L10n.of(context)! + label: Text(L10n.of(context) .number_of_subscribers(community.counts.subscribers))), Chip( label: Text( @@ -430,7 +430,7 @@ class _AboutTab extends StatelessWidget { communityName: community.community.name, ), ), - child: Text(L10n.of(context)!.modlog), + child: Text(L10n.of(context).modlog), ), ), const _Divider(), @@ -525,8 +525,8 @@ class _FollowButton extends HookWidget { ? const Icon(Icons.remove, size: 18) : const Icon(Icons.add, size: 18), label: Text(isSubbed.value - ? L10n.of(context)!.unsubscribe - : L10n.of(context)!.subscribe), + ? L10n.of(context).unsubscribe + : L10n.of(context).subscribe), ), ), ), diff --git a/lib/pages/create_post.dart b/lib/pages/create_post.dart index b6cb9f2..39b8c18 100644 --- a/lib/pages/create_post.dart +++ b/lib/pages/create_post.dart @@ -231,7 +231,7 @@ class CreatePostPage extends HookWidget { child: DropdownButtonHideUnderline( child: DropdownButton( value: selectedCommunity.value?.community.id, - hint: Text(L10n.of(context)!.community), + hint: Text(L10n.of(context).community), onChanged: _isEdit ? null : (communityId) { @@ -254,7 +254,7 @@ class CreatePostPage extends HookWidget { keyboardType: TextInputType.url, onSubmitted: (_) => titleFocusNode.requestFocus(), decoration: InputDecoration( - labelText: L10n.of(context)!.url, + labelText: L10n.of(context).url, suffixIcon: const Icon(Icons.link), ), ), @@ -282,7 +282,7 @@ class CreatePostPage extends HookWidget { onSubmitted: (_) => bodyFocusNode.requestFocus(), minLines: 1, maxLines: 2, - decoration: InputDecoration(labelText: L10n.of(context)!.title), + decoration: InputDecoration(labelText: L10n.of(context).title), ); final body = Editor( @@ -290,7 +290,7 @@ class CreatePostPage extends HookWidget { focusNode: bodyFocusNode, onSubmitted: (_) => delayed.pending ? () {} : loggedInAction(handleSubmit), - labelText: L10n.of(context)!.body, + labelText: L10n.of(context).body, instanceHost: selectedInstance.value, fancy: showFancy.value, ); @@ -327,7 +327,7 @@ class CreatePostPage extends HookWidget { if (val != null) nsfw.value = val; }, ), - Text(L10n.of(context)!.nsfw) + Text(L10n.of(context).nsfw) ], ), ), @@ -337,8 +337,8 @@ class CreatePostPage extends HookWidget { child: delayed.loading ? const CircularProgressIndicator.adaptive() : Text(_isEdit - ? L10n.of(context)!.edit - : L10n.of(context)!.post), + ? L10n.of(context).edit + : L10n.of(context).post), ) ], ), diff --git a/lib/pages/home_tab.dart b/lib/pages/home_tab.dart index 901b733..206bc04 100644 --- a/lib/pages/home_tab.dart +++ b/lib/pages/home_tab.dart @@ -91,7 +91,7 @@ class HomeTab extends HookWidget { ), ListTile( title: Text( - L10n.of(context)!.subscribed, + L10n.of(context).subscribed, style: TextStyle( color: accStore.hasNoAccount ? theme.textTheme.bodyText1?.color?.withOpacity(0.4) @@ -151,7 +151,7 @@ class HomeTab extends HookWidget { ), ListTile( title: Text( - L10n.of(context)!.subscribed, + L10n.of(context).subscribed, style: TextStyle( color: accStore.isAnonymousFor(instance) ? theme.textTheme.bodyText1?.color?.withOpacity(0.4) @@ -167,7 +167,7 @@ class HomeTab extends HookWidget { leading: const SizedBox(width: 20), ), ListTile( - title: Text(L10n.of(context)!.local), + title: Text(L10n.of(context).local), onTap: () => pop(_SelectedList( listingType: PostListingType.local, instanceHost: instance, @@ -175,7 +175,7 @@ class HomeTab extends HookWidget { leading: const SizedBox(width: 20), ), ListTile( - title: Text(L10n.of(context)!.all), + title: Text(L10n.of(context).all), onTap: () => pop(_SelectedList( listingType: PostListingType.all, instanceHost: instance, diff --git a/lib/pages/inbox.dart b/lib/pages/inbox.dart index f24e074..a3ba45f 100644 --- a/lib/pages/inbox.dart +++ b/lib/pages/inbox.dart @@ -94,9 +94,9 @@ class InboxPage extends HookWidget { ], bottom: TabBar( tabs: [ - Tab(text: L10n.of(context)!.replies), - Tab(text: L10n.of(context)!.mentions), - Tab(text: L10n.of(context)!.messages), + Tab(text: L10n.of(context).replies), + Tab(text: L10n.of(context).mentions), + Tab(text: L10n.of(context).messages), ], ), ), @@ -283,7 +283,7 @@ class PrivateMessageTile extends HookWidget { Row( children: [ Text( - '${toMe ? L10n.of(context)!.from : L10n.of(context)!.to} ', + '${toMe ? L10n.of(context).from : L10n.of(context).to} ', style: TextStyle(color: theme.textTheme.caption?.color), ), InkWell( @@ -339,7 +339,7 @@ class PrivateMessageTile extends HookWidget { const SizedBox(height: 5), if (pmv.value.privateMessage.deleted) Text( - L10n.of(context)!.deleted_by_creator, + L10n.of(context).deleted_by_creator, style: const TextStyle(fontStyle: FontStyle.italic), ) else @@ -349,19 +349,19 @@ class PrivateMessageTile extends HookWidget { TileAction( icon: moreIcon, onPressed: showMoreMenu, - tooltip: L10n.of(context)!.more, + tooltip: L10n.of(context).more, ), if (toMe) ...[ TileAction( iconColor: read.value ? theme.colorScheme.secondary : null, icon: Icons.check, - tooltip: L10n.of(context)!.mark_as_read, + tooltip: L10n.of(context).mark_as_read, onPressed: handleRead, delayedLoading: readDelayed, ), TileAction( icon: Icons.reply, - tooltip: L10n.of(context)!.reply, + tooltip: L10n.of(context).reply, onPressed: () { Navigator.of(context).push( WriteMessagePage.sendRoute( @@ -374,7 +374,7 @@ class PrivateMessageTile extends HookWidget { ] else ...[ TileAction( icon: Icons.edit, - tooltip: L10n.of(context)!.edit, + tooltip: L10n.of(context).edit, onPressed: () async { final val = await Navigator.of(context) .push(WriteMessagePage.editRoute(pmv.value)); @@ -385,8 +385,8 @@ class PrivateMessageTile extends HookWidget { delayedLoading: deleteDelayed, icon: deleted.value ? Icons.restore : Icons.delete, tooltip: deleted.value - ? L10n.of(context)!.restore - : L10n.of(context)!.delete, + ? L10n.of(context).restore + : L10n.of(context).delete, onPressed: handleDelete, ), ] diff --git a/lib/pages/instance.dart b/lib/pages/instance.dart index 20563e5..650a022 100644 --- a/lib/pages/instance.dart +++ b/lib/pages/instance.dart @@ -164,8 +164,8 @@ class InstancePage extends HookWidget { color: theme.cardColor, child: TabBar( tabs: [ - Tab(text: L10n.of(context)!.posts), - Tab(text: L10n.of(context)!.comments), + Tab(text: L10n.of(context).posts), + Tab(text: L10n.of(context).comments), const Tab(text: 'About'), ], ), @@ -225,7 +225,7 @@ class _AboutTab extends HookWidget { context, (_) => UsersListPage( users: site.banned.reversed.toList(), - title: L10n.of(context)!.banned_users, + title: L10n.of(context).banned_users, ), ); } @@ -288,7 +288,7 @@ class _AboutTab extends HookWidget { padding: const EdgeInsets.symmetric(horizontal: 15), children: [ Chip( - label: Text(L10n.of(context)! + label: Text(L10n.of(context) .number_of_users_online(site.online))), Chip( label: Text( @@ -303,7 +303,7 @@ class _AboutTab extends HookWidget { label: Text( '${siteView.counts.usersActiveHalfYear} users / 6 months')), Chip( - label: Text(L10n.of(context)! + label: Text(L10n.of(context) .number_of_users(siteView.counts.users))), Chip( label: @@ -364,11 +364,11 @@ class _AboutTab extends HookWidget { ), const _Divider(), ListTile( - title: Center(child: Text(L10n.of(context)!.banned_users)), + title: Center(child: Text(L10n.of(context).banned_users)), onTap: () => goToBannedUsers(context), ), ListTile( - title: Center(child: Text(L10n.of(context)!.modlog)), + title: Center(child: Text(L10n.of(context).modlog)), onTap: () => goTo( context, (context) => ModlogPage.forInstance(instanceHost: instanceHost), diff --git a/lib/pages/manage_account.dart b/lib/pages/manage_account.dart index fe884a6..2a0ba71 100644 --- a/lib/pages/manage_account.dart +++ b/lib/pages/manage_account.dart @@ -182,11 +182,11 @@ class _ManageAccount extends HookWidget { context: context, builder: (context) => AlertDialog( title: Text( - '${L10n.of(context)!.delete_account} @${user.instanceHost}@${user.person.name}'), + '${L10n.of(context).delete_account} @${user.instanceHost}@${user.person.name}'), content: Column( mainAxisSize: MainAxisSize.min, children: [ - Text(L10n.of(context)!.delete_account_confirm), + Text(L10n.of(context).delete_account_confirm), const SizedBox(height: 10), TextField( controller: deleteAccountPasswordController, @@ -194,18 +194,18 @@ class _ManageAccount extends HookWidget { keyboardType: TextInputType.visiblePassword, obscureText: true, decoration: - InputDecoration(hintText: L10n.of(context)!.password), + InputDecoration(hintText: L10n.of(context).password), ) ], ), actions: [ TextButton( onPressed: () => Navigator.of(context).pop(false), - child: Text(L10n.of(context)!.no), + child: Text(L10n.of(context).no), ), TextButton( onPressed: () => Navigator.of(context).pop(true), - child: Text(L10n.of(context)!.yes), + child: Text(L10n.of(context).yes), ), ], ), @@ -241,7 +241,7 @@ class _ManageAccount extends HookWidget { children: [ _ImagePicker( user: user, - name: L10n.of(context)!.avatar, + name: L10n.of(context).avatar, initialUrl: avatar.value, onChange: (value) => avatar.value = value, informAcceptedRef: informAcceptedAvatarRef, @@ -249,19 +249,19 @@ class _ManageAccount extends HookWidget { const SizedBox(height: 8), _ImagePicker( user: user, - name: L10n.of(context)!.banner, + name: L10n.of(context).banner, initialUrl: banner.value, onChange: (value) => banner.value = value, informAcceptedRef: informAcceptedBannerRef, ), const SizedBox(height: 8), - Text(L10n.of(context)!.display_name, style: theme.textTheme.headline6), + Text(L10n.of(context).display_name, style: theme.textTheme.headline6), TextField( controller: displayNameController, onSubmitted: (_) => bioFocusNode.requestFocus(), ), const SizedBox(height: 8), - Text(L10n.of(context)!.bio, style: theme.textTheme.headline6), + Text(L10n.of(context).bio, style: theme.textTheme.headline6), Editor( controller: bioController, focusNode: bioFocusNode, @@ -270,7 +270,7 @@ class _ManageAccount extends HookWidget { maxLines: 10, ), const SizedBox(height: 8), - Text(L10n.of(context)!.email, style: theme.textTheme.headline6), + Text(L10n.of(context).email, style: theme.textTheme.headline6), TextField( focusNode: emailFocusNode, controller: emailController, @@ -279,7 +279,7 @@ class _ManageAccount extends HookWidget { onSubmitted: (_) => matrixUserFocusNode.requestFocus(), ), const SizedBox(height: 8), - Text(L10n.of(context)!.matrix_user, style: theme.textTheme.headline6), + Text(L10n.of(context).matrix_user, style: theme.textTheme.headline6), TextField( focusNode: matrixUserFocusNode, controller: matrixUserController, @@ -321,7 +321,7 @@ class _ManageAccount extends HookWidget { onChanged: (checked) { showNsfw.value = checked; }, - title: Text(L10n.of(context)!.show_nsfw), + title: Text(L10n.of(context).show_nsfw), dense: true, ), const SizedBox(height: 8), @@ -330,7 +330,7 @@ class _ManageAccount extends HookWidget { onChanged: (checked) { botAccount.value = checked; }, - title: Text(L10n.of(context)!.bot_account), + title: Text(L10n.of(context).bot_account), dense: true, ), const SizedBox(height: 8), @@ -339,7 +339,7 @@ class _ManageAccount extends HookWidget { onChanged: (checked) { showBotAccounts.value = checked; }, - title: Text(L10n.of(context)!.show_bot_accounts), + title: Text(L10n.of(context).show_bot_accounts), dense: true, ), const SizedBox(height: 8), @@ -348,7 +348,7 @@ class _ManageAccount extends HookWidget { onChanged: (checked) { showReadPosts.value = checked; }, - title: Text(L10n.of(context)!.show_read_posts), + title: Text(L10n.of(context).show_read_posts), dense: true, ), const SizedBox(height: 8), @@ -357,7 +357,7 @@ class _ManageAccount extends HookWidget { onChanged: (checked) { sendNotificationsToEmail.value = checked; }, - title: Text(L10n.of(context)!.send_notifications_to_email), + title: Text(L10n.of(context).send_notifications_to_email), dense: true, ), const SizedBox(height: 8), @@ -369,7 +369,7 @@ class _ManageAccount extends HookWidget { height: 20, child: CircularProgressIndicator.adaptive(), ) - : Text(L10n.of(context)!.save), + : Text(L10n.of(context).save), ), const SizedBox(height: 8), ElevatedButton( @@ -377,7 +377,7 @@ class _ManageAccount extends HookWidget { style: ElevatedButton.styleFrom( primary: Colors.red, ), - child: Text(L10n.of(context)!.delete_account.toUpperCase()), + child: Text(L10n.of(context).delete_account.toUpperCase()), ), const BottomSafe(), ], diff --git a/lib/pages/saved_page.dart b/lib/pages/saved_page.dart index 8c6edab..ea3b59c 100644 --- a/lib/pages/saved_page.dart +++ b/lib/pages/saved_page.dart @@ -26,11 +26,11 @@ class SavedPage extends HookWidget { length: 2, child: Scaffold( appBar: AppBar( - title: Text(L10n.of(context)!.saved), + title: Text(L10n.of(context).saved), bottom: TabBar( tabs: [ - Tab(text: L10n.of(context)!.posts), - Tab(text: L10n.of(context)!.comments), + Tab(text: L10n.of(context).posts), + Tab(text: L10n.of(context).comments), ], ), ), diff --git a/lib/pages/search_results.dart b/lib/pages/search_results.dart index 2ec8e02..a03e130 100644 --- a/lib/pages/search_results.dart +++ b/lib/pages/search_results.dart @@ -29,10 +29,10 @@ class SearchResultsPage extends HookWidget { bottom: TabBar( isScrollable: true, tabs: [ - Tab(text: L10n.of(context)!.posts), - Tab(text: L10n.of(context)!.comments), - Tab(text: L10n.of(context)!.users), - Tab(text: L10n.of(context)!.communities), + Tab(text: L10n.of(context).posts), + Tab(text: L10n.of(context).comments), + Tab(text: L10n.of(context).users), + Tab(text: L10n.of(context).communities), ], ), ), diff --git a/lib/pages/search_tab.dart b/lib/pages/search_tab.dart index 7336bc3..180d1eb 100644 --- a/lib/pages/search_tab.dart +++ b/lib/pages/search_tab.dart @@ -50,7 +50,7 @@ class SearchTab extends HookWidget { keyboardType: TextInputType.text, textAlign: TextAlign.center, onSubmitted: (_) => handleSearch(), - decoration: InputDecoration(hintText: L10n.of(context)!.search), + decoration: InputDecoration(hintText: L10n.of(context).search), ), const SizedBox(height: 5), Row( @@ -72,7 +72,7 @@ class SearchTab extends HookWidget { if (searchInputController.text.isNotEmpty) ElevatedButton( onPressed: handleSearch, - child: Text(L10n.of(context)!.search), + child: Text(L10n.of(context).search), ) ], ), diff --git a/lib/pages/settings/add_account.dart b/lib/pages/settings/add_account.dart index 799b930..310a6d6 100644 --- a/lib/pages/settings/add_account.dart +++ b/lib/pages/settings/add_account.dart @@ -137,7 +137,7 @@ class AddAccountPage extends HookWidget { ], onSubmitted: (_) => passwordFocusNode.requestFocus(), decoration: InputDecoration( - labelText: L10n.of(context)!.email_or_username), + labelText: L10n.of(context).email_or_username), ), const SizedBox(height: 5), TextField( @@ -147,8 +147,7 @@ class AddAccountPage extends HookWidget { onSubmitted: (_) => handleSubmit?.call(), autofillHints: const [AutofillHints.password], keyboardType: TextInputType.visiblePassword, - decoration: - InputDecoration(labelText: L10n.of(context)!.password), + decoration: InputDecoration(labelText: L10n.of(context).password), ), ElevatedButton( onPressed: handleSubmit, diff --git a/lib/pages/settings/settings.dart b/lib/pages/settings/settings.dart index 0f1a95e..7ad6f0e 100644 --- a/lib/pages/settings/settings.dart +++ b/lib/pages/settings/settings.dart @@ -28,7 +28,7 @@ class SettingsPage extends HookWidget { return Scaffold( appBar: AppBar( - title: Text(L10n.of(context)!.settings), + title: Text(L10n.of(context).settings), ), body: ListView( children: [ @@ -99,7 +99,7 @@ class AppearanceConfigPage extends StatelessWidget { const SizedBox(height: 12), const _SectionHeading('Other'), SwitchListTile.adaptive( - title: Text(L10n.of(context)!.show_avatars), + title: Text(L10n.of(context).show_avatars), value: store.showAvatars, onChanged: (checked) { store.showAvatars = checked; @@ -131,7 +131,7 @@ class GeneralConfigPage extends StatelessWidget { builder: (context, store) => ListView( children: [ ListTile( - title: Text(L10n.of(context)!.sort_type), + title: Text(L10n.of(context).sort_type), trailing: SizedBox( width: 120, child: RadioPicker( @@ -143,7 +143,7 @@ class GeneralConfigPage extends StatelessWidget { ), ), ListTile( - title: Text(L10n.of(context)!.type), + title: Text(L10n.of(context).type), trailing: SizedBox( width: 120, child: RadioPicker( @@ -159,7 +159,7 @@ class GeneralConfigPage extends StatelessWidget { ), ), ListTile( - title: Text(L10n.of(context)!.language), + title: Text(L10n.of(context).language), trailing: SizedBox( width: 120, child: RadioPicker( @@ -205,11 +205,11 @@ class _AccountOptions extends HookWidget { actions: [ TextButton( onPressed: () => Navigator.of(context).pop(false), - child: Text(L10n.of(context)!.no), + child: Text(L10n.of(context).no), ), TextButton( onPressed: () => Navigator.of(context).pop(true), - child: Text(L10n.of(context)!.yes), + child: Text(L10n.of(context).yes), ), ], ), @@ -281,11 +281,11 @@ class AccountsConfigPage extends HookWidget { actions: [ TextButton( onPressed: () => Navigator.of(context).pop(false), - child: Text(L10n.of(context)!.no), + child: Text(L10n.of(context).no), ), TextButton( onPressed: () => Navigator.of(context).pop(true), - child: Text(L10n.of(context)!.yes), + child: Text(L10n.of(context).yes), ), ], ), diff --git a/lib/pages/write_message.dart b/lib/pages/write_message.dart index 9e033c3..162b235 100644 --- a/lib/pages/write_message.dart +++ b/lib/pages/write_message.dart @@ -37,8 +37,8 @@ class WriteMessagePage extends HookWidget { useTextEditingController(text: privateMessage?.content); final loading = useState(false); final loggedInAction = useLoggedInAction(instanceHost); - final submit = _isEdit ? L10n.of(context)!.save : 'send'; - final title = _isEdit ? 'Edit message' : L10n.of(context)!.send_message; + final submit = _isEdit ? L10n.of(context).save : 'send'; + final title = _isEdit ? 'Edit message' : L10n.of(context).send_message; handleSubmit(Jwt token) async { if (_isEdit) { diff --git a/lib/widgets/comment/comment.dart b/lib/widgets/comment/comment.dart index 3868b4f..a1c1e30 100644 --- a/lib/widgets/comment/comment.dart +++ b/lib/widgets/comment/comment.dart @@ -142,7 +142,7 @@ class _CommentWidget extends StatelessWidget { if (comment.deleted) { return Text( - L10n.of(context)!.deleted_by_creator, + L10n.of(context).deleted_by_creator, style: const TextStyle(fontStyle: FontStyle.italic), ); } else if (comment.removed) { @@ -233,7 +233,7 @@ class _CommentWidget extends StatelessWidget { _CommentTag('OP', theme.colorScheme.secondary), if (creator.admin) _CommentTag( - L10n.of(context)!.admin.toUpperCase(), + L10n.of(context).admin.toUpperCase(), theme.colorScheme.secondary, ), if (creator.banned) diff --git a/lib/widgets/comment/comment_actions.dart b/lib/widgets/comment/comment_actions.dart index f026fdf..6aff5df 100644 --- a/lib/widgets/comment/comment_actions.dart +++ b/lib/widgets/comment/comment_actions.dart @@ -67,8 +67,8 @@ class CommentActions extends HookWidget { ? Theme.of(context).colorScheme.secondary : null, tooltip: comment.read - ? L10n.of(context)!.mark_as_unread - : L10n.of(context)!.mark_as_read, + ? L10n.of(context).mark_as_unread + : L10n.of(context).mark_as_read, ), if (store.detached) TileAction( @@ -89,7 +89,7 @@ class CommentActions extends HookWidget { TileAction( icon: Icons.reply, onPressed: loggedInAction((_) => reply()), - tooltip: L10n.of(context)!.reply, + tooltip: L10n.of(context).reply, ), TileAction( icon: Icons.arrow_upward, diff --git a/lib/widgets/comment/comment_more_menu_button.dart b/lib/widgets/comment/comment_more_menu_button.dart index ade269a..ab0fc7b 100644 --- a/lib/widgets/comment/comment_more_menu_button.dart +++ b/lib/widgets/comment/comment_more_menu_button.dart @@ -33,7 +33,7 @@ class CommentMoreMenuButton extends HookWidget { ); }, loading: store.deletingState.isLoading, - tooltip: L10n.of(context)!.more, + tooltip: L10n.of(context).more, ); }, ); diff --git a/lib/widgets/post/post_actions.dart b/lib/widgets/post/post_actions.dart index 091e396..a396efa 100644 --- a/lib/widgets/post/post_actions.dart +++ b/lib/widgets/post/post_actions.dart @@ -28,7 +28,7 @@ class PostActions extends HookWidget { const SizedBox(width: 6), Expanded( child: Text( - L10n.of(context)! + L10n.of(context) .number_of_comments(store.postView.counts.comments), overflow: TextOverflow.fade, softWrap: false, diff --git a/lib/widgets/post/post_info_section.dart b/lib/widgets/post/post_info_section.dart index 2da9ea4..e79f1d5 100644 --- a/lib/widgets/post/post_info_section.dart +++ b/lib/widgets/post/post_info_section.dart @@ -88,7 +88,7 @@ class PostInfoSection extends StatelessWidget { ), children: [ TextSpan( - text: L10n.of(context)!.by, + text: L10n.of(context).by, style: const TextStyle(fontWeight: FontWeight.w300), ), TextSpan( @@ -106,7 +106,7 @@ class PostInfoSection extends StatelessWidget { if (post.post.nsfw) const TextSpan(text: ' · '), if (post.post.nsfw) TextSpan( - text: L10n.of(context)!.nsfw, + text: L10n.of(context).nsfw, style: const TextStyle(color: Colors.red), ), if (store.urlDomain != null) diff --git a/lib/widgets/user_profile.dart b/lib/widgets/user_profile.dart index 555528d..be41743 100644 --- a/lib/widgets/user_profile.dart +++ b/lib/widgets/user_profile.dart @@ -81,8 +81,8 @@ class UserProfile extends HookWidget { color: theme.cardColor, child: TabBar( tabs: [ - Tab(text: L10n.of(context)!.posts), - Tab(text: L10n.of(context)!.comments), + Tab(text: L10n.of(context).posts), + Tab(text: L10n.of(context).comments), const Tab(text: 'About'), ], ), @@ -249,7 +249,7 @@ class _UserOverview extends HookWidget { ), const SizedBox(width: 4), Text( - L10n.of(context)! + L10n.of(context) .number_of_posts(userView.counts.postCount), style: TextStyle(color: colorOnTopOfAccentColor), ), @@ -267,7 +267,7 @@ class _UserOverview extends HookWidget { ), const SizedBox(width: 4), Text( - L10n.of(context)! + L10n.of(context) .number_of_comments(userView.counts.commentCount), style: TextStyle(color: colorOnTopOfAccentColor), ), diff --git a/lib/widgets/write_comment.dart b/lib/widgets/write_comment.dart index 7d91e51..f7f7a5e 100644 --- a/lib/widgets/write_comment.dart +++ b/lib/widgets/write_comment.dart @@ -125,8 +125,8 @@ class WriteComment extends HookWidget { child: delayed.loading ? const CircularProgressIndicator.adaptive() : Text(_isEdit - ? L10n.of(context)!.edit - : L10n.of(context)!.post), + ? L10n.of(context).edit + : L10n.of(context).post), ) ], ),