Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 031931c0e8d3451f2467c28e99507dc5fd396406 1 parent aae4f98
Lasse Liehu lliehu authored
30 src/AudioControls.ui
@@ -71,7 +71,7 @@
71 71 <item>
72 72 <widget class="ImageButton" name="prevButton">
73 73 <property name="text">
74   -<string>Prev</string>
  74 +<string notr="true" extracomment="not translatable because is placeholder text">Prev</string>
75 75 </property>
76 76 </widget>
77 77 </item>
@@ -83,14 +83,14 @@
83 83 <item>
84 84 <widget class="ImageButton" name="playPauseButton">
85 85 <property name="text">
86   -<string>Play</string>
  86 +<string notr="true" extracomment="not translatable because is placeholder text">Play</string>
87 87 </property>
88 88 </widget>
89 89 </item>
90 90 <item>
91 91 <widget class="ImageButton" name="pauseButton">
92 92 <property name="text">
93   -<string>Pause</string>
  93 +<string notr="true" extracomment="not translatable because is placeholder text">Pause</string>
94 94 </property>
95 95 </widget>
96 96 </item>
@@ -99,7 +99,7 @@
99 99 <item>
100 100 <widget class="ImageButton" name="nextButton">
101 101 <property name="text">
102   -<string>Next</string>
  102 +<string notr="true" extracomment="not translatable because is placeholder text">Next</string>
103 103 </property>
104 104 </widget>
105 105 </item>
@@ -225,7 +225,7 @@
225 225 </size>
226 226 </property>
227 227 <property name="text">
228   -<string>Artist</string>
  228 +<string notr="true" extracomment="not translatable because is placeholder text">Artist</string>
229 229 </property>
230 230 </widget>
231 231 </item>
@@ -244,7 +244,7 @@
244 244 </size>
245 245 </property>
246 246 <property name="text">
247   -<string>Album</string>
  247 +<string notr="true" extracomment="not translatable because is placeholder text">Album</string>
248 248 </property>
249 249 </widget>
250 250 </item>
@@ -292,7 +292,7 @@
292 292 <cursorShape>PointingHandCursor</cursorShape>
293 293 </property>
294 294 <property name="text">
295   -<string>social</string>
  295 +<string notr="true" extracomment="not translatable because is placeholder text">social</string>
296 296 </property>
297 297 </widget>
298 298 </item>
@@ -308,7 +308,7 @@
308 308 <cursorShape>PointingHandCursor</cursorShape>
309 309 </property>
310 310 <property name="text">
311   -<string>love</string>
  311 +<string notr="true" extracomment="not translatable because is placeholder text">love</string>
312 312 </property>
313 313 </widget>
314 314 </item>
@@ -341,7 +341,7 @@
341 341 <cursorShape>PointingHandCursor</cursorShape>
342 342 </property>
343 343 <property name="text">
344   -<string>resolver</string>
  344 +<string notr="true" extracomment="not translatable because is placeholder text">resolver</string>
345 345 </property>
346 346 </widget>
347 347 </item>
@@ -377,7 +377,7 @@
377 377 <item>
378 378 <widget class="QLabel" name="timeLabel">
379 379 <property name="text">
380   -<string>Time</string>
  380 +<string notr="true" extracomment="not translatable because is placeholder text">Time</string>
381 381 </property>
382 382 <property name="alignment">
383 383 <set>Qt::AlignLeft|Qt::AlignVCenter</set>
@@ -406,7 +406,7 @@
406 406 <item>
407 407 <widget class="QLabel" name="timeLeftLabel">
408 408 <property name="text">
409   -<string>Time Left</string>
  409 +<string notr="true" extracomment="not translatable because is placeholder text">Time Left</string>
410 410 </property>
411 411 <property name="alignment">
412 412 <set>Qt::AlignRight|Qt::AlignVCenter</set>
@@ -487,7 +487,7 @@
487 487 </sizepolicy>
488 488 </property>
489 489 <property name="text">
490   -<string>Shuffle</string>
  490 +<string notr="true" extracomment="not translatable because is placeholder text">Shuffle</string>
491 491 </property>
492 492 </widget>
493 493 </item>
@@ -500,7 +500,7 @@
500 500 </sizepolicy>
501 501 </property>
502 502 <property name="text">
503   -<string>Repeat</string>
  503 +<string notr="true" extracomment="not translatable because is placeholder text">Repeat</string>
504 504 </property>
505 505 </widget>
506 506 </item>
@@ -538,7 +538,7 @@
538 538 </sizepolicy>
539 539 </property>
540 540 <property name="text">
541   -<string>Low</string>
  541 +<string notr="true" extracomment="not translatable because is placeholder text">Low</string>
542 542 </property>
543 543 </widget>
544 544 </item>
@@ -570,7 +570,7 @@
570 570 </sizepolicy>
571 571 </property>
572 572 <property name="text">
573   -<string>High</string>
  573 +<string notr="true" extracomment="not translatable because is placeholder text">High</string>
574 574 </property>
575 575 </widget>
576 576 </item>
2  src/SearchBox.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QHBoxLayout" name="horizontalLayout">
17 17 <item>
2  src/Settings_Accounts.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <property name="margin">
2  src/Settings_Advanced.ui
@@ -17,7 +17,7 @@
17 17 </sizepolicy>
18 18 </property>
19 19 <property name="windowTitle">
20   - <string>Form</string>
  20 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
21 21 </property>
22 22 <layout class="QVBoxLayout" name="verticalLayout">
23 23 <property name="margin">
2  src/Settings_Collection.ui
@@ -17,7 +17,7 @@
17 17 </sizepolicy>
18 18 </property>
19 19 <property name="windowTitle">
20   - <string>Form</string>
  20 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
21 21 </property>
22 22 <layout class="QVBoxLayout" name="verticalLayout">
23 23 <property name="margin">
6 src/SocialWidget.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <property name="spacing">
@@ -66,7 +66,7 @@
66 66 </size>
67 67 </property>
68 68 <property name="text">
69   - <string>Cover</string>
  69 + <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
70 70 </property>
71 71 </widget>
72 72 </item>
@@ -123,7 +123,7 @@
123 123 <item>
124 124 <widget class="QLabel" name="charsLeftLabel">
125 125 <property name="text">
126   - <string>TextLabel</string>
  126 + <string notr="true" extracomment="not translatable because is placeholder text">TextLabel</string>
127 127 </property>
128 128 </widget>
129 129 </item>
2  src/accounts/zeroconf/ConfigWidget.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout_2">
17 17 <property name="topMargin">
2  src/libtomahawk/accounts/lastfm/LastFmConfig.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <item>
2  src/libtomahawk/accounts/spotify/SpotifyAccountConfig.ui
@@ -17,7 +17,7 @@
17 17 </sizepolicy>
18 18 </property>
19 19 <property name="windowTitle">
20   - <string>Form</string>
  20 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
21 21 </property>
22 22 <layout class="QVBoxLayout" name="verticalLayout">
23 23 <item>
2  src/libtomahawk/context/ContextWidget.ui
@@ -23,7 +23,7 @@
23 23 </size>
24 24 </property>
25 25 <property name="windowTitle">
26   - <string>InfoBar</string>
  26 + <string notr="true" comment="not translatable because not shown to the user">InfoBar</string>
27 27 </property>
28 28 <layout class="QVBoxLayout" name="verticalLayout">
29 29 <item>
2  src/libtomahawk/filemetadata/MetadataEditor.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <item>
2  src/libtomahawk/infobar/InfoBar.ui
@@ -23,7 +23,7 @@
23 23 </size>
24 24 </property>
25 25 <property name="windowTitle">
26   - <string>InfoBar</string>
  26 + <string notr="true" extracomment="not translatable because not shown to the user">InfoBar</string>
27 27 </property>
28 28 <layout class="QVBoxLayout" name="verticalLayout_3">
29 29 <item>
2  src/libtomahawk/playlist/QueueView.ui
@@ -23,7 +23,7 @@
23 23 </size>
24 24 </property>
25 25 <property name="windowTitle">
26   - <string>InfoBar</string>
  26 + <string notr="true" extracomment="not translatable because not shown to the user">InfoBar</string>
27 27 </property>
28 28 <layout class="QVBoxLayout" name="verticalLayout">
29 29 <item>
4 src/libtomahawk/widgets/infowidgets/AlbumInfoWidget.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <property name="spacing">
@@ -43,7 +43,7 @@
43 43 </size>
44 44 </property>
45 45 <property name="text">
46   - <string>Cover</string>
  46 + <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
47 47 </property>
48 48 <property name="alignment">
49 49 <set>Qt::AlignCenter</set>
4 src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <property name="spacing">
@@ -43,7 +43,7 @@
43 43 </size>
44 44 </property>
45 45 <property name="text">
46   - <string>Cover</string>
  46 + <string notr="true" extracomment="not translatable because is placeholder text">Cover</string>
47 47 </property>
48 48 <property name="alignment">
49 49 <set>Qt::AlignCenter</set>
6 src/libtomahawk/widgets/infowidgets/TrackInfoWidget.ui
@@ -11,7 +11,7 @@
11 11 </rect>
12 12 </property>
13 13 <property name="windowTitle">
14   - <string>Form</string>
  14 + <string notr="true" extracomment="not translatable because not shown to the user">Form</string>
15 15 </property>
16 16 <layout class="QVBoxLayout" name="verticalLayout">
17 17 <property name="spacing">
@@ -43,7 +43,7 @@
43 43 </size>
44 44 </property>
45 45 <property name="text">
46   - <string>Cover</string>
  46 + <string notr="true" extracomment="not translatable because is placeholder test">Cover</string>
47 47 </property>
48 48 <property name="alignment">
49 49 <set>Qt::AlignCenter</set>
@@ -78,7 +78,7 @@
78 78 </size>
79 79 </property>
80 80 <property name="text">
81   - <string>Statistics</string>
  81 + <string notr="true" extracomment="not translatable because is placeholder test">Statistics</string>
82 82 </property>
83 83 <property name="alignment">
84 84 <set>Qt::AlignCenter</set>

0 comments on commit 031931c

Please sign in to comment.
Something went wrong with that request. Please try again.