[utilities/basket] /: Enable translation of XDG mimetypes

Pino Toscano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit bea25e8e418c1416adda9d44cf70fc628814e56c by Pino Toscano.
Committed on 09/08/2026 at 19:32.
Pushed by pino into branch 'master'.

Enable translation of XDG mimetypes

A  +22   -0    XmlMessages.sh

https://invent.kde.org/utilities/basket/-/commit/bea25e8e418c1416adda9d44cf70fc628814e56c

diff --git a/XmlMessages.sh b/XmlMessages.sh
new file mode 100755
index 00000000..7ab924f3
--- /dev/null
+++ b/XmlMessages.sh
@@ -0,0 +1,22 @@
+function get_files
+{
+    echo file-integration/basket.xml
+}
+
+function po_for_file
+{
+    case "$1" in
+       file-integration/basket.xml)
+           echo basket_xml_mimetypes.po
+       ;;
+    esac
+}
+
+function tags_for_file
+{
+    case "$1" in
+       file-integration/basket.xml)
+           echo comment
+       ;;
+    esac
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.