Skip to content

A platform for community discussion. Free, open, simple.

DEV: unpin Prettier version, apply to YAML files

Penar Musaraj3501533a2bb3
diff --git a/.prettierignore b/.prettierignore
index ab6bcfe3d86..62137720c88 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,3 +1,5 @@
app/assets/stylesheets/vendor/
plugins/**/assets/stylesheets/vendor/
package.json
+config/locales/**/*.yml
+!config/locales/**/*.en.yml
diff --git a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6
index 21599cc00ad..a67591e2aa5 100644
--- a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6
+++ b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6
@@ -301,9 +301,11 @@ export default Ember.Controller.extend(CanCheckEmails, {
const bufferedIds = this.get("customGroupIdsBuffer");
const availableGroups = this.get("availableGroups");
- bufferedIds.filter(id => !currentIds.includes(id)).forEach(id => {
- this.groupAdded(availableGroups.findBy("id", id));
- });
+ bufferedIds
+ .filter(id => !currentIds.includes(id))
+ .forEach(id => {
+ this.groupAdded(availableGroups.findBy("id", id));
+ });
currentIds
.filter(id => !bufferedIds.includes(id))
diff --git a/app/assets/javascripts/discourse/components/composer-messages.js.es6 b/app/assets/javascripts/discourse/components/composer-messages.js.es6
index b24657b8646..1a329fb2728 100644
--- a/app/assets/javascripts/discourse/components/composer-messages.js.es6
+++ b/app/assets/javascripts/discourse/components/composer-messages.js.es6
@@ -205,11 +205,10 @@ export default Ember.Component.extend({
this.set("checkedMessages", true);
const queuedForTyping = this.get("queuedForTyping");
- messages.forEach(
- msg =>
- msg.wait_for_typing
- ? queuedForTyping.addObject(msg)
- : this.send("popup", msg)
+ messages.forEach(msg =>
+ msg.wait_for_typing
+ ? queuedForTyping.addObject(msg)
+ : this.send("popup", msg)
);
};
diff --git a/app/assets/javascripts/discourse/components/composer-toggles.js.es6 b/app/assets/javascripts/discourse/components/composer-toggles.js.es6
index f1fe514f4f6..f618e1ca61d 100644
--- a/app/assets/javascripts/discourse/components/composer-toggles.js.es6
+++ b/app/assets/javascripts/discourse/components/composer-toggles.js.es6
@@ -15,8 +15,8 @@ export default Ember.Component.extend({
return composeState === "draft"
? "composer.open"
: composeState === "fullscreen"
- ? "composer.exit_fullscreen"
- : "composer.enter_fullscreen";
+ ? "composer.exit_fullscreen"
+ : "composer.enter_fullscreen";
},
@computed("composeState")
@@ -31,7 +31,7 @@ export default Ember.Component.extend({
return composeState === "draft"
? "chevron-up"
: composeState === "fullscreen"
- ? "discourse-compress"
- : "discourse-expand";
+ ? "discourse-compress"
+ : "discourse-expand";
}
});
diff --git a/app/assets/javascripts/discourse/components/group-selector.js.es6 b/app/assets/javascripts/discourse/components/group-selector.js.es6
index df42b393449..8746b01fd34 100644
--- a/app/assets/javascripts/discourse/components/group-selector.js.es6
+++ b/app/assets/javascripts/discourse/components/group-selector.js.es6
@@ -27,8 +27,8 @@ export default Ember.Component.extend({
items: _.isArray(groupNames)
? groupNames
: Ember.isEmpty(groupNames)
- ? []
- : [groupNames],
+ ? []
+ : [groupNames],
single: this.get("single"),
updateData: opts && opts.updateData ? opts.updateData : false,
onChangeItems: items => {
diff --git a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6 b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
index d98fe128b11..1bd1beb6ea7 100644
--- a/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
+++ b/app/assets/javascripts/discourse/controllers/preferences/account.js.es6
@@ -106,13 +106,8 @@ export default Ember.Controller.extend(
@computed("showAllAuthTokens", "model.user_auth_tokens")
authTokens(showAllAuthTokens, tokens) {
- tokens.sort(
- (a, b) =>
- a.is_active
- ? -1
- : b.is_active
- ? 1
- : b.seen_at.localeCompare(a.seen_at)
+ tokens.sort((a, b) =>
+ a.is_active ? -1 : b.is_active ? 1 : b.seen_at.localeCompare(a.seen_at)
);
return showAllAuthTokens
diff --git a/app/assets/javascripts/discourse/lib/formatter.js.es6 b/app/assets/javascripts/discourse/lib/formatter.js.es6
index ebcf8f89ea1..2d5961a5523 100644
--- a/app/assets/javascripts/discourse/lib/formatter.js.es6
+++ b/app/assets/javascripts/discourse/lib/formatter.js.es6
@@ -1,15 +1,15 @@
/* global BreakString:true */
/*
-* memoize.js
-* by @philogb and @addyosmani
-* with further optimizations by @mathias
-* and @DmitryBaranovsk
-* perf tests: http://bit.ly/q3zpG3
-* Released under an MIT license.
-*
-* modified with cap by Sam
-*/
+ * memoize.js
+ * by @philogb and @addyosmani
+ * with further optimizations by @mathias
+ * and @DmitryBaranovsk
+ * perf tests: http://bit.ly/q3zpG3
+ * Released under an MIT license.
+ *
+ * modified with cap by Sam
+ */
function cappedMemoize(fn, max) {
fn.maxMemoize = max;
fn.memoizeLength = 0;
diff --git a/app/assets/javascripts/discourse/lib/page-visible.js.es6 b/app/assets/javascripts/discourse/lib/page-visible.js.es6
index 1c6c7461887..302543397d6 100644
--- a/app/assets/javascripts/discourse/lib/page-visible.js.es6
+++ b/app/assets/javascripts/discourse/lib/page-visible.js.es6
@@ -3,8 +3,8 @@ var hiddenProperty =
document.hidden !== undefined
? "hidden"
: document.webkitHidden !== undefined
- ? "webkitHidden"
- : undefined;
+ ? "webkitHidden"
+ : undefined;
export default function() {
if (hiddenProperty !== undefined) {
diff --git a/app/assets/javascripts/ember-addons/fmt.js.es6 b/app/assets/javascripts/ember-addons/fmt.js.es6
index 5d3938ab2e6..556ffde972b 100644
--- a/app/assets/javascripts/ember-addons/fmt.js.es6
+++ b/app/assets/javascripts/ember-addons/fmt.js.es6
@@ -21,9 +21,9 @@ export default function(str, formats) {
return typeof s === "string"
? s
: s === null
- ? "(null)"
- : s === undefined
- ? ""
- : "" + s;
+ ? "(null)"
+ : s === undefined
+ ? ""
+ : "" + s;
});
}
diff --git a/config/cloud/cloud66/deploy_hooks.yml b/config/cloud/cloud66/deploy_hooks.yml
index 6d971570bca..72930d19dd0 100644
--- a/config/cloud/cloud66/deploy_hooks.yml
+++ b/config/cloud/cloud66/deploy_hooks.yml
@@ -1,224 +1,224 @@
production:
- first_thing:
+ first_thing:
# 1. Permissions on postgres box
- - source: /config/cloud/cloud66/scripts/permissions.sh
- destination: /tmp/scripts/permissions.sh
- target: postgresql
- apply_during: build_only
- execute: true
- sudo: true
- after_postgresql:
+ - source: /config/cloud/cloud66/scripts/permissions.sh
+ destination: /tmp/scripts/permissions.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ sudo: true
+ after_postgresql:
# 2. Copy SQL image to PSQL server
- - source: /pg_dumps/production-image.sql
- destination: /tmp/images/production-image.sql
- target: postgresql
- apply_during: build_only
- owner: postgres
- after_checkout:
+ - source: /pg_dumps/production-image.sql
+ destination: /tmp/images/production-image.sql
+ target: postgresql
+ apply_during: build_only
+ owner: postgres
+ after_checkout:
# 3. Copy Procfile
- - source: /config/cloud/cloud66/files/Procfile
- destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
- target: rails
- run_on: all_servers
+ - source: /config/cloud/cloud66/files/Procfile
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
+ target: rails
+ run_on: all_servers
# 5. Copy production.rb file
- - source: /config/cloud/cloud66/files/production.rb
- destination: <%= ENV['RAILS_STACK_PATH'] %>/config/environments/production.rb
- target: rails
- run_on: all_servers
+ - source: /config/cloud/cloud66/files/production.rb
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/config/environments/production.rb
+ target: rails
+ run_on: all_servers
# 6. Move thin config to server
- - source: /config/cloud/cloud66/files/thin.yml
- destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
- target: rails
- run_on: all_servers
- after_rails:
+ - source: /config/cloud/cloud66/files/thin.yml
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
+ target: rails
+ run_on: all_servers
+ after_rails:
# 7. Set environment variables and allow PSQL user to access them
- - source: /config/cloud/cloud66/scripts/env_vars.sh
- destination: /tmp/scripts/env_vars.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
- last_thing:
+ - source: /config/cloud/cloud66/scripts/env_vars.sh
+ destination: /tmp/scripts/env_vars.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
+ last_thing:
# 8. KILL DB
- - source: /config/cloud/cloud66/scripts/kill_db.sh
- destination: /tmp/scripts/kill_db.sh
- target: postgresql
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/kill_db.sh
+ destination: /tmp/scripts/kill_db.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ sudo: true
# 9. DB:DROP & DB:CREATE
- - source: /config/cloud/cloud66/scripts/drop_create.sh
- destination: /tmp/scripts/drop_create.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/drop_create.sh
+ destination: /tmp/scripts/drop_create.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 10. Import database image
- - source: /config/cloud/cloud66/scripts/import_prod.sh
- destination: /tmp/scripts/import_prod.sh
- target: postgresql
- apply_during: build_only
- execute: true
- owner: postgres
- run_as: postgres
+ - source: /config/cloud/cloud66/scripts/import_prod.sh
+ destination: /tmp/scripts/import_prod.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ owner: postgres
+ run_as: postgres
# 11. Migrate database
- - source: /config/cloud/cloud66/scripts/migrate.sh
- destination: /tmp/migrate.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/migrate.sh
+ destination: /tmp/migrate.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 12. Curl script
- - source: /config/cloud/cloud66/scripts/curl.sh
- destination: /tmp/curl.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/curl.sh
+ destination: /tmp/curl.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
staging:
- first_thing:
+ first_thing:
# 1. Permissions on postgres box
- - source: /config/cloud/cloud66/scripts/permissions.sh
- destination: /tmp/scripts/permissions.sh
- target: postgresql
- apply_during: build_only
- execute: true
- sudo: true
- after_postgresql:
+ - source: /config/cloud/cloud66/scripts/permissions.sh
+ destination: /tmp/scripts/permissions.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ sudo: true
+ after_postgresql:
# 2. Copy SQL image to PSQL server
- - source: /pg_dumps/production-image.sql
- destination: /tmp/images/production-image.sql
- target: postgresql
- apply_during: build_only
- owner: postgres
- after_checkout:
+ - source: /pg_dumps/production-image.sql
+ destination: /tmp/images/production-image.sql
+ target: postgresql
+ apply_during: build_only
+ owner: postgres
+ after_checkout:
# 3. Copy Procfile
- - source: /config/cloud/cloud66/files/Procfile
- destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
- target: rails
- run_on: all_servers
+ - source: /config/cloud/cloud66/files/Procfile
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
+ target: rails
+ run_on: all_servers
# 5. Rename production.rb.sample file
- - source: /config/cloud/cloud66/files/production.rb
- destination: <%= ENV['RAILS_STACK_PATH'] %>/config/environments/production.rb
- target: rails
- run_on: all_servers
+ - source: /config/cloud/cloud66/files/production.rb
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/config/environments/production.rb
+ target: rails
+ run_on: all_servers
# 6. Move thin config to server
- - source: /config/cloud/cloud66/files/thin.yml
- destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
- target: rails
- run_on: all_servers
- after_rails:
+ - source: /config/cloud/cloud66/files/thin.yml
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
+ target: rails
+ run_on: all_servers
+ after_rails:
# 7. Set environment variables and allow PSQL user to access them
- - source: /config/cloud/cloud66/scripts/env_vars.sh
- destination: /tmp/scripts/env_vars.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
- last_thing:
+ - source: /config/cloud/cloud66/scripts/env_vars.sh
+ destination: /tmp/scripts/env_vars.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
+ last_thing:
# 8. KILL DB
- - source: /config/cloud/cloud66/scripts/kill_db.sh
- destination: /tmp/scripts/kill_db.sh
- target: postgresql
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/kill_db.sh
+ destination: /tmp/scripts/kill_db.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ sudo: true
# 9. DB:DROP & DB:CREATE
- - source: /config/cloud/cloud66/scripts/drop_create.sh
- destination: /tmp/scripts/drop_create.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/drop_create.sh
+ destination: /tmp/scripts/drop_create.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 10. Import database image
- - source: /config/cloud/cloud66/scripts/import_prod.sh
- destination: /tmp/scripts/import_prod.sh
- target: postgresql
- apply_during: build_only
- execute: true
- owner: postgres
- run_as: postgres
+ - source: /config/cloud/cloud66/scripts/import_prod.sh
+ destination: /tmp/scripts/import_prod.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ owner: postgres
+ run_as: postgres
# 11. Migrate database
- - source: /config/cloud/cloud66/scripts/migrate.sh
- destination: /tmp/migrate.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/migrate.sh
+ destination: /tmp/migrate.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 12. Curl script
- - source: /config/cloud/cloud66/scripts/curl.sh
- destination: /tmp/curl.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/curl.sh
+ destination: /tmp/curl.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
development:
- first_thing:
+ first_thing:
# 1. Permissions on postgres box
- - source: /config/cloud/cloud66/scripts/permissions.sh
- apply_during: build_only
- execute: true
- sudo: true
- after_postgresql:
+ - source: /config/cloud/cloud66/scripts/permissions.sh
+ apply_during: build_only
+ execute: true
+ sudo: true
+ after_postgresql:
# 2. Copy SQL image to PSQL server
- - source: /pg_dumps/development-image.sql
- destination: /tmp/images/development-image.sql
- target: postgresql
- apply_during: build_only
- owner: postgres
- after_checkout:
+ - source: /pg_dumps/development-image.sql
+ destination: /tmp/images/development-image.sql
+ target: postgresql
+ apply_during: build_only
+ owner: postgres
+ after_checkout:
# 3. Copy Procfile
- - source: /config/cloud/cloud66/files/Procfile
- destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
- target: rails
- run_on: all_servers
+ - source: /config/cloud/cloud66/files/Procfile
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/Procfile
+ target: rails
+ run_on: all_servers
# 5. Move thin config to server
- - source: /config/cloud/cloud66/files/thin.yml
- destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
- target: rails
- run_on: all_servers
- after_rails:
+ - source: /config/cloud/cloud66/files/thin.yml
+ destination: <%= ENV['RAILS_STACK_PATH'] %>/config/thin.yml
+ target: rails
+ run_on: all_servers
+ after_rails:
# 6. Set environment variables and allow PSQL user to access them
- - source: /config/cloud/cloud66/scripts/env_vars.sh
- destination: /tmp/scripts/env_vars.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
- last_thing:
+ - source: /config/cloud/cloud66/scripts/env_vars.sh
+ destination: /tmp/scripts/env_vars.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
+ last_thing:
# 7. KILL DB
- - source: /config/cloud/cloud66/scripts/kill_db.sh
- destination: /tmp/scripts/kill_db.sh
- target: postgresql
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/kill_db.sh
+ destination: /tmp/scripts/kill_db.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ sudo: true
# 8. DB:DROP & DB:CREATE
- - source: /config/cloud/cloud66/scripts/drop_create.sh
- destination: /tmp/scripts/drop_create.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/drop_create.sh
+ destination: /tmp/scripts/drop_create.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 9. Import database image
- - source: /config/cloud/cloud66/scripts/import_dev.sh
- destination: /tmp/scripts/import_dev.sh
- target: postgresql
- apply_during: build_only
- execute: true
- owner: postgres
- run_as: postgres
+ - source: /config/cloud/cloud66/scripts/import_dev.sh
+ destination: /tmp/scripts/import_dev.sh
+ target: postgresql
+ apply_during: build_only
+ execute: true
+ owner: postgres
+ run_as: postgres
# 10. Migrate database
- - source: /config/cloud/cloud66/scripts/migrate.sh
- destination: /tmp/migrate.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/migrate.sh
+ destination: /tmp/migrate.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
# 11. Curl script
- - source: /config/cloud/cloud66/scripts/curl.sh
- destination: /tmp/curl.sh
- target: rails
- apply_during: build_only
- execute: true
- sudo: true
+ - source: /config/cloud/cloud66/scripts/curl.sh
+ destination: /tmp/curl.sh
+ target: rails
+ apply_during: build_only
+ execute: true
+ sudo: true
diff --git a/config/cloud/cloud66/files/thin.yml b/config/cloud/cloud66/files/thin.yml
index 435d38b9483..a7fc5a6baa5 100644
--- a/config/cloud/cloud66/files/thin.yml
+++ b/config/cloud/cloud66/files/thin.yml
@@ -10,4 +10,4 @@ wait: 30
daemonize: true
chdir: $STACK_PATH
environment: $RAILS_ENV
-log: $STACK_PATH/log/thin.log
\ No newline at end of file
+log: $STACK_PATH/log/thin.log
diff --git a/config/cloud/cloud66/manifest.yml b/config/cloud/cloud66/manifest.yml
index 7ef38955918..8fc95f73721 100644
--- a/config/cloud/cloud66/manifest.yml
+++ b/config/cloud/cloud66/manifest.yml
@@ -1,19 +1,19 @@
production:
- rails:
- server:
- unique_name: frontend
- configuration:
- ignore_missing_schema: true
+ rails:
+ server:
+ unique_name: frontend
+ configuration:
+ ignore_missing_schema: true
staging:
- rails:
- server:
- unique_name: frontend
- configuration:
- ignore_missing_schema: true
+ rails:
+ server:
+ unique_name: frontend
+ configuration:
+ ignore_missing_schema: true
development:
- rails:
- server:
- unique_name: frontend
- configuration:
- use_asset_pipeline: false
- ignore_missing_schema: true
\ No newline at end of file
+ rails:
+ server:
+ unique_name: frontend
+ configuration:
+ use_asset_pipeline: false
+ ignore_missing_schema: true
diff --git a/config/database.yml b/config/database.yml
index f3983ad493a..edad118ae98 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -19,7 +19,7 @@ development:
test:
prepared_statements: false
adapter: postgresql
- database: discourse_test<%= ENV['MULTISITE'] ? "_#{ENV['MULTISITE']}" : '' %>
+ database: "discourse_test<%= ENV['MULTISITE'] ? '_' + ENV['MULTISITE'] : '' %>"
min_messages: warning
pool: 5
timeout: 5000
@@ -36,7 +36,6 @@ profile:
timeout: 5000
host_names:
- "localhost"
-
# You may be surprised production is not here, it is sourced from application.rb using a monkey patch
# This is done for 2 reasons
#
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 7eaf1b6e957..414da629d61 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -24,7 +24,7 @@ en:
delimiter: ","
human:
storage_units:
- format: '%n %u'
+ format: "%n %u"
units:
byte:
one: Byte
@@ -69,34 +69,34 @@ en:
tiny:
half_a_minute: "< 1m"
less_than_x_seconds:
- one: "< 1s"
+ one: "< 1s"
other: "< %{count}s"
x_seconds:
- one: "1s"
+ one: "1s"
other: "%{count}s"
less_than_x_minutes:
- one: "< 1m"
+ one: "< 1m"
other: "< %{count}m"
x_minutes:
- one: "1m"
+ one: "1m"
other: "%{count}m"
about_x_hours:
- one: "1h"
+ one: "1h"
other: "%{count}h"
x_days:
- one: "1d"
+ one: "1d"
other: "%{count}d"
x_months:
- one: "1mon"
+ one: "1mon"
other: "%{count}mon"
about_x_years:
- one: "1y"
+ one: "1y"
other: "%{count}y"
over_x_years:
- one: "> 1y"
+ one: "> 1y"
other: "> %{count}y"
almost_x_years:
- one: "1y"
+ one: "1y"
other: "%{count}y"
date_month: "MMM D"
date_year: "MMM 'YY"
@@ -131,16 +131,16 @@ en:
x_years:
one: "1 year later"
other: "%{count} years later"
- previous_month: 'Previous Month'
- next_month: 'Next Month'
+ previous_month: "Previous Month"
+ next_month: "Next Month"
placeholder: date
share:
- topic: 'share a link to this topic'
- post: 'post #%{postNumber}'
- close: 'close'
- twitter: 'share this link on Twitter'
- facebook: 'share this link on Facebook'
- email: 'send this link in an email'
+ topic: "share a link to this topic"
+ post: "post #%{postNumber}"
+ close: "close"
+ twitter: "share this link on Twitter"
+ facebook: "share this link on Facebook"
+ email: "send this link in an email"
action_codes:
public_topic: "made this topic public %{when}"
@@ -153,26 +153,26 @@ en:
removed_group: "removed %{who} %{when}"
autobumped: "automatically bumped %{when}"
autoclosed:
- enabled: 'closed %{when}'
- disabled: 'opened %{when}'
+ enabled: "closed %{when}"
+ disabled: "opened %{when}"
closed:
- enabled: 'closed %{when}'
- disabled: 'opened %{when}'
+ enabled: "closed %{when}"
+ disabled: "opened %{when}"
archived:
- enabled: 'archived %{when}'
- disabled: 'unarchived %{when}'
+ enabled: "archived %{when}"
+ disabled: "unarchived %{when}"
pinned:
- enabled: 'pinned %{when}'
- disabled: 'unpinned %{when}'
+ enabled: "pinned %{when}"
+ disabled: "unpinned %{when}"
pinned_globally:
- enabled: 'pinned globally %{when}'
- disabled: 'unpinned %{when}'
+ enabled: "pinned globally %{when}"
+ disabled: "unpinned %{when}"
visible:
- enabled: 'listed %{when}'
- disabled: 'unlisted %{when}'
+ enabled: "listed %{when}"
+ disabled: "unlisted %{when}"
banner:
- enabled: 'made this a banner %{when}. It will appear at the top of every page until it is dismissed by the user.'
- disabled: 'removed this banner %{when}. It will no longer appear at the top of every page.'
+ enabled: "made this a banner %{when}. It will appear at the top of every page until it is dismissed by the user."
+ disabled: "removed this banner %{when}. It will no longer appear at the top of every page."
topic_admin_menu: "topic admin actions"
@@ -205,7 +205,7 @@ en:
us_west_1: "US West (N. California)"
us_west_2: "US West (Oregon)"
- edit: 'edit the title and category of this topic'
+ edit: "edit the title and category of this topic"
not_implemented: "That feature hasn't been implemented yet, sorry!"
no_value: "No"
yes_value: "Yes"
@@ -237,7 +237,7 @@ en:
you: "You"
or: "or"
now: "just now"
- read_more: 'read more'
+ read_more: "read more"
more: "More"
less: "Less"
never: "never"
@@ -357,9 +357,9 @@ en:
queue:
topic: "Topic:"
- approve: 'Approve'
- reject: 'Reject'
- delete_user: 'Delete User'
+ approve: "Approve"
+ reject: "Reject"
+ delete_user: "Delete User"
title: "Needs Approval"
none: "There are no posts to review."
edit: "Edit"
@@ -433,9 +433,9 @@ en:
description: "Manage the membership of this group"
usernames: "Usernames"
manage:
- title: 'Manage'
- name: 'Name'
- full_name: 'Full Name'
+ title: "Manage"
+ name: "Name"
+ full_name: "Full Name"
add_members: "Add Members"
delete_member_confirm: "Remove '%{username}' from the '%{group}' group?"
profile:
@@ -549,7 +549,7 @@ en:
description: "You will never be notified of anything about new topics in this group."
flair_url: "Avatar Flair Image"
flair_url_placeholder: "(Optional) Image URL or Font Awesome class"
- flair_url_description: "Use square images no smaller than 20px by 20px or FontAwesome icons (accepted formats: \"fa-icon\", \"far fa-icon\" or \"fab fa-icon\")."
+ flair_url_description: 'Use square images no smaller than 20px by 20px or FontAwesome icons (accepted formats: "fa-icon", "far fa-icon" or "fab fa-icon").'
flair_bg_color: "Avatar Flair Background Color"
flair_bg_color_placeholder: "(Optional) Hex color value"
flair_color: "Avatar Flair Color"
@@ -658,7 +658,7 @@ en:
currently_disabled: ""
each_browser_note: "Note: You have to change this setting on every browser you use."
consent_prompt: "Do you want live notifications when people reply to your posts?"
- dismiss: 'Dismiss'
+ dismiss: "Dismiss"
dismiss_notifications: "Dismiss All"
dismiss_notifications_tooltip: "Mark all unread notifications as read"
first_notification: "Your first notification! Select it to begin."
@@ -1129,24 +1129,24 @@ en:
learn_more: "learn more..."
- all_time: 'total'
- all_time_desc: 'total topics created'
- year: 'year'
- year_desc: 'topics created in the last 365 days'
- month: 'month'
- month_desc: 'topics created in the last 30 days'
- week: 'week'
- week_desc: 'topics created in the last 7 days'
- day: 'day'
+ all_time: "total"
+ all_time_desc: "total topics created"
+ year: "year"
+ year_desc: "topics created in the last 365 days"
+ month: "month"
+ month_desc: "topics created in the last 30 days"
+ week: "week"
+ week_desc: "topics created in the last 7 days"
+ day: "day"
first_post: First post
mute: Mute
unmute: Unmute
last_post: Posted
time_read: Read
- time_read_recently: '%{time_read} recently'
- time_read_tooltip: '%{time_read} total time read'
- time_read_recently_tooltip: '%{time_read} total time read (%{recent_time_read} in the last 60 days)'
+ time_read_recently: "%{time_read} recently"
+ time_read_tooltip: "%{time_read} total time read"
+ time_read_recently_tooltip: "%{time_read} total time read (%{recent_time_read} in the last 60 days)"
last_reply_lowercase: last reply
replies_lowercase:
one: reply
@@ -1164,8 +1164,8 @@ en:
enabled_description: "You're viewing a summary of this topic: the most interesting posts as determined by the community."
description: "There are <b>{{replyCount}}</b> replies."
description_time: "There are <b>{{replyCount}}</b> replies with an estimated read time of <b>{{readingTime}} minutes</b>."
- enable: 'Summarize This Topic'
- disable: 'Show All Posts'
+ enable: "Summarize This Topic"
+ disable: "Show All Posts"
deleted_filter:
enabled_description: "This topic contains deleted posts, which have been hidden. "
@@ -1181,13 +1181,13 @@ en:
remove_allowed_user: "Do you really want to remove {{name}} from this message?"
remove_allowed_group: "Do you really want to remove {{name}} from this message?"
- email: 'Email'
- username: 'Username'
- last_seen: 'Seen'
- created: 'Created'
- created_lowercase: 'created'
- trust_level: 'Trust Level'
- search_hint: 'username, email or IP address'
+ email: "Email"
+ username: "Username"
+ last_seen: "Seen"
+ created: "Created"
+ created_lowercase: "created"
+ trust_level: "Trust Level"
+ search_hint: "username, email or IP address"
create_account:
disclaimer: "By registering, you agree to the <a href='{{privacy_link}}'>privacy policy</a> and <a href='{{tos_link}}'>terms of service</a>."
@@ -1237,7 +1237,7 @@ en:
rate_limit: "Please wait before trying to log in again."
blank_username: "Please enter your email or username."
blank_username_or_password: "Please enter your email or username, and password."
- reset_password: 'Reset Password'
+ reset_password: "Reset Password"
logging_in: "Signing In..."
or: "Or"
authenticating: "Authenticating..."
@@ -1318,9 +1318,9 @@ en:
categories_boxes_with_topics: "Boxes with Featured Topics"
shortcut_modifier_key:
- shift: 'Shift'
- ctrl: 'Ctrl'
- alt: 'Alt'
+ shift: "Shift"
+ ctrl: "Ctrl"
+ alt: "Alt"
conditional_loading_section:
loading: Loading...
@@ -1381,7 +1381,7 @@ en:
saved_local_draft_tip: "saved locally"
similar_topics: "Your topic is similar to..."
drafts_offline: "drafts offline"
- edit_conflict: 'edit conflict'
+ edit_conflict: "edit conflict"
group_mentioned_limit: "<b>Warning!</b> You mentioned <a href='{{group_link}}'>{{group}}</a>, however this group has more members than the administrator configured mention limit of {{max}} users. Nobody will be notified. "
group_mentioned:
@@ -1430,8 +1430,8 @@ en:
saved: "Saved!"
saved_draft: "Post draft in progress. Select to resume."
uploading: "Uploading..."
- show_preview: 'show preview &raquo;'
- hide_preview: '&laquo; hide preview'
+ show_preview: "show preview &raquo;"
+ hide_preview: "&laquo; hide preview"
quote_post_title: "Quote whole post"
bold_label: "B"
@@ -1538,8 +1538,8 @@ en:
watching_first_post: "<span>New Topic</span> {{description}}"
group_message_summary:
- one: "{{count}} message in your {{group_name}} inbox"
- other: "{{count}} messages in your {{group_name}} inbox"
+ one: "{{count}} message in your {{group_name}} inbox"
+ other: "{{count}} messages in your {{group_name}} inbox"
popup:
mentioned: '{{username}} mentioned you in "{{topic}}" - {{site_title}}'
@@ -1549,8 +1549,8 @@ en:
posted: '{{username}} posted in "{{topic}}" - {{site_title}}'
private_message: '{{username}} sent you a personal message in "{{topic}}" - {{site_title}}'
linked: '{{username}} linked to your post from "{{topic}}" - {{site_title}}'
- confirm_title: 'Notifications enabled - %{site_title}'
- confirm_body: 'Success! Notifications have been enabled.'
+ confirm_title: "Notifications enabled - %{site_title}"
+ confirm_body: "Success! Notifications have been enabled."
upload_selector:
title: "Add an image"
@@ -1648,9 +1648,9 @@ en:
hamburger_menu: "go to another topic list or category"
new_item: "new"
- go_back: 'go back'
- not_logged_in_user: 'user page with summary of current activity and preferences'
- current_user: 'go to your user page'
+ go_back: "go back"
+ not_logged_in_user: "user page with summary of current activity and preferences"
+ current_user: "go to your user page"
topics:
new_messages_marker: "last visit"
@@ -1713,29 +1713,29 @@ en:
filter_to:
one: "1 post in topic"
other: "{{count}} posts in topic"
- create: 'New Topic'
- create_long: 'Create a new Topic'
+ create: "New Topic"
+ create_long: "Create a new Topic"
open_draft: "Open Draft"
- private_message: 'Start a message'
+ private_message: "Start a message"
archive_message:
- help: 'Move message to your archive'
- title: 'Archive'
+ help: "Move message to your archive"
+ title: "Archive"
move_to_inbox:
- title: 'Move to Inbox'
- help: 'Move message back to Inbox'
+ title: "Move to Inbox"
+ help: "Move message back to Inbox"
edit_message:
- help: 'Edit first post of the message'
- title: 'Edit Message'
- list: 'Topics'
- new: 'new topic'
- unread: 'unread'
+ help: "Edit first post of the message"
+ title: "Edit Message"
+ list: "Topics"
+ new: "new topic"
+ unread: "unread"
new_topics:
- one: '1 new topic'
- other: '{{count}} new topics'
+ one: "1 new topic"
+ other: "{{count}} new topics"
unread_topics:
- one: '1 unread topic'
- other: '{{count}} unread topics'
- title: 'Topic'
+ one: "1 unread topic"
+ other: "{{count}} unread topics"
+ title: "Topic"
invalid_access:
title: "Topic is private"
description: "Sorry, you don't have access to that topic!"
@@ -1770,15 +1770,15 @@ en:
UNREAD, plural,
=0 {}
one {
- is <a href='{basePath}/unread'>1 unread</a>
+ is <a href='{basePath}/unread'>1 unread</a>
} other {
- are <a href='{basePath}/unread'># unread</a>
+ are <a href='{basePath}/unread'># unread</a>
}
} {
- NEW, plural,
- =0 {}
- one { {BOTH, select, true{and } false {is } other{}} <a href='{basePath}/new'>1 new</a> topic}
- other { {BOTH, select, true{and } false {are } other{}} <a href='{basePath}/new'># new</a> topics}
+ NEW, plural,
+ =0 {}
+ one { {BOTH, select, true{and } false {is } other{}} <a href='{basePath}/new'>1 new</a> topic}
+ other { {BOTH, select, true{and } false {are } other{}} <a href='{basePath}/new'># new</a> topics}
} remaining, or {CATEGORY, select, true {browse other topics in {catLink}} false {{latestLink}} other {}}"
browse_all_categories: Browse all categories
@@ -1841,7 +1841,7 @@ en:
auto_delete: "This topic will be automatically deleted %{timeLeft}."
auto_bump: "This topic will be automatically bumped %{timeLeft}."
auto_reminder: "You will be reminded about this topic %{timeLeft}."
- auto_close_title: 'Auto-Close Settings'
+ auto_close_title: "Auto-Close Settings"
auto_close_immediate:
one: "The last post in the topic is already 1 hour old, so the topic will be closed immediately."
other: "The last post in the topic is already %{count} hours old, so the topic will be closed immediately."
@@ -1870,21 +1870,21 @@ en:
title: change how often you get notified about this topic
reasons:
mailing_list_mode: "You have mailing list mode enabled, so you will be notified of replies to this topic via email."
- "3_10": 'You will receive notifications because you are watching a tag on this topic.'
- "3_6": 'You will receive notifications because you are watching this category.'
- "3_5": 'You will receive notifications because you started watching this topic automatically.'
- "3_2": 'You will receive notifications because you are watching this topic.'
- "3_1": 'You will receive notifications because you created this topic.'
- "3": 'You will receive notifications because you are watching this topic.'
- "2_8": 'You will see a count of new replies because you are tracking this category.'
- "2_4": 'You will see a count of new replies because you posted a reply to this topic.'
- "2_2": 'You will see a count of new replies because you are tracking this topic.'
+ "3_10": "You will receive notifications because you are watching a tag on this topic."
+ "3_6": "You will receive notifications because you are watching this category."
+ "3_5": "You will receive notifications because you started watching this topic automatically."
+ "3_2": "You will receive notifications because you are watching this topic."
+ "3_1": "You will receive notifications because you created this topic."
+ "3": "You will receive notifications because you are watching this topic."
+ "2_8": "You will see a count of new replies because you are tracking this category."
+ "2_4": "You will see a count of new replies because you posted a reply to this topic."
+ "2_2": "You will see a count of new replies because you are tracking this topic."
"2": 'You will see a count of new replies because you <a href="{{basePath}}/u/{{username}}/preferences">read this topic</a>.'
- "1_2": 'You will be notified if someone mentions your @name or replies to you.'
- "1": 'You will be notified if someone mentions your @name or replies to you.'
- "0_7": 'You are ignoring all notifications in this category.'
- "0_2": 'You are ignoring all notifications on this topic.'
- "0": 'You are ignoring all notifications on this topic.'
+ "1_2": "You will be notified if someone mentions your @name or replies to you."
+ "1": "You will be notified if someone mentions your @name or replies to you."
+ "0_7": "You are ignoring all notifications in this category."
+ "0_2": "You are ignoring all notifications on this topic."
+ "0": "You are ignoring all notifications on this topic."
watching_pm:
title: "Watching"
description: "You will be notified of every new reply in this message, and a count of new replies will be shown."
@@ -1936,25 +1936,25 @@ en:
remove_banner: "Remove Banner Topic"
reply:
- title: 'Reply'
- help: 'begin composing a reply to this topic'
+ title: "Reply"
+ help: "begin composing a reply to this topic"
clear_pin:
title: "Clear pin"
help: "Clear the pinned status of this topic so it no longer appears at the top of your topic list"
share:
- title: 'Share'
- help: 'share a link to this topic'
+ title: "Share"
+ help: "share a link to this topic"
print:
- title: 'Print'
- help: 'Open a printer friendly version of this topic'
+ title: "Print"
+ help: "Open a printer friendly version of this topic"
flag_topic:
- title: 'Flag'
- help: 'privately flag this topic for attention or send a private notification about it'
- success_message: 'You successfully flagged this topic.'
+ title: "Flag"
+ help: "privately flag this topic for attention or send a private notification about it"
+ success_message: "You successfully flagged this topic."
feature_topic:
title: "Feature this topic"
@@ -1987,7 +1987,7 @@ en:
automatically_add_to_groups: "This invite also includes access to these groups:"
invite_private:
- title: 'Invite to Message'
+ title: "Invite to Message"
email_or_username: "Invitee's Email or Username"
email_or_username_placeholder: "email address or username"
action: "Invite"
@@ -1999,10 +1999,10 @@ en:
controls: "Topic Controls"
invite_reply:
- title: 'Invite'
+ title: "Invite"
username_placeholder: "username"
- action: 'Send Invite'
- help: 'invite others to this topic via email or notifications'
+ action: "Send Invite"
+ help: "invite others to this topic via email or notifications"
to_forum: "We'll send a brief email allowing your friend to immediately join by clicking a link, no login required."
sso_enabled: "Enter the username of the person you'd like to invite to this topic."
to_topic_blank: "Enter the username or email address of the person you'd like to invite to this topic."
@@ -2010,13 +2010,13 @@ en:
to_topic_username: "You've entered a username. We'll send a notification with a link inviting them to this topic."
to_username: "Enter the username of the person you'd like to invite. We'll send a notification with a link inviting them to this topic."
- email_placeholder: '[email protected]'
+ email_placeholder: "[email protected]"
success_email: "We mailed out an invitation to <b>{{emailOrUsername}}</b>. We'll notify you when the invitation is redeemed. Check the invitations tab on your user page to keep track of your invites."
success_username: "We've invited that user to participate in this topic."
error: "Sorry, we couldn't invite that person. Perhaps they have already been invited? (Invites are rate limited)"
success_existing_email: "A user with email <b>{{emailOrUsername}}</b> already exists. We've invited that user to participate in this topic."
- login_reply: 'Log In to Reply'
+ login_reply: "Log In to Reply"
filters:
n_posts:
@@ -2089,20 +2089,20 @@ en:
instructions: "Please select the new timestamp of the topic. Posts in the topic will be updated to have the same time difference."
multi_select:
- select: 'select'
- selected: 'selected ({{count}})'
+ select: "select"
+ selected: "selected ({{count}})"
select_post:
- label: 'select'
- title: 'Add post to selection'
+ label: "select"
+ title: "Add post to selection"
selected_post:
- label: 'selected'
- title: 'Click to remove post from selection'
+ label: "selected"
+ title: "Click to remove post from selection"
select_replies:
- label: 'select +replies'
- title: 'Add post and all its replies to selection'
+ label: "select +replies"
+ title: "Add post and all its replies to selection"
select_below:
- label: 'select +below'
- title: 'Add post and all after it to selection'
+ label: "select +below"
+ title: "Add post and all after it to selection"
delete: delete selected
cancel: cancel selecting
select_all: select all
@@ -2122,7 +2122,7 @@ en:
continue_discussion: "Continuing the discussion from {{postLink}}:"
follow_quote: "go to the quoted post"
show_full: "Show Full Post"
- show_hidden: 'View hidden content.'
+ show_hidden: "View hidden content."
deleted_by_author:
one: "(post withdrawn by author, will be automatically deleted in %{count} hour unless flagged)"
other: "(post withdrawn by author, will be automatically deleted in %{count} hours unless flagged)"
@@ -2175,7 +2175,7 @@ en:
about: "this post is a wiki"
archetypes:
- save: 'Save Options'
+ save: "Save Options"
few_likes_left: "Thanks for sharing the love! You only have a few likes left for today."
@@ -2219,7 +2219,7 @@ en:
delete_topic: "delete topic"
actions:
- flag: 'Flag'
+ flag: "Flag"
defer_flags:
one: "Ignore flag"
other: "Ignore flags"
@@ -2318,36 +2318,36 @@ en:
displays:
inline:
title: "Show the rendered output with additions and removals inline"
- button: 'HTML'
+ button: "HTML"
side_by_side:
title: "Show the rendered output diffs side-by-side"
- button: 'HTML'
+ button: "HTML"
side_by_side_markdown:
title: "Show the raw source diffs side-by-side"
- button: 'Raw'
+ button: "Raw"
raw_email:
displays:
raw:
title: "Show the raw email"
- button: 'Raw'
+ button: "Raw"
text_part:
title: "Show the text part of the email"
- button: 'Text'
+ button: "Text"
html_part:
title: "Show the html part of the email"
- button: 'HTML'
+ button: "HTML"
category:
- can: 'can&hellip; '
- none: '(no category)'
- all: 'All categories'
- choose: 'category&hellip;'
- edit: 'edit'
+ can: "can&hellip; "
+ none: "(no category)"
+ all: "All categories"
+ choose: "category&hellip;"
+ edit: "edit"
edit_long: "Edit"
- view: 'View Topics in Category'
- general: 'General'
- settings: 'Settings'
+ view: "View Topics in Category"
+ general: "General"
+ settings: "Settings"
topic_template: "Topic Template"
tags: "Tags"
tags_allowed_tags: "Only allow these tags to be used in this category:"
@@ -2355,12 +2355,12 @@ en:
tags_placeholder: "(Optional) list of allowed tags"
tag_groups_placeholder: "(Optional) list of allowed tag groups"
topic_featured_link_allowed: "Allow featured links in this category"
- delete: 'Delete Category'
- create: 'New Category'
- create_long: 'Create a new category'
- save: 'Save Category'
- slug: 'Category Slug'
- slug_placeholder: '(Optional) dashed-words for url'
+ delete: "Delete Category"
+ create: "New Category"
+ create_long: "Create a new category"
+ save: "Save Category"
+ slug: "Category Slug"
+ slug_placeholder: "(Optional) dashed-words for url"
creation_error: There has been an error during the creation of the category.
save_error: There was an error saving the category.
name: "Category Name"
@@ -2378,7 +2378,7 @@ en:
list: "List Categories"
no_description: "Please add a description for this category."
change_in_category_topic: "Edit Description"
- already_used: 'This color has been used by another category'
+ already_used: "This color has been used by another category"
security: "Security"
special_warning: "Warning: This category is a pre-seeded category and the security settings cannot be edited. If you do not wish to use this category, delete it instead of repurposing it."
images: "Images"
@@ -2406,10 +2406,10 @@ en:
default_position: "Default Position"
position_disabled: "Categories will be displayed in order of activity. To control the order of categories in lists, "
position_disabled_click: 'enable the "fixed category positions" setting.'
- minimum_required_tags: 'Minimum number of tags required in a topic:'
+ minimum_required_tags: "Minimum number of tags required in a topic:"
parent: "Parent Category"
- num_auto_bump_daily: 'Number of open topics to automatically bump daily:'
- navigate_to_first_post_after_read: 'Navigate to first post after topics are read'
+ num_auto_bump_daily: "Number of open topics to automatically bump daily:"
+ navigate_to_first_post_after_read: "Navigate to first post after topics are read"
notifications:
watching:
title: "Watching"
@@ -2436,8 +2436,8 @@ en:
posters: "Posters"
category: "Category"
created: "Created"
- sort_ascending: 'Ascending'
- sort_descending: 'Descending'
+ sort_ascending: "Ascending"
+ sort_descending: "Descending"
subcategory_list_styles:
rows: "Rows"
rows_with_featured_topics: "Rows with featured topics"
@@ -2445,11 +2445,11 @@ en:
boxes_with_featured_topics: "Boxes with featured topics"
flagging:
- title: 'Thanks for helping to keep our community civil!'
- action: 'Flag Post'
+ title: "Thanks for helping to keep our community civil!"
+ action: "Flag Post"
take_action: "Take Action"
- notify_action: 'Message'
- official_warning: 'Official Warning'
+ notify_action: "Message"
+ official_warning: "Official Warning"
delete_spammer: "Delete Spammer"
# keys ending with _MF use message format, see https://meta.discourse.org/t/message-format-support-for-localization/7035 for details
@@ -2460,7 +2460,7 @@ en:
submit_tooltip: "Submit the private flag"
take_action_tooltip: "Reach the flag threshold immediately, rather than waiting for more community flags"
cant: "Sorry, you can't flag this post at this time."
- notify_staff: 'Notify staff privately'
+ notify_staff: "Notify staff privately"
formatted_name:
off_topic: "It's Off-Topic"
inappropriate: "It's Inappropriate"
@@ -2646,62 +2646,62 @@ en:
download: "download"
keyboard_shortcuts_help:
- title: 'Keyboard Shortcuts'
+ title: "Keyboard Shortcuts"
jump_to:
- title: 'Jump To'
- home: '<b>g</b>, <b>h</b> Home'
- latest: '<b>g</b>, <b>l</b> Latest'
- new: '<b>g</b>, <b>n</b> New'
- unread: '<b>g</b>, <b>u</b> Unread'
- categories: '<b>g</b>, <b>c</b> Categories'
- top: '<b>g</b>, <b>t</b> Top'
- bookmarks: '<b>g</b>, <b>b</b> Bookmarks'
- profile: '<b>g</b>, <b>p</b> Profile'
- messages: '<b>g</b>, <b>m</b> Messages'
- drafts: '<b>g</b>, <b>d</b> Drafts'
+ title: "Jump To"
+ home: "<b>g</b>, <b>h</b> Home"
+ latest: "<b>g</b>, <b>l</b> Latest"
+ new: "<b>g</b>, <b>n</b> New"
+ unread: "<b>g</b>, <b>u</b> Unread"
+ categories: "<b>g</b>, <b>c</b> Categories"
+ top: "<b>g</b>, <b>t</b> Top"
+ bookmarks: "<b>g</b>, <b>b</b> Bookmarks"
+ profile: "<b>g</b>, <b>p</b> Profile"
+ messages: "<b>g</b>, <b>m</b> Messages"
+ drafts: "<b>g</b>, <b>d</b> Drafts"
navigation:
- title: 'Navigation'
- jump: '<b>#</b> Go to post #'
- back: '<b>u</b> Back'
- up_down: '<b>k</b>/<b>j</b> Move selection &uarr; &darr;'
- open: '<b>o</b> or <b>Enter</b> Open selected topic'
- next_prev: '<b>shift</b>+<b>j</b>/<b>shift</b>+<b>k</b> Next/previous section'
+ title: "Navigation"
+ jump: "<b>#</b> Go to post #"
+ back: "<b>u</b> Back"
+ up_down: "<b>k</b>/<b>j</b> Move selection &uarr; &darr;"
+ open: "<b>o</b> or <b>Enter</b> Open selected topic"
+ next_prev: "<b>shift</b>+<b>j</b>/<b>shift</b>+<b>k</b> Next/previous section"
application:
- title: 'Application'
- create: '<b>c</b> Create a new topic'
- notifications: '<b>n</b> Open notifications'
- hamburger_menu: '<b>=</b> Open hamburger menu'
- user_profile_menu: '<b>p</b> Open user menu'
- show_incoming_updated_topics: '<b>.</b> Show updated topics'
- search: '<b>/</b> or <b>ctrl</b>+<b>alt</b>+<b>f</b> Search'
- help: '<b>?</b> Open keyboard help'
- dismiss_new_posts: '<b>x</b>, <b>r</b> Dismiss New/Posts'
- dismiss_topics: '<b>x</b>, <b>t</b> Dismiss Topics'
- log_out: '<b>shift</b>+<b>z</b> <b>shift</b>+<b>z</b> Log Out'
+ title: "Application"
+ create: "<b>c</b> Create a new topic"
+ notifications: "<b>n</b> Open notifications"
+ hamburger_menu: "<b>=</b> Open hamburger menu"
+ user_profile_menu: "<b>p</b> Open user menu"
+ show_incoming_updated_topics: "<b>.</b> Show updated topics"
+ search: "<b>/</b> or <b>ctrl</b>+<b>alt</b>+<b>f</b> Search"
+ help: "<b>?</b> Open keyboard help"
+ dismiss_new_posts: "<b>x</b>, <b>r</b> Dismiss New/Posts"
+ dismiss_topics: "<b>x</b>, <b>t</b> Dismiss Topics"
+ log_out: "<b>shift</b>+<b>z</b> <b>shift</b>+<b>z</b> Log Out"
composing:
- title: 'Composing'
- return: '<b>shift</b>+<b>c</b> Return to composer'
- fullscreen: '<b>shift</b>+<b>F11</b> Fullscreen composer'
+ title: "Composing"
+ return: "<b>shift</b>+<b>c</b> Return to composer"
+ fullscreen: "<b>shift</b>+<b>F11</b> Fullscreen composer"
actions:
- title: 'Actions'
- bookmark_topic: '<b>f</b> Toggle bookmark topic'
- pin_unpin_topic: '<b>shift</b>+<b>p</b> Pin/Unpin topic'
- share_topic: '<b>shift</b>+<b>s</b> Share topic'
- share_post: '<b>s</b> Share post'
- reply_as_new_topic: '<b>t</b> Reply as linked topic'
- reply_topic: '<b>shift</b>+<b>r</b> Reply to topic'
- reply_post: '<b>r</b> Reply to post'
- quote_post: '<b>q</b> Quote post'
- like: '<b>l</b> Like post'
- flag: '<b>!</b> Flag post'
- bookmark: '<b>b</b> Bookmark post'
- edit: '<b>e</b> Edit post'
- delete: '<b>d</b> Delete post'
- mark_muted: '<b>m</b>, <b>m</b> Mute topic'
- mark_regular: '<b>m</b>, <b>r</b> Regular (default) topic'
- mark_tracking: '<b>m</b>, <b>t</b> Track topic'
- mark_watching: '<b>m</b>, <b>w</b> Watch topic'
- print: '<b>ctrl</b>+<b>p</b> Print topic'
+ title: "Actions"
+ bookmark_topic: "<b>f</b> Toggle bookmark topic"
+ pin_unpin_topic: "<b>shift</b>+<b>p</b> Pin/Unpin topic"
+ share_topic: "<b>shift</b>+<b>s</b> Share topic"
+ share_post: "<b>s</b> Share post"
+ reply_as_new_topic: "<b>t</b> Reply as linked topic"
+ reply_topic: "<b>shift</b>+<b>r</b> Reply to topic"
+ reply_post: "<b>r</b> Reply to post"
+ quote_post: "<b>q</b> Quote post"
+ like: "<b>l</b> Like post"
+ flag: "<b>!</b> Flag post"
+ bookmark: "<b>b</b> Bookmark post"
+ edit: "<b>e</b> Edit post"
+ delete: "<b>d</b> Delete post"
+ mark_muted: "<b>m</b>, <b>m</b> Mute topic"
+ mark_regular: "<b>m</b>, <b>r</b> Regular (default) topic"
+ mark_tracking: "<b>m</b>, <b>t</b> Track topic"
+ mark_watching: "<b>m</b>, <b>w</b> Watch topic"
+ print: "<b>ctrl</b>+<b>p</b> Print topic"
badges:
earned_n_times:
@@ -2713,13 +2713,13 @@ en:
allow_title: "You can use this badge as a title"
multiple_grant: "You can earn this multiple times"
badge_count:
- one: "1 Badge"
+ one: "1 Badge"
other: "%{count} Badges"
more_badges:
- one: "+1 More"
+ one: "+1 More"
other: "+%{count} More"
granted:
- one: "1 granted"
+ one: "1 granted"
other: "%{count} granted"
select_badge_for_title: Select a badge to use as your title
none: "(none)"
@@ -2857,8 +2857,8 @@ en:
type_to_filter: "type to filter..."
admin:
- title: 'Discourse Admin'
- moderator: 'Moderator'
+ title: "Discourse Admin"
+ moderator: "Moderator"
reports:
title: "List of available reports"
@@ -2882,10 +2882,10 @@ en:
last_checked: "Last checked"
refresh_problems: "Refresh"
no_problems: "No problems were found."
- moderators: 'Moderators:'
- admins: 'Admins:'
- silenced: 'Silenced:'
- suspended: 'Suspended:'
+ moderators: "Moderators:"
+ admins: "Admins:"
+ silenced: "Silenced:"
+ suspended: "Suspended:"
private_messages_short: "Msgs"
private_messages_title: "Messages"
mobile_title: "Mobile"
@@ -3442,14 +3442,14 @@ en:
revert: "revert"
revert_title: "Reset this color to Discourse's default color scheme."
primary:
- name: 'primary'
- description: 'Most text, icons, and borders.'
+ name: "primary"
+ description: "Most text, icons, and borders."
secondary:
- name: 'secondary'
- description: 'The main background color, and text color of some buttons.'
+ name: "secondary"
+ description: "The main background color, and text color of some buttons."
tertiary:
- name: 'tertiary'
- description: 'Links, some buttons, notifications, and accent color.'
+ name: "tertiary"
+ description: "Links, some buttons, notifications, and accent color."
quaternary:
name: "quaternary"
description: "Navigation links."
@@ -3460,16 +3460,16 @@ en:
name: "header primary"
description: "Text and icons in the site's header."
highlight:
- name: 'highlight'
- description: 'The background color of highlighted elements on the page, such as posts and topics.'
+ name: "highlight"
+ description: "The background color of highlighted elements on the page, such as posts and topics."
danger:
- name: 'danger'
- description: 'Highlight color for actions like deleting posts and topics.'
+ name: "danger"
+ description: "Highlight color for actions like deleting posts and topics."
success:
- name: 'success'
- description: 'Used to indicate an action was successful.'
+ name: "success"
+ description: "Used to indicate an action was successful."
love:
- name: 'love'
+ name: "love"
description: "The like button's color."
email:
@@ -3563,9 +3563,9 @@ en:
topic_id: "Topic ID"
post_id: "Post ID"
category_id: "Category ID"
- delete: 'Delete'
- edit: 'Edit'
- save: 'Save'
+ delete: "Delete"
+ edit: "Edit"
+ save: "Save"
screened_actions:
block: "block"
do_nothing: "do nothing"
@@ -3700,22 +3700,22 @@ en:
one: "1 word"
other: "%{count} words"
actions:
- block: 'Block'
- censor: 'Censor'
- require_approval: 'Require Approval'
- flag: 'Flag'
+ block: "Block"
+ censor: "Censor"
+ require_approval: "Require Approval"
+ flag: "Flag"
action_descriptions:
- block: 'Prevent posts containing these words from being posted. The user will see an error message when they try to submit their post.'
- censor: 'Allow posts containing these words, but replace them with characters that hide the censored words.'
- require_approval: 'Posts containing these words will require approval by staff before they can be seen.'
- flag: 'Allow posts containing these words, but flag them as inappropriate so moderators can review them.'
+ block: "Prevent posts containing these words from being posted. The user will see an error message when they try to submit their post."
+ censor: "Allow posts containing these words, but replace them with characters that hide the censored words."
+ require_approval: "Posts containing these words will require approval by staff before they can be seen."
+ flag: "Allow posts containing these words, but flag them as inappropriate so moderators can review them."
form:
- label: 'New Word:'
- placeholder: 'full word or * as wildcard'
+ label: "New Word:"
+ placeholder: "full word or * as wildcard"
placeholder_regexp: "regular expression"
- add: 'Add'
- success: 'Success'
- exists: 'Already exists'
+ add: "Add"
+ success: "Success"
+ exists: "Already exists"
upload: "Upload"
upload_successful: "Upload successful. Words have been added."
@@ -3726,8 +3726,8 @@ en:
invalid: "Sorry, you may not impersonate that user."
users:
- title: 'Users'
- create: 'Add Admin User'
+ title: "Users"
+ create: "Add Admin User"
last_emailed: "Last Emailed"
not_found: "Sorry, that username doesn't exist in our system."
id_not_found: "Sorry, that user id doesn't exist in our system."
@@ -3737,11 +3737,11 @@ en:
new: "New"
active: "Active"
pending: "Pending"
- staff: 'Staff'
- suspended: 'Suspended'
- silenced: 'Silenced'
- suspect: 'Suspect'
- staged: 'Staged'
+ staff: "Staff"
+ suspended: "Suspended"
+ silenced: "Silenced"
+ suspect: "Suspect"
+ staged: "Staged"
approved: "Approved?"
approved_selected:
one: "approve user"
@@ -3750,21 +3750,21 @@ en:
one: "reject user"
other: "reject users ({{count}})"
titles:
- active: 'Active Users'
- new: 'New Users'
- pending: 'Users Pending Review'
- newuser: 'Users at Trust Level 0 (New User)'
- basic: 'Users at Trust Level 1 (Basic User)'
- member: 'Users at Trust Level 2 (Member)'
- regular: 'Users at Trust Level 3 (Regular)'
- leader: 'Users at Trust Level 4 (Leader)'
+ active: "Active Users"
+ new: "New Users"
+ pending: "Users Pending Review"
+ newuser: "Users at Trust Level 0 (New User)"
+ basic: "Users at Trust Level 1 (Basic User)"
+ member: "Users at Trust Level 2 (Member)"
+ regular: "Users at Trust Level 3 (Regular)"
+ leader: "Users at Trust Level 4 (Leader)"
staff: "Staff"
- admins: 'Admin Users'
- moderators: 'Moderators'
- silenced: 'Silenced Users'
- suspended: 'Suspended Users'
- suspect: 'Suspect Users'
- staged: 'Staged Users'
+ admins: "Admin Users"
+ moderators: "Moderators"
+ silenced: "Silenced Users"
+ suspended: "Suspended Users"
+ suspect: "Suspect Users"
+ staged: "Staged Users"
reject_successful:
one: "Successfully rejected 1 user."
other: "Successfully rejected %{count} users."
@@ -3822,18 +3822,18 @@ en:
refresh_browsers: "Force browser refresh"
refresh_browsers_message: "Message sent to all clients!"
show_public_profile: "Show Public Profile"
- impersonate: 'Impersonate'
+ impersonate: "Impersonate"
action_logs: "Action Logs"
ip_lookup: "IP Lookup"
log_out: "Log Out"
logged_out: "User was logged out on all devices"
- revoke_admin: 'Revoke Admin'
- grant_admin: 'Grant Admin'
+ revoke_admin: "Revoke Admin"
+ grant_admin: "Grant Admin"
grant_admin_confirm: "We've sent you an email to verify the new administrator. Please open it and follow the instructions."
- revoke_moderation: 'Revoke Moderation'
- grant_moderation: 'Grant Moderation'
- unsuspend: 'Unsuspend'
- suspend: 'Suspend'
+ revoke_moderation: "Revoke Moderation"
+ grant_moderation: "Grant Moderation"
+ unsuspend: "Unsuspend"
+ suspend: "Suspend"
show_flags_received: "Show Flags Received"
flags_received_by: "Flags Received by %{username}"
flags_received_none: "This user has not received any flags."
@@ -3841,7 +3841,7 @@ en:
permissions: Permissions
activity: Activity
like_count: Likes Given / Received
- last_100_days: 'in the last 100 days'
+ last_100_days: "in the last 100 days"
private_topics_count: Private Topics
posts_read_count: Posts Read
post_count: Posts Created
@@ -3850,8 +3850,8 @@ en:
flags_given_count: Flags Given
flags_received_count: Flags Received
warnings_received_count: Warnings Received
- flags_given_received_count: 'Flags Given / Received'
- approve: 'Approve'
+ flags_given_received_count: "Flags Given / Received"
+ approve: "Approve"
approved_by: "approved by"
approve_success: "User approved and email sent with activation instructions."
approve_bulk_success: "Success! All selected users have been approved and notified."
@@ -3885,10 +3885,10 @@ en:
activate_failed: "There was a problem activating the user."
deactivate_account: "Deactivate Account"
deactivate_failed: "There was a problem deactivating the user."
- unsilence_failed: 'There was a problem unsilencing the user.'
- silence_failed: 'There was a problem silencing the user.'
- silence_confirm: 'Are you sure you want to silence this user? They will not be able to create any new topics or posts.'
- silence_accept: 'Yes, silence this user'
+ unsilence_failed: "There was a problem unsilencing the user."
+ silence_failed: "There was a problem silencing the user."
+ silence_confirm: "Are you sure you want to silence this user? They will not be able to create any new topics or posts."
+ silence_accept: "Yes, silence this user"
bounce_score: "Bounce Score"
reset_bounce_score:
label: "Reset"
@@ -3980,27 +3980,27 @@ en:
disabled: "not shown on user card"
field_types:
- text: 'Text Field'
- confirm: 'Confirmation'
+ text: "Text Field"
+ confirm: "Confirmation"
dropdown: "Dropdown"
site_text:
description: "You can customize any of the text on your forum. Please start by searching below:"
search: "Search for the text you'd like to edit"
- title: 'Text Content'
- edit: 'edit'
+ title: "Text Content"
+ edit: "edit"
revert: "Revert Changes"
revert_confirm: "Are you sure you want to revert your changes?"
go_back: "Back to Search"
recommended: "We recommend customizing the following text to suit your needs:"
- show_overriden: 'Only show overridden'
+ show_overriden: "Only show overridden"
settings: # used by theme and site settings
- show_overriden: 'Only show overridden'
- reset: 'reset'
- none: 'none'
+ show_overriden: "Only show overridden"
+ reset: "reset"
+ none: "none"
site_settings:
- title: 'Settings'
+ title: "Settings"
no_results: "No results found."
more_than_30_results: "There are more than 30 results. Please refine your search or select a category."
clear_filter: "Clear"
@@ -4015,25 +4015,25 @@ en:
selectable_avatars:
title: "List of avatars users can choose from"
categories:
- all_results: 'All'
- required: 'Required'
- basic: 'Basic Setup'
- users: 'Users'
- posting: 'Posting'
- email: 'Email'
- files: 'Files'
- trust: 'Trust Levels'
- security: 'Security'
+ all_results: "All"
+ required: "Required"
+ basic: "Basic Setup"
+ users: "Users"
+ posting: "Posting"
+ email: "Email"
+ files: "Files"
+ trust: "Trust Levels"
+ security: "Security"
onebox: "Onebox"
- seo: 'SEO'
- spam: 'Spam'
- rate_limits: 'Rate Limits'
- developer: 'Developer'
+ seo: "SEO"
+ spam: "Spam"
+ rate_limits: "Rate Limits"
+ developer: "Developer"
embedding: "Embedding"
legal: "Legal"
- api: 'API'
- user_api: 'User API'
- uncategorized: 'Other'
+ api: "API"
+ user_api: "User API"
+ uncategorized: "Other"
backups: "Backups"
login: "Login"
plugins: "Plugins"
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 0206c05485d..9ac291d5432 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -36,7 +36,21 @@ en:
date:
# Do not remove the brackets and commas and do not translate the first month name. It should be "null".
month_names:
- [~, January, February, March, April, May, June, July, August, September, October, November, December]
+ [
+ ~,
+ January,
+ February,
+ March,
+ April,
+ May,
+ June,
+ July,
+ August,
+ September,
+ October,
+ November,
+ December,
+ ]
<<: *datetime_formats
time:
<<: *datetime_formats
@@ -92,7 +106,7 @@ en:
maximum_staged_user_per_email_reached: "Reached maximum number of staged users created per email."
no_subject: "(no subject)"
no_body: "(no body)"
- missing_attachment: '(Attachment %{filename} is missing)'
+ missing_attachment: "(Attachment %{filename} is missing)"
errors:
empty_email_error: "Happens when the raw mail we received was blank."
no_message_id_error: "Happens when the mail has no 'Message-Id' header."
@@ -115,8 +129,8 @@ en:
unrecognized_error: "Unrecognized Error"
errors: &errors
- format: ! '%{attribute} %{message}'
- format_with_full_message: '<b>%{attribute}</b>: %{message}'
+ format: ! "%{attribute} %{message}"
+ format_with_full_message: "<b>%{attribute}</b>: %{message}"
messages:
too_long_validation: "is limited to %{max} characters; you entered %{length}."
invalid_boolean: "Invalid boolean."
@@ -141,7 +155,7 @@ en:
not_a_number: is not a number
not_an_integer: must be an integer
odd: must be odd
- record_invalid: ! 'Validation failed: %{errors}'
+ record_invalid: ! "Validation failed: %{errors}"
max_emojis: "can't have more than %{max_emojis_count} emoji"
emojis_disabled: "can't have emoji"
ip_address_already_screened: "is already included in an existing rule"
@@ -159,16 +173,16 @@ en:
other: is the wrong length (should be %{count} characters)
other_than: "must be other than %{count}"
template:
- body: ! 'There were problems with the following fields:'
+ body: ! "There were problems with the following fields:"
header:
one: 1 error prohibited this %{model} from being saved
- other: ! '%{count} errors prohibited this %{model} from being saved'
+ other: ! "%{count} errors prohibited this %{model} from being saved"
embed:
load_from_remote: "There was an error loading that post."
site_settings:
invalid_choice:
- one: 'You specified the invalid choice %{name}'
- other: 'You specified the invalid choices %{name}'
+ one: "You specified the invalid choice %{name}"
+ other: "You specified the invalid choices %{name}"
default_categories_already_selected: "You cannot select a category used in another list."
s3_upload_bucket_is_required: "You cannot enable uploads to S3 unless you've provided the 's3_upload_bucket'."
s3_backup_requires_s3_settings: "You cannot use S3 as backup location unless you've provided the '%{setting_name}'."
@@ -361,7 +375,7 @@ en:
one: "1 post"
other: "%{count} posts"
- 'new-topic': |
+ "new-topic": |
Welcome to %{site_name} &mdash; **thanks for starting a new conversation!**
- Does the title sound interesting if you read it out loud? Is it a good summary?
@@ -372,7 +386,7 @@ en:
For more, [see our community guidelines](%{base_path}/guidelines). This panel will only appear for your first %{education_posts_text}.
- 'new-reply': |
+ "new-reply": |
Welcome to %{site_name} &mdash; **thanks for contributing!**
- Does your reply improve the conversation in some way?
@@ -436,8 +450,8 @@ en:
category:
name: "Category Name"
topic:
- title: 'Title'
- featured_link: 'Featured Link'
+ title: "Title"
+ featured_link: "Featured Link"
post:
raw: "Body"
user_profile:
@@ -527,7 +541,6 @@ en:
You may want to close this topic via the admin :wrench: (at the upper right and bottom), so that replies don't pile up on an announcement.
-
lounge_welcome:
title: "Welcome to the Lounge"
body: |
@@ -552,7 +565,6 @@ en:
[trust]: https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/
-
category:
topic_prefix: "About the %{category} category"
replace_paragraph: "(Replace this first paragraph with a brief description of your new category. This guidance will appear in the category selection area, so try to keep it below 200 characters. **Until you edit this description or create topics, this category won't appear on the categories page.**)"
@@ -625,82 +637,82 @@ en:
distance_in_words:
half_a_minute: "< 1m"
less_than_x_seconds:
- one: "< 1s"
+ one: "< 1s"
other: "< %{count}s"
x_seconds:
- one: "1s"
+ one: "1s"
other: "%{count}s"
less_than_x_minutes:
- one: "< 1m"
+ one: "< 1m"
other: "< %{count}m"
x_minutes:
- one: "1m"
+ one: "1m"
other: "%{count}m"
about_x_hours:
- one: "1h"
+ one: "1h"
other: "%{count}h"
x_days:
- one: "1d"
+ one: "1d"
other: "%{count}d"
about_x_months:
- one: "1mon"
+ one: "1mon"
other: "%{count}mon"
x_months:
- one: "1mon"
+ one: "1mon"
other: "%{count}mon"
about_x_years:
- one: "1y"
+ one: "1y"
other: "%{count}y"
over_x_years:
- one: "> 1y"
+ one: "> 1y"
other: "> %{count}y"
almost_x_years:
- one: "1y"
+ one: "1y"
other: "%{count}y"
distance_in_words_verbose:
half_a_minute: "just now"
less_than_x_seconds:
- one: "just now"
+ one: "just now"
other: "just now"
x_seconds:
- one: "1 second ago"
+ one: "1 second ago"
other: "%{count} seconds ago"
less_than_x_minutes:
- one: "less than 1 minute ago"
+ one: "less than 1 minute ago"
other: "less than %{count} minutes ago"
x_minutes:
- one: "1 minute ago"
+ one: "1 minute ago"
other: "%{count} minutes ago"
about_x_hours:
- one: "1 hour ago"
+ one: "1 hour ago"
other: "%{count} hours ago"
x_days:
- one: "1 day ago"
+ one: "1 day ago"
other: "%{count} days ago"
about_x_months:
- one: "about 1 month ago"
+ one: "about 1 month ago"
other: "about %{count} months ago"
x_months:
- one: "1 month ago"
+ one: "1 month ago"
other: "%{count} months ago"
about_x_years:
- one: "about 1 year ago"
+ one: "about 1 year ago"
other: "about %{count} years ago"
over_x_years:
- one: "over 1 year ago"
+ one: "over 1 year ago"
other: "over %{count} years ago"
almost_x_years:
- one: "almost 1 year ago"
+ one: "almost 1 year ago"
other: "almost %{count} years ago"
password_reset:
no_token: "Sorry, that password change link is too old. Select the Log In button and use 'I forgot my password' to get a new link."
choose_new: "Choose a new password"
choose: "Choose a password"
- update: 'Update Password'
- save: 'Set Password'
- title: 'Reset Password'
+ update: "Update Password"
+ save: "Set Password"
+ title: "Reset Password"
success: "You successfully changed your password and are now logged in."
success_unapproved: "You successfully changed your password."
@@ -765,46 +777,46 @@ en:
back_to: "Return to %{title}"
post_action_types:
off_topic:
- title: 'Off-Topic'
- description: 'This post is not relevant to the current discussion as defined by the title and first post, and should probably be moved elsewhere.'
- short_description: 'Not relevant to the discussion'
- long_form: 'flagged this as off-topic'
+ title: "Off-Topic"
+ description: "This post is not relevant to the current discussion as defined by the title and first post, and should probably be moved elsewhere."
+ short_description: "Not relevant to the discussion"
+ long_form: "flagged this as off-topic"
spam:
- title: 'Spam'
- description: 'This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.'
- short_description: 'This is an advertisement or vandalism'
- long_form: 'flagged this as spam'
+ title: "Spam"
+ description: "This post is an advertisement, or vandalism. It is not useful or relevant to the current topic."
+ short_description: "This is an advertisement or vandalism"
+ long_form: "flagged this as spam"
email_title: '"%{title}" was flagged as spam'
email_body: "%{link}\n\n%{message}"
inappropriate:
- title: 'Inappropriate'
+ title: "Inappropriate"
description: 'This post contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="%{base_path}/guidelines">our community guidelines</a>.'
short_description: 'A violation of <a href="%{base_path}/guidelines">our community guidelines</a>'
- long_form: 'flagged this as inappropriate'
+ long_form: "flagged this as inappropriate"
notify_user:
- title: 'Send @{{username}} a message'
- description: 'I want to talk to this person directly and personally about their post.'
- short_description: 'I want to talk to this person directly and personally about their post.'
- long_form: 'messaged user'
+ title: "Send @{{username}} a message"
+ description: "I want to talk to this person directly and personally about their post."
+ short_description: "I want to talk to this person directly and personally about their post."
+ long_form: "messaged user"
email_title: 'Your post in "%{title}"'
email_body: "%{link}\n\n%{message}"
notify_moderators:
title: "Something Else"
- description: 'This post requires staff attention for another reason not listed above.'
- short_description: 'Requires staff attention for another reason'
- long_form: 'flagged this for staff attention'
+ description: "This post requires staff attention for another reason not listed above."
+ short_description: "Requires staff attention for another reason"
+ long_form: "flagged this for staff attention"
email_title: 'A post in "%{title}" requires staff attention'
email_body: "%{link}\n\n%{message}"
bookmark:
- title: 'Bookmark'
- description: 'Bookmark this post'
- short_description: 'Bookmark this post'
- long_form: 'bookmarked this post'
+ title: "Bookmark"
+ description: "Bookmark this post"
+ short_description: "Bookmark this post"
+ long_form: "bookmarked this post"
like:
- title: 'Like'
- description: 'Like this post'
- short_description: 'Like this post'
- long_form: 'liked this'
+ title: "Like"
+ description: "Like this post"
+ short_description: "Like this post"
+ long_form: "liked this"
user_activity:
no_default:
@@ -824,26 +836,26 @@ en:
topic_flag_types:
spam:
- title: 'Spam'
- description: 'This topic is an advertisement. It is not useful or relevant to this site, but promotional in nature.'
- long_form: 'flagged this as spam'
- short_description: 'This is an advertisement'
+ title: "Spam"
+ description: "This topic is an advertisement. It is not useful or relevant to this site, but promotional in nature."
+ long_form: "flagged this as spam"
+ short_description: "This is an advertisement"
inappropriate:
- title: 'Inappropriate'
+ title: "Inappropriate"
description: 'This topic contains content that a reasonable person would consider offensive, abusive, or a violation of <a href="%{base_path}/guidelines">our community guidelines</a>.'
- long_form: 'flagged this as inappropriate'
+ long_form: "flagged this as inappropriate"
short_description: 'A violation of <a href="%{base_path}/guidelines">our community guidelines</a>'
notify_moderators:
title: "Something Else"
description: 'This topic requires general staff attention based on the <a href="%{base_path}/guidelines">guidelines</a>, <a href="%{tos_url}">TOS</a>, or for another reason not listed above.'
- long_form: 'flagged this for moderator attention'
- short_description: 'Requires staff attention for another reason'
+ long_form: "flagged this for moderator attention"
+ short_description: "Requires staff attention for another reason"
email_title: 'The topic "%{title}" requires moderator attention'
email_body: "%{link}\n\n%{message}"
flagging:
you_must_edit: '<p>Your post was flagged by the community. Please <a href="%{path}">see your messages</a>.</p>'
- user_must_edit: '<p>This post was flagged by the community and is temporarily hidden.</p>'
+ user_must_edit: "<p>This post was flagged by the community and is temporarily hidden.</p>"
archetypes:
regular:
@@ -877,8 +889,8 @@ en:
authorize: "Authorize"
read: "read"
read_write: "read/write"
- description: "\"%{application_name}\" is requesting the following access to your account:"
- instructions: "We just generated a new user API key for you to use with \"%{application_name}\", please paste the following key into your application:"
+ description: '"%{application_name}" is requesting the following access to your account:'
+ instructions: 'We just generated a new user API key for you to use with "%{application_name}", please paste the following key into your application:'
no_trust_level: "Sorry, you do not have the required trust level to access the user API"
generic_error: "Sorry, we are unable to issue user API keys, this feature may be disabled by the site admin"
scopes:
@@ -1190,8 +1202,8 @@ en:
host_names_warning: "Your config/database.yml file is using the default localhost hostname. Update it to use your site's hostname."
gc_warning: 'Your server is using default ruby garbage collection parameters, which will not give you the best performance. Read this topic on performance tuning: <a href="https://meta.discourse.org/t/tuning-ruby-and-rails-for-discourse/4126" target="_blank">Tuning Ruby and Rails for Discourse</a>.'
sidekiq_warning: 'Sidekiq is not running. Many tasks, like sending emails, are executed asynchronously by sidekiq. Please ensure at least one sidekiq process is running. <a href="https://github.com/mperham/sidekiq" target="_blank">Learn about Sidekiq here</a>.'
- queue_size_warning: 'The number of queued jobs is %{queue_size}, which is high. This could indicate a problem with the Sidekiq process(es), or you may need to add more Sidekiq workers.'
- memory_warning: 'Your server is running with less than 1 GB of total memory. At least 1 GB of memory is recommended.'
+ queue_size_warning: "The number of queued jobs is %{queue_size}, which is high. This could indicate a problem with the Sidekiq process(es), or you may need to add more Sidekiq workers."
+ memory_warning: "Your server is running with less than 1 GB of total memory. At least 1 GB of memory is recommended."
google_oauth2_config_warning: 'The server is configured to allow signup and log in with Google OAuth2 (enable_google_oauth2_logins), but the client id and client secret values are not set. Go to <a href="%{base_path}/admin/site_settings">the Site Settings</a> and update the settings. <a href="https://meta.discourse.org/t/configuring-google-login-for-discourse/15858" target="_blank">See this guide to learn more</a>.'
facebook_config_warning: 'The server is configured to allow signup and log in with Facebook (enable_facebook_logins), but the app id and app secret values are not set. Go to <a href="%{base_path}/admin/site_settings">the Site Settings</a> and update the settings. <a href="https://meta.discourse.org/t/configuring-facebook-login-for-discourse/13394" target="_blank">See this guide to learn more</a>.'
twitter_config_warning: 'The server is configured to allow signup and log in with Twitter (enable_twitter_logins), but the key and secret values are not set. Go to <a href="%{base_path}/admin/site_settings">the Site Settings</a> and update the settings. <a href="https://meta.discourse.org/t/configuring-twitter-login-for-discourse/13395" target="_blank">See this guide to learn more</a>.'
@@ -1265,7 +1277,7 @@ en:
responsive_post_image_sizes: "Resize lightbox preview images to allow for high DPI screens of the following pixel ratios. Remove all values to disable responsive images."
fixed_category_positions: "If checked, you will be able to arrange categories into a fixed order. If unchecked, categories are listed in order of activity."
fixed_category_positions_on_create: "If checked, category ordering will be maintained on topic creation dialog (requires fixed_category_positions)."
- add_rel_nofollow_to_user_content: "Add rel nofollow to all submitted user content, except for internal links (including parent domains). If you change this, you must rebake all posts with: \"rake posts:rebake\""
+ add_rel_nofollow_to_user_content: 'Add rel nofollow to all submitted user content, except for internal links (including parent domains). If you change this, you must rebake all posts with: "rake posts:rebake"'
exclude_rel_nofollow_domains: "A list of domains where nofollow should not be added to links. example.com will automatically allow sub.example.com as well. As a minimum, you should add the domain of this site to help web crawlers find all content. If other parts of your website are at other domains, add those too."
post_excerpt_maxlength: "Maximum length of a post excerpt / summary."
@@ -1343,10 +1355,10 @@ en:
blacklist_ip_blocks: "A list of private IP blocks that should never be crawled by Discourse"
whitelist_internal_hosts: "A list of internal hosts that discourse can safely crawl for oneboxing and other purposes"
allowed_iframes: "A list of iframe src domain prefixes that discourse can safely allow in posts"
- whitelisted_crawler_user_agents: 'User agents of web crawlers that should be allowed to access the site.'
- blacklisted_crawler_user_agents: 'Unique case insensitive word in the user agent string identifying web crawlers that should not be allowed to access the site. Does not apply if whitelist is defined.'
- slow_down_crawler_user_agents: 'User agents of web crawlers that should be rate limited in robots.txt using the Crawl-delay directive'
- slow_down_crawler_rate: 'If slow_down_crawler_user_agents is specified this rate will apply to all the crawlers (number of seconds delay between requests)'
+ whitelisted_crawler_user_agents: "User agents of web crawlers that should be allowed to access the site."
+ blacklisted_crawler_user_agents: "Unique case insensitive word in the user agent string identifying web crawlers that should not be allowed to access the site. Does not apply if whitelist is defined."
+ slow_down_crawler_user_agents: "User agents of web crawlers that should be rate limited in robots.txt using the Crawl-delay directive"
+ slow_down_crawler_rate: "If slow_down_crawler_user_agents is specified this rate will apply to all the crawlers (number of seconds delay between requests)"
content_security_policy: "Enable Content-Security-Policy"
content_security_policy_report_only: "Enable Content-Security-Policy-Report-Only"
content_security_policy_collect_reports: "Enable CSP violation report collection at /csp_reports"
@@ -1716,7 +1728,7 @@ en:
pop3_polling_password: "The password for the POP3 account to poll for email."
pop3_polling_delete_from_server: "Delete emails from server. NOTE: If you disable this you should manually clean your mail inbox"
log_mail_processing_failures: "Log all email processing failures to <a href='%{base_path}/logs' target='_blank'>/logs</a>"
- email_in: "Allow users to post new topics via email (requires manual or pop3 polling). Configure the addresses in the \"Settings\" tab of each category."
+ email_in: 'Allow users to post new topics via email (requires manual or pop3 polling). Configure the addresses in the "Settings" tab of each category.'
email_in_min_trust: "The minimum trust level a user needs to have to be allowed to post new topics via email."
email_in_spam_header: "The email header to detect spam."
email_prefix: "The [label] used in the subject of emails. It will default to 'title' if not set."
@@ -1968,9 +1980,9 @@ en:
search:
within_post: "#%{post_number} by %{username}"
types:
- category: 'Categories'
- topic: 'Results'
- user: 'Users'
+ category: "Categories"
+ topic: "Results"
+ user: "Users"
results_page: "Search results for '%{term}'"
sso:
@@ -2675,7 +2687,6 @@ en:
The Post Action was not recognized. Please try again, or post via the website if this continues.
-
email_reject_reply_key:
title: "Email Reject Reply Key"
subject_template: "[%{email_prefix}] Email issue -- Unknown Reply Key"
@@ -2735,7 +2746,7 @@ en:
email_reject_attachment:
title: "Email Attachment Rejected"
subject_template: "[%{email_prefix}] Email issue -- Attachment Rejected"
- text_body_template: |
+ text_body_template: |
Unfortunately some attachments in your email message to %{destination} (titled %{former_title}) were rejected.
Details:
@@ -2881,8 +2892,6 @@ en:
Posts from new users were held for moderation and are currently waiting to be reviewed. [Approve or reject them here](%{base_url}/queued-posts).
-
-
unsubscribe_link: |
To unsubscribe from these emails, [click here](%{unsubscribe_url}).
@@ -2908,7 +2917,7 @@ en:
title: "Unsubscribe"
description: "Not interested in getting these emails? No problem! Click below to unsubscribe instantly:"
- header_instructions: ''
+ header_instructions: ""
reply_by_email: "[Visit Topic](%{base_url}%{url}) or reply to this email to respond."
reply_by_email_pm: "[Visit Message](%{base_url}%{url}) or reply to this email to respond to %{participants}."
only_reply_by_email: "Reply to this email to respond."
@@ -3140,7 +3149,6 @@ en:
%{message}
-
account_exists:
title: "Account already exists"
subject_template: "[%{email_prefix}] Account already exists"
@@ -3153,8 +3161,6 @@ en:
If you have any questions, [contact our friendly staff](%{base_url}/about).
-
-
account_second_factor_disabled:
title: "Two Factor Authentication disabled"
subject_template: "[%{email_prefix}] Two Factor Authentication disabled"
@@ -3165,7 +3171,6 @@ en:
If you have any questions, [contact our friendly staff](%{base_url}/about).
-
digest:
why: "A brief summary of %{site_link} since your last visit on %{last_seen_at}"
since_last_visit: "Since your last visit"
@@ -3188,26 +3193,26 @@ en:
preheader: "A brief summary since your last visit on %{last_seen_at}"
custom:
html:
- header: ''
- below_post_1: ''
- below_post_2: ''
- below_post_3: ''
- below_post_4: ''
- below_post_5: ''
- above_popular_topics: ''
- below_popular_topics: ''
- above_footer: ''
- below_footer: ''
+ header: ""
+ below_post_1: ""
+ below_post_2: ""
+ below_post_3: ""
+ below_post_4: ""
+ below_post_5: ""
+ above_popular_topics: ""
+ below_popular_topics: ""
+ above_footer: ""
+ below_footer: ""
text:
- below_post_1: ''
- below_post_2: ''
- below_post_3: ''
- below_post_4: ''
- below_post_5: ''
- above_popular_topics: ''
- below_popular_topics: ''
- above_footer: ''
- below_footer: ''
+ below_post_1: ""
+ below_post_2: ""
+ below_post_3: ""
+ below_post_4: ""
+ below_post_5: ""
+ above_popular_topics: ""
+ below_popular_topics: ""
+ above_footer: ""
+ below_footer: ""
forgot_password:
title: "Forgot Password"
@@ -3364,7 +3369,7 @@ en:
title: "Terms of Service"
signup_form_message: 'I have read and accept the <a href="%{base_path}/tos" target="_blank">Terms of Service</a>.'
- deleted: 'deleted'
+ deleted: "deleted"
image: "image"
@@ -3547,7 +3552,6 @@ en:
Yes, legalese is boring, but we must protect ourselves &ndash; and by extension, you and your data &ndash; against unfriendly folks. We have a [Terms of Service](%{base_path}/tos) describing your (and our) behavior and rights related to content, privacy, and laws. To use this service, you must agree to abide by our [TOS](%{base_path}/tos).
-
tos_topic:
title: "Terms of Service"
body: |
@@ -4036,7 +4040,7 @@ en:
This badge is granted to congratulate two new users each month for their excellent overall contributions, as measured by how often their posts were liked, and by whom.
enthusiast:
name: Enthusiast
- description: Visited 10 days
+ description: Visited 10 days
long_description: |
This badge is granted for visiting 10 consecutive days. Thanks for sticking with us for over a week!
aficionado:
@@ -4065,15 +4069,15 @@ en:
tags:
title: "Tags"
- staff_tag_disallowed: "The tag \"%{tag}\" may only be applied by staff."
- staff_tag_remove_disallowed: "The tag \"%{tag}\" may only be removed by staff."
+ staff_tag_disallowed: 'The tag "%{tag}" may only be applied by staff.'
+ staff_tag_remove_disallowed: 'The tag "%{tag}" may only be removed by staff.'
minimum_required_tags: "You must select at least %{count} tags."
upload_row_too_long: "The CSV file should have one tag per line. Optionally the tag can be followed by a comma, then the tag group name."
forbidden:
- in_this_category: "\"%{tag_name}\" cannot be used in this category"
+ in_this_category: '"%{tag_name}" cannot be used in this category'
restricted_to:
- one: "\"%{tag_name}\" is restricted to the \"%{category_names}\" category"
- other: "\"%{tag_name}\" is restricted to the following categories: %{category_names}"
+ one: '"%{tag_name}" is restricted to the "%{category_names}" category'
+ other: '"%{tag_name}" is restricted to the following categories: %{category_names}'
rss_by_tag: "Topics tagged %{tag}"
finish_installation:
@@ -4124,7 +4128,8 @@ en:
introduction:
title: "Introduction"
- disabled: "<p>We couldn’t find any topic with the title “%{topic_title}”.</p>
+ disabled:
+ "<p>We couldn’t find any topic with the title “%{topic_title}”.</p>
<ul>
<li>If you have changed the title, edit that topic to modify your site’s introductory text.</li>
<li>If you have deleted this topic, create another topic with “%{topic_title}” as the title. The content of the first post is your site’s introductory text.</li>
@@ -4133,19 +4138,21 @@ en:
fields:
welcome:
label: "Welcome Topic"
- description: "<p>How would you describe your community to a stranger on an elevator in about 1 minute?</p>
+ description:
+ "<p>How would you describe your community to a stranger on an elevator in about 1 minute?</p>
<ul>
<li>Who are these discussions for?</li>
<li>What can I find here?</li>
<li>Why should I visit?</li>
</ul>
- <p>Your welcome topic is the first thing new arrivals will read. Think of it as your <b>one paragraph</b> 'elevator pitch' or 'mission statement'. </p>"
+ <p>Your welcome topic is the first thing new arrivals will read. Think of it as your <b>one paragraph</b> 'elevator pitch' or 'mission statement'. </p>"
one_paragraph: "Please restrict your welcome message to one paragraph."
privacy:
title: "Access"
- description: "<p>Is your community open to everyone, or is it restricted by membership, invitation, or approval? If you prefer, you can set things up privately, then switch over to public later.</p>
- <p>You can always send invites from topics, or from your user profile page, too.</p>"
+ description:
+ "<p>Is your community open to everyone, or is it restricted by membership, invitation, or approval? If you prefer, you can set things up privately, then switch over to public later.</p>
+ <p>You can always send invites from topics, or from your user profile page, too.</p>"
fields:
privacy:
@@ -4269,8 +4276,8 @@ en:
posted: '%{username} posted in "%{topic}" - %{site_title}'
private_message: '%{username} sent you a private message in "%{topic}" - %{site_title}'
linked: '%{username} linked to your post from "%{topic}" - %{site_title}'
- confirm_title: 'Notifications enabled - %{site_title}'
- confirm_body: 'Success! Notifications have been enabled.'
+ confirm_title: "Notifications enabled - %{site_title}"
+ confirm_body: "Success! Notifications have been enabled."
staff_action_logs:
not_found: "not found"
diff --git a/config/site_settings.yml b/config/site_settings.yml
index d69c5aff4f3..d0d25b9279d 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -28,95 +28,95 @@
required:
title:
client: true
- default: 'Discourse'
+ default: "Discourse"
site_description:
- default: ''
+ default: ""
short_site_description:
- default: ''
+ default: ""
contact_email:
client: true
- default: ''
+ default: ""
type: email
contact_url:
client: true
- default: ''
+ default: ""
notification_email:
- default: '[email protected]'
+ default: "[email protected]"
type: email
shadowed_by_global: true
site_contact_username:
- default: ''
+ default: ""
type: username
logo:
- default: ''
+ default: ""
client: true
type: upload
logo_url:
hidden: true
- default: '/images/d-logo-sketch.png'
+ default: "/images/d-logo-sketch.png"
logo_small:
- default: ''
+ default: ""
client: true
type: upload
logo_small_url:
hidden: true
- default: '/images/d-logo-sketch-small.png'
+ default: "/images/d-logo-sketch-small.png"
digest_logo:
- default: ''
+ default: ""
client: true
type: upload
digest_logo_url:
hidden: true
- default: ''
+ default: ""
mobile_logo:
- default: ''
+ default: ""
client: true
type: upload
mobile_logo_url:
hidden: true
- default: ''
+ default: ""
large_icon:
- default: ''
+ default: ""
client: true
type: upload
large_icon_url:
hidden: true
- default: ''
+ default: ""
favicon:
- default: ''
+ default: ""
client: true
type: upload
favicon_url:
hidden: true
- default: '/images/default-favicon.ico'
+ default: "/images/default-favicon.ico"
apple_touch_icon:
- default: ''
+ default: ""
client: true
type: upload
apple_touch_icon_url:
hidden: true
- default: '/images/default-apple-touch-icon.png'
+ default: "/images/default-apple-touch-icon.png"
opengraph_image:
- default: ''
+ default: ""
type: upload
default_opengraph_image_url:
hidden: true
- default: ''
+ default: ""
twitter_summary_large_image:
- default: ''
+ default: ""
type: upload
twitter_summary_large_image_url:
hidden: true
- default: ''
+ default: ""
exclude_rel_nofollow_domains:
- default: ''
+ default: ""
type: list
company_name:
- default: ''
+ default: ""
governing_law:
- default: ''
+ default: ""
city_for_disputes:
- default: ''
+ default: ""
basic:
allow_user_locale:
@@ -144,17 +144,17 @@ basic:
max: 10000
ga_universal_tracking_code:
client: true
- default: ''
+ default: ""
regex: "^UA-\\d+-\\d+$"
ga_universal_domain_name:
client: true
- default: 'auto'
+ default: "auto"
ga_universal_auto_link_domains:
- default: ''
+ default: ""
type: list
gtm_container_id:
client: true
- default: ''
+ default: ""
regex: "^GTM-"
top_menu:
client: true
@@ -167,64 +167,64 @@ basic:
validator: RegexPresenceValidator
allow_any: false
choices:
- - latest
- - new
- - unread
- - top
- - categories
- - read
- - posted
- - bookmarks
+ - latest
+ - new
+ - unread
+ - top
+ - categories
+ - read
+ - posted
+ - bookmarks
post_menu:
client: true
type: list
- default: 'like-count|like|share|flag|edit|bookmark|delete|admin|reply'
+ default: "like-count|like|share|flag|edit|bookmark|delete|admin|reply"
allow_any: false
choices:
- - like-count
- - like
- - edit
- - flag
- - delete
- - share
- - bookmark
- - admin
- - reply
+ - like-count
+ - like
+ - edit
+ - flag
+ - delete
+ - share
+ - bookmark
+ - admin
+ - reply
post_menu_hidden_items:
client: true
type: list
- default: 'flag|bookmark|edit|delete|admin'
+ default: "flag|bookmark|edit|delete|admin"
allow_any: false
choices:
- - like
- - edit
- - flag
- - delete
- - share
- - bookmark
- - admin
- - reply
+ - like
+ - edit
+ - flag
+ - delete
+ - share
+ - bookmark
+ - admin
+ - reply
share_links:
client: true
type: list
- default: 'twitter|facebook|email'
+ default: "twitter|facebook|email"
allow_any: false
choices:
- - twitter
- - facebook
- - email
+ - twitter
+ - facebook
+ - email
desktop_category_page_style:
client: true
- enum: 'CategoryPageStyle'
- default: 'categories_and_latest_topics'
+ enum: "CategoryPageStyle"
+ default: "categories_and_latest_topics"
category_colors:
client: true
type: list
list_type: compact
- default: 'BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|E45735'
+ default: "BF1E2E|F1592A|F7941D|9EB83B|3AB54A|12A89D|25AAE2|0E76BD|652D90|92278F|ED207B|8C6238|231F20|808281|B3B5B4|E45735"
category_style:
client: true
- default: 'bullet'
+ default: "bullet"
type: enum
choices:
- bar
@@ -248,7 +248,7 @@ basic:
default: 50
min: 1
top_page_default_timeframe:
- default: 'yearly'
+ default: "yearly"
type: enum
choices:
- all
@@ -277,23 +277,23 @@ basic:
default: true
client: true
push_notifications_icon:
- default: ''
+ default: ""
type: upload
push_notifications_icon_url:
hidden: true
- default: ''
+ default: ""
short_title:
- default: ''
+ default: ""
max: 12
vapid_public_key_bytes:
- default: ''
+ default: ""
client: true
hidden: true
vapid_public_key:
- default: ''
+ default: ""
hidden: true
vapid_private_key:
- default: ''
+ default: ""
hidden: true
login:
@@ -323,56 +323,56 @@ login:
default: true
enable_google_oauth2_logins:
default: false
- google_oauth2_client_id: ''
+ google_oauth2_client_id: ""
google_oauth2_client_secret:
- default: ''
+ default: ""
secret: true
google_oauth2_prompt:
- default: ''
+ default: ""
type: list
choices:
- - ''
- - 'none'
- - 'consent'
- - 'select_account'
+ - ""
+ - "none"
+ - "consent"
+ - "select_account"
google_oauth2_hd:
- default: ''
+ default: ""
enable_yahoo_logins:
default: false
enable_twitter_logins:
default: false
twitter_consumer_key:
- default: ''
+ default: ""
regex: "^[\\w+-]+$"
twitter_consumer_secret:
- default: ''
+ default: ""
regex: "^[\\w+-]+$"
secret: true
enable_instagram_logins:
default: false
instagram_consumer_key:
- default: ''
+ default: ""
regex: "^[a-z0-9]+$"
instagram_consumer_secret:
- default: ''
+ default: ""
regex: "^[a-z0-9]+$"
secret: true
enable_facebook_logins:
default: false
facebook_app_id:
- default: ''
+ default: ""
regex: "^\\d+$"
facebook_app_secret:
- default: ''
+ default: ""
regex: "^[a-f0-9]+$"
secret: true
enable_github_logins:
default: false
github_client_id:
- default: ''
+ default: ""
regex: "^[a-f0-9]+$"
github_client_secret:
- default: ''
+ default: ""
regex: "^[a-f0-9]+$"
secret: true
enable_sso:
@@ -389,13 +389,13 @@ login:
hidden: true
default: 500
sso_url:
- default: ''
+ default: ""
regex: '^https?:\/\/.+[^\/]$'
sso_secret:
- default: ''
+ default: ""
secret: true
sso_provider_secrets:
- default: ''
+ default: ""
type: list
list_type: secret
secret: true
@@ -414,12 +414,12 @@ login:
client: true
sso_overrides_profile_background: false
sso_overrides_card_background: false
- sso_not_approved_url: ''
+ sso_not_approved_url: ""
email_domains_blacklist:
- default: 'mailinator.com'
+ default: "mailinator.com"
type: list
email_domains_whitelist:
- default: ''
+ default: ""
type: list
hide_email_address_taken: false
log_out_strict: true
@@ -466,7 +466,7 @@ users:
email_editable: true
logout_redirect:
client: true
- default: ''
+ default: ""
full_name_required:
client: true
default: false
@@ -500,10 +500,10 @@ users:
default: 14
public_user_custom_fields:
type: list
- default: ''
+ default: ""
staff_user_custom_fields:
type: list
- default: ''
+ default: ""
enable_user_directory:
client: true
default: true
@@ -512,7 +512,7 @@ users:
client: true
anonymous_posting_min_trust_level:
default: 1
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
client: true
anonymous_account_duration_minutes:
default: 10080
@@ -523,7 +523,7 @@ users:
show_inactive_accounts:
default: false
user_website_domains_whitelist:
- default: ''
+ default: ""
type: list
hide_suspension_reasons:
default: false
@@ -640,7 +640,7 @@ posting:
staff_edit_locks_post: false
shared_drafts_category:
type: category
- default: ''
+ default: ""
post_edit_time_limit:
default: 86400
max: 525600
@@ -662,7 +662,7 @@ posting:
markdown_linkify_tlds:
client: true
type: list
- default: 'com|net|org|io|co|tv|ru|cn|us|uk|me|de|fr|fi|gov'
+ default: "com|net|org|io|co|tv|ru|cn|us|uk|me|de|fr|fi|gov"
list_type: compact
enable_rich_text_paste:
client: true
@@ -690,7 +690,7 @@ posting:
newuser_max_mentions_per_post: 2
title_max_word_length: 30
whitelisted_link_domains:
- default: ''
+ default: ""
type: list
newuser_max_links: 2
newuser_max_images:
@@ -729,8 +729,8 @@ posting:
client: true
default: false
highlighted_languages:
- default: 'apache|bash|cs|cpp|css|coffeescript|diff|xml|http|ini|json|java|javascript|makefile|markdown|nginx|objectivec|ruby|perl|php|python|sql|handlebars'
- choices: 'HighlightJs.languages'
+ default: "apache|bash|cs|cpp|css|coffeescript|diff|xml|http|ini|json|java|javascript|makefile|markdown|nginx|objectivec|ruby|perl|php|python|sql|handlebars"
+ choices: "HighlightJs.languages"
type: list
client: true
list_type: compact
@@ -742,9 +742,9 @@ posting:
default: true
client: true
emoji_set:
- default: 'twitter'
+ default: "twitter"
client: true
- enum: 'EmojiSetSiteSetting'
+ enum: "EmojiSetSiteSetting"
emoji_autocomplete_min_chars:
client: true
default: 0
@@ -762,10 +762,10 @@ posting:
default: 0
approve_unless_trust_level:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
approve_new_topics_unless_trust_level:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
approve_unless_staged:
default: false
notify_about_queued_posts_after:
@@ -779,17 +779,17 @@ posting:
code_formatting_style:
client: true
type: enum
- default: '4-spaces-indent'
+ default: "4-spaces-indent"
choices:
- - 4-spaces-indent
- - code-fences
+ - 4-spaces-indent
+ - code-fences
embed_truncate:
default: true
embed_support_markdown:
default: false
allowed_href_schemes:
client: true
- default: ''
+ default: ""
type: list
list_type: compact
max_allowed_message_recipients:
@@ -832,7 +832,7 @@ email:
default: 365
digest_suppress_categories:
type: category_list
- default: ''
+ default: ""
disable_digest_emails:
default: false
client: true
@@ -840,16 +840,16 @@ email:
email_accent_fg_color: "#FFFFFF"
email_link_color: "#006699"
show_topic_featured_link_in_digest: false
- email_custom_headers: 'Auto-Submitted: auto-generated'
- email_subject: '[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}'
+ email_custom_headers: "Auto-Submitted: auto-generated"
+ email_subject: "[%{site_name}] %{optional_pm}%{optional_cat}%{topic_title}"
reply_by_email_enabled:
default: false
validator: "ReplyByEmailEnabledValidator"
reply_by_email_address:
- default: ''
+ default: ""
validator: "ReplyByEmailAddressValidator"
alternative_reply_by_email_addresses:
- default: ''
+ default: ""
validator: "AlternativeReplyByEmailAddressesValidator"
find_related_post_with_key:
default: true
@@ -861,11 +861,11 @@ email:
pop3_polling_ssl: true
pop3_polling_openssl_verify: true
pop3_polling_period_mins: 5
- pop3_polling_host: ''
+ pop3_polling_host: ""
pop3_polling_port: 995
- pop3_polling_username: ''
+ pop3_polling_username: ""
pop3_polling_password:
- default: ''
+ default: ""
secret: true
pop3_polling_delete_from_server: true
log_mail_processing_failures: false
@@ -875,24 +875,24 @@ email:
client: true
email_in_min_trust:
default: 2
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
email_in_spam_header:
type: enum
- default: 'none'
+ default: "none"
choices:
- - none
- - X-Spam-Flag
- - X-Spam-Status
- email_prefix: ''
- email_site_title: ''
+ - none
+ - X-Spam-Flag
+ - X-Spam-Status
+ email_prefix: ""
+ email_site_title: ""
disable_emails:
client: true
type: enum
- default: 'no'
+ default: "no"
choices:
- - 'no'
- - 'yes'
- - 'non-staff'
+ - "no"
+ - "yes"
+ - "non-staff"
strip_images_from_short_emails: true
short_email_length: 2800
display_name_on_email_from:
@@ -911,14 +911,14 @@ email:
enable_staged_users: true
maximum_staged_users_per_email: 10
auto_generated_whitelist:
- default: ''
+ default: ""
type: list
block_auto_generated_emails: true
ignore_by_title:
type: list
- default: ''
+ default: ""
mailgun_api_key:
- default: ''
+ default: ""
regex: '^(key-\h{32}|\h{32}-\h{8}-\h{8})$'
secret: true
bounce_score_threshold:
@@ -967,24 +967,24 @@ files:
default: 50000
max: 1024000
theme_authorized_extensions:
- default: 'jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif'
+ default: "jpg|jpeg|png|woff|woff2|svg|eot|ttf|otf|gif"
type: list
list_type: compact
authorized_extensions:
client: true
- default: 'jpg|jpeg|png|gif'
+ default: "jpg|jpeg|png|gif"
refresh: true
type: list
list_type: compact
authorized_extensions_for_staff:
client: true
- default: ''
+ default: ""
refresh: true
type: list
list_type: compact
export_authorized_extensions:
hidden: true
- default: 'gz'
+ default: "gz"
type: list
list_type: compact
responsive_post_image_sizes:
@@ -1008,7 +1008,7 @@ files:
max: 10000
disabled_image_download_domains:
type: list
- default: ''
+ default: ""
create_thumbnails: true
clean_up_uploads: true
clean_orphan_uploads_grace_period_hours: 48
@@ -1023,26 +1023,26 @@ files:
client: true
s3_use_iam_profile: false
s3_access_key_id:
- default: ''
+ default: ""
secret: true
shadowed_by_global: true
s3_secret_access_key:
- default: ''
+ default: ""
secret: true
shadowed_by_global: true
s3_region:
- default: 'us-east-1'
- enum: 'S3RegionSiteSetting'
+ default: "us-east-1"
+ enum: "S3RegionSiteSetting"
shadowed_by_global: true
s3_upload_bucket:
- default: ''
+ default: ""
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
s3_endpoint:
- default: 'https://s3.amazonaws.com'
+ default: "https://s3.amazonaws.com"
regex: '^https?:\/\/.+[^\/]$'
shadowed_by_global: true
s3_cdn_url:
- default: ''
+ default: ""
regex: '^https?:\/\/.+[^\/]$'
s3_force_path_style:
default: false
@@ -1062,11 +1062,11 @@ files:
default: false
allow_animated_thumbnails: true
default_avatars:
- default: ''
+ default: ""
type: url_list
client: true
avatar_sizes:
- default: '20|25|32|45|60|120'
+ default: "20|25|32|45|60|120"
type: list
list_type: compact
external_system_avatars_enabled:
@@ -1082,7 +1082,7 @@ files:
default: false
client: true
selectable_avatars:
- default: ''
+ default: ""
type: uploaded_image_list
allow_all_attachments_for_group_messages: false
png_to_jpg_quality:
@@ -1107,38 +1107,38 @@ files:
trust:
default_trust_level:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
default_invitee_trust_level:
default: 1
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_create_topic:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_edit_wiki_post:
default: 1
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_edit_post:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_allow_self_wiki:
default: 3
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_send_messages:
default: 1
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_send_email_messages:
hidden: true
default: 4
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_flag_posts:
default: 1
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_post_links:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
min_trust_to_post_images:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
allow_flagging_staff: true
send_tl1_welcome_message: true
tl1_requires_topics_entered: 5
@@ -1203,52 +1203,52 @@ security:
- Lax
- Strict
- Disabled
- regex: '^(Lax|Strict|Disabled)$'
+ regex: "^(Lax|Strict|Disabled)$"
enable_escaped_fragments: true
allow_index_in_robots_txt: true
allow_moderators_to_create_categories: false
non_crawler_user_agents:
hidden: true
- default: 'trident|webkit|gecko|chrome|safari|msie|opera|goanna'
+ default: "trident|webkit|gecko|chrome|safari|msie|opera|goanna"
type: list
list_type: compact
crawler_user_agents:
hidden: true
- default: 'rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor'
+ default: "rss|bot|spider|crawler|facebook|archive|wayback|ping|monitor"
type: list
list_type: compact
crawler_check_bypass_agents:
hidden: true
- default: 'cubot'
+ default: "cubot"
cors_origins:
- default: ''
+ default: ""
type: list
use_admin_ip_whitelist:
default: false
client: true
blacklist_ip_blocks:
- default: ''
+ default: ""
type: list
list_type: compact
shadowed_by_global: true
whitelist_internal_hosts:
- default: ''
+ default: ""
type: list
allowed_iframes:
- default: 'https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/'
+ default: "https://www.google.com/maps/embed?|https://www.openstreetmap.org/export/embed.html?|https://calendar.google.com/calendar/embed?|https://codepen.io/"
type: list
client: true
whitelisted_crawler_user_agents:
type: list
- default: ''
+ default: ""
list_type: compact
blacklisted_crawler_user_agents:
type: list
- default: 'mauibot'
+ default: "mauibot"
list_type: compact
slow_down_crawler_user_agents:
type: list
- default: 'bingbot'
+ default: "bingbot"
list_type: compact
slow_down_crawler_rate: 60
content_security_policy:
@@ -1259,7 +1259,7 @@ security:
default: false
content_security_policy_script_src:
type: list
- default: ''
+ default: ""
invalidate_inactive_admin_email_after_days:
default: 365
min: 0
@@ -1274,14 +1274,14 @@ onebox:
zh_CN: 200
zh_TW: 200
onebox_domains_blacklist:
- default: ''
+ default: ""
type: list
list_type: compact
max_oneboxes_per_post:
default: 50
client: true
inline_onebox_domains_whitelist:
- default: ''
+ default: ""
type: list
list_type: compact
enable_inline_onebox_on_all_domains:
@@ -1299,11 +1299,11 @@ spam:
flag_sockpuppets: false
newuser_spam_host_threshold: 3
white_listed_spam_host_domains:
- default: ''
+ default: ""
type: list
levenshtein_distance_spammer_emails:
- default: 2
- max: 3
+ default: 2
+ max: 3
max_new_accounts_per_registration_ip: 3
min_ban_entries_for_roll_up: 5
max_age_unmatched_emails: 365
@@ -1369,10 +1369,10 @@ rate_limits:
developer:
force_hostname:
hidden: true
- default: ''
+ default: ""
port:
hidden: true
- default: ''
+ default: ""
queue_jobs:
hidden: true
default: true
@@ -1384,7 +1384,7 @@ developer:
max: 25000
long_polling_base_url:
client: true
- default: '/'
+ default: "/"
background_polling_interval:
client: true
default: 60000
@@ -1428,11 +1428,11 @@ developer:
hidden: true
logging_provider:
hidden: true
- default: 'default'
- type: 'list'
+ default: "default"
+ type: "list"
choices:
- - 'default'
- - 'lograge'
+ - "default"
+ - "lograge"
bootstrap_error_pages:
hidden: true
default: false
@@ -1445,7 +1445,7 @@ embedding:
default: false
hidden: true
feed_polling_url:
- default: ''
+ default: ""
hidden: true
feed_polling_frequency_mins:
min: 5
@@ -1453,38 +1453,38 @@ embedding:
default: 60
hidden: true
embed_by_username:
- default: ''
+ default: ""
type: username
hidden: true
embed_username_key_from_feed:
- default: ''
+ default: ""
hidden: true
embed_post_limit:
default: 100
hidden: true
embed_title_scrubber:
- default: ''
+ default: ""
hidden: true
embed_whitelist_selector:
- default: ''
+ default: ""
hidden: true
embed_blacklist_selector:
- default: ''
+ default: ""
hidden: true
embed_classname_whitelist:
- default: 'emoji'
+ default: "emoji"
hidden: true
legal:
tos_url:
client: true
- default: ''
+ default: ""
privacy_policy_url:
client: true
- default: ''
+ default: ""
faq_url:
client: true
- default: ''
+ default: ""
log_anonymizer_details:
default: true
@@ -1499,9 +1499,9 @@ backups:
default: false
shadowed_by_global: true
backup_location:
- default: 'local'
+ default: "local"
type: enum
- enum: 'BackupLocationSiteSetting'
+ enum: "BackupLocationSiteSetting"
shadowed_by_global: true
client: true
maximum_backups:
@@ -1517,13 +1517,13 @@ backups:
default: 7
shadowed_by_global: true
s3_backup_bucket:
- default: ''
+ default: ""
regex: '^[a-z0-9\-\/]+$' # can't use '.' when using HTTPS
shadowed_by_global: true
s3_disable_cleanup:
default: false
backup_time_of_day:
- default: '3:30'
+ default: "3:30"
regex: "^((0?(0|1|2|3|4|5|6|7|8|9)|(10|11|12|13|14|15|16|17|18|19|20|21|22|23))):\\d\\d$"
backup_with_uploads: true
@@ -1584,15 +1584,15 @@ uncategorized:
default: 8
slug_generation_method:
- default: 'ascii'
- enum: 'SlugSetting'
+ default: "ascii"
+ enum: "SlugSetting"
locale_default:
- ja: 'none'
- zh_CN: 'none'
- zh_TW: 'none'
+ ja: "none"
+ zh_CN: "none"
+ zh_TW: "none"
permalink_normalizations:
- default: ''
+ default: ""
type: list
max_similar_results: 5
@@ -1760,47 +1760,47 @@ uncategorized:
min: 0
svg_icon_subset:
- default: ''
- type: 'list'
- list_type: 'compact'
+ default: ""
+ type: "list"
+ list_type: "compact"
client: true
user_preferences:
default_email_digest_frequency:
- enum: 'DigestEmailSiteSetting'
+ enum: "DigestEmailSiteSetting"
default: 10080
default_include_tl0_in_digests: false
default_email_personal_messages: true
default_email_direct: true
default_email_mailing_list_mode: false
default_email_mailing_list_mode_frequency:
- enum: 'MailingListModeSiteSetting'
+ enum: "MailingListModeSiteSetting"
default: 1
disable_mailing_list_mode:
default: false
client: true
default_email_always: false
default_email_previous_replies:
- enum: 'PreviousRepliesSiteSetting'
+ enum: "PreviousRepliesSiteSetting"
default: 2
default_email_in_reply_to:
default: true
default_other_new_topic_duration_minutes:
- enum: 'NewTopicDurationSiteSetting'
+ enum: "NewTopicDurationSiteSetting"
default: 2880
default_other_auto_track_topics_after_msecs:
- enum: 'AutoTrackDurationSiteSetting'
+ enum: "AutoTrackDurationSiteSetting"
default: 240000
default_other_notification_level_when_replying:
- enum: 'NotificationLevelWhenReplyingSiteSetting'
+ enum: "NotificationLevelWhenReplyingSiteSetting"
default: 2
default_other_external_links_in_new_tab: false
default_other_enable_quoting: true
default_other_dynamic_favicon: false
default_other_disable_jump_reply: false
default_other_like_notification_frequency:
- enum: 'LikeNotificationFrequencySiteSetting'
+ enum: "LikeNotificationFrequencySiteSetting"
default: 1
default_topics_automatic_unpin:
@@ -1809,16 +1809,16 @@ user_preferences:
default_categories_watching:
type: category_list
- default: ''
+ default: ""
default_categories_tracking:
type: category_list
- default: ''
+ default: ""
default_categories_muted:
type: category_list
- default: ''
+ default: ""
default_categories_watching_first_post:
type: category_list
- default: ''
+ default: ""
default_text_size:
type: enum
@@ -1839,22 +1839,22 @@ user_api:
allow_user_api_keys:
default: true
allow_user_api_key_scopes:
- default: 'read|write|message_bus|push|notifications|session_info'
+ default: "read|write|message_bus|push|notifications|session_info"
type: list
max_api_keys_per_user:
default: 10
push_api_secret_key:
- default: ''
+ default: ""
hidden: true
min_trust_level_for_user_api_key:
default: 0
- enum: 'TrustLevelSetting'
+ enum: "TrustLevelSetting"
allowed_user_api_push_urls:
- default: ''
+ default: ""
type: list
shadowed_by_global: true
allowed_user_api_auth_redirects:
- default: 'https://api.discourse.org/api/auth_redirect|discourse://auth_redirect'
+ default: "https://api.discourse.org/api/auth_redirect|discourse://auth_redirect"
type: list
expire_user_api_keys_days:
default: 180
@@ -1867,11 +1867,11 @@ tags:
tag_style:
client: true
type: enum
- default: 'simple'
+ default: "simple"
choices:
- - simple
- - bullet
- - box
+ - simple
+ - bullet
+ - box
preview: '<div class="discourse-tags"><span class="discourse-tag {{value}}">tag1</span><span class="discourse-tag {{value}}">tag2</span></div>'
max_tags_per_topic:
default: 5
@@ -1880,11 +1880,11 @@ tags:
default: 20
client: true
min_trust_to_create_tag:
- default: '3'
- enum: 'TrustLevelAndStaffSetting'
+ default: "3"
+ enum: "TrustLevelAndStaffSetting"
min_trust_level_to_tag_topics:
- default: '0'
- enum: 'TrustLevelAndStaffSetting'
+ default: "0"
+ enum: "TrustLevelAndStaffSetting"
client: true
max_tag_search_results:
client: true
diff --git a/package.json b/package.json
index 8aa4b7eef3c..a33afeaf3c6 100644
--- a/package.json
+++ b/package.json
@@ -34,7 +34,7 @@
"chrome-remote-interface": "^0.25",
"eslint": "^4.19",
"pretender": "^1.6",
- "prettier": "1.14.3",
+ "prettier": "^1.15.3",
"puppeteer": "1.4",
"qunit": "2.8.0",
"route-recognizer": "^0.3.3",
diff --git a/yarn.lock b/yarn.lock
index bee90942c14..aa39f5d6eb7 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1836,10 +1836,10 @@ pretender@^1.6:
fake-xml-http-request "^1.6.0"
route-recognizer "^0.3.3"
- version "1.14.3"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.14.3.tgz#90238dd4c0684b7edce5f83b0fb7328e48bd0895"
- integrity sha512-qZDVnCrnpsRJJq5nSsiHCE3BYMED2OtsI+cmzIzF1QIfqm5ALf8tEJcO27zV1gKNKRPdhjO0dNWnrzssDQ1tFg==
+prettier@^1.15.3:
+ version "1.15.3"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.3.tgz#1feaac5bdd181237b54dbe65d874e02a1472786a"
+ integrity sha512-gAU9AGAPMaKb3NNSUUuhhFAS7SCO4ALTN4nRIn6PJ075Qd28Yn2Ig2ahEJWdJwJmlEBTUfC7mMUSFy8MwsOCfg==
process-nextick-args@~2.0.0:
version "2.0.0"