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:
| sort ; \
echo "" ; \
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 -vE 'qt4/ui/.*.h' \
| sort ; \
} > $(top_srcdir)/po/POTFILES.in
rm -f $(top_srcdir)/po/vlc.pot
......
......@@ -72,6 +72,7 @@ $(UIH): %.h: %.ui
rm -f $@
echo "#define Q_(a,b) QString::fromUtf8(_(a))" > $@
$(UIC) -tr "Q_" $< >> $@
sed -i -e 's/Q_(\"_(\\\"\(.*\)\\\")"/Q_("\1"/' $@
SOURCES_qt4 = qt4.cpp \
......
......@@ -13,7 +13,7 @@
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
<string>_("Form")</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
......@@ -33,7 +33,7 @@
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>File</string>
<string>_("File")</string>
</property>
</widget>
</item>
......@@ -43,7 +43,7 @@
<item>
<widget class="QPushButton" name="browseButton" >
<property name="text" >
<string>Browse</string>
<string>_("Browse")</string>
</property>
</widget>
</item>
......@@ -52,7 +52,7 @@
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string>Subtitles file</string>
<string>_("Subtitles file")</string>
</property>
<property name="checkable" >
<bool>true</bool>
......@@ -75,7 +75,7 @@
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>File</string>
<string>_("File")</string>
</property>
</widget>
</item>
......@@ -85,7 +85,7 @@
<item>
<widget class="QPushButton" name="subbrowseButon" >
<property name="text" >
<string>Browse</string>
<string>_("Browse")</string>
</property>
</widget>
</item>
......@@ -94,7 +94,7 @@
<item>
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<string>Advanced options</string>
<string>_("Advanced options")</string>
</property>
<layout class="QHBoxLayout" >
<property name="margin" >
......@@ -114,7 +114,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>FPS</string>
<string>_("FPS")</string>
</property>
</widget>
</item>
......@@ -127,7 +127,7 @@
<item row="1" column="2" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Delay</string>
<string>_("Delay")</string>
</property>
</widget>
</item>
......@@ -137,14 +137,14 @@
<item row="0" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Font size</string>
<string>_("Font size")</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Justification</string>
<string>_("Justification")</string>
</property>
</widget>
</item>
......@@ -154,7 +154,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>Encoding</string>
<string>_("Encoding")</string>
</property>
</widget>
</item>
......
......@@ -13,7 +13,7 @@
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
<string>_("Form")</string>
</property>
<widget class="QGroupBox" name="groupBox_3" >
<property name="geometry" >
......@@ -25,7 +25,7 @@
</rect>
</property>
<property name="title" >
<string>Streaming</string>
<string>_("Streaming")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
......@@ -67,21 +67,21 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_13" >
<property name="text" >
<string>Send bitrate</string>
<string>_("Send bitrate")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_12" >
<property name="text" >
<string>Sent bytes</string>
<string>_("Sent bytes")</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_11" >
<property name="text" >
<string>Sent packets</string>
<string>_("Sent packets")</string>
</property>
</widget>
</item>
......@@ -97,7 +97,7 @@
</rect>
</property>
<property name="title" >
<string>Audio</string>
<string>_("Audio")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
......@@ -139,21 +139,21 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_10" >
<property name="text" >
<string>Lost buffers</string>
<string>_("Lost buffers")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_9" >
<property name="text" >
<string>Played buffers</string>
<string>_("Played buffers")</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_8" >
<property name="text" >
<string>Decoded blocks</string>
<string>_("Decoded blocks")</string>
</property>
</widget>
</item>
......@@ -169,7 +169,7 @@
</rect>
</property>
<property name="title" >
<string>Video</string>
<string>_("Video")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
......@@ -181,7 +181,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_6" >
<property name="text" >
<string>Lost frames</string>
<string>_("Lost frames")</string>
</property>
</widget>
</item>
......@@ -198,14 +198,14 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Displayed frames</string>
<string>_("Displayed frames")</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Decoded blocks</string>
<string>_("Decoded blocks")</string>
</property>
</widget>
</item>
......@@ -241,7 +241,7 @@
</rect>
</property>
<property name="title" >
<string>Input</string>
<string>_("Input")</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
......@@ -283,28 +283,28 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Input bitrate</string>
<string>_("Input bitrate")</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Read at media</string>
<string>_("Read at media")</string>
</property>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Stream bitrate</string>
<string>_("Stream bitrate")</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>Demuxed</string>
<string>_("Demuxed")</string>
</property>
</widget>
</item>
......
......@@ -53,14 +53,14 @@
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
<string>_("OK")</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<string>_("Cancel")</string>
</property>
</widget>
</item>
......
......@@ -30,7 +30,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label" >
<property name="text" >
<string>Login</string>
<string>_("Login")</string>
</property>
</widget>
</item>
......@@ -40,7 +40,7 @@
<item row="2" column="0" >
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Password</string>
<string>_("Password")</string>
</property>
</widget>
</item>
......@@ -80,14 +80,14 @@
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
<string>_("OK")</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<string>_("Cancel")</string>
</property>
</widget>
</item>
......
......@@ -21,7 +21,7 @@
</sizepolicy>
</property>
<property name="windowTitle" >
<string>VLC media player</string>
<string>_("VLC media player")</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
......@@ -219,7 +219,7 @@
<item>
<widget class="QPushButton" name="playlistButton" >
<property name="text" >
<string>Playlist</string>
<string>_("Playlist")</string>
</property>
</widget>
</item>
......
......@@ -50,14 +50,14 @@
<item>
<widget class="QPushButton" name="okButton" >
<property name="text" >
<string>OK</string>
<string>_("OK")</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<string>_("Cancel")</string>
</property>
</widget>
</item>
......
......@@ -63,7 +63,7 @@
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<string>_("Cancel")</string>
</property>
</widget>
</item>
......
......@@ -50,21 +50,21 @@
<item>
<widget class="QPushButton" name="yesButton" >
<property name="text" >
<string>Yes</string>
<string>_("Yes")</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="noButton" >
<property name="text" >
<string>No</string>
<string>_("No")</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton" >
<property name="text" >
<string>Cancel</string>
<string>_("Cancel")</string>
</property>
</widget>
</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