Skip to content

Commit

Permalink
Merge pull request #1718 from curlymorphic/saveasextensiontranslation
Browse files Browse the repository at this point in the history
Remove the file extensions from the translations in the saveAsDialog
  • Loading branch information
tresf committed Feb 26, 2015
2 parents 3230a69 + d6a1a61 commit fe797cb
Show file tree
Hide file tree
Showing 18 changed files with 98 additions and 18 deletions.
8 changes: 8 additions & 0 deletions data/locale/ca.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3556,6 +3556,14 @@ Per favor, visita http://lmms.sf.net/wiki per a documentació sobre LMMS.</trans
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My Projects</source>
<translation type="unfinished"></translation>
Expand Down
8 changes: 8 additions & 0 deletions data/locale/cs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3556,6 +3556,14 @@ Navštivte prosím stránku s dokumentací k LMMS na adrese http://lmms.sf.net/w
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>My Projects</source>
<translation type="unfinished"></translation>
Expand Down
8 changes: 8 additions & 0 deletions data/locale/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3573,6 +3573,14 @@ Bitte besuchen Sie http://lmms.sf.net/wiki für Dokumentationen über LMMS.</tra
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<translation>LMMS Projekt (*.mmpz *.mmp);;LMMS Projektvorlage (*.mpt)</translation>
</message>
<message>
<source>LMMS Project</source>
<translation>LMMS Projekt</translation>
</message>
<message>
<source>LMMS Project Template</source>
<translation>LMMS Projektvorlage</translation>
</message>
<message>
<source>Volumes</source>
<translation>Volumes</translation>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/fa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3566,7 +3566,11 @@ Veuillez visiter http://lmms.sf.net/wiki pour la documentation de LMMS.</transla
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/gl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3566,7 +3566,11 @@ Visitehttp://lmms.sf.net/wiki para documentación sobre o LMMS.</translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
8 changes: 6 additions & 2 deletions data/locale/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3574,8 +3574,12 @@ Visitare http://lmms.sf.net/wiki per la documentazione di LMMS.</translation>
<translation>Rifai</translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<translation>Progetto LMMS (*mmpz *.mmp);;Progetto Template LMMS (*.mpt)</translation>
<source>LMMS Project</source>
<translation>Progetto LMMS</translation>
</message>
<message>
<source>LMMS Project Template</source>
<translation>Progetto Template LMMS</translation>
</message>
<message>
<source>My Projects</source>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3569,7 +3569,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/ko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3551,7 +3551,11 @@ LMMS 문서는 http://lmms.sf.net/wiki를 방문하세요.</translation>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3571,7 +3571,11 @@ Odwiedź witrynę http://lmms.sf.net/wiki for documentation on LMMS.</translatio
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3569,7 +3569,11 @@ Por favor certifique-se que você tem permissão de escrita para este arquivo e
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3597,7 +3597,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation>Возврат действия</translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
6 changes: 5 additions & 1 deletion data/locale/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3550,7 +3550,11 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<source>LMMS Project </source>
<translation type="unfinished"></translation>
</message>
<message>
<source>LMMS Project Template </source>
<translation type="unfinished"></translation>
</message>
<message>
Expand Down
8 changes: 6 additions & 2 deletions data/locale/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3557,8 +3557,12 @@ Please visit http://lmms.sf.net/wiki for documentation on LMMS.</source>
<translation>重做</translation>
</message>
<message>
<source>LMMS Project (*.mmpz *.mmp);;LMMS Project Template (*.mpt)</source>
<translation>LMMS 工程 (*.mmpz *.mmp);;LMMS 工程模板 (*.mpt)</translation>
<source>LMMS Project</source>
<translation>LMMS 工程</translation>
</message>
<message>
<source>LMMS Project Template</source>
<translation>LMMS 工程模板</translation>
</message>
<message>
<source>Volumes</source>
Expand Down
4 changes: 2 additions & 2 deletions src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -828,8 +828,8 @@ bool MainWindow::saveProject()
bool MainWindow::saveProjectAs()
{
VersionedSaveDialog sfd( this, tr( "Save Project" ), "",
tr( "LMMS Project (*.mmpz *.mmp);;"
"LMMS Project Template (*.mpt)" ) );
tr( "LMMS Project" ) + " (*.mmpz *.mmp);;" +
tr( "LMMS Project Template" ) + " (*.mpt)" );
QString f = Engine::getSong()->projectFileName();
if( f != "" )
{
Expand Down

0 comments on commit fe797cb

Please sign in to comment.