r16710 by jghali - move grid templates to their own category

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 6 22:46:11 UTC 2011


Author: jghali
Date: Wed Jul  6 22:46:11 2011
New Revision: 16710

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=16710
Log:
move grid templates to their own category

Modified:
    trunk/Scribus/resources/templates/template.de.xml
    trunk/Scribus/resources/templates/template.hu.xml
    trunk/Scribus/resources/templates/template.xml
    trunk/Scribus/scribus/nftrcreader.cpp
    trunk/Scribus/scribus/plugins/saveastemplateplugin/satdialog.cpp

Modified: trunk/Scribus/resources/templates/template.de.xml
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16710&path=/trunk/Scribus/resources/templates/template.de.xml
==============================================================================
--- trunk/Scribus/resources/templates/template.de.xml (original)
+++ trunk/Scribus/resources/templates/template.de.xml Wed Jul  6 22:46:11 2011
@@ -210,7 +210,7 @@
 		<author>vectorportal.com</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_A4_L</name>
 		<file>grid_br_a4_l/Brochure_Grid_A4_L.sla.gz</file>
 		<tnail>grid_br_a4_l/Brochure_Grid_A4_Ltn.png</tnail>
@@ -224,7 +224,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_A4_P</name>
 		<file>grid_br_a4_p/Brochure_Grid_A4_P.sla.gz</file>
 		<tnail>grid_br_a4_p/Brochure_Grid_A4_Ptn.png</tnail>
@@ -238,7 +238,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_975x85_in_L</name>
 		<file>grid_br_975x85in_l/Brochure_Grid_975x85in_L.sla.gz</file>
 		<tnail>grid_br_975x85in_l/Brochure_Grid_975x85_in_Ltn.png</tnail>
@@ -252,7 +252,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_975x85_in_P</name>
 		<file>grid_br_975x85_p/Brochure_Grid_975x85in_P.sla.gz</file>
 		<tnail>grid_br_975x85_p/Brochure_Grid_975x85_in_Ptn.png</tnail>
@@ -266,7 +266,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_375x85_in_P</name>
 		<file>grid_br_375x85_p/Brochure_Grid_375x85in_P.sla.gz</file>
 		<tnail>grid_br_375x85_p/Brochure_Grid_375x85_in_Ptn.png</tnail>
@@ -280,7 +280,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_375x85_in_L</name>
 		<file>grid_br_375x85_l/Brochure_Grid_375x85in_L.sla.gz</file>
 		<tnail>grid_br_375x85_l/Brochure_Grid_375x85_in_Landscapetn.png</tnail>
@@ -294,7 +294,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_100x210_P</name>
 		<file>grid_br_100x210_p/Brochure_Grid_100x210_P.sla.gz</file>
 		<tnail>grid_br_100x210_p/Brochure_Grid_100x210_Ptn.png</tnail>
@@ -308,7 +308,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_100x210_L</name>
 		<file>grid_br_100x210_l/Brochure_Grid_100x210_L.sla.gz</file>
 		<tnail>grid_br_100x210_l/Brochure_Grid_100x210_mm_Landscapetn.png</tnail>
@@ -322,7 +322,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_55x85in_P</name>
 		<file>grid_br_55x86in_p/Brochure_Grid_55x85in_P.sla.gz</file>
 		<tnail>grid_br_55x86in_p/Brochure_Grid_55x85in_Portraoittn.png</tnail>
@@ -336,7 +336,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_55x85in_L</name>
 		<file>grid_br_55x85in_l/Brochure_Grid_55x85in_L.sla.gz</file>
 		<tnail>grid_br_55x85in_l/Brochure_Grid_55x85_in_Ltn.png</tnail>
@@ -350,7 +350,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Poster">
+	<template category="Grids">
 		<name>Poster_Grid_A3</name>
 		<file>grid_poster_a3/Poster_Grid_A3.sla.gz</file>
 		<tnail>grid_poster_a3/Poster_Grid_A3tn.png</tnail>
@@ -364,7 +364,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Poster">
+	<template category="Grids">
 		<name>Poster_Grid_A2</name>
 		<file>grid_poster_a2/Poster_Grid_A2.sla.gz</file>
 		<tnail>grid_poster_a2/Poster_Grid_A2tn.png</tnail>
@@ -392,7 +392,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Poster">
+	<template category="Grids">
 		<name>Poster_Grid_A0</name>
 		<file>grid_poster_a0/Poster_Grid_A0.sla.gz</file>
 		<tnail>grid_poster_a0/Poster_Grid_A0tn.png</tnail>
@@ -406,7 +406,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_USL_P</name>
 		<file>grid_br_usl_p/Brochure_Grid_USL_P.sla.gz</file>
 		<tnail>grid_br_usl_p/Brochure_Grid_USL_Ptn.png</tnail>
@@ -420,7 +420,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_USL_L</name>
 		<file>grid_br_usl_l/Brochure_Grid_USL_L.sla.gz</file>
 		<tnail>grid_br_usl_l/Brochure_Grid_USL_Ltn.png</tnail>
@@ -434,7 +434,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_DIN_LANG_P</name>
 		<file>grid_br_dinl_p/Brochure_Grid_DIN_LANG_P.sla.gz</file>
 		<tnail>grid_br_dinl_p/Brochure_Grid_DIN_LANG_Ptn.png</tnail>
@@ -448,7 +448,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_DIN_LANG_L</name>
 		<file>grid_br_dinl_l/Brochure_Grid_DIN_LANG_L.sla.gz</file>
 		<tnail>grid_br_dinl_l/Brochure_Grid_DIN_LANG_Ltn.png</tnail>
@@ -462,7 +462,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_A5_P</name>
 		<file>grid_br_a5_p/Brochure_Grid_A5_P.sla.gz</file>
 		<tnail>grid_br_a5_p/Brochure_Grid_A5_Portraittn.png</tnail>
@@ -476,7 +476,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Broschüren">
+	<template category="Grids">
 		<name>Brochure_Grid_A5_L</name>
 		<file>grid_br_a5_l/Brochure_Grid_A5_L.sla.gz</file>
 		<tnail>grid_br_a5_l/Brochure_Grid_A5_Ltn.png</tnail>

Modified: trunk/Scribus/resources/templates/template.hu.xml
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16710&path=/trunk/Scribus/resources/templates/template.hu.xml
==============================================================================
--- trunk/Scribus/resources/templates/template.hu.xml (original)
+++ trunk/Scribus/resources/templates/template.hu.xml Wed Jul  6 22:46:11 2011
@@ -210,7 +210,7 @@
 		<author>vectorportal.com</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács A4 fekvő</name>
 		<file>grid_br_a4_l/Brochure_Grid_A4_L.sla.gz</file>
 		<tnail>grid_br_a4_l/Brochure_Grid_A4_Ltn.png</tnail>
@@ -224,7 +224,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács A4 álló</name>
 		<file>grid_br_a4_p/Brochure_Grid_A4_P.sla.gz</file>
 		<tnail>grid_br_a4_p/Brochure_Grid_A4_Ptn.png</tnail>
@@ -238,7 +238,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 975×85 in fekvő</name>
 		<file>grid_br_975x85in_l/Brochure_Grid_975x85in_L.sla.gz</file>
 		<tnail>grid_br_975x85in_l/Brochure_Grid_975x85_in_Ltn.png</tnail>
@@ -252,7 +252,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 975×85 in álló</name>
 		<file>grid_br_975x85_p/Brochure_Grid_975x85in_P.sla.gz</file>
 		<tnail>grid_br_975x85_p/Brochure_Grid_975x85_in_Ptn.png</tnail>
@@ -266,7 +266,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 375×85 in álló</name>
 		<file>grid_br_375x85_p/Brochure_Grid_375x85in_P.sla.gz</file>
 		<tnail>grid_br_375x85_p/Brochure_Grid_375x85_in_Ptn.png</tnail>
@@ -280,7 +280,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 375×85 in fekvő</name>
 		<file>grid_br_375x85_l/Brochure_Grid_375x85in_L.sla.gz</file>
 		<tnail>grid_br_375x85_l/Brochure_Grid_375x85_in_Landscapetn.png</tnail>
@@ -294,7 +294,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 100×210 álló</name>
 		<file>grid_br_100x210_p/Brochure_Grid_100x210_P.sla.gz</file>
 		<tnail>grid_br_100x210_p/Brochure_Grid_100x210_Ptn.png</tnail>
@@ -308,7 +308,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 100×210 fekvő</name>
 		<file>grid_br_100x210_l/Brochure_Grid_100x210_L.sla.gz</file>
 		<tnail>grid_br_100x210_l/Brochure_Grid_100x210_mm_Landscapetn.png</tnail>
@@ -322,7 +322,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 55×85 in álló</name>
 		<file>grid_br_55x86in_p/Brochure_Grid_55x85in_P.sla.gz</file>
 		<tnail>grid_br_55x86in_p/Brochure_Grid_55x85in_Portraoittn.png</tnail>
@@ -336,7 +336,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács 55×85 in fekvő</name>
 		<file>grid_br_55x85in_l/Brochure_Grid_55x85in_L.sla.gz</file>
 		<tnail>grid_br_55x85in_l/Brochure_Grid_55x85_in_Ltn.png</tnail>
@@ -350,7 +350,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Plakátok">
+	<template category="Rácsok">
 		<name>Plakát rács A3</name>
 		<file>grid_poster_a3/Poster_Grid_A3.sla.gz</file>
 		<tnail>grid_poster_a3/Poster_Grid_A3tn.png</tnail>
@@ -364,7 +364,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Plakátok">
+	<template category="Rácsok">
 		<name>Plakát rács A2</name>
 		<file>grid_poster_a2/Poster_Grid_A2.sla.gz</file>
 		<tnail>grid_poster_a2/Poster_Grid_A2tn.png</tnail>
@@ -378,7 +378,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Plakátok">
+	<template category="Rácsok">
 		<name>Plakát rács A1</name>
 		<file>grid_poster_a1/Poster_Grid_A1.sla.gz</file>
 		<tnail>grid_poster_a1/Poster_Grid_A1tn.png</tnail>
@@ -392,7 +392,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Plakátok">
+	<template category="Rácsok">
 		<name>Plakát rács A0</name>
 		<file>grid_poster_a0/Poster_Grid_A0.sla.gz</file>
 		<tnail>grid_poster_a0/Poster_Grid_A0tn.png</tnail>
@@ -406,7 +406,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács USL álló</name>
 		<file>grid_br_usl_p/Brochure_Grid_USL_P.sla.gz</file>
 		<tnail>grid_br_usl_p/Brochure_Grid_USL_Ptn.png</tnail>
@@ -420,7 +420,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács USL fekvő</name>
 		<file>grid_br_usl_l/Brochure_Grid_USL_L.sla.gz</file>
 		<tnail>grid_br_usl_l/Brochure_Grid_USL_Ltn.png</tnail>
@@ -434,7 +434,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács DIN LANG álló</name>
 		<file>grid_br_dinl_p/Brochure_Grid_DIN_LANG_P.sla.gz</file>
 		<tnail>grid_br_dinl_p/Brochure_Grid_DIN_LANG_Ptn.png</tnail>
@@ -448,7 +448,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács DIN LANG fekvő</name>
 		<file>grid_br_dinl_l/Brochure_Grid_DIN_LANG_L.sla.gz</file>
 		<tnail>grid_br_dinl_l/Brochure_Grid_DIN_LANG_Ltn.png</tnail>
@@ -462,7 +462,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács A5 álló</name>
 		<file>grid_br_a5_p/Brochure_Grid_A5_P.sla.gz</file>
 		<tnail>grid_br_a5_p/Brochure_Grid_A5_Portraittn.png</tnail>
@@ -476,7 +476,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brosúrák">
+	<template category="Rácsok">
 		<name>Brosúra rács A5 fekvő</name>
 		<file>grid_br_a5_l/Brochure_Grid_A5_L.sla.gz</file>
 		<tnail>grid_br_a5_l/Brochure_Grid_A5_Ltn.png</tnail>

Modified: trunk/Scribus/resources/templates/template.xml
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16710&path=/trunk/Scribus/resources/templates/template.xml
==============================================================================
--- trunk/Scribus/resources/templates/template.xml (original)
+++ trunk/Scribus/resources/templates/template.xml Wed Jul  6 22:46:11 2011
@@ -210,7 +210,7 @@
 		<author>vectorportal.com</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_A4_L</name>
 		<file>grid_br_a4_l/Brochure_Grid_A4_L.sla.gz</file>
 		<tnail>grid_br_a4_l/Brochure_Grid_A4_Ltn.png</tnail>
@@ -224,7 +224,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_A4_P</name>
 		<file>grid_br_a4_p/Brochure_Grid_A4_P.sla.gz</file>
 		<tnail>grid_br_a4_p/Brochure_Grid_A4_Ptn.png</tnail>
@@ -238,7 +238,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_975x85_in_L</name>
 		<file>grid_br_975x85in_l/Brochure_Grid_975x85in_L.sla.gz</file>
 		<tnail>grid_br_975x85in_l/Brochure_Grid_975x85_in_Ltn.png</tnail>
@@ -252,7 +252,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_975x85_in_P</name>
 		<file>grid_br_975x85_p/Brochure_Grid_975x85in_P.sla.gz</file>
 		<tnail>grid_br_975x85_p/Brochure_Grid_975x85_in_Ptn.png</tnail>
@@ -266,7 +266,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_375x85_in_P</name>
 		<file>grid_br_375x85_p/Brochure_Grid_375x85in_P.sla.gz</file>
 		<tnail>grid_br_375x85_p/Brochure_Grid_375x85_in_Ptn.png</tnail>
@@ -280,7 +280,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_375x85_in_L</name>
 		<file>grid_br_375x85_l/Brochure_Grid_375x85in_L.sla.gz</file>
 		<tnail>grid_br_375x85_l/Brochure_Grid_375x85_in_Landscapetn.png</tnail>
@@ -294,7 +294,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_100x210_P</name>
 		<file>grid_br_100x210_p/Brochure_Grid_100x210_P.sla.gz</file>
 		<tnail>grid_br_100x210_p/Brochure_Grid_100x210_Ptn.png</tnail>
@@ -308,7 +308,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_100x210_L</name>
 		<file>grid_br_100x210_l/Brochure_Grid_100x210_L.sla.gz</file>
 		<tnail>grid_br_100x210_l/Brochure_Grid_100x210_mm_Landscapetn.png</tnail>
@@ -322,7 +322,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_55x85in_P</name>
 		<file>grid_br_55x86in_p/Brochure_Grid_55x85in_P.sla.gz</file>
 		<tnail>grid_br_55x86in_p/Brochure_Grid_55x85in_Portraoittn.png</tnail>
@@ -336,7 +336,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_55x85in_L</name>
 		<file>grid_br_55x85in_l/Brochure_Grid_55x85in_L.sla.gz</file>
 		<tnail>grid_br_55x85in_l/Brochure_Grid_55x85_in_Ltn.png</tnail>
@@ -350,7 +350,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Posters">
+	<template category="Grids">
 		<name>Poster_Grid_A3</name>
 		<file>grid_poster_a3/Poster_Grid_A3.sla.gz</file>
 		<tnail>grid_poster_a3/Poster_Grid_A3tn.png</tnail>
@@ -364,7 +364,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Posters">
+	<template category="Grids">
 		<name>Poster_Grid_A2</name>
 		<file>grid_poster_a2/Poster_Grid_A2.sla.gz</file>
 		<tnail>grid_poster_a2/Poster_Grid_A2tn.png</tnail>
@@ -378,7 +378,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Posters">
+	<template category="Grids">
 		<name>Poster_Grid_A1</name>
 		<file>grid_poster_a1/Poster_Grid_A1.sla.gz</file>
 		<tnail>grid_poster_a1/Poster_Grid_A1tn.png</tnail>
@@ -392,7 +392,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Posters">
+	<template category="Grids">
 		<name>Poster_Grid_A0</name>
 		<file>grid_poster_a0/Poster_Grid_A0.sla.gz</file>
 		<tnail>grid_poster_a0/Poster_Grid_A0tn.png</tnail>
@@ -406,7 +406,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_USL_P</name>
 		<file>grid_br_usl_p/Brochure_Grid_USL_P.sla.gz</file>
 		<tnail>grid_br_usl_p/Brochure_Grid_USL_Ptn.png</tnail>
@@ -420,7 +420,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_USL_L</name>
 		<file>grid_br_usl_l/Brochure_Grid_USL_L.sla.gz</file>
 		<tnail>grid_br_usl_l/Brochure_Grid_USL_Ltn.png</tnail>
@@ -434,7 +434,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_DIN_LANG P</name>
 		<file>grid_br_dinl_p/Brochure_Grid_DIN_LANG_P.sla.gz</file>
 		<tnail>grid_br_dinl_p/Brochure_Grid_DIN_LANG_Ptn.png</tnail>
@@ -448,7 +448,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_DIN_LANG_L</name>
 		<file>grid_br_dinl_l/Brochure_Grid_DIN_LANG_L.sla.gz</file>
 		<tnail>grid_br_dinl_l/Brochure_Grid_DIN_LANG_Ltn.png</tnail>
@@ -462,7 +462,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_A5_P</name>
 		<file>grid_br_a5_p/Brochure_Grid_A5_P.sla.gz</file>
 		<tnail>grid_br_a5_p/Brochure_Grid_A5_Portraittn.png</tnail>
@@ -476,7 +476,7 @@
 		<author>Christoph Schäfer</author>
 		<email></email>
 	</template>
-	<template category="Brochures">
+	<template category="Grids">
 		<name>Brochure_Grid_A5_L</name>
 		<file>grid_br_a5_l/Brochure_Grid_A5_L.sla.gz</file>
 		<tnail>grid_br_a5_l/Brochure_Grid_A5_Ltn.png</tnail>

Modified: trunk/Scribus/scribus/nftrcreader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16710&path=/trunk/Scribus/scribus/nftrcreader.cpp
==============================================================================
--- trunk/Scribus/scribus/nftrcreader.cpp (original)
+++ trunk/Scribus/scribus/nftrcreader.cpp Wed Jul  6 22:46:11 2011
@@ -200,27 +200,28 @@
 {
 	// en will be used in template.xml and it will be then replaced with the lang when used for users
 	// to get the categories in their language.
-	cats.insert(QString("Newsletters"), QObject::tr("Newsletters"));
-	cats.insert(QString("Brochures")  , QObject::tr("Brochures"));
-	cats.insert(QString("Catalogs")   , QObject::tr("Catalogs"));
-	cats.insert(QString("Flyers")     , QObject::tr("Flyers"));
-	cats.insert(QString("Signs")      , QObject::tr("Signs"));
-	cats.insert(QString("Cards")      , QObject::tr("Cards"));
-	cats.insert(QString("Letterheads"), QObject::tr("Letterheads"));
-	cats.insert(QString("Envelopes")  , QObject::tr("Envelopes"));
-	cats.insert(QString("Business Cards"), QObject::tr("Business Cards"));
-	cats.insert(QString("Calendars")  , QObject::tr("Calendars"));
-	cats.insert(QString("Advertisements"), QObject::tr("Advertisements"));
-	cats.insert(QString("Labels")     , QObject::tr("Labels"));
-	cats.insert(QString("Menus")      , QObject::tr("Menus"));
-	cats.insert(QString("Programs")   , QObject::tr("Programs"));
-	cats.insert(QString("PDF Forms")  , QObject::tr("PDF Forms"));
-	cats.insert(QString("PDF Presentations") , QObject::tr("PDF Presentations"));
-	cats.insert(QString("Magazines")  , QObject::tr("Magazines"));
-	cats.insert(QString("Posters")    , QObject::tr("Posters"));
-	cats.insert(QString("Announcements") , QObject::tr("Announcements"));
+	cats.insert(QString("Advertisements"), QObject::tr("Advertisements"));
+	cats.insert(QString("Announcements") , QObject::tr("Announcements"));
+	cats.insert(QString("Brochures")  , QObject::tr("Brochures"));
+	cats.insert(QString("Business Cards"), QObject::tr("Business Cards"));
+	cats.insert(QString("Calendars")  , QObject::tr("Calendars"));
+	cats.insert(QString("Cards")      , QObject::tr("Cards"));
+	cats.insert(QString("Catalogs")   , QObject::tr("Catalogs"));
+	cats.insert(QString("Envelopes")  , QObject::tr("Envelopes"));
+	cats.insert(QString("Flyers")     , QObject::tr("Flyers"));
+	cats.insert(QString("Folds")      , QObject::tr("Folds"));
+	cats.insert(QString("Grids")      , QObject::tr("Grids"));
+	cats.insert(QString("Labels")     , QObject::tr("Labels"));
+	cats.insert(QString("Letterheads"), QObject::tr("Letterheads"));
+	cats.insert(QString("Magazines")  , QObject::tr("Magazines"));
+	cats.insert(QString("Media Cases")  , QObject::tr("Media Cases"));
+	cats.insert(QString("Menus")      , QObject::tr("Menus"));
+	cats.insert(QString("Newsletters"), QObject::tr("Newsletters"));
+	cats.insert(QString("Own Templates"), QObject::tr("Own Templates"));
+	cats.insert(QString("PDF Forms")  , QObject::tr("PDF Forms"));
+	cats.insert(QString("PDF Presentations") , QObject::tr("PDF Presentations"));
+	cats.insert(QString("Posters")    , QObject::tr("Posters"));
+	cats.insert(QString("Programs")   , QObject::tr("Programs"));
+	cats.insert(QString("Signs")      , QObject::tr("Signs"));
 	cats.insert(QString("Text Documents"), QObject::tr("Text Documents"));
-	cats.insert(QString("Folds")        , QObject::tr("Folds"));
-	cats.insert(QString("Media Cases")  , QObject::tr("Media Cases"));
-	cats.insert(QString("Own Templates"), QObject::tr("Own Templates"));
-}
+}

Modified: trunk/Scribus/scribus/plugins/saveastemplateplugin/satdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=16710&path=/trunk/Scribus/scribus/plugins/saveastemplateplugin/satdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/saveastemplateplugin/satdialog.cpp (original)
+++ trunk/Scribus/scribus/plugins/saveastemplateplugin/satdialog.cpp Wed Jul  6 22:46:11 2011
@@ -150,29 +150,30 @@
 {
 	// en will be used in template.xml and it will be then replaced with the lang when used for users
 	// to get the categories in their language.
-	cats.insert(QString("Newsletters"), QObject::tr("Newsletters"));
+	cats.insert(QString("Advertisements"), QObject::tr("Advertisements"));
+	cats.insert(QString("Announcements") , QObject::tr("Announcements"));
 	cats.insert(QString("Brochures")  , QObject::tr("Brochures"));
-	cats.insert(QString("Catalogs")   , QObject::tr("Catalogs"));
-	cats.insert(QString("Flyers")     , QObject::tr("Flyers"));
-	cats.insert(QString("Signs")      , QObject::tr("Signs"));
-	cats.insert(QString("Cards")      , QObject::tr("Cards"));
-	cats.insert(QString("Letterheads"), QObject::tr("Letterheads"));
-	cats.insert(QString("Envelopes")  , QObject::tr("Envelopes"));
 	cats.insert(QString("Business Cards"), QObject::tr("Business Cards"));
 	cats.insert(QString("Calendars")  , QObject::tr("Calendars"));
-	cats.insert(QString("Advertisements"), QObject::tr("Advertisements"));
+	cats.insert(QString("Cards")      , QObject::tr("Cards"));
+	cats.insert(QString("Catalogs")   , QObject::tr("Catalogs"));
+	cats.insert(QString("Envelopes")  , QObject::tr("Envelopes"));
+	cats.insert(QString("Flyers")     , QObject::tr("Flyers"));
+	cats.insert(QString("Grids")      , QObject::tr("Grids"));
+	cats.insert(QString("Folds")      , QObject::tr("Folds"));
 	cats.insert(QString("Labels")     , QObject::tr("Labels"));
+	cats.insert(QString("Letterheads"), QObject::tr("Letterheads"));
+	cats.insert(QString("Magazines")  , QObject::tr("Magazines"));
+	cats.insert(QString("Media Cases")  , QObject::tr("Media Cases"));
 	cats.insert(QString("Menus")      , QObject::tr("Menus"));
-	cats.insert(QString("Programs")   , QObject::tr("Programs"));
+	cats.insert(QString("Newsletters"), QObject::tr("Newsletters"));
+	cats.insert(QString("Own Templates"), QObject::tr("Own Templates"));
 	cats.insert(QString("PDF Forms")  , QObject::tr("PDF Forms"));
 	cats.insert(QString("PDF Presentations") , QObject::tr("PDF Presentations"));
-	cats.insert(QString("Magazines")  , QObject::tr("Magazines"));
 	cats.insert(QString("Posters")    , QObject::tr("Posters"));
-	cats.insert(QString("Announcements") , QObject::tr("Announcements"));
+	cats.insert(QString("Programs")   , QObject::tr("Programs"));
+	cats.insert(QString("Signs")      , QObject::tr("Signs"));
 	cats.insert(QString("Text Documents"), QObject::tr("Text Documents"));
-	cats.insert(QString("Folds")        , QObject::tr("Folds"));
-	cats.insert(QString("Media Cases")  , QObject::tr("Media Cases"));
-	cats.insert(QString("Own Templates"), QObject::tr("Own Templates"));
 
 	QString scribusHome  = ScPaths::getApplicationDataDir();
 	QString scribusShare = ScPaths::instance().templateDir();




More information about the scribus-commit mailing list