diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/Illustration.desktop | 108 | ||||
-rw-r--r-- | templates/Illustration.karbon | bin | 0 -> 303 bytes | |||
-rw-r--r-- | templates/Makefile.am | 7 | ||||
-rw-r--r-- | templates/Presentation.desktop | 113 | ||||
-rw-r--r-- | templates/Presentation.kpt | bin | 0 -> 1043 bytes | |||
-rw-r--r-- | templates/README | 3 | ||||
-rw-r--r-- | templates/SpreadSheet.desktop | 116 | ||||
-rw-r--r-- | templates/SpreadSheet.kst | bin | 0 -> 423 bytes | |||
-rw-r--r-- | templates/TextDocument.desktop | 118 | ||||
-rw-r--r-- | templates/TextDocument.kwt | bin | 0 -> 835 bytes | |||
-rw-r--r-- | templates/insert_ident_string.sh | 37 |
11 files changed, 502 insertions, 0 deletions
diff --git a/templates/Illustration.desktop b/templates/Illustration.desktop new file mode 100644 index 00000000..01923d7e --- /dev/null +++ b/templates/Illustration.desktop @@ -0,0 +1,108 @@ +[Desktop Entry] +Name=Illustration Document... +Name[bg]=Илюстрация... +Name[ca]=Document de dibuixos... +Name[cs]=Ilustrace +Name[cy]=Dogfen Ddarluniad... +Name[da]=Illustrationsdokument... +Name[de]=Illustrations-Dokument ... +Name[el]=Έγγραφο σελιδοποίησης... +Name[eo]=Ilustrilo-dokumento... +Name[es]=Documento de ilustración... +Name[et]=Illustratsioon... +Name[eu]=Irudi-dokumentua... +Name[fa]=سند شکل... +Name[fi]=Illustrator-asiakirja +Name[fr]=Document d'illustration... +Name[fy]=Illustraasjefokumint... +Name[gl]=Documento de Ilustración... +Name[he]=מסמך איור... +Name[hi]=इलस्ट्रेशन दस्तावेज़... +Name[hr]=Ilustracijski dokument... +Name[hu]=KIllustrator-dokumentum... +Name[is]=Illustration skjal... +Name[it]=Illustrazioni... +Name[ja]=Illustration ドキュメント... +Name[km]=ឯកសាររូបភាពលម្អ... +Name[lv]=Ilustrācijas dokuments... +Name[ms]=Dokumen Ilustrasi... +Name[nb]=Illustrasjon … +Name[nds]=Afbillen-Dokment... +Name[ne]=दृष्टान्त कागजात... +Name[nl]=Illustratiedocument... +Name[nn]=Illustrasjon … +Name[pl]=Ilustracja... +Name[pt]=Documento de Ilustração.... +Name[pt_BR]=Documento de Ilustração... +Name[ru]=Векторный рисунок... +Name[se]=Illustrašuvdna … +Name[sk]=Ilustrácia Karbon14... +Name[sl]=Ilustracijski dokument ... +Name[sr]=Илустрациони документ... +Name[sr@Latn]=Ilustracioni dokument... +Name[sv]=Illustrationsdokument... +Name[ta]=விளக்க ஆவணம் +Name[tg]=Ҳуҷҷати тасвирӣ... +Name[tr]=Resim Belgesi... +Name[uk]=Докувент ілюстрації... +Name[wa]=Documint Illustration... +Name[zh_CN]=Illustrator 文档... +Name[zh_TW]=Illustration 文件... +Comment=New Karbon14 document: +Comment[ar]=مُستند Karbon14 جديد: +Comment[bg]=Нов документ на Karbon14: +Comment[br]=Teul Karbon14 nevez : +Comment[ca]=Nou document Karbon14: +Comment[cs]=Nový dokument Karbon14: +Comment[cy]=Dogfen newydd Karbon14: +Comment[da]=Nyt Karbon14-dokument: +Comment[de]=Neues Karbon14-Dokument +Comment[el]=Νέο έγγραφο Karbon14: +Comment[eo]=Nova Karbon14-dokumento: +Comment[es]=Nuevo documento de Karbon14: +Comment[et]=Uus Karbon14 dokument: +Comment[eu]=Karbon14 dokumentu berria: +Comment[fa]=سند Karbon14 جدید: +Comment[fi]=Uusi Karbon14-asiakirja: +Comment[fr]=Nouveau document Karbon14 : +Comment[fy]=Nij Karbon14-dokumint: +Comment[ga]=Cáipéis nua Karbon14: +Comment[gl]=Novo documento de Karbon14: +Comment[he]=מסמך Karbon14 חדש +Comment[hi]=नया कार्बन14 दस्तावेज: +Comment[hr]=Novi Karbon14 dokument: +Comment[hu]=Új Karbon14-dokumentum: +Comment[is]=Nýtt Karbon14 skjal: +Comment[it]=Nuovo documento Karbon14: +Comment[ja]=Karbon14 ドキュメント +Comment[km]=ឯកសារ Karbon14 ថ្មី ៖ +Comment[lt]=Naujas Karbon14 dokumentas: +Comment[lv]=Jauns Karbon14 dokuments: +Comment[ms]=Dokumen Karbon 14 Baru: +Comment[nb]=Nytt Karbon14-dokument: +Comment[nds]=Nieg Karbon14-Dokment +Comment[ne]=नयाँ कार्बन१४ कागजात: +Comment[nl]=Nieuw Karbon14-document: +Comment[nn]=Nytt Karbon14-dokument: +Comment[pl]=Nowy dokument Karbon14: +Comment[pt]=Novo documento do Karbon14: +Comment[pt_BR]=Novo documento do Karbon14 +Comment[ru]=Новый рисунок Karbon14: +Comment[se]=Ođđa Karbon14-dokumeanta: +Comment[sk]=Nový dokument Karbon14: +Comment[sl]=Nov dokument za Karbon14 +Comment[sr]=Нови Karbon14 документ: +Comment[sr@Latn]=Novi Karbon14 dokument: +Comment[sv]=Nytt Karbon 14-dokument +Comment[ta]=புதிய Karbon14 ஆவணம் +Comment[tg]=Ҳуҷҷати Нав Karbon14: +Comment[tr]=Yeni Karbon14 Belgesi +Comment[uk]=Новий документ Karbon14: +Comment[uz]=Yangi Karbon14 hujjati: +Comment[uz@cyrillic]=Янги Karbon14 ҳужжати: +Comment[wa]=Novea documint Karbon14: +Comment[zh_CN]=新建 Karbon14 文档: +Comment[zh_TW]=新增 Karbon14 文件: +Type=Link +URL=.source/Illustration.karbon +Icon=karbon_karbon diff --git a/templates/Illustration.karbon b/templates/Illustration.karbon Binary files differnew file mode 100644 index 00000000..a1f86d6f --- /dev/null +++ b/templates/Illustration.karbon diff --git a/templates/Makefile.am b/templates/Makefile.am new file mode 100644 index 00000000..954a4cad --- /dev/null +++ b/templates/Makefile.am @@ -0,0 +1,7 @@ + +templ_DATA = Presentation.desktop TextDocument.desktop SpreadSheet.desktop Illustration.desktop + +templdir = $(kde_templatesdir) + +sources_DATA = Presentation.kpt TextDocument.kwt SpreadSheet.kst Illustration.karbon +sourcesdir = $(kde_templatesdir)/.source diff --git a/templates/Presentation.desktop b/templates/Presentation.desktop new file mode 100644 index 00000000..021e4d64 --- /dev/null +++ b/templates/Presentation.desktop @@ -0,0 +1,113 @@ +[Desktop Entry] +Name=Presentation Document... +Name[bg]=Презентация... +Name[br]=Teul emginnig ... +Name[ca]=Document de presentacions... +Name[cs]=Prezentace +Name[cy]=Dogfen Gyflwyniad... +Name[da]=Præsentationsdokument... +Name[de]=Präsentations-Dokument ... +Name[el]=Έγγραφο παρουσίασης... +Name[eo]=Prezentado-dokumento... +Name[es]=Documento de presentación... +Name[et]=Esitlus... +Name[eu]=Aurkezpen-dokumentua... +Name[fa]=سند ارائه... +Name[fi]=Esitysasiakirja... +Name[fr]=Document de présentation... +Name[fy]=Presintaasjefokumint... +Name[gl]=Documento de presentación... +Name[he]=מסמך מצגת... +Name[hi]=प्रेजेन्टेशन दस्तावेज़... +Name[hr]=Prezentacijski dokument... +Name[hu]=KPresenter-dokumentum... +Name[is]=Kynningarskjal... +Name[it]=Presentazioni... +Name[ja]=プレゼンテーションドキュメント... +Name[km]=ឯកសារការបង្ហាញ... +Name[lv]=Prezentācijas dokuments... +Name[ms]=Dokumen Persembahan... +Name[nb]=Presentasjon … +Name[nds]=Presentatschoon-Dokment... +Name[ne]=प्रस्तुतिकरण कागजात... +Name[nl]=Presentatie-document... +Name[nn]=Presentasjon … +Name[pl]=Prezentacja... +Name[pt]=Documento de Apresentação... +Name[pt_BR]=Apresentação de Slides... +Name[ru]=Презентация... +Name[se]=Presentašuvdna … +Name[sk]=Prezentácia KPresenter... +Name[sl]=Predstavitveni dokument ... +Name[sr]=Презентациони документ... +Name[sr@Latn]=Prezentacioni dokument... +Name[sv]=Presentationsdokument... +Name[ta]=முன் வைப்பு ஆவணம் +Name[tg]=Ҳуҷҷати тақдим... +Name[tr]=Sunum Belgesi... +Name[uk]=Документ презентації... +Name[uz]=Namoyish hujjati +Name[uz@cyrillic]=Намойиш ҳужжати +Name[wa]=Documint di prezintaedje... +Name[zh_CN]=演示文稿... +Name[zh_TW]=簡報文件... +Comment=New KPresenter presentation document: +Comment[af]=Nuwe Kpresenter aanbieding dokument: +Comment[ar]=مُستند تقديم جديد لـ KPresenter: +Comment[bg]=Нова презентация на KPresenter: +Comment[br]=Teul emginnig KPresenter nevez : +Comment[bs]=Novi Kpresenter prezentacioni dokument: +Comment[ca]=Nou document de presentació del KPresenter: +Comment[cs]=Nový dokument aplikace KPresenter: +Comment[cy]=Dogfen cyflwyniad newydd KPresenter: +Comment[da]=Nyt KPresenter-præsentationsdokument: +Comment[de]=Neue KPresenter-Präsentation: +Comment[el]=Νέο έγγραφο παρουσίασης KPresenter: +Comment[eo]=Nova KPresenter-dokumento +Comment[es]=Nuevo documento de presentación de KPresenter: +Comment[et]=Uus KPresenteri esitlus: +Comment[eu]=KPresenter-en aurkezpen-dokumentu berria: +Comment[fa]=سند جدید ارائۀ KPresenter: +Comment[fi]=Uusi KPresenter-asiakirja: +Comment[fr]=Nouveau document de présentation KPresenter : +Comment[fy]=Nij KPresenter-presintaasjedokumint: +Comment[gl]=Novo documento de KPresenter: +Comment[he]=מסמך מצגת חדש של KPresenter +Comment[hi]=नया के-प्रेजेन्टर दस्तावेज़: +Comment[hr]=Novi KPresenter prezentacijski dokument : +Comment[hu]=Új KPresenter-bemutató: +Comment[is]=Nýtt KPresenter kynningarskjal: +Comment[it]=Nuovo documento di presentazione KPresenter: +Comment[ja]=新規 KPresenter プレゼンテーションドキュメント: +Comment[km]=ឯកសារការបង្ហាញរបស់ KPresenter ថ្មី ៖ +Comment[lo]=ສ້າງເກະສານການນໍາສະເຫນີໃຫມ່ +Comment[lv]=Jauna KPresenter prezentācija: +Comment[ms]=Dokumen persembahan KPresenter Baru: +Comment[nb]=Ny KPresenter-presentasjon: +Comment[nds]=Nieg Presentatschoon-Dokment för KPresenter: +Comment[ne]=नयाँ केडीई प्रस्तुतकर्ता प्रस्तुतिकरण कागजात: +Comment[nl]=Nieuw KPresenter-presentatiedocument: +Comment[nn]=Ny KPresenter-presentasjon: +Comment[pl]=Nowa prezentacja KPresenter: +Comment[pt]=Novo documento do KPresenter: +Comment[pt_BR]=Novo documento do KPresenter: +Comment[ru]=Новая презентация KPresenter: +Comment[se]=Ođđa KPresenter-presentašuvdna: +Comment[sk]=Nový dokument KPresenter: +Comment[sl]=Nov predstavitveni dokument za KPresenter +Comment[sr]=Нови KPresenter-ов презентациони долумент: +Comment[sr@Latn]=Novi KPresenter-ov prezentacioni dolument: +Comment[sv]=Ny Kpresenter-presentation +Comment[ta]=புதிய Kவழங்கிய வழங்கு ஆவணம். +Comment[tg]=Ҳуҷҷати тақдими нав KPresenter: +Comment[tr]=Yeni KPresenter sunum belgesi +Comment[uk]=Новий документ презентації KPresenter: +Comment[uz]=Yangi KPresenter hujjati: +Comment[uz@cyrillic]=Янги KPresenter ҳужжати: +Comment[wa]=Novea documint di prezintaedje KPresenter: +Comment[xh]=Uxwebhu lwe siboniso esitsha se KPresenter +Comment[zh_CN]=新建 KPresenter 演示文档: +Comment[zh_TW]=新建 KPresenter 簡報文件: +Type=Link +URL=.source/Presentation.kpt +Icon=kpresenter_kpr diff --git a/templates/Presentation.kpt b/templates/Presentation.kpt Binary files differnew file mode 100644 index 00000000..efca3c25 --- /dev/null +++ b/templates/Presentation.kpt diff --git a/templates/README b/templates/README new file mode 100644 index 00000000..a7fd592e --- /dev/null +++ b/templates/README @@ -0,0 +1,3 @@ +Those are templates for the New menu in Konqueror. +WARNING: if you want to update them, you have to use +the script provided after saving, and before committing. diff --git a/templates/SpreadSheet.desktop b/templates/SpreadSheet.desktop new file mode 100644 index 00000000..aa5799a2 --- /dev/null +++ b/templates/SpreadSheet.desktop @@ -0,0 +1,116 @@ +[Desktop Entry] +Name=Spread Sheet Document... +Name[ar]=مُستند ورقة حساب... +Name[bg]=Електронна таблица... +Name[br]=Teul al loger ... +Name[ca]=Document de full de càlcul... +Name[cs]=Tabulka +Name[cy]=Dogfen Daenlen... +Name[da]=Regnearkdokument... +Name[de]=Tabellenkalkulations-Dokument ... +Name[el]=Έγγραφο λογιστικού φύλλου... +Name[eo]=Tabelkalkulilo-dokumento... +Name[es]=Documento de hoja de cálculo... +Name[et]=Arvutustabel... +Name[eu]=Kalkulu-orri dokumentua... +Name[fa]=سند صفحه گسترده... +Name[fi]=Taulukkolaskenta-asiakirja... +Name[fr]=Document Feuille de calcul... +Name[fy]=Spreadsheetdokumint... +Name[gl]=Documento de Folla de Cálculo... +Name[he]=מסמך גיליון אלקטרוני... +Name[hi]=स्प्रेडशीट दस्तावेज़... +Name[hr]=Dokument proračunske tablice... +Name[hu]=KSpread-dokumentum... +Name[is]=Töflureiknisskjal... +Name[it]=Fogli di calcolo... +Name[ja]=表計算ドキュメント... +Name[km]=ឯកសារសៀវភៅបញ្ជី... +Name[lv]=Tabullapas dokuments.. +Name[ms]=Dokumen Hamparan... +Name[nb]=Regneark … +Name[nds]=Tabellenutreken-Dokment... +Name[ne]=स्प्रेडसिट कागजात... +Name[nl]=Spreadsheetdocument... +Name[nn]=Rekneark … +Name[pl]=Arkusz kalkulacyjny... +Name[pt]=Documento de Folha de Cálculo... +Name[pt_BR]=Planilha de Cálculo... +Name[ru]=Электронная таблица... +Name[se]=Rehkenastinárka … +Name[sk]=Dokument tabuľkového procesoru +Name[sl]=Preglednični dokument ... +Name[sr]=Документ са прорачунским листовима... +Name[sr@Latn]=Dokument sa proračunskim listovima... +Name[sv]=Kalkylark... +Name[ta]=விரிதாள் ஆவணம்... +Name[tg]= Ҳуҷҷати Spread Sheet... +Name[tr]=Hesap Tablosu Belgesi... +Name[uk]=Документ електронної таблиці... +Name[uz]=Elektron jadval +Name[uz@cyrillic]=Электрон жадвал +Name[wa]=Documint tåvleu... +Name[zh_CN]=电子表格文档... +Name[zh_TW]=工作表文件... +Comment=New KSpread document: +Comment[af]=Nuwe Kspread dokument: +Comment[ar]=مُستند KSpread جديد: +Comment[bg]=Нова таблица на KSpread: +Comment[br]=Teul KSpread nevez : +Comment[bs]=Novi Kspread dokument: +Comment[ca]=Nou document KSpread: +Comment[cs]=Nový dokument aplikace KSpread: +Comment[cy]=Dogfen newydd KSpread: +Comment[da]=Nyt KSpread-regneark: +Comment[de]=Neues KSpread-Dokument: +Comment[el]=Νέο έγγραφο KSpread: +Comment[eo]=Nova KSpread-dokumento +Comment[es]=Nuevo documento de KSpread: +Comment[et]=Uus KSpreadi dokument: +Comment[eu]=KSpread dokumentu berria: +Comment[fa]=سند جدید KSpread: +Comment[fi]=Uusi KSpread-asiakirja: +Comment[fr]=Nouveau document KSpread : +Comment[fy]=Nij KSpreaddokumint: +Comment[ga]=Cáipéis nua KSpread: +Comment[gl]=Novo documento de KSpread: +Comment[he]=מסמך חדש של KSpread +Comment[hi]=नया के-स्प्रेड दस्तावेज़: +Comment[hr]=Novi KSpread dokument: +Comment[hu]=Új KSpread-dokumentum: +Comment[is]=Nýtt KSpread skjal: +Comment[it]=Nuovo documento KSpread: +Comment[ja]=新規 KSpread ドキュメント: +Comment[km]=ឯកសារ KSpread ថ្មី ៖ +Comment[lo]=ສ້າງເອກະສານເຈ້ຍຄິດໄລ່ K ໃຫມ່ +Comment[lt]=Naujas KSpread dokumentas: +Comment[lv]=Jauns KSpread dokuments: +Comment[ms]=Dokumen KSpread Baru: +Comment[nb]=Nytt KSpread-dokument: +Comment[nds]=Nieg KSpread-Dokment: +Comment[ne]=नयाँ केडीई स्प्रिेड कागजात: +Comment[nl]=Nieuw KSpread-document: +Comment[nn]=Nytt KSpread-dokument: +Comment[pl]=Nowy arkusz KSpread: +Comment[pt]=Novo documento do KSpread: +Comment[pt_BR]=Novo documento do KSpread: +Comment[ru]=Новая электронная таблица KSpread: +Comment[se]=Ođđa KSpread-dokumeanta: +Comment[sk]=Nový dokument KSpread: +Comment[sl]=Nov dokument za KSpread +Comment[sr]=Нови KSpread-ов документ: +Comment[sr@Latn]=Novi KSpread-ov dokument: +Comment[sv]=Nytt Kspread-dokument +Comment[ta]=புதிய Kவரி ஆவணம் +Comment[tg]=Ҳуҷҷати Нав KSpread: +Comment[tr]=Yeni KSpread belgesi +Comment[uk]=Новий документ KSpread: +Comment[uz]=Yangi KSpread hujjati: +Comment[uz@cyrillic]=Янги KSpread ҳужжати: +Comment[wa]=Novea documint tåvleu KSpread: +Comment[xh]=Uxwebhu Olutsha lwe KSpread: +Comment[zh_CN]=新建 KSpread 文档: +Comment[zh_TW]=新建 KSpread 文件: +Type=Link +URL=.source/SpreadSheet.kst +Icon=kspread_ksp diff --git a/templates/SpreadSheet.kst b/templates/SpreadSheet.kst Binary files differnew file mode 100644 index 00000000..c36a0970 --- /dev/null +++ b/templates/SpreadSheet.kst diff --git a/templates/TextDocument.desktop b/templates/TextDocument.desktop new file mode 100644 index 00000000..c0835c81 --- /dev/null +++ b/templates/TextDocument.desktop @@ -0,0 +1,118 @@ +[Desktop Entry] +Name=Text Document... +Name[bg]=Текстов документ... +Name[br]=Teul skrid ... +Name[ca]=Document de text... +Name[cs]=Textový dokument +Name[cy]=Dogfen Destun... +Name[da]=Tekstdokument... +Name[de]=Textdokument ... +Name[el]=Έγγραφο κειμένου... +Name[eo]=Tekstdokumento... +Name[es]=Documento de texto... +Name[et]=Tekstidokument... +Name[eu]=Testu-dokumentua... +Name[fa]=سند متنی... +Name[fi]=Tekstiasiakirja... +Name[fr]=Document texte... +Name[fy]=Tekstdokumint... +Name[ga]=Cáipéis Téacs... +Name[gl]=Documento de Texto... +Name[he]=מסמך טקסט... +Name[hi]=पाठ दस्तावेज़... +Name[hr]=Tekstualni dokument... +Name[hu]=KWord-dokumentum... +Name[is]=Textaskjal... +Name[it]=Documenti di testo... +Name[ja]=テキスト文書... +Name[km]=ឯកសារអត្ថបទ... +Name[lt]=Tekstinis dokumentas... +Name[lv]=Teksta dokuments... +Name[ms]=Dokumen Teks... +Name[nb]=Tekstdokument … +Name[nds]=Textdokment... +Name[ne]=पाठ कागजात... +Name[nl]=Tekstdocument... +Name[nn]=Tekstdokument … +Name[pa]=ਪਾਠ ਦਸਤਾਵੇਜ਼... +Name[pl]=Dokument tekstowy... +Name[pt]=Documento de Texto... +Name[pt_BR]=Documento de Texto... +Name[ru]=Текстовый документ... +Name[se]=Teakstadokumeanta … +Name[sk]=Textový dokument KWord... +Name[sl]=Besedilni dokument ... +Name[sr]=Текстуални документ... +Name[sr@Latn]=Tekstualni dokument... +Name[sv]=Textdokument... +Name[ta]=உரை ஆவணம்... +Name[tg]=Матни Ҳуҷҷат... +Name[tr]=Metin Belgesi... +Name[uk]=Текстовий документ... +Name[uz]=Matn hujjati +Name[uz@cyrillic]=Матн ҳужжати +Name[wa]=Documint tecse... +Name[zh_CN]=文本文档... +Name[zh_TW]=文字文件... +Comment=New KWord document: +Comment[af]=Nuwe Kword dokument: +Comment[ar]=مُستند KWord جديد: +Comment[bg]=Нов документ на KWord: +Comment[br]=Teul KWord nevez : +Comment[bs]=Novi KWord dokument: +Comment[ca]=Nou document KWord: +Comment[cs]=Nový dokument aplikace KWord: +Comment[cy]=Dogfen newydd KWord: +Comment[da]=Nyt KWord-dokument: +Comment[de]=Neues KWord-Dokument: +Comment[el]=Νέο έγγραφο KWord: +Comment[eo]=Nova KWord-dokumento: +Comment[es]=Nuevo documento de KWord: +Comment[et]=Uus KWordi dokument: +Comment[eu]=KWord dokumentu berria: +Comment[fa]=سند جدید KWord: +Comment[fi]=Uusi KWord-asiakirja: +Comment[fr]=Nouveau document KWord : +Comment[fy]=Nij KWord-dokumint: +Comment[ga]=Cáipéis nua KWord: +Comment[gl]=Novo documento de KWord: +Comment[he]=מסמך חדש של KWord +Comment[hi]=नया के-वर्ड दस्तावेज़: +Comment[hr]=Novi KWord dokument: +Comment[hu]=Új KWord-dokumentum: +Comment[is]=Nýtt KWord skjal: +Comment[it]=Nuovo documento KWord: +Comment[ja]=新規 KWord ドキュメント: +Comment[km]=ឯកសារ KWord ថ្មី ៖ +Comment[lo]=ສ້າງເອກະສານຂໍ້ຄວາມ K ໃຫມ່ +Comment[lt]=Naujas KWord dokumentas: +Comment[lv]=Jauns KWord dokuments: +Comment[ms]=Dokumen KWord baru: +Comment[nb]=Nytt KWord-dokument: +Comment[nds]=Nieg KWord-Dokment: +Comment[ne]=नयाँ केडीई शब्द कागजात: +Comment[nl]=Nieuw KWord-document: +Comment[nn]=Nytt KWord-dokument: +Comment[pl]=Nowy dokument KWord: +Comment[pt]=Novo documento do KWord: +Comment[pt_BR]=Novo documento do KWord: +Comment[ru]=Новый документ KWord: +Comment[se]=Oddá KWord-dokumeanta: +Comment[sk]=Nový dokument KWord: +Comment[sl]=Nov dokument za KWord +Comment[sr]=Нови KWord-ов документ: +Comment[sr@Latn]=Novi KWord-ov dokument: +Comment[sv]=Nytt Kword-dokument +Comment[ta]=புதிய KWord ஆவணம் +Comment[tg]=Ҳуҷҷати Нав KWord: +Comment[tr]=Yeni KWord belgesi +Comment[uk]=Новий документ KWord: +Comment[uz]=Yangi KWord hujjati: +Comment[uz@cyrillic]=Янги KWord ҳужжати: +Comment[wa]=Novea documint KWord: +Comment[xh]=Uxwebhu Olutsha lwe KWord +Comment[zh_CN]=新建 KWord 文档: +Comment[zh_TW]=新建 KWord 文件; +Type=Link +URL=.source/TextDocument.kwt +Icon=kword_kwd diff --git a/templates/TextDocument.kwt b/templates/TextDocument.kwt Binary files differnew file mode 100644 index 00000000..690f2de6 --- /dev/null +++ b/templates/TextDocument.kwt diff --git a/templates/insert_ident_string.sh b/templates/insert_ident_string.sh new file mode 100644 index 00000000..4b651d47 --- /dev/null +++ b/templates/insert_ident_string.sh @@ -0,0 +1,37 @@ +#!/bin/bash +if [ $# -ne 2 ]; then + echo "Usage: $0 template mimetype" + exit 1 +fi +file=$1 +mime=$2 +if [ ! -e "$file" ]; then + echo "$file doesn't exist" + exit 2 +fi + +# Remove documentinfo.xml +mv $file $file.gz && gunzip $file.gz && tar --delete documentinfo.xml -f $file +gzip -n $file && mv -f $file.gz $file || exit 1 + +tmpfile=$file.tmp +echo -e -n '\x01f\x8b\x8\x8\x0\x0\x0\x0\x0\x3' > $tmpfile +echo -n "KOffice $mime" >> $tmpfile +echo -e -n '\x04\x06\x00' >> $tmpfile +#outsize=`stat $tmpfile | grep 'Size:' | gawk '{print $2;}'` +#dd if=$file of=$tmpfile bs=1 skip=10 seek=$outsize +#cut -b 11- $file --output-delimiter="" >> $tmpfile +tail --bytes=+11 $file >> $tmpfile + +echo "Checking ident string:" +file $tmpfile + +#length=${#mime} +#echo "Checking size (new one should be $((2+$length)) bigger)" +#ls -l $file $tmpfile + +echo "Checking contents:" +tar tvzf $tmpfile + +echo "Now do this if you're ok with the result: mv $tmpfile $file" + |