[kde-doc-english] [kpeg] /: Rename pege -> kpeg consequently

Johannes Obermayr johannesobermayr at gmx.de
Sat Oct 11 18:38:29 UTC 2014


Git commit 23d8ef74d37763cea2dfe063915637407f77050d by Johannes Obermayr.
Committed on 12/09/2010 at 09:43.
Pushed by nalvarez into branch 'master'.

Rename pege -> kpeg consequently

svn path=/trunk/playground/games/doc/pege/; revision=1174404

M  +1    -1    Messages.sh
M  +8    -8    doc/index.docbook
M  +1    -1    src/CMakeLists.txt
R  +0    -0    src/kpegui.rc [from: src/pegeui.rc - 100% similarity]
M  +1    -1    src/main.cpp
M  +1    -1    themes/CMakeLists.txt

http://commits.kde.org/kpeg/23d8ef74d37763cea2dfe063915637407f77050d

diff --git a/Messages.sh b/Messages.sh
index 0fb2bf4..31419c5 100644
--- a/Messages.sh
+++ b/Messages.sh
@@ -9,4 +9,4 @@ $EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
 
 # call xgettext on all source files. If your sources have other filename
 # extensions besides .cc, .cpp, and .h, just add them in the find call.
-$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/pege.pot
+$XGETTEXT `find . -name \*.cc -o -name \*.cpp -o -name \*.h` -o $podir/kpeg.pot
diff --git a/doc/index.docbook b/doc/index.docbook
index 71d4a50..0bd32dd 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -1,7 +1,7 @@
 <?xml version="1.0" ?>
 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
-  <!ENTITY pege "<application>Peg-E</application>">
-  <!ENTITY kappname "&pege;">
+  <!ENTITY kpeg "<application>KPeg</application>">
+  <!ENTITY kappname "&kpeg;">
   <!ENTITY package "kdegames">
   <!ENTITY % addindex "IGNORE">
   <!ENTITY % English "INCLUDE">
@@ -9,7 +9,7 @@
 
 <book lang="&language;">
 	<bookinfo>
-		<title>The &pege; Handbook</title>
+		<title>The &kpeg; Handbook</title>
 
 		<authorgroup>
 			<author>
@@ -34,7 +34,7 @@
 
 		<abstract>
 			<para>
-				&pege; is a peg elimination game.
+				&kpeg; is a peg elimination game.
 			</para>
 		</abstract>
 
@@ -42,7 +42,7 @@
 			<keyword>KDE</keyword>
 			<keyword>kdegames</keyword>
 			<keyword>game</keyword>
-			<keyword>Peg-E</keyword>
+			<keyword>KPeg</keyword>
 			<keyword>board</keyword>
 		</keywordset>
 
@@ -51,7 +51,7 @@
 	<chapter id="introduction">
 		<title>Introduction</title>
 		<para>
-			&pege; is a peg elimination game. The object of the game is to remove all but one peg from the board.
+			&kpeg; is a peg elimination game. The object of the game is to remove all but one peg from the board.
 		</para>
 	</chapter>
 
@@ -65,7 +65,7 @@
 	<chapter id="configuration">
 		<title>Game Configuration</title>
 		<para>
-			The &pege; configuration dialog allows you to select visual themes for &pege;.
+			The &kpeg; configuration dialog allows you to select visual themes for &kpeg;.
 		</para>
 		<para>
 			To select a new theme simply choose the theme's name from the selection list.
@@ -86,7 +86,7 @@
 
 	<chapter id="credits">
 		<title>Credits and License</title>
-		<para>&pege;</para>
+		<para>&kpeg;</para>
 		<para>
 			Program copyright 2009 Graeme Gott <email>graeme at gottcode.org</email>
 		</para>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8bbc56f..74b3939 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -20,4 +20,4 @@ target_link_libraries(kpeg ${KDEGAMES_LIBRARY} ${KDE4_KDEUI_LIBS})
 
 install(TARGETS kpeg ${INSTALL_TARGETS_DEFAULT_ARGS})
 install(FILES kpeg.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install(FILES pegeui.rc DESTINATION  ${DATA_INSTALL_DIR}/pege)
+install(FILES kpegui.rc DESTINATION  ${DATA_INSTALL_DIR}/kpeg)
diff --git a/src/pegeui.rc b/src/kpegui.rc
similarity index 100%
rename from src/pegeui.rc
rename to src/kpegui.rc
diff --git a/src/main.cpp b/src/main.cpp
index f784fec..ca4802f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -34,7 +34,7 @@ static const char version[] = "0.2";
 int main(int argc, char* argv[])
 {
   
-    KAboutData aboutData( "pege", 0, ki18n("KPeg"), 
+    KAboutData aboutData( "kpeg", 0, ki18n("KPeg"),
     version, description, KAboutData::License_GPL, notice);
     aboutData.addAuthor(ki18n("Graeme Gott"), ki18n("Original author"), "graeme at gottcode.org");
     aboutData.addAuthor(ki18n("Ronny Yabar Aizcorbe"), ki18n("Developer and current maintainer"), "ronnycontacto at gmail.com");			 
diff --git a/themes/CMakeLists.txt b/themes/CMakeLists.txt
index a9943f4..6524c3f 100644
--- a/themes/CMakeLists.txt
+++ b/themes/CMakeLists.txt
@@ -3,4 +3,4 @@ file(GLOB themes
 	"*.desktop"
 	"*.png"
 )
-install(FILES ${themes} DESTINATION ${DATA_INSTALL_DIR}/pege/themes)
+install(FILES ${themes} DESTINATION ${DATA_INSTALL_DIR}/kpeg/themes)



More information about the kde-doc-english mailing list