Skip to content

Instantly share code, notes, and snippets.

@maz-1
Created January 23, 2017 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maz-1/ff67830942f6b577b711cd19a5af389b to your computer and use it in GitHub Desktop.
Save maz-1/ff67830942f6b577b711cd19a5af389b to your computer and use it in GitHub Desktop.
Add simplified chinese to kde-servicemenus-rootactions
diff -Naur a/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop b/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop
--- a/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop 2012-03-29 12:36:59.000000000 +0800
+++ b/Root_Actions_2.9/dolphin-KDE4/10-rootactionsfolders.desktop 2017-01-23 18:27:58.064836029 +0800
@@ -31,6 +31,7 @@
X-KDE-Submenu[sr@latin]=Korene &akcije
X-KDE-Submenu[sv]=Root åtgärder
X-KDE-Submenu[tr]=&Yetkili Eylemleri
+X-KDE-Submenu[zh_CN]=Root操作
#X-KDE-Submenu[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenInKonsole]
@@ -61,6 +62,7 @@
Name[sr@latin]=Otvori terminal ovde
Name[sv]=Öppna terminal här
Name[tr]=Uçbirimi Burada Aç
+Name[zh_CN]=在这里打开终端
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenInFilemanager]
@@ -91,6 +93,7 @@
Name[sr@latin]=Otvori u menadžeru fajlova
Name[sv]=Öppna i filhanterare
Name[tr]=Dosya Yöneticisinde Aç
+Name[zh_CN]=在文件管理器中打开
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenWithCustom]
@@ -121,6 +124,7 @@
Name[sr@latin]=Otvori pomoću...
Name[sv]=Öppna med
Name[tr]=Birlikte Aç...
+Name[zh_CN]=打开为...
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Copy]
@@ -148,6 +152,7 @@
Name[sr@latin]=Kopiraj
Name[sv]=Kopiera
Name[tr]=Kopyala
+Name[zh_CN]=复制
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Rename]
@@ -178,6 +183,7 @@
Name[sr@latin]=Premesti/preimenuj
Name[sv]=Flytta/byt namn
Name[tr]=Taşı/Yeniden İsimlendir
+Name[zh_CN]=移动/重命名
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Compress]
@@ -208,6 +214,7 @@
Name[sr@latin]=Kompresuj
Name[sv]=Komprimera
Name[tr]=Sıkıştır
+Name[zh_CN]=压缩
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Delete]
@@ -238,6 +245,7 @@
Name[sr@latin]=Obriši
Name[sv]=Ta bort
Name[tr]=Sil
+Name[zh_CN]=删除
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeRoot]
@@ -268,6 +276,7 @@
Name[sr@latin]=Postavi vlasništvo na korenog korisnika
Name[sv]=Ändra ägare till root
Name[tr]=Dosyayı yetkili kullanıcının yap
+Name[zh_CN]=所有者改为Root
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeUser]
@@ -298,6 +307,7 @@
Name[sr@latin]=Postavi vlasništvo na trenutnog korisnika
Name[sv]=Ändra ägare till aktuell användare
Name[tr]=Dosyayı şu anda oturumu açık kullanıcının yap
+Name[zh_CN]=所有者改为当前用户
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeCustom]
@@ -328,6 +338,7 @@
Name[sr@latin]=Postavi vlasništvo...
Name[sv]=Ändra ägare till...
Name[tr]=Dosyanın sahibini değiştir...
+Name[zh_CN]=所有者改为...
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangePerm]
@@ -357,4 +368,5 @@
Name[sr@latin]=Izmeni dozvole
Name[sv]=Ändra rättigheter
Name[tr]=Yetkileri değiştir
+Name[zh_CN]=修改权限
#Name[xx]=Your string 'xx' is the country abbreviation
diff -Naur a/Root_Actions_2.9/dolphin-KDE4/11-rootactionsfiles.desktop b/Root_Actions_2.9/dolphin-KDE4/11-rootactionsfiles.desktop
--- a/Root_Actions_2.9/dolphin-KDE4/11-rootactionsfiles.desktop 2012-03-29 12:40:08.000000000 +0800
+++ b/Root_Actions_2.9/dolphin-KDE4/11-rootactionsfiles.desktop 2017-01-23 18:26:05.401763168 +0800
@@ -31,6 +31,7 @@
X-KDE-Submenu[sr@latin]=Korene &akcije
X-KDE-Submenu[sv]=Root åtgärder
X-KDE-Submenu[tr]=&Yetkili Eylemleri
+X-KDE-Submenu[zh_CN]=Root操作
#X-KDE-Submenu[xx]=Your string 'xx' is the country abbreviation
[Desktop Action EditAsText]
@@ -61,6 +62,7 @@
Name[sr@latin]=Otvori kao tekst
Name[sv]=Redigera
Name[tr]=Metin olarak aç
+Name[zh_CN]=打开为文本
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenInKonsoleFile]
@@ -91,6 +93,7 @@
Name[sr@latin]=Otvori terminal ovde
Name[sv]=Öppna terminal här
Name[tr]=Uçbirimi Burada Aç
+Name[zh_CN]=在这里打开终端
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenInFilemanagerFile]
@@ -121,6 +124,7 @@
Name[sr@latin]=Otvori u menadžeru fajlova
Name[sv]=Öppna i filhanterare
Name[tr]=Dosya Yöneticisinde Aç
+Name[zh_CN]=在这里打开文件管理器
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action OpenWithCustom]
@@ -151,6 +155,7 @@
Name[sr@latin]=Otvori pomoću...
Name[sv]=Öppna med...
Name[tr]=Birlikte aç...
+Name[zh_CN]=打开为...
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Copy]
@@ -178,6 +183,7 @@
Name[sr@latin]=Kopiraj
Name[sv]=Kopiera
Name[tr]=Kopyala
+Name[zh_CN]=复制
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Rename]
@@ -208,6 +214,7 @@
Name[sr@latin]=Premesti/preimenuj
Name[sv]=Flytta/byt namn
Name[tr]=Taşı/Yeniden İsimlendir
+Name[zh_CN]=移动/重命名
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Compress]
@@ -238,6 +245,7 @@
Name[sr@latin]=Kompresuj
Name[sv]=Komprimera
Name[tr]=Sıkıştır
+Name[zh_CN]=压缩
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action Delete]
@@ -268,6 +276,7 @@
Name[sr@latin]=Obriši
Name[sv]=Ta bort
Name[tr]=Sil
+Name[zh_CN]=删除
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeRoot]
@@ -298,6 +307,7 @@
Name[sr@latin]=Postavi vlasništvo na korenog korisnika
Name[sv]=Ändra ägare till root
Name[tr]=Dosyayı yetkili kullanıcının yap
+Name[zh_CN]=所有者改为Root
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeUser]
@@ -328,6 +338,7 @@
Name[sr@latin]=Postavi vlasništvo na trenutnog korisnika
Name[sv]=Ändra ägare till aktuell användare
Name[tr]=Dosyayı şu anda oturumu açık kullanıcının yap
+Name[zh_CN]=所有者改为当前用户
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangeCustom]
@@ -358,6 +369,7 @@
Name[sr@latin]=Postavi vlasništvo...
Name[sv]=Ändra ägare till...
Name[tr]=Dosyanın sahibini değiştir...
+Name[zh_CN]=所有者改为...
#Name[xx]=Your string 'xx' is the country abbreviation
[Desktop Action ChangePerm]
@@ -387,4 +399,5 @@
Name[sr@latin]=Izmeni dozvole
Name[sv]=Ändra rättigheter
Name[tr]=Yetkileri değiştir
+Name[zh_CN]=修改权限
#Name[xx]=Your string 'xx' is the country abbreviation
diff -Naur a/Root_Actions_2.9/rootactions-servicemenu.pl b/Root_Actions_2.9/rootactions-servicemenu.pl
--- a/Root_Actions_2.9/rootactions-servicemenu.pl 2016-03-21 00:06:48.000000000 +0800
+++ b/Root_Actions_2.9/rootactions-servicemenu.pl 2017-01-23 18:36:59.000923822 +0800
@@ -73,6 +73,7 @@
"sr\@latin" => "Kopiraj",
"sv" => "Kopiera",
"tr" => "Kopyala",
+ "zh_CN" => "复制",
"xx" => "Your string, xx is the country abbreviation"
);
%COPYMSG = (
@@ -97,6 +98,7 @@
"sr\@latin" => "Ime fajla:",
"sv" => "Filnamn:",
"tr" => "Dosya adı:",
+ "zh_CN" => "文件名:",
"xx" => "Your string, xx is the country abbreviation"
);
$COPYTITLE = ($COPYTITLE{"$KDELANG"} or $COPYTITLE{"$KDELANGSHT"} or $COPYTITLE{"en_US"});
@@ -131,6 +133,7 @@
"sr\@latin" => "Premesti/preimenuj",
"sv" => "Flytta/Byt namn",
"tr" => "Taşı/Yeniden İsimlendir",
+ "zh_CN" => "移动/重命名",
"xx" => "Your string, xx is the country abbreviation"
);
%RENAMEMSG = (
@@ -158,6 +161,7 @@
"sr\@latin" => "Novo ime:",
"sv" => "Nytt filnamn:",
"tr" => "Yeni isim:",
+ "zh_CN" => "新名称:",
"xx" => "Your string, xx is the country abbreviation"
);
$RENAMETITLE = ($RENAMETITLE{"$KDELANG"} or $RENAMETITLE{"$KDELANGSHT"} or $RENAMETITLE{"en_US"});
@@ -192,6 +196,7 @@
"sr\@latin" => "Upozorenje",
"sv" => "Varning",
"tr" => "Uyarı",
+ "zh_CN" => "警告",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -220,6 +225,7 @@
"sr\@latin" => "Želite li zaista da obrišete: ",
"sv" => "Är du säker på att du vill radera permanent?: ",
"tr" => "Bu dosyayı kalıcı olarak silmek istediğinize emin misiniz: ",
+ "zh_CN" => "你确定你要永久删除:",
"xx" => "Your string, xx is the country abbreviation"
);
$DELETETITLE = ($DELETETITLE{"$KDELANG"} or $DELETETITLE{"$KDELANGSHT"} or $DELETETITLE{"en_US"});
@@ -254,6 +260,7 @@
"sr\@latin" => "Postavi UID:GID",
"sv" => "Ändra UID:GID",
"tr" => "UID:GID'i ayarla",
+ "zh_CN" => "设置UID:GID",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -282,6 +289,7 @@
"sr\@latin" => "Promeni vlasnika: ",
"sv" => "Ändra ägare till: ",
"tr" => "Dosyanın sahibini değiştir: ",
+ "zh_CN" => "所有者改为:",
"xx" => "Your string, xx is the country abbreviation"
);
$OWNERTITLE = ($OWNERTITLE{"$KDELANG"} or $OWNERTITLE{"$KDELANGSHT"} or $OWNERTITLE{"en_US"});
@@ -313,6 +321,7 @@
"sr\@latin" => "Da primenim izmene rekurzivno?",
"sv" => "Verkställ ändringar rekursivt?",
"tr" => "Değişiklikler özyinelemeli olarak uygulansın mı?",
+ "zh_CN" => "递归应用变更?",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -338,6 +347,7 @@
"sr\@latin" => "Želite li da primenite izmene rekurzivno na sve potfascikle i fajlove? \n(Koristite ovo pažljivo)",
"sv" => "Verkställ ändringar rekursivt för alla underkataloger och deras innehåll? \n(Var försiktig)",
"tr" => "Değişiklikleri tüm altdizinlere ve dosyalara özyinelemeli olarak uygulamak istiyor musunuz? \n(Dikkatli kullanın",
+ "zh_CN" => "确定要将变更递归应用到所有子文件夹和文件? \n(谨慎使用)",
"xx" => "Your string, xx is the country abbreviation"
);
$RECURSIONTITLE = ($RECURSIONTITLE{"$KDELANG"} or $RECURSIONTITLE{"$KDELANGSHT"} or $RECURSIONTITLE{"en_US"});
@@ -369,6 +379,7 @@
"sr\@latin" => "OTVORENO KAO KOREN",
"sv" => "ÖPPNAD SOM ROOT",
"tr" => "YETKİLİ KULLANICI OLARAK AÇILDI",
+ "zh_CN" => "用ROOT身份打开",
"xx" => "Your string, xx is the country abbreviation"
);
$ROOTREMINDER = ($ROOTREMINDER{"$KDELANG"} or $ROOTREMINDER{"$KDELANGSHT"} or $ROOTREMINDER{"en_US"});
@@ -403,6 +414,7 @@
"sr\@latin" => "Program",
"sv" => "Program",
"tr" => "Program",
+ "zh_CN" => "程序",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -431,6 +443,7 @@
"sr\@latin" => "Otvori pomoću: ",
"sv" => "Öppna med: ",
"tr" => "Birlikte aç: ",
+ "zh_CN" => "打开为:",
"xx" => "Your string, xx is the country abbreviation"
);
$OPENTITLE = ($OPENTITLE{"$KDELANG"} or $OPENTITLE{"$KDELANGSHT"} or $OPENTITLE{"en_US"});
@@ -465,6 +478,7 @@
"sr\@latin" => "Dozvole",
"sv" => "Rättigheter",
"tr" => "Yetkiler",
+ "zh_CN" => "权限",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -493,6 +507,7 @@
"sr\@latin" => "Izaberite dozvole: ",
"sv" => "Välj rättigheter: ",
"tr" => "Yetkileri belirle: ",
+ "zh_CN" => "选择权限:",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -521,6 +536,7 @@
"sr\@latin" => "Vlasnik:",
"sv" => "Ägare:",
"tr" => "Sahip:",
+ "zh_CN" => "所有者:",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -549,6 +565,7 @@
"sr\@latin" => "Grupa:",
"sv" => "Grupp:",
"tr" => "Grup",
+ "zh_CN" => "组:",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -577,6 +594,7 @@
"sr\@latin" => "Ostali:",
"sv" => "Övriga:",
"tr" => "Diğerleri:",
+ "zh_CN" => "其他:",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -605,6 +623,7 @@
"sr\@latin" => "Posebno:",
"sv" => "Special:",
"tr" => "Özel:",
+ "zh_CN" => "特殊:",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -633,6 +652,7 @@
"sr\@latin" => "čitanje",
"sv" => "läsbar",
"tr" => "okunabilir",
+ "zh_CN" => "可读",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -661,6 +681,7 @@
"sr\@latin" => "upis",
"sv" => "skrivbar",
"tr" => "yazılabilir",
+ "zh_CN" => "可写",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -689,6 +710,7 @@
"sr\@latin" => "izvršna",
"sv" => "körbar",
"tr" => "çalıştırılabilir",
+ "zh_CN" => "可执行",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -717,6 +739,7 @@
"sr\@latin" => "stavi UID",
"sv" => "sätt UID",
"tr" => "kullanıcı ID bitini ayarla",
+ "zh_CN" => "设置用户ID位",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -745,6 +768,7 @@
"sr\@latin" => "stavi GID",
"sv" => "sätt GID",
"tr" => "grup ID bitini ayarla",
+ "zh_CN" => "设置组ID位",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -773,6 +797,7 @@
"sr\@latin" => "stavi lepljivu",
"sv" => "klistrig",
"tr" => "yapışkan biti ayarla",
+ "zh_CN" => "设置粘滞位",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -801,6 +826,7 @@
"sr\@latin" => "Upozorenje",
"sv" => "Varning",
"tr" => "Dikkat",
+ "zh_CN" => "警告",
"xx" => "Your string, xx is the country abbreviation"
);
@@ -829,6 +855,7 @@
"sr\@latin" => "Postavili ste posebne dozvole, želite li zaista da nastavite?",
"sv" => "Specialrättigheter är valda. Vill du verkligen fortsätta?",
"tr" => "Özel yetki ayarları yapmayı seçtiniz, devam etmek istediğinize emin misiniz?",
+ "zh_CN" => "你已经选择了设置特殊权限,确定要继续吗?",
"xx" => "Your string, xx is the country abbreviation"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment