[mb-commits] branch, mbs-5774, created. MBS-5774: Make 'vote on all edits' text translatable
MusicBrainz Git Server <[email protected]> Fri, 25 Jan 2013 16:27:25 +0000
| Newsgroups | gmane.comp.audio.musicbrainz.cvs |
|---|---|
| Message-ID | <E1Tym7g-0001k3-Uf@wiley> |
The branch, mbs-5774 has been created
at 8d884a6ee5ca7680f9bd38992b764a88ccbaf4cc (commit)
- Log -----------------------------------------------------------------
commit 8d884a6ee5ca7680f9bd38992b764a88ccbaf4cc
Author: Oliver Charles <[email protected]>
Date: Fri Jan 25 16:26:43 2013 +0000
MBS-5774: Make 'vote on all edits' text translatable
diff --git a/root/scripts/text_strings.tt b/root/scripts/text_strings.tt
index 5efc125..9e449bd 100644
--- a/root/scripts/text_strings.tt
+++ b/root/scripts/text_strings.tt
@@ -117,6 +117,7 @@
DeleteNote: '[% l('Delete Note') | js %]',
ConfirmSwap: '[% l('This tracklist has artist credits with information that will be lost if you swap artist credits with track titles. This cannot be undone. Do you wish to continue?') | js %]',
ConfirmNavigation: '[% l('All of your changes will be lost if you leave this page.') | js %]',
- SubmissionError: '[% l('We\'re very sorry, an error occurred during submission. The server may be under heavy load; please wait a moment and try again.') | js %]'
+ SubmissionError: '[% l('We\'re very sorry, an error occurred during submission. The server may be under heavy load; please wait a moment and try again.') | js %]',
+ VoteOnAllEdits: '[% l('Vote on all edits:') | js %]'
});
})(MB);
diff --git a/root/static/scripts/common/MB/Control/EditList.js b/root/static/scripts/common/MB/Control/EditList.js
index 3b2d3d1..b5a2bf1 100644
--- a/root/static/scripts/common/MB/Control/EditList.js
+++ b/root/static/scripts/common/MB/Control/EditList.js
@@ -45,7 +45,7 @@ MB.Control.EditList = function(container) {
$voteOptions.find('.vote').attr('class', 'vote');
$voteOptions.prepend(
- $('<div>Vote on all edits:</div>')
+ $('<div>').text(MB.text.VoteOnAllEdits)
);
// :nth-child would make more sense, but I couldn't get it working
-----------------------------------------------------------------------
hooks/post-receive
--
mb_server