Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f0db1229 by Fatih Uzunoglu at 2024-03-28T08:55:07+00:00
qt: add and install custom translator derived from QTranslator

- - - - -
8463f08b by Fatih Uzunoglu at 2024-03-28T08:55:07+00:00
po: add keyword `qsTr` to Makevars

- - - - -
c2205d23 by Fatih Uzunoglu at 2024-03-28T08:55:07+00:00
qml: use qsTr() instead of I18n.qtr() for translation

I18n module was intending to provide translation through vlc_gettext().
I'm not sure why QTranslator was not the way chosen before, because it
directly offers this and using qsTr() has the advantage of better integration.

Translation is handled in a lower abstraction level through QJSEngine
(see QJSEngine::TranslationExtension) as opposed to using custom a QML type
through QQmlEngine.

Thanks to that, the `org.videolan.vlc` module import can be eliminated
in some files.

- - - - -
ad0c2cbe by Fatih Uzunoglu at 2024-03-28T08:55:07+00:00
qt: do not register I18n anymore

- - - - -
74d2eed9 by Fatih Uzunoglu at 2024-03-28T08:55:07+00:00
qt: remove I18n

- - - - -


30 changed files:

- modules/gui/qt/Makefile.am
- modules/gui/qt/dialogs/dialogs/qml/CustomDialog.qml
- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml
- modules/gui/qt/maininterface/mainui.cpp
- modules/gui/qt/maininterface/qml/BannerSources.qml
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/maininterface/qml/NoMedialibHome.qml
- modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
- modules/gui/qt/medialibrary/qml/AudioGridItem.qml
- modules/gui/qt/medialibrary/qml/MusicAlbums.qml
- modules/gui/qt/medialibrary/qml/MusicAlbumsDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml
- modules/gui/qt/medialibrary/qml/MusicAllArtists.qml
- modules/gui/qt/medialibrary/qml/MusicArtist.qml
- modules/gui/qt/medialibrary/qml/MusicArtistDelegate.qml
- modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
- modules/gui/qt/medialibrary/qml/MusicArtistsDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicGenres.qml
- modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicPlaylistsDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicTrackListDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicTracksDisplay.qml
- modules/gui/qt/medialibrary/qml/PlaylistMedia.qml
- modules/gui/qt/medialibrary/qml/PlaylistMediaDisplay.qml
- modules/gui/qt/medialibrary/qml/PlaylistMediaList.qml
- modules/gui/qt/medialibrary/qml/UrlListDisplay.qml
- modules/gui/qt/medialibrary/qml/VideoAll.qml


The diff was not included because it is too large.


View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/ac017cbe53aefcdc0cb86398b5a36cd89d58e3d7...74d2eed90f07004d92fcddf4726564d9f33bf343

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/compare/ac017cbe53aefcdc0cb86398b5a36cd89d58e3d7...74d2eed90f07004d92fcddf4726564d9f33bf343
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to