Feature: Ability to set an account name (#667)
* Ability to change the account name * Ability to set a language to the account Addresses: #667 #307 Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a1a81e3799
commit
99eaf59509
@@ -2,17 +2,17 @@
|
||||
# This Hash is used in account model, so do not change the index for existing languages
|
||||
|
||||
LANGUAGES_CONFIG = {
|
||||
0 => { name: 'English', iso_639_3_code: 'eng' },
|
||||
1 => { name: 'Arabic', iso_639_3_code: 'ara' },
|
||||
2 => { name: 'Dutch', iso_639_3_code: 'nld' },
|
||||
3 => { name: 'French', iso_639_3_code: 'fra' },
|
||||
4 => { name: 'German', iso_639_3_code: 'deu' },
|
||||
5 => { name: 'Hindi', iso_639_3_code: 'hin' },
|
||||
6 => { name: 'Italian', iso_639_3_code: 'ita' },
|
||||
7 => { name: 'Japanese', iso_639_3_code: 'jpn' },
|
||||
8 => { name: 'Korean', iso_639_3_code: 'kor' },
|
||||
9 => { name: 'Portugues', iso_639_3_code: 'por' },
|
||||
10 => { name: 'Russian', iso_639_3_code: 'rus' },
|
||||
11 => { name: 'Chinese', iso_639_3_code: 'zho' },
|
||||
12 => { name: 'Spanish', iso_639_3_code: 'spa' }
|
||||
0 => { name: 'English', iso_639_3_code: 'eng', iso_639_1_code: 'en' },
|
||||
1 => { name: 'Arabic', iso_639_3_code: 'ara', iso_639_1_code: 'ar' },
|
||||
2 => { name: 'Dutch', iso_639_3_code: 'nld', iso_639_1_code: 'nl' },
|
||||
3 => { name: 'French', iso_639_3_code: 'fra', iso_639_1_code: 'fr' },
|
||||
4 => { name: 'German', iso_639_3_code: 'deu', iso_639_1_code: 'de' },
|
||||
5 => { name: 'Hindi', iso_639_3_code: 'hin', iso_639_1_code: 'hi' },
|
||||
6 => { name: 'Italian', iso_639_3_code: 'ita', iso_639_1_code: 'it' },
|
||||
7 => { name: 'Japanese', iso_639_3_code: 'jpn', iso_639_1_code: 'ja' },
|
||||
8 => { name: 'Korean', iso_639_3_code: 'kor', iso_639_1_code: 'ko' },
|
||||
9 => { name: 'Portugues', iso_639_3_code: 'por', iso_639_1_code: 'pt' },
|
||||
10 => { name: 'Russian', iso_639_3_code: 'rus', iso_639_1_code: 'ru' },
|
||||
11 => { name: 'Chinese', iso_639_3_code: 'zho', iso_639_1_code: 'zh' },
|
||||
12 => { name: 'Spanish', iso_639_3_code: 'spa', iso_639_1_code: 'es' }
|
||||
}.freeze
|
||||
|
||||
56
config/locales/de.yml
Normal file
56
config/locales/de.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
# Files in the config/locales directory are used for internationalization
|
||||
# and are automatically loaded by Rails. If you want to use locales other
|
||||
# than English, add the necessary files in this directory.
|
||||
#
|
||||
# To use the locales, use `I18n.t`:
|
||||
#
|
||||
# I18n.t 'hello'
|
||||
#
|
||||
# In views, this is aliased to just `t`:
|
||||
#
|
||||
# <%= t('hello') %>
|
||||
#
|
||||
# To use a different locale, set it with `I18n.locale`:
|
||||
#
|
||||
# I18n.locale = :es
|
||||
#
|
||||
# This would use the information in config/locales/es.yml.
|
||||
#
|
||||
# The following keys must be escaped otherwise they will not be retrieved by
|
||||
# the default I18n backend:
|
||||
#
|
||||
# true, false, on, off, yes, no
|
||||
#
|
||||
# Instead, surround them with single quotes.
|
||||
#
|
||||
# en:
|
||||
# 'true': 'foo'
|
||||
#
|
||||
# To learn more, please read the Rails Internationalization guide
|
||||
# available at https://guides.rubyonrails.org/i18n.html.
|
||||
|
||||
de:
|
||||
hello: "Hello world"
|
||||
messages:
|
||||
reset_password_success: Woot! Die Anforderung zum Zurücksetzen des Passworts ist erfolgreich. Überprüfen Sie Ihre E-Mails auf Anweisungen.
|
||||
reset_password_failure: Uh ho! Wir konnten keinen Benutzer mit der angegebenen E-Mail-Adresse finden.
|
||||
|
||||
errors:
|
||||
signup:
|
||||
disposable_email: Wir erlauben keine Einweg-E-Mails
|
||||
invalid_email: Sie haben eine ungültige E-Mail-Adresse eingegeben
|
||||
email_already_exists: "Sie haben sich bereits für ein Konto bei %{email} angemeldet."
|
||||
failed: Anmeldung gescheitert
|
||||
|
||||
conversations:
|
||||
activity:
|
||||
status:
|
||||
resolved: "Das Gespräch wurde von gelöst gelöst %{user_name}"
|
||||
open: "Das Gespräch wurde von wieder eröffnet %{user_name}"
|
||||
assignee:
|
||||
assigned: "%{user_name} von %{assignee_name} zugewiesen"
|
||||
removed: "Gespräch nicht zugewiesen von %{user_name}"
|
||||
templates:
|
||||
typical_reply_message_body: "%{account_name} Antworten in der Regel in wenigen Stunden."
|
||||
ways_to_reach_you_message_body: "Geben Sie dem Team einen Weg, Sie zu erreichen."
|
||||
email_input_box_message_body: "Lassen Sie sich per E-Mail benachrichtigen"
|
||||
Reference in New Issue
Block a user