mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-15 01:20:47 -04:00
The current post abandon dialog displays typical yes/no buttons and should instead show more informative button text. This commit updates all `config/locales/client.*.yml` files and *alters the structure* of the `post.abandon` node, and *adds three new nodes* under it: `confirm`, `yes_value`, and `no_value`. The current value of the `post.abandon` node is moved into `post.abandon.confirm` for all languages. For English language text, the nodes `post.abandon.yes_value` and `.no_value` are changed to `"Yes, abandon"` and `"No, keep"`, respectively. For other languages, the standard yes/no values are copied, allowing simple copyedits to make them more explicit in the future. I also make the necessary changes to the `composer_controller.js` file so the new values are used correctly. |
||
---|---|---|
.. | ||
cloud/cloud66 | ||
environments | ||
initializers | ||
locales | ||
apache2.conf.sample | ||
application.rb | ||
boot.rb | ||
cdn.yml.sample | ||
database.yml | ||
deploy.rb.sample | ||
discourse.config.sample | ||
discourse.pill.sample | ||
discourse_defaults.conf | ||
discourse_quickstart.conf | ||
environment.rb | ||
logrotate.conf | ||
multisite.yml.production-sample | ||
nginx.global.conf | ||
nginx.sample.conf | ||
projections.json | ||
puma.rb | ||
redis.yml | ||
routes.rb | ||
site_settings.yml | ||
spring.rb | ||
thin.yml.sample | ||
unicorn.conf.rb | ||
unicorn_launcher | ||
unicorn_upstart.conf |