refactor: use metaglot to take desktop file i18n over
This commit is contained in:
-16
@@ -1,16 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Categories=Graphics;
|
||||
Comment=Pineapple Pictures is a lightweight image viewer
|
||||
Comment[zh_CN]=菠萝看图是一个轻量级的图像查看器
|
||||
Exec=ppic %F
|
||||
GenericName=Image Viewer
|
||||
GenericName[zh_CN]=图像查看器
|
||||
GenericName[ja]=画像ビューアー
|
||||
Icon=net.blumia.pineapple-pictures
|
||||
Keywords=Picture;Image;Viewer;Jpg;Jpeg;Png;
|
||||
MimeType=image/bmp;image/bmp24;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tif;image/tiff;image/tiff24;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/wdp;image/arw;image/icb;image/dng;image/vda;image/vst;image/svg;image/ptif;image/mef;image/xbm;image/svg+xml;
|
||||
Name=Pineapple Pictures
|
||||
Name[zh_CN]=菠萝看图
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
Terminal=false
|
||||
@@ -0,0 +1,18 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name={{ default.strings.name | desktop_escape }}
|
||||
GenericName={{ default.strings.generic_name | desktop_escape }}
|
||||
Comment={{ default.strings.comment | desktop_escape }}
|
||||
Exec=ppic %F
|
||||
Icon=net.blumia.pineapple-pictures
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Graphics;
|
||||
MimeType=image/bmp;image/bmp24;image/jpg;image/jpe;image/jpeg;image/jpeg24;image/jng;image/pcd;image/pcx;image/png;image/tif;image/tiff;image/tiff24;image/dds;image/gif;image/sgi;image/j2k;image/jp2;image/pct;image/wdp;image/arw;image/icb;image/dng;image/vda;image/vst;image/svg;image/ptif;image/mef;image/xbm;image/svg+xml;
|
||||
Keywords={{ default.strings.keywords | desktop_escape }}
|
||||
{% for lang in languages %}
|
||||
Name[{{ lang.locale }}]={{ lang.strings.name | desktop_escape }}
|
||||
GenericName[{{ lang.locale }}]={{ lang.strings.generic_name | desktop_escape }}
|
||||
Comment[{{ lang.locale }}]={{ lang.strings.comment | desktop_escape }}
|
||||
Keywords[{{ lang.locale }}]={{ lang.strings.keywords | desktop_escape }}
|
||||
{% endfor %}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
version = 1
|
||||
source_language = "en"
|
||||
|
||||
[strings.name]
|
||||
msgid = "Pineapple Pictures"
|
||||
comment = "Display name of the application."
|
||||
|
||||
[strings.generic_name]
|
||||
msgid = "Image Viewer"
|
||||
comment = "Generic name describing the application category."
|
||||
|
||||
[strings.comment]
|
||||
msgid = "Pineapple Pictures is a lightweight image viewer"
|
||||
comment = "Tooltip-like description of the application."
|
||||
|
||||
[strings.keywords]
|
||||
msgid = "Picture;Image;Viewer;Jpg;Jpeg;Png;"
|
||||
comment = "Search keywords. Semicolon separated list; the trailing semicolon is required."
|
||||
Reference in New Issue
Block a user