Commit Graph

605 Commits (9d84dda213ab445c078b4933bb89fac8f0e729af)

Author SHA1 Message Date
ster 9d84dda213 Update Ukrainian, Russian translations ()
* Update Ukrainian translation (rebased off Russian translation)

* Update Ukrainian, Russian translations
Yamagishi Kazutoshi 3bdcf5d8f0 Add final newline to locale files ()
beatrix 5c1f70b5c5 namespace redis usage ()
* add redis-namespace gem

* namespace redis usage

* refactor redis namespace code to be less intrusive

previously : would be prepended to keys when the
REDIS_NAMESPACE env var was not set

now if it is not set the namespacing functions are
not used at all, which should prevent disruptions
when instances update.

* fix redis namespace variable style in streaming js

* remove trailing space

* final redis namespace style fix
Özcan Zafer AYAN 983593ddf4 Add Turkish yml file ()
* Add Turkish yml file

* Add translation files for Turkish

* Deleted click_to_edit key and val

Deleted click_to_edit: Düzenlemek için ilgili ayara tıklayınız line
Nolan Lawson d372068620 add source maps for dev/production ()
Yamagishi Kazutoshi d7c17c32af Fix redirect path for admin ()
Ira ee1486a7de i18n: Update Hebrew interface translation. ()
* follow the instructions for registering the language as stated on the Tootsuite's docs.

* Added translation strings from latest master

Adding ‏ characters to many strings that are misdirected in the interface.

A tiny grammar fix

Updates of Hebrew strings to v1.3.1

Hebrew translation of the mailer templates.

Fix strings and a missing comma.

Just discovered two string keys were updated. this should lay Travis' mind to rest at last.

Remove mentions before counting characters to decide RTL ratio

Fixes for PR 

updated strings for latest master

Undo RTL counting, moved out to another branch for future consideration...
Koala Yeung ada8a6cb77 Fix unused key issue in zh-HK ()
* locale: remove unused keys in zh-HK

* locale: update json translations

* handled the untranslated strings.
* removed unused keys.
yhirano bfbfaf9f9f Enable CodeClimate Brakeman checks ()
* add brakeman to Gemfile

* Enable CodeClimate brakeman checks

* add config/brakeman.ignore
Nolan Lawson 8009366231 switch uglify to compress:true,mangle:true ()
Koala Yeung 99b9a0e5de translateionRunner: improve minimalist options ()
* translateionRunner: improve minimalist options

* Properly added flags.
* Added alias: -h, -f

* translationRunner: improve logic and flow

* Show all error messages instead of validate availability / name
  format separately.

* translationRunner: check messageDirectory existance

* translationRunner: changed throw string to Error

* translationRunner: use short cut for boolean
m4sk1n 2d45794956 i18n: corrected Polish translation ()
Eugen Rochko b8e166894b Fix Scheduler::SubscriptionsScheduler ()
* Fix Scheduler::SubscriptionsScheduler, add worker test for it

* Change production log level of Sidekiq to "warn" instead of "info"
Nolan Lawson 7c0cd2597a remove unnecessary buffer polyfill ()
Nolan Lawson 37caf0b36e separate .babelrc for prod/dev, add babel-plugin-lodash ()
Koala Yeung cf0b753209 Streamline javascript translation by improving translationRunner ()
* package.json: Add "build:*" targets

* Improve react-intl-translations-manager workflow.
  * Added "build:production" to build production bundle.
  * Added "build:development" to build development bundle.

* Fix json translation files

* Run `yarn manage:translations` to fix translation files.
* Fix `pl.json` for syntax error.

* translationRunner: auto detect existing languages

* Auto detect existing rfc5646 language tag in *.json filenames
  in `app/javascript/mastodon/locale` folder. No need to manually
  define every new language in the languages array here.

* translationRunner: add more functionality

* Allow script user to specify language code to check.
* Added available language check.
* Added --force flag to force creation of unexists language.
* Added --help flag and help messages.

* gitignore: ignore npm-debug.log

* Fix webpack error if NODE_ENV is not defined

Default to use 'development' in config/webpack/configuration.js
alpaca-tc ee3e0a93f4 Fixes unknown mime type ()
Koala Yeung 886176f854 Update Locale zh-HK ()
* locale: Add missing translation in zh-HK.yml

* locale: fix consistancy in zh-HK.yml translation

* locale: Improve zh-HK yml translations

* Use "PuSH" in all "PubSubHubBub" occurances.
* Simplify text on front page.
* Improve doorkeeper authorization table translations.
* Simplify setting form text for better layout.
* Improve "Business Email" translation.

* locale: Update zh-HK.json

* Fix untranslated text.
* Improve translations.
Milan* 8c9ea9b849 Correct typo in german locale ()
Eugen Rochko 81584779cb More robust PuSH subscription refreshes ()
* Fix  - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron

Fix an issue where / in domain would raise exception in TagManager#normalize_domain

PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
also ). Optimize Account#with_followers scope. Also, since subscriptions
are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
refreshing operation halfway through

Fix  - Correct user agent header on outgoing http requests

* Add test for SubscribeService

* Extract #expiring_accounts into method

* Make mastodon:push:refresh no-op

* Queues are now defined in sidekiq.yml

* Queues are now in sidekiq.yml
Masoud Abkenar 11077af52f Persian translation update ()
* Persian translation update

* fix newline typo
Matt Jankowski 2bd132d458 Replace best_in_place editor on admin settings page ()
* Remove best_in_place

* Replace best_in_place usage with rails helpers

* Move admin/settings#index to #edit action

* Remove click_to__edit from i18n
abcang 91ddd345f2 Enable disableHostCheck option of webpack-dev-server ()
Akihiko Odaki 0cdcf32865 Use ws protocol in streaming API base URL ()
Eduardo Elias 3b51581f1b Language: update pt-BR ()
alpaca-tc db92eec876 Localize 'throttled' ()
Eugen Rochko c997091166 Clean up redis configuration. Allow using REDIS_URL to set advanced ()
connection options instead of setting REDIS_HOST etc individually

Close 
Quent-in 53384b0ffe Update of simple_forum_oc ()
* Update of simple_forum_oc

* Update simple_form.oc.yml
ヨイツの賢狼ホロ | 3rd style 1c469ca98b i18n: Update zh-CN [ Chinese (China) ] translations. ()
* Update zh-CN translations.

* Update doorkeeper.zh-CN.yml

* Follow @Artoria2e5 's change advices.

* forget mail for text format ......

* fix some changes

* mail's html version ......

* https://github.com/tootsuite/mastodon/pull/2699#pullrequestreview-35982283

* a space.....

* delete some unused keys
Keiji Matsuzaki 90c00f075a Added support parallel_tests ()
- Added new gem the `parallel_tests`.
- Updated .travis.yml.
  - Improved scripts and environment variable.
jirayudech 38473f0aa0 Add Thai Language ()
* Create th.yml

* Update th.yml

* Update thai translation

* update thai translation.

* Update Thai translation

* Update thai translation

* Update thai thanslation

* Update thai translation

* Update th.yml

* Update th.yml
m4sk1n bf8031e984 i18n: updated Polish translation ()
* i18n: updated Polish translation

Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>

* i18n: Updated Polish translation

* i18n: updated Polish translation

Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
Masafumi Otsune ab307b816b Update simple_form.ja.yml ()
"サーバー" in Japanese is "Server", so I modified it to instance according to English.
Yamagishi Kazutoshi 5f9cb48882 Add Japanese translation for allowed languages ()
* Add Japanese translation for allowed languages

* Remove duplicate expression words
Eugen Rochko f5bf5ebb82 Replace sprockets/browserify with Webpack ()
* Replace browserify with webpack

* Add react-intl-translations-manager

* Do not minify in development, add offline-plugin for ServiceWorker background cache updates

* Adjust tests and dependencies

* Fix production deployments

* Fix tests

* More optimizations

* Improve travis cache for npm stuff

* Re-run travis

* Add back support for custom.scss as before

* Remove offline-plugin and babili

* Fix issue with Immutable.List().unshift(...values) not working as expected

* Make travis load schema instead of running all migrations in sequence

* Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
<UI />

* Add react definitions to places that use JSX

* Add Procfile.dev for running rails, webpack and streaming API at the same time
Akihiko Odaki 26bc591572 Allow to set CA file for SMTP ()
m4sk1n 03f3223d72 i18n: updated Polish translation ()
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
Kaylee 7880671f35 Add option to disable two factor auth in admin accounts panel. ()
* Add option to disable two factor auth in admin accounts panel.
Closes 

* Add @mjankowski's suggestions.
* Moves destroy actions behind User#disable_two_factor!
* Adds spec coverage for Admin:TwoFactorAuthenticationsController and User#disable_two_factor!
Quent-in 2128682162 Creation of activerecord for OC ()
* Creation of activerecord for OC

* Update activerecord.oc.yml
m4sk1n aea3aff4e4 i18n: Updated Polish translation ()
Eduardo Elias 302c0d2046 Language: update pt-BR ()
Ira 438ce5809f Add Hebrew interface translation. ()
* follow the instructions for registering the language as stated on the Tootsuite's docs.

* Added translation strings from latest master

Adding &rlm; characters to many strings that are misdirected in the interface.

A tiny grammar fix

Updates of Hebrew strings to v1.3.1

Hebrew translation of the mailer templates.

Fix strings and a missing comma.

Just discovered two string keys were updated. this should lay Travis' mind to rest at last.

Remove mentions before counting characters to decide RTL ratio

Fixes for PR 

updated strings for latest master

Undo RTL counting, moved out to another branch for future consideration...
Drew Gates f485fa31f3 grammar fixes ()
“such as” should be used instead of “like” under imports->preface.

Reworded imports->preface and recovery_instructions for better flow.
Giuseppe Pignataro 2bd46f442d Italian translation ()
* Added Italian Translation of the following files:
Changes to be committed:
	new file:   app/views/user_mailer/confirmation_instructions.it.html.erb
	new file:   app/views/user_mailer/confirmation_instructions.it.text.erb
	new file:   app/views/user_mailer/password_change.it.html.erb
	new file:   app/views/user_mailer/password_change.it.text.erb
	new file:   app/views/user_mailer/reset_password_instructions.it.html.erb
	new file:   app/views/user_mailer/reset_password_instructions.it.text.erb

* Added italian translation
Changes to be committed:
new file:   config/locales/activerecord.it.yml
Matt Jankowski f025cc6782 Filter on allowed user language preferences ()
* Naive approached to timeline filtering

* Convert allowed_languages into a db column

* Allow users to choose languages to see statuses in

* Style list items as two columns

* Add a hint to explain language filtering preference
Alvina Putri 282427cdd9 Updating Indonesian locale ()
* update id.jsx file

* update id.yml for new strings and improvements

* add activerecord.id.yml

* improve translation that out of context

* fix another ooc string

* fix main key
Audun Larsen 5caa727e7e Norwegian locale: Translates missing 2FA strings ()
* Adds missing strings to Norwegian locale

* Translates missing strings.

* Changes "tofaktorautentisering" to "to-faktor autentisering"

According to the Norwegian National Security Authority this is the correct way to spell it.
https://www.nsm.stat.no/blogg/veiledning-i-to-faktor-autentisering/
ButterflyOfFire 3f248dcaae Update ar.jsx ()
* Update ar.jsx

Updating some (ar) translation.

* Update ar.yml

Pushing some missing translation strings on ar.yml
Tristan Mahé 964035b118 allow localhost to bypass the ratelimit ()
Ratmir Karabut 4acc386dd5 Update Russian translation (pluralizations) ()
* Add Russian translation (ru)

* Fix a missing comma

* Fix the wording for better consistency

* Update Russian translation

* Arrange Russian setting alphabetically

* Fix syntax error

* Update Russian translation

* Fix formatting error

* Update Russian translation

* Update Russian translation

* Update ru.jsx

* Fix syntax error

* Remove two_factor_auth.warning (appears obsolete)

* Add missing strings in ru.yml

A lot of new strings translated, especially for the newly added admin section

* Fix translation consistency

* Update Russian translation

* Update Russian translation (pluralizations)