Commit: translation: Regenerate desktop files in runtime directory

1 view
Skip to first unread message

Christian Brabandt

unread,
Mar 22, 2026, 12:32:11 PM (21 hours ago) Mar 22
to vim...@googlegroups.com
translation: Regenerate desktop files in runtime directory

Commit: https://github.com/vim/vim/commit/de10c87bed5a79ed80f1bb428a391faefdff13c9
Author: Mao-Yining <mao.y...@outlook.com>
Date: Sun Mar 22 16:27:43 2026 +0000

translation: Regenerate desktop files in runtime directory

I don't know whether it is necessary to copy desktop files to runtime/
manually, but these two files seem not to have been updated for some
time.

The change in Makefile is because the previous pattern will throw an error:

C:\msys64\ucrt64 in\sed.exe: -e expression #1, char 3: unknown command: `.'

which I am not sure why.

closes: #19777

Signed-off-by: Mao-Yining <mao.y...@outlook.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/gvim.desktop b/runtime/gvim.desktop
index 6ca70897e..daec9f47e 100644
--- a/runtime/gvim.desktop
+++ b/runtime/gvim.desktop
@@ -9,9 +9,13 @@ Name[es]=GVim
Name[fi]=GVim
Name[fr]=GVim
Name[ga]=GVim
+Name[hy]=ԳՎիմ
Name[it]=GVim
-Name[ru]=GVim
+Name[ja]=GVim
+Name[ru]=gVim
Name[sr]=GVim
+Name[sv]=GVim
+Name[ta]=சிவிம்
Name[tr]=GVim
Name[uk]=GVim
Name[zh_CN]=GVim
@@ -24,12 +28,14 @@ GenericName[es]=Editor de texto
GenericName[fi]=Tekstinmuokkain
GenericName[fr]=Éditeur de texte
GenericName[ga]=Eagarthóir Téacs
+GenericName[hy]=Տեքստի խմբագիր
GenericName[it]=Editor di testi
GenericName[ja]=テキストエディタ
GenericName[ru]=Текстовый редактор
-GenericName[sr]=Едитор текст
+GenericName[sr]=Едитор текста
GenericName[sv]=Textredigerare
-GenericName[tr]=Metin Düzenleyici
+GenericName[ta]=உரை திருத்தி
+GenericName[tr]=Metin Düzenleyicisi
GenericName[uk]=Редактор Тексту
GenericName[zh_CN]=文本编辑器
GenericName=Text Editor
@@ -41,11 +47,14 @@ Comment[es]=Editar archivos de texto
Comment[fi]=Muokkaa tekstitiedostoja
Comment[fr]=Éditer des fichiers texte
Comment[ga]=Cuir comhaid téacs in eagar
+Comment[hy]=Խմբագրել տեքստային ֆայլերը
Comment[it]=Edita file di testo
Comment[ja]=テキストファイルを編集します
-Comment[ru]=Редактирование текстовых файлов
+Comment[ru]=Редактировать текстовые файлы
Comment[sr]=Уређујте текст фајлове
-Comment[tr]=Metin dosyaları düzenleyin
+Comment[sv]=Redigera textfiler
+Comment[ta]=உரை கோப்புகளைத் திருத்தவும்
+Comment[tr]=Metin dosyalarını düzenleyin
Comment[uk]=Редагувати текстові файли
Comment[zh_CN]=编辑文本文件
Comment=Edit text files
@@ -55,7 +64,6 @@ GenericName[da]=Teksteditor
GenericName[pl]=Edytor tekstu
GenericName[is]=Ritvinnsluforrit
Comment[af]=Redigeer tekslêers
-Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
Comment[ar]=حرّر ملفات نصية
Comment[az]=Mətn fayllarını redaktə edin
Comment[be]=Рэдагаваньне тэкставых файлаў
@@ -102,8 +110,6 @@ Comment[sk]=Úprava textových súborov
Comment[sl]=Urejanje datotek z besedili
Comment[sq]=Përpuno files teksti
Comment[sr@Latn]=Izmeni tekstualne datoteke
-Comment[sv]=Redigera textfiler
-Comment[ta]=உரை கோப்புகளை தொகுக்கவும்
Comment[th]=แก้ไขแฟ้มข้อความ
Comment[tk]=Metin faýllary editle
Comment[vi]=Soạn thảo tập tin văn bản
@@ -121,14 +127,16 @@ Keywords[es]=Texto;editor;
Keywords[fi]=Teksti;muokkain;editori;
Keywords[fr]=Texte;éditeur;
Keywords[ga]=Téacs;eagarthóir;
+Keywords[hy]=Տեքստ;խմբագիր;
Keywords[it]=Testo;editor;
Keywords[ja]=テキスト;エディタ;
Keywords[ru]=текст;текстовый редактор;
Keywords[sr]=Текст;едитор;
-Keywords[sv]=Text;Redigerare;
+Keywords[sv]=Text;redigerare;
+Keywords[ta]=உரை;திருத்தி;
Keywords[tr]=Metin;düzenleyici;
Keywords[uk]=текст;редактор;
-Keywords[zh_CN]=文本;编辑器;
+Keywords[zh_CN]=Text;editor;文本;编辑器;
Keywords=Text;editor;
# Translators: This is the Icon file name. Do NOT translate
Icon=gvim
diff --git a/runtime/vim.desktop b/runtime/vim.desktop
index 45f6c2016..770236cee 100644
--- a/runtime/vim.desktop
+++ b/runtime/vim.desktop
@@ -9,9 +9,13 @@ Name[es]=Vim
Name[fi]=Vim
Name[fr]=Vim
Name[ga]=Vim
+Name[hy]=Վիմ
Name[it]=Vim
+Name[ja]=Vim
Name[ru]=Vim
Name[sr]=Vim
+Name[sv]=Vim
+Name[ta]=விம்
Name[tr]=Vim
Name[uk]=Vim
Name[zh_CN]=Vim
@@ -24,12 +28,14 @@ GenericName[es]=Editor de texto
GenericName[fi]=Tekstinmuokkain
GenericName[fr]=Éditeur de texte
GenericName[ga]=Eagarthóir Téacs
+GenericName[hy]=Տեքստի խմբագիր
GenericName[it]=Editor di testi
GenericName[ja]=テキストエディタ
GenericName[ru]=Текстовый редактор
-GenericName[sr]=Едитор текст
+GenericName[sr]=Едитор текста
GenericName[sv]=Textredigerare
-GenericName[tr]=Metin Düzenleyici
+GenericName[ta]=உரை திருத்தி
+GenericName[tr]=Metin Düzenleyicisi
GenericName[uk]=Редактор Тексту
GenericName[zh_CN]=文本编辑器
GenericName=Text Editor
@@ -41,11 +47,14 @@ Comment[es]=Editar archivos de texto
Comment[fi]=Muokkaa tekstitiedostoja
Comment[fr]=Éditer des fichiers texte
Comment[ga]=Cuir comhaid téacs in eagar
+Comment[hy]=Խմբագրել տեքստային ֆայլերը
Comment[it]=Edita file di testo
Comment[ja]=テキストファイルを編集します
-Comment[ru]=Редактирование текстовых файлов
+Comment[ru]=Редактировать текстовые файлы
Comment[sr]=Уређујте текст фајлове
-Comment[tr]=Metin dosyaları düzenleyin
+Comment[sv]=Redigera textfiler
+Comment[ta]=உரை கோப்புகளைத் திருத்தவும்
+Comment[tr]=Metin dosyalarını düzenleyin
Comment[uk]=Редагувати текстові файли
Comment[zh_CN]=编辑文本文件
Comment=Edit text files
@@ -55,7 +64,6 @@ GenericName[da]=Teksteditor
GenericName[pl]=Edytor tekstu
GenericName[is]=Ritvinnsluforrit
Comment[af]=Redigeer tekslêers
-Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
Comment[ar]=حرّر ملفات نصية
Comment[az]=Mətn fayllarını redaktə edin
Comment[be]=Рэдагаваньне тэкставых файлаў
@@ -102,8 +110,6 @@ Comment[sk]=Úprava textových súborov
Comment[sl]=Urejanje datotek z besedili
Comment[sq]=Përpuno files teksti
Comment[sr@Latn]=Izmeni tekstualne datoteke
-Comment[sv]=Redigera textfiler
-Comment[ta]=உரை கோப்புகளை தொகுக்கவும்
Comment[th]=แก้ไขแฟ้มข้อความ
Comment[tk]=Metin faýllary editle
Comment[vi]=Soạn thảo tập tin văn bản
@@ -121,10 +127,13 @@ Keywords[es]=Texto;editor;
Keywords[fi]=Teksti;muokkain;editori;
Keywords[fr]=Texte;éditeur;
Keywords[ga]=Téacs;eagarthóir;
+Keywords[hy]=Տեքստ;խմբագիր;
Keywords[it]=Testo;editor;
Keywords[ja]=テキスト;エディタ;
Keywords[ru]=текст;текстовый редактор;
Keywords[sr]=Текст;едитор;
+Keywords[sv]=Text;redigerare;
+Keywords[ta]=உரை;திருத்தி;
Keywords[tr]=Metin;düzenleyici;
Keywords[uk]=текст;редактор;
Keywords[zh_CN]=Text;editor;文本;编辑器;
diff --git a/src/po/Makefile b/src/po/Makefile
index 82b6a0922..e63abd0ef 100644
--- a/src/po/Makefile
+++ b/src/po/Makefile
@@ -274,22 +274,24 @@ $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM_INPUTLIST)
rm -f *.js ./vim_to_js allfiles

vim.desktop: vim.desktop.in $(POFILES)
- echo $(LANGUAGES) | tr " " "
" |$(SED) -e '/\./d' | sort > LINGUAS
+ echo $(LANGUAGES) | tr " " "
" |$(SED) -e '/[.]/d' | sort > LINGUAS
$(MSGFMT) --desktop -d . --template vim.desktop.in -o tmp_vim.desktop
rm -f LINGUAS
if command -v desktop-file-validate; \
then desktop-file-validate tmp_vim.desktop; fi
mv tmp_vim.desktop vim.desktop
+ cp vim.desktop ../../runtime/

# The dependency on vim.desktop is only to avoid the two targets are build at
# the same time, which causes a race for the LINGUAS file.
gvim.desktop: gvim.desktop.in $(POFILES) vim.desktop
- echo $(LANGUAGES) | tr " " "
" |$(SED) -e '/\./d' | sort > LINGUAS
+ echo $(LANGUAGES) | tr " " "
" |$(SED) -e '/[.]/d' | sort > LINGUAS
$(MSGFMT) --desktop -d . --template gvim.desktop.in -o tmp_gvim.desktop
rm -f LINGUAS
if command -v desktop-file-validate; \
then desktop-file-validate tmp_gvim.desktop; fi
mv tmp_gvim.desktop gvim.desktop
+ cp gvim.desktop ../../runtime/

# Only original translations with default encoding should be updated.
# The files that are converted to a different encoding clearly state "DO NOT EDIT".
diff --git a/src/po/zh_CN.UTF-8.po b/src/po/zh_CN.UTF-8.po
index 7e6df3c0b..c7b23a925 100644
--- a/src/po/zh_CN.UTF-8.po
+++ b/src/po/zh_CN.UTF-8.po
@@ -9376,7 +9376,7 @@ msgid "Edit text files"
msgstr "编辑文本文件"

msgid "Text;editor;"
-msgstr "文本;编辑器;"
+msgstr "Text;editor;文本;编辑器;"

msgid "Vim"
msgstr "Vim"
diff --git a/src/po/zh_CN.cp936.po b/src/po/zh_CN.cp936.po
index adaed55b4..d6f1b870c 100644
--- a/src/po/zh_CN.cp936.po
+++ b/src/po/zh_CN.cp936.po
@@ -9376,7 +9376,7 @@ msgid "Edit text files"
msgstr "�༭�ı��ļþ"

msgid "Text;editor;"
-msgstr "�ı¾;�༭�÷;"
+msgstr "Text;editor;�ı¾;�༭�÷;"

msgid "Vim"
msgstr "Vim"
diff --git a/src/po/zh_CN.po b/src/po/zh_CN.po
index 850f37294..7f4aa908a 100644
--- a/src/po/zh_CN.po
+++ b/src/po/zh_CN.po
@@ -9376,7 +9376,7 @@ msgid "Edit text files"
msgstr "�༭�ı��ļþ"

msgid "Text;editor;"
-msgstr "�ı¾;�༭�÷;"
+msgstr "Text;editor;�ı¾;�༭�÷;"

msgid "Vim"
msgstr "Vim"
Reply all
Reply to author
Forward
0 new messages