Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Highlight missing strings for contributors, too

  • Loading branch information...
commit 330c07be4a01ac86fa1d1e5d7f90a8b7050af675 1 parent d5f742e
@mudrd8mz mudrd8mz authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  module.js
  2. +1 −0  styles.css
View
2  module.js
@@ -116,7 +116,7 @@ M.local_amos.init_translator = function(Y) {
var translatable = translator.all('.translatable');
translatable.on('click', M.local_amos.make_editable);
// in case of missing strings, turn editing mode on by default
- var missing = translator.all('.committable.missing.translation');
+ var missing = translator.all('.translatable.missing.translation');
missing.each(function(cell) { M.local_amos.editor_on(cell); });
// catch all clicks to up-to-date marker
var updaters = translator.all('.uptodatewrapper input, .uptodatewrapper label');
View
1  styles.css
@@ -215,6 +215,7 @@
background-color: #f7f7f7;
}
+.path-local-amos #amostranslator .translation.translatable.missing,
.path-local-amos #amostranslator .translation.committable.missing {
background-color: #ffd3d9;
}
Please sign in to comment.
Something went wrong with that request. Please try again.