Commit 62ab3db5 authored by Christophe Mutricy's avatar Christophe Mutricy

Localized the stings inside the .ui and update the po files.

parent c81509e4
...@@ -931,8 +931,9 @@ update-po: ...@@ -931,8 +931,9 @@ update-po:
| sort ; \ | sort ; \
echo "" ; \ echo "" ; \
echo "# modules" ; \ echo "# modules" ; \
find modules -name '*.[chm]' -o -name '*.[ch]pp' \ find modules -name '*.[chm]' -o -name '*.[ch]pp' -o -name '*.ui'\
| grep -v '\(\.moc\.\|gui/gtk2/\)' \ | grep -v '\(\.moc\.\|gui/gtk2/\)' \
| grep -vE 'qt4/ui/.*.h' \
| sort ; \ | sort ; \
} > $(top_srcdir)/po/POTFILES.in } > $(top_srcdir)/po/POTFILES.in
rm -f $(top_srcdir)/po/vlc.pot rm -f $(top_srcdir)/po/vlc.pot
......
...@@ -72,6 +72,7 @@ $(UIH): %.h: %.ui ...@@ -72,6 +72,7 @@ $(UIH): %.h: %.ui
rm -f $@ rm -f $@
echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@ echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
$(UIC) -tr "Q_" $< >> $@ $(UIC) -tr "Q_" $< >> $@
sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
SOURCES_qt4 = qt4.cpp \ SOURCES_qt4 = qt4.cpp \
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>_("Form")</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" > <property name="margin" >
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<item> <item>
<widget class="QLabel" name="label" > <widget class="QLabel" name="label" >
<property name="text" > <property name="text" >
<string>File</string> <string>_("File")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<item> <item>
<widget class="QPushButton" name="browseButton" > <widget class="QPushButton" name="browseButton" >
<property name="text" > <property name="text" >
<string>Browse</string> <string>_("Browse")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<item> <item>
<widget class="QGroupBox" name="groupBox" > <widget class="QGroupBox" name="groupBox" >
<property name="title" > <property name="title" >
<string>Subtitles file</string> <string>_("Subtitles file")</string>
</property> </property>
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<item> <item>
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_2" >
<property name="text" > <property name="text" >
<string>File</string> <string>_("File")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
<item> <item>
<widget class="QPushButton" name="subbrowseButon" > <widget class="QPushButton" name="subbrowseButon" >
<property name="text" > <property name="text" >
<string>Browse</string> <string>_("Browse")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
<item> <item>
<widget class="QGroupBox" name="groupBox_2" > <widget class="QGroupBox" name="groupBox_2" >
<property name="title" > <property name="title" >
<string>Advanced options</string> <string>_("Advanced options")</string>
</property> </property>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="margin" > <property name="margin" >
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_5" > <widget class="QLabel" name="label_5" >
<property name="text" > <property name="text" >
<string>FPS</string> <string>_("FPS")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<item row="1" column="2" > <item row="1" column="2" >
<widget class="QLabel" name="label_6" > <widget class="QLabel" name="label_6" >
<property name="text" > <property name="text" >
<string>Delay</string> <string>_("Delay")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -137,14 +137,14 @@ ...@@ -137,14 +137,14 @@
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_3" > <widget class="QLabel" name="label_3" >
<property name="text" > <property name="text" >
<string>Font size</string> <string>_("Font size")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2" > <item row="0" column="2" >
<widget class="QLabel" name="label_4" > <widget class="QLabel" name="label_4" >
<property name="text" > <property name="text" >
<string>Justification</string> <string>_("Justification")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_7" > <widget class="QLabel" name="label_7" >
<property name="text" > <property name="text" >
<string>Encoding</string> <string>_("Encoding")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>_("Form")</string>
</property> </property>
<widget class="QGroupBox" name="groupBox_3" > <widget class="QGroupBox" name="groupBox_3" >
<property name="geometry" > <property name="geometry" >
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</rect> </rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Streaming</string> <string>_("Streaming")</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
...@@ -67,21 +67,21 @@ ...@@ -67,21 +67,21 @@
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_13" > <widget class="QLabel" name="label_13" >
<property name="text" > <property name="text" >
<string>Send bitrate</string> <string>_("Send bitrate")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_12" > <widget class="QLabel" name="label_12" >
<property name="text" > <property name="text" >
<string>Sent bytes</string> <string>_("Sent bytes")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_11" > <widget class="QLabel" name="label_11" >
<property name="text" > <property name="text" >
<string>Sent packets</string> <string>_("Sent packets")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
</rect> </rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Audio</string> <string>_("Audio")</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
...@@ -139,21 +139,21 @@ ...@@ -139,21 +139,21 @@
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_10" > <widget class="QLabel" name="label_10" >
<property name="text" > <property name="text" >
<string>Lost buffers</string> <string>_("Lost buffers")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_9" > <widget class="QLabel" name="label_9" >
<property name="text" > <property name="text" >
<string>Played buffers</string> <string>_("Played buffers")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_8" > <widget class="QLabel" name="label_8" >
<property name="text" > <property name="text" >
<string>Decoded blocks</string> <string>_("Decoded blocks")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
</rect> </rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Video</string> <string>_("Video")</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_6" > <widget class="QLabel" name="label_6" >
<property name="text" > <property name="text" >
<string>Lost frames</string> <string>_("Lost frames")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -198,14 +198,14 @@ ...@@ -198,14 +198,14 @@
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_4" > <widget class="QLabel" name="label_4" >
<property name="text" > <property name="text" >
<string>Displayed frames</string> <string>_("Displayed frames")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_2" >
<property name="text" > <property name="text" >
<string>Decoded blocks</string> <string>_("Decoded blocks")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
</rect> </rect>
</property> </property>
<property name="title" > <property name="title" >
<string>Input</string> <string>_("Input")</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
...@@ -283,28 +283,28 @@ ...@@ -283,28 +283,28 @@
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label_5" > <widget class="QLabel" name="label_5" >
<property name="text" > <property name="text" >
<string>Input bitrate</string> <string>_("Input bitrate")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label" > <widget class="QLabel" name="label" >
<property name="text" > <property name="text" >
<string>Read at media</string> <string>_("Read at media")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="0" > <item row="3" column="0" >
<widget class="QLabel" name="label_3" > <widget class="QLabel" name="label_3" >
<property name="text" > <property name="text" >
<string>Stream bitrate</string> <string>_("Stream bitrate")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_7" > <widget class="QLabel" name="label_7" >
<property name="text" > <property name="text" >
<string>Demuxed</string> <string>_("Demuxed")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -53,14 +53,14 @@ ...@@ -53,14 +53,14 @@
<item> <item>
<widget class="QPushButton" name="okButton" > <widget class="QPushButton" name="okButton" >
<property name="text" > <property name="text" >
<string>OK</string> <string>_("OK")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton" >
<property name="text" > <property name="text" >
<string>Cancel</string> <string>_("Cancel")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QLabel" name="label" > <widget class="QLabel" name="label" >
<property name="text" > <property name="text" >
<string>Login</string> <string>_("Login")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<item row="2" column="0" > <item row="2" column="0" >
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_2" >
<property name="text" > <property name="text" >
<string>Password</string> <string>_("Password")</string>
</property> </property>
</widget> </widget>
</item> </item>
...@@ -80,14 +80,14 @@ ...@@ -80,14 +80,14 @@
<item> <item>
<widget class="QPushButton" name="okButton" > <widget class="QPushButton" name="okButton" >
<property name="text" > <property name="text" >
<string>OK</string> <string>_("OK")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton" >
<property name="text" > <property name="text" >
<string>Cancel</string> <string>_("Cancel")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>VLC media player</string> <string>_("VLC media player")</string>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<property name="margin" > <property name="margin" >
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
<item> <item>
<widget class="QPushButton" name="playlistButton" > <widget class="QPushButton" name="playlistButton" >
<property name="text" > <property name="text" >
<string>Playlist</string> <string>_("Playlist")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -50,14 +50,14 @@ ...@@ -50,14 +50,14 @@
<item> <item>
<widget class="QPushButton" name="okButton" > <widget class="QPushButton" name="okButton" >
<property name="text" > <property name="text" >
<string>OK</string> <string>_("OK")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton" >
<property name="text" > <property name="text" >
<string>Cancel</string> <string>_("Cancel")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton" >
<property name="text" > <property name="text" >
<string>Cancel</string> <string>_("Cancel")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
...@@ -50,21 +50,21 @@ ...@@ -50,21 +50,21 @@
<item> <item>
<widget class="QPushButton" name="yesButton" > <widget class="QPushButton" name="yesButton" >
<property name="text" > <property name="text" >
<string>Yes</string> <string>_("Yes")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="noButton" > <widget class="QPushButton" name="noButton" >
<property name="text" > <property name="text" >
<string>No</string> <string>_("No")</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="cancelButton" > <widget class="QPushButton" name="cancelButton" >
<property name="text" > <property name="text" >
<string>Cancel</string> <string>_("Cancel")</string>
</property> </property>
</widget> </widget>
</item> </item>
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment