{"id":13452653,"date":"2020-09-25T08:13:12","date_gmt":"2020-09-25T08:13:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/localization-breaks-queue\/"},"modified":"2020-09-25T08:13:12","modified_gmt":"2020-09-25T08:13:12","slug":"localization-breaks-queue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/localization-breaks-queue\/","title":{"rendered":"Localization breaks Queue"},"content":{"rendered":"<p>The retryJob-function in admin_settings_queue.js.php breaks with the german localization of the plugin. It uses the label as a key for the button.<\/p>\n<p>This works fine:<\/p>\n<pre><code>buttons: {\n Retry: function() {<\/code><\/pre>\n<p>This not so much<\/p>\n<pre><code>buttons: {\n Neu versuchen: function() {<\/code><\/pre>\n<p>This is pretty easily fixed by putting the key into quotes:<\/p>\n<pre><code>buttons: {\n &quot;Neu versuchen&quot;: function() {<\/code><\/pre>\n<p>I did this manually for now but once we update our plugins that fix will be gone again.<\/p>\n","protected":false},"template":"","class_list":["post-13452653","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13452653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13452653\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13452653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}