Permalink
Browse files

Disable translation of some strings in .ui files

They are either
* placeholder text or
* other text that is never shown to the user
  • Loading branch information...
1 parent aae4f98 commit 031931c0e8d3451f2467c28e99507dc5fd396406 @lliehu lliehu committed Dec 15, 2012
View
30 src/AudioControls.ui
@@ -71,7 +71,7 @@
<item>
<widget class="ImageButton" name="prevButton">
<property name="text">
-<string>Prev</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Prev</string>
</property>
</widget>
</item>
@@ -83,14 +83,14 @@
<item>
<widget class="ImageButton" name="playPauseButton">
<property name="text">
-<string>Play</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Play</string>
</property>
</widget>
</item>
<item>
<widget class="ImageButton" name="pauseButton">
<property name="text">
-<string>Pause</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Pause</string>
</property>
</widget>
</item>
@@ -99,7 +99,7 @@
<item>
<widget class="ImageButton" name="nextButton">
<property name="text">
-<string>Next</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Next</string>
</property>
</widget>
</item>
@@ -225,7 +225,7 @@
</size>
</property>
<property name="text">
-<string>Artist</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Artist</string>
</property>
</widget>
</item>
@@ -244,7 +244,7 @@
</size>
</property>
<property name="text">
-<string>Album</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Album</string>
</property>
</widget>
</item>
@@ -292,7 +292,7 @@
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
-<string>social</string>
+<string notr="true" extracomment="not translatable because is placeholder text">social</string>
</property>
</widget>
</item>
@@ -308,7 +308,7 @@
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
-<string>love</string>
+<string notr="true" extracomment="not translatable because is placeholder text">love</string>
</property>
</widget>
</item>
@@ -341,7 +341,7 @@
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
-<string>resolver</string>
+<string notr="true" extracomment="not translatable because is placeholder text">resolver</string>
</property>
</widget>
</item>
@@ -377,7 +377,7 @@
<item>
<widget class="QLabel" name="timeLabel">
<property name="text">
-<string>Time</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Time</string>
</property>
<property name="alignment">
<set>Qt::AlignLeft|Qt::AlignVCenter</set>
@@ -406,7 +406,7 @@
<item>
<widget class="QLabel" name="timeLeftLabel">
<property name="text">
-<string>Time Left</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Time Left</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignVCenter</set>
@@ -487,7 +487,7 @@
</sizepolicy>
</property>
<property name="text">
-<string>Shuffle</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Shuffle</string>
</property>
</widget>
</item>
@@ -500,7 +500,7 @@
</sizepolicy>
</property>
<property name="text">
-<string>Repeat</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Repeat</string>
</property>
</widget>
</item>
@@ -538,7 +538,7 @@
</sizepolicy>
</property>
<property name="text">
-<string>Low</string>
+<string notr="true" extracomment="not translatable because is placeholder text">Low</string>
</property>
</widget>
</item>
@@ -570,7 +570,7 @@
</sizepolicy>
</property>
<property name="text">
-<string>High</string>
+<string notr="true" extracomment="not translatable because is placeholder text">High</string>
</property>
</widget>
</item>
View
2 src/SearchBox.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
View
2 src/Settings_Accounts.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
View
2 src/Settings_Advanced.ui
@@ -17,7 +17,7 @@
</sizepolicy>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
View
2 src/Settings_Collection.ui
@@ -17,7 +17,7 @@
</sizepolicy>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="margin">
View
6 src/SocialWidget.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
@@ -66,7 +66,7 @@
</size>
</property>
<property name="text">
- <string>Cover</string>
+ <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
</property>
</widget>
</item>
@@ -123,7 +123,7 @@
<item>
<widget class="QLabel" name="charsLeftLabel">
<property name="text">
- <string>TextLabel</string>
+ <string notr="true" extracomment="not translatable because is placeholder text">TextLabel</string>
</property>
</widget>
</item>
View
2 src/accounts/zeroconf/ConfigWidget.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="topMargin">
View
2 src/libtomahawk/accounts/lastfm/LastFmConfig.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
View
2 src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui
@@ -17,7 +17,7 @@
</sizepolicy>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
View
2 src/libtomahawk/context/ContextWidget.ui
@@ -23,7 +23,7 @@
</size>
</property>
<property name="windowTitle">
- <string>InfoBar</string>
+ <string notr="true" comment="not translatable because not shown to the user">InfoBar</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
View
2 src/libtomahawk/filemetadata/MetadataEditor.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
View
2 src/libtomahawk/infobar/InfoBar.ui
@@ -23,7 +23,7 @@
</size>
</property>
<property name="windowTitle">
- <string>InfoBar</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">InfoBar</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
View
2 src/libtomahawk/playlist/QueueView.ui
@@ -23,7 +23,7 @@
</size>
</property>
<property name="windowTitle">
- <string>InfoBar</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">InfoBar</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
View
4 src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
@@ -43,7 +43,7 @@
</size>
</property>
<property name="text">
- <string>Cover</string>
+ <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
View
4 src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
@@ -43,7 +43,7 @@
</size>
</property>
<property name="text">
- <string>Cover</string>
+ <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
View
6 src/libtomahawk/widgets/infowidgets/TrackInfoWidget.ui
@@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
- <string>Form</string>
+ <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
@@ -43,7 +43,7 @@
</size>
</property>
<property name="text">
- <string>Cover</string>
+ <string notr="true" extracomment="not translatable because is placeholder test">Cover</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -78,7 +78,7 @@
</size>
</property>
<property name="text">
- <string>Statistics</string>
+ <string notr="true" extracomment="not translatable because is placeholder test">Statistics</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>

0 comments on commit 031931c

Please sign in to comment.