-
Bug
-
Resolution: Fixed
-
Medium
-
3.4
-
None
If a plugin adds a keyboard shortcut module the i18n string may be shown in the keyboard shortcut help dialog instead of the name of the shortcut. This is happening because the i18n resources for that plugin are not available in the front end.
Workaround
There is a workaround until this is fixed:
Create a new JS file containing the following:
AJS.toInit(function($) {
AJS.I18n.get("plugin.key");
});
Where "plugin.key" is your plugin key. This will make sure your i18n resources are loaded for the dialog. You will need to make sure this code is available in the admin and main contexts, so you will want to add something like this in your atlassian-plugin.xml file:
<web-resource key="test-shortcuts" name="Test Shortcuts" i18n-name-key="test"> <resource name="test.js" type="download" location="test.js"/> <context>main</context> <context>admin</context> </web-resource>
- causes
-
CONFSERVER-22165 keyboard-shortcut plugin type works incorrectly
-
- Closed
-
[CONFSERVER-24450] Keyboard shortcuts added by plugins show the i18n string in the keybaord shortcuts dialog
Workflow | Original: JAC Bug Workflow v3 [ 2894490 ] | New: CONFSERVER Bug Workflow v4 [ 2987115 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2779133 ] | New: JAC Bug Workflow v3 [ 2894490 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2734870 ] | New: JAC Bug Workflow v2 [ 2779133 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400311 ] | New: JAC Bug Workflow [ 2734870 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2299710 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400311 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234077 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2299710 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196082 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234077 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1930806 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196082 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1731069 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1930806 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1687019 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1731069 ] |