Commits

Andreas Loupasakis committed 3b7e63b

minor: Removed space chars, next to plural labels at the source_string.

  • Participants
  • Parent commits 0b227b2

Comments (0)

Files changed (1)

File transifex/addons/lotte/templates/translate.html

                             if(plural_types[rule]=='other'){
                               source_divs += '<div class="source_string" id="sourcestring_'+ oObj.iDataRow +'" title="{% trans "Source string" %}">';
                               if(plurals_counter>0)
-                                source_divs += '<span class="plural_title">'+plural_types[rule]+':</span>&nbsp;'
+                                source_divs += '<span class="plural_title">'+plural_types[rule]+': </span>'
                               source_divs += html_escape(clean_array["source_dict"]["source_strings"][plural_types[rule]]) + '</div>'
                             }else
-                              source_divs += '<p class="source_string_plural" title="{% trans "Source string" %}"><span class="plural_title">'+plural_types[rule]+':</span>&nbsp;' + html_escape(clean_array["source_dict"]["source_strings"][plural_types[rule]]) + '</p>'
+                              source_divs += '<p class="source_string_plural" title="{% trans "Source string" %}"><span class="plural_title">'+plural_types[rule]+': </span>' + html_escape(clean_array["source_dict"]["source_strings"][plural_types[rule]]) + '</p>'
                             plurals_counter++;
                         }
                     }
                         if(rule=='other')
                           lang_strings += '<p>' + html_escape(clean_array["source_dict"]["similar_lang_strings"][lang][rule]) + '</p>'
                         else
-                          lang_strings += '<p><span class="plural_title">'+rule+':</span>&nbsp;' + html_escape(clean_array["source_dict"]["similar_lang_strings"][lang][rule]) + '</p>'
+                          lang_strings += '<p><span class="plural_title">'+rule+': </span>' + html_escape(clean_array["source_dict"]["similar_lang_strings"][lang][rule]) + '</p>'
                       }
                       if(!lang_strings==""){
                         source_divs += '<h3 class="similar_lang_title">In '+lang+':</h3>';