mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 16:18:42 -05:00
bf21a55571
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. |
||
---|---|---|
.. | ||
admin | ||
defer | ||
discourse | ||
docs | ||
locales | ||
admin.js.erb | ||
application.js.erb | ||
discourse.js | ||
ember_include.js.erb | ||
env.js | ||
jquery_include.js.erb | ||
main_include.js | ||
main_include_admin.js | ||
pagedown_custom.js | ||
preload_store.js | ||
vendor.js |