Skip to content

Commit

Permalink
umputun#10 add de locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Mavrin committed Feb 22, 2020
1 parent 3399eb8 commit 708e655
Show file tree
Hide file tree
Showing 2 changed files with 168 additions and 1 deletion.
167 changes: 167 additions & 0 deletions frontend/app/locales/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
{
"anonymousLoginForm.length-limit": "Username must be at least 3 characters long",
"anonymousLoginForm.log-in": "Log in",
"anonymousLoginForm.symbol-limit": "Username must start from the letter and contain only latin letters, numbers, underscores, and spaces",
"anonymousLoginForm.user-name": "Username",
"authPanel.anonymous-provider": "Anonymous",
"authPanel.disable-comments": "Disable comments",
"authPanel.disabled-cookies": "Disable third-party cookies blocking to login or open comments in",
"authPanel.enable-comments": "Enable comments",
"authPanel.enable-cookies": "Allow cookies to login and comment",
"authPanel.hide-settings": "Hide settings",
"authPanel.logged-as": "You logged in as",
"authPanel.login": "Login:",
"authPanel.logout": "Logout?",
"authPanel.or-provider": "or",
"authPanel.other-provider": "Other",
"authPanel.read-only": "Read-only",
"authPanel.request-to-delete-data": "Request my data removal",
"authPanel.show-settings": "Show settings",
"blockingDuration.day": "For a day",
"blockingDuration.month": "For a month",
"blockingDuration.permanently": "Permanently",
"blockingDuration.week": "For a week",
"comment.block": "Block",
"comment.block-user": "Do you want to block {userName} {duration}?",
"comment.blocked-user": "Blocked",
"comment.blocking-period": "Blocking period",
"comment.cancel": "Cancel",
"comment.controversy": "Controversy: {value}",
"comment.copied": "Copied!",
"comment.copy": "Copy",
"comment.delete": "Delete",
"comment.delete-message": "Do you want to delete this comment?",
"comment.deleted-comment": "This comment was deleted",
"comment.deleted-user": "Deleted",
"comment.edit": "Edit",
"comment.expired-time": "Editing time has expired.",
"comment.go-to-parent": "Go to parent comment",
"comment.hide": "Hide",
"comment.hide-user-comment": "Do you want to hide comments of {userName}?",
"comment.pin": "Pin",
"comment.pin-comment": "Do you want to pin this comment?",
"comment.reply": "Reply",
"comment.time": "{day} at {time}",
"comment.toggle-verification": "Toggle verification",
"comment.unblock": "Unblock",
"comment.unblock-user": "Do you want to unblock this user?",
"comment.unpin": "Unpin",
"comment.unpin-comment": "Do you want to unpin this comment?",
"comment.unverified-user": "Unverified user",
"comment.unverify-user": "Do you want to unverify {userName}?",
"comment.verified-user": "Verified user",
"comment.verify-user": "Do you want to verify {userName}?",
"comment.vote-error": "Voting error: {voteErrorMessage}",
"commentForm.exceeded-size": "{fileName} exceeds size limit of {maxImageSize}",
"commentForm.input-placeholder": "Your comment here",
"commentForm.new-comment": "New comment",
"commentForm.notice-about-styling": "Styling with <a>Markdown</a> is supported",
"commentForm.preview": "Preview",
"commentForm.replay": "Replay",
"commentForm.save": "Save",
"commentForm.send": "Send",
"commentForm.subscribe-by": "Subscribe by",
"commentForm.subscribe-or": "or",
"commentForm.unexpected-error": "Something went wrong. Please try again a bit later.",
"commentForm.upload-file-fail": "{fileName} upload failed with \"{errorMessage}\"",
"commentForm.uploading": "Uploading...",
"commentForm.uploading-file": "uploading {fileName}...",
"commentSort.sort-by": "Sort by",
"commentsSort.best": "Best",
"commentsSort.least-controversial": "Least controversial",
"commentsSort.least-recently-updated": "Least recently updated",
"commentsSort.most-controversial": "Most controversial",
"commentsSort.newest": "Newest",
"commentsSort.oldest": "Oldest",
"commentsSort.recently-updated": "Recently updated",
"commentsSort.worst": "Worst",
"emailLoginForm.back": "Back",
"emailLoginForm.confirm": "Confirm",
"emailLoginForm.email-address": "Email Address",
"emailLoginForm.empty-token": "Token field must not be empty",
"emailLoginForm.expiredToken": "Token is expired",
"emailLoginForm.invalid-email": "Address should be valid email address",
"emailLoginForm.loading": "Loading...",
"emailLoginForm.send-verification": "Send Verification",
"emailLoginForm.token": "Token",
"emailLoginForm.user-not-found": "No user was found",
"errors.0": "Something went wrong. Please try again a bit later.",
"errors.1": "Comment cannot be found. Please refresh the page and try again.",
"errors.10": "It is too late to edit the comment.",
"errors.11": "Comment already has reply, editing is not possible.",
"errors.12": "Cannot save voting result. Please try again a bit later.",
"errors.13": "You cannot vote for your own comment.",
"errors.14": "You have already voted for the comment.",
"errors.15": "Too many votes for the comment.",
"errors.16": "Min score reached for the comment.",
"errors.17": "Action rejected. Please try again a bit later.",
"errors.18": "Requested file cannot be found.",
"errors.2": "Failed to unmarshal incoming request.",
"errors.3": "You don't have permission for this operation.",
"errors.4": "Invalid comment data.",
"errors.5": "Comment cannot be found. Please refresh the page and try again.",
"errors.6": "Site cannot be found. Please refresh the page and try again.",
"errors.7": "User has been blocked.",
"errors.8": "User has been blocked.",
"errors.9": "Comment changing failed. Please try again a bit later.",
"errors.failed-fetch": "Failed to fetch. Please check your internet connection or try again a bit later",
"errors.forbidden": "Forbidden.",
"errors.not-authorized": "Not authorized.",
"errors.to-many-request": "You have reached maximum request limit.",
"errors.unexpected-error": "Something went wrong.",
"root.pinned-comments": "Pinned comments",
"root.powered-by": "Powered by <a>Remark42</a>",
"root.show-more": "Show more",
"settings.block": "block",
"settings.block-time": "until {day} at {time}",
"settings.block-user": "Do you want to block {userName}?",
"settings.blocked-users-header": "Blocked users:",
"settings.blocked-users-title": "Blocked users",
"settings.hidden-user-header": "Hidden users:",
"settings.hidden-users-title": "Hidden users",
"settings.hide": "hide",
"settings.no-blocked-users": "There are no blocked users.",
"settings.no-hidden-users": "There are no hidden users.",
"settings.permanently": "permanently",
"settings.show": "show",
"settings.unblock": "unblock",
"settings.unblock-user": "Do you want to unblock {userName}?",
"settings.unknown": "unknown",
"subscribeByEmail.back": "Back",
"subscribeByEmail.close": "Close",
"subscribeByEmail.email": "Email",
"subscribeByEmail.expired-token": "Expired token",
"subscribeByEmail.have-been-subscribed": "You have been subscribed on updates by email",
"subscribeByEmail.have-been-unsubscribed": "You have been unsubscribed by email to updates",
"subscribeByEmail.only-registered-users": "Available only for registered users",
"subscribeByEmail.submit": "Submit",
"subscribeByEmail.subscribe": "Subscribe",
"subscribeByEmail.subscribe-by-email": "Subscribe by Email",
"subscribeByEmail.subscribe-to-replies": "Subscribe to replies",
"subscribeByEmail.subscribed": "You are subscribed on updates by email",
"subscribeByEmail.token": "Token",
"subscribeByEmail.unsubscribe": "Unsubscribe",
"subscribeByRSS.button-title": "Subscribe by RSS",
"subscribeByRSS.replies": "Replies",
"subscribeByRSS.site": "Site",
"subscribeByRSS.thread": "Thread",
"subscribeByRSS.title": "RSS",
"toolbar.attach-image": "Attach the image, drag & drop or paste from clipboard",
"toolbar.bold": "Add bold text <cmd-b>",
"toolbar.code": "Insert a code",
"toolbar.header": "Add header text",
"toolbar.italic": "Add italic text <cmd-i>",
"toolbar.link": "Add a link <cmd-k>",
"toolbar.ordered-list": "Add a numbered list",
"toolbar.quote": "Insert a quote",
"toolbar.unordered-list": "Add a bulleted list",
"user-info.last-comments": "Last comments by {userName}",
"user-info.unexpected-error": "Something went wrong",
"vote.anonymous": "Anonymous users can't vote",
"vote.deleted": "Can't vote for deleted comment",
"vote.guest": "Sign in to vote",
"vote.only-positive": "Only positive score allowed",
"vote.only-post-page": "Voting allowed only on post's page",
"vote.own-comment": "Can't vote for your own comment",
"vote.readonly": "Can't vote on read-only topics"
}
2 changes: 1 addition & 1 deletion frontend/tasks/generateDictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const defaultMessages = require('../extracted-messages/messages');

const locales = ['en', 'ru'];
const locales = ['en', 'ru', 'de'];

const keyMessagePairs = [];
const keysSet = new Set();
Expand Down

0 comments on commit 708e655

Please sign in to comment.