diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/.gitignore | 2 | ||||
-rw-r--r-- | desktop/CMakeLists.txt | 98 | ||||
-rw-r--r-- | desktop/colobot.desktop.in | 7 | ||||
-rw-r--r-- | desktop/colobot.ini | 4 | ||||
-rw-r--r-- | desktop/colobot.pod | 48 | ||||
-rw-r--r-- | desktop/colobot.svg | 239 | ||||
-rwxr-xr-x | desktop/create_desktop_file.sh | 18 | ||||
-rw-r--r-- | desktop/po/colobot-desktop.pot | 135 | ||||
-rw-r--r-- | desktop/po/fr.po | 153 | ||||
-rw-r--r-- | desktop/po4a.cfg | 5 |
10 files changed, 709 insertions, 0 deletions
diff --git a/desktop/.gitignore b/desktop/.gitignore new file mode 100644 index 0000000..0e770f7 --- /dev/null +++ b/desktop/.gitignore @@ -0,0 +1,2 @@ +lang/ + diff --git a/desktop/CMakeLists.txt b/desktop/CMakeLists.txt new file mode 100644 index 0000000..23f2280 --- /dev/null +++ b/desktop/CMakeLists.txt @@ -0,0 +1,98 @@ +cmake_minimum_required(VERSION 2.8) + +# Install Desktop Entry file +set(COLOBOT_DESKTOP_FILE colobot.desktop) +add_custom_command( + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${COLOBOT_DESKTOP_FILE} + COMMAND ./create_desktop_file.sh > ${CMAKE_CURRENT_BINARY_DIR}/${COLOBOT_DESKTOP_FILE} + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" + COMMENT "Build ${COLOBOT_DESKTOP_FILE}" + ) +add_custom_target(desktopfile ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${COLOBOT_DESKTOP_FILE}) +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${COLOBOT_DESKTOP_FILE} + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/ + ) + +# Install Icon +set(COLOBOT_ICON_FILE colobot.svg) +install( + FILES ${CMAKE_CURRENT_SOURCE_DIR}/${COLOBOT_ICON_FILE} + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps/ + ) + +# Render SVG icon in various sizes +find_program(RSVG_CONVERT rsvg-convert) +if(RSVG_CONVERT) + foreach(PNGSIZE "48" "32" "16") + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PNGSIZE}) + add_custom_target(resize_icon_${PNGSIZE} ALL + COMMAND ${RSVG_CONVERT} -w ${PNGSIZE} -h ${PNGSIZE} ${CMAKE_CURRENT_SOURCE_DIR}/${COLOBOT_ICON_FILE} + > ${CMAKE_CURRENT_BINARY_DIR}/${PNGSIZE}/colobot.png + ) + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${PNGSIZE}/colobot.png + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/${PNGSIZE}x${PNGSIZE}/apps/ + ) + endforeach() +endif() + +# Create manpage from pod-formatted file +find_program(POD2MAN pod2man) +if(POD2MAN AND (NOT MSYS)) + set(COLOBOT_MANPAGE_SECTION 6) + + macro(podman) + cmake_parse_arguments(PM "" "PODFILE;LOCALE;" "" ${ARGN}) + if(PM_LOCALE) + # This copes with the fact that english has no "/LANG" in the paths and filenames. + set(SLASHLOCALE /${PM_LOCALE}) + endif() + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}${SLASHLOCALE}) + add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}${SLASHLOCALE}/colobot.${COLOBOT_MANPAGE_SECTION} + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${PM_PODFILE} + COMMAND ${POD2MAN} ARGS --section=${COLOBOT_MANPAGE_SECTION} + --center="Colobot" --stderr --utf8 + --release="${COLOBOT_VERSION_FULL}" + ${CMAKE_CURRENT_SOURCE_DIR}/${PM_PODFILE} + ${CMAKE_CURRENT_BINARY_DIR}${SLASHLOCALE}/colobot.${COLOBOT_MANPAGE_SECTION} + COMMENT "Create ${SLASHLOCALE}/colobot.${COLOBOT_MANPAGE_SECTION} manpage" + ) + add_custom_target(man${PM_LOCALE} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}${SLASHLOCALE}/colobot.${COLOBOT_MANPAGE_SECTION}) + + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}${SLASHLOCALE}/colobot.${COLOBOT_MANPAGE_SECTION} + DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man${SLASHLOCALE}/man${COLOBOT_MANPAGE_SECTION}/ ) + + add_dependencies(man man${PM_LOCALE}) + endmacro() + + # Create the english manpage + podman(PODFILE colobot.pod) + +endif() + +# Translate translatable material +find_program(PO4A po4a) + +if(PO4A) + add_custom_target(desktop_po4a + COMMAND ${PO4A} po4a.cfg + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + ) + add_dependencies(desktopfile desktop_po4a) + + if(POD2MAN) + add_custom_target(man_po4a + COMMAND ${PO4A} po4a.cfg + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + ) + add_dependencies(man man_po4a) + file(GLOB LINGUAS_PO RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/po/ ${CMAKE_CURRENT_SOURCE_DIR}/po/*.po) + string(REGEX REPLACE ".po$" "" LINGUAS ${LINGUAS_PO}) + foreach(LOCALE ${LINGUAS}) + podman(PODFILE lang/${LOCALE}/colobot.pod LOCALE ${LOCALE}) + endforeach() + endif() +endif() + diff --git a/desktop/colobot.desktop.in b/desktop/colobot.desktop.in new file mode 100644 index 0000000..9b48d87 --- /dev/null +++ b/desktop/colobot.desktop.in @@ -0,0 +1,7 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=colobot +Icon=colobot +Categories=Education;Robotics;Game;AdventureGame;StrategyGame; + diff --git a/desktop/colobot.ini b/desktop/colobot.ini new file mode 100644 index 0000000..27193df --- /dev/null +++ b/desktop/colobot.ini @@ -0,0 +1,4 @@ +Name="Colobot" +GenericName="Game to learn programming" +Comment="Colonize with bots" + diff --git a/desktop/colobot.pod b/desktop/colobot.pod new file mode 100644 index 0000000..6a25f70 --- /dev/null +++ b/desktop/colobot.pod @@ -0,0 +1,48 @@ +=encoding utf8 + +=head1 NAME + +colobot - educational programming strategy game + +=head1 SYNOPSIS + +B<colobot> [B<-datadir> I<path>] [B<-debug>] [B<-loglevel> I<level>] [B<-language> I<lang>] + +=head1 DESCRIPTION + +Colobot (Colonize with Bots) is an educational game aiming to teach +programming through entertainment. You are playing as an astronaut on a +journey with robot helpers to find a planet for colonization. It features 3D +real-time graphics and a C++ and Java-like, object-oriented language, CBOT, +which can be used to program the robots available in the game. + +=head1 OPTIONS + +=over 8 + +=item B<-help> + +Display a short help text + +=item B<-datadir> F</path/to/data/> + +Set custom data directory path + +=item B<-debug> + +Enable debug mode (more info printed in logs) + +=item B<-loglevel> I<level> + +Set log level. Possible choices are: trace, debug, info, warn, error, none. + +=item B<-language> I<lang> + +Set language. Note that you can also fill the B<LANG> environment variable. + +=back + +=head1 AUTHOR + +This manpage was written by Didier Raboud <S<odyx@debian.org>>. + diff --git a/desktop/colobot.svg b/desktop/colobot.svg new file mode 100644 index 0000000..ef5949f --- /dev/null +++ b/desktop/colobot.svg @@ -0,0 +1,239 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + version="1.1" + width="48" + height="48" + id="colobot-logo" + style="enable-background:new"> + <title + id="title3020">Colobot icon</title> + <metadata + id="metadata3061"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title>Colobot icon</dc:title> + <dc:date>2012-12-27</dc:date> + <dc:rights> + <cc:Agent> + <dc:title></dc:title> + </cc:Agent> + </dc:rights> + <dc:creator> + <cc:Agent> + <dc:title>Polish Portal of Colobot</dc:title> + </cc:Agent> + </dc:creator> + <cc:license + rdf:resource="http://www.gnu.org/licenses/gpl-3.0-standalone.html" /> + <dc:description>Three spheres symbolizing planets.</dc:description> + <dc:contributor> + <cc:Agent> + <dc:title>Didier Raboud <odyx@debian.org></dc:title> + </cc:Agent> + </dc:contributor> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs3059"> + <linearGradient + id="linearGradient4108"> + <stop + id="stop4110" + style="stop-color:#008000;stop-opacity:1" + offset="0" /> + <stop + id="stop4112" + style="stop-color:#000000;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4096"> + <stop + id="stop4098" + style="stop-color:#00ff00;stop-opacity:1" + offset="0" /> + <stop + id="stop4100" + style="stop-color:#00ff00;stop-opacity:0" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4108-5"> + <stop + id="stop4110-2" + style="stop-color:#000080;stop-opacity:1" + offset="0" /> + <stop + id="stop4112-8" + style="stop-color:#000000;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4096-0"> + <stop + id="stop4098-3" + style="stop-color:#0000ff;stop-opacity:1" + offset="0" /> + <stop + id="stop4100-0" + style="stop-color:#0000ff;stop-opacity:0" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4108-5-2"> + <stop + id="stop4110-2-3" + style="stop-color:#500000;stop-opacity:1" + offset="0" /> + <stop + id="stop4112-8-6" + style="stop-color:#000000;stop-opacity:1" + offset="1" /> + </linearGradient> + <linearGradient + id="linearGradient4096-0-3"> + <stop + id="stop4098-3-7" + style="stop-color:#ff0000;stop-opacity:1" + offset="0" /> + <stop + id="stop4100-0-3" + style="stop-color:#ff0000;stop-opacity:0" + offset="1" /> + </linearGradient> + <radialGradient + cx="54.8265" + cy="57.607162" + r="56.05489" + fx="54.8265" + fy="57.607162" + id="radialGradient4416" + xlink:href="#linearGradient4108-5-2" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.02726606,1.3911392,-1.8797791,0.03684323,176.62558,-41.562143)" /> + <radialGradient + cx="63.5" + cy="37.5" + r="32" + fx="63.5" + fy="37.5" + id="radialGradient4418" + xlink:href="#linearGradient4096-0-3" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.796875,6.7936132,3.6927801)" /> + <radialGradient + cx="54.8265" + cy="57.607162" + r="56.05489" + fx="54.8265" + fy="57.607162" + id="radialGradient4420" + xlink:href="#linearGradient4108" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.02726606,1.3911392,-1.8797791,0.03684323,176.62558,-41.562143)" /> + <radialGradient + cx="63.5" + cy="37.5" + r="32" + fx="63.5" + fy="37.5" + id="radialGradient4422" + xlink:href="#linearGradient4096" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.796875,6.7936132,3.6927801)" /> + <radialGradient + cx="54.8265" + cy="57.607162" + r="56.05489" + fx="54.8265" + fy="57.607162" + id="radialGradient4424" + xlink:href="#linearGradient4108-5" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.02726606,1.3911392,-1.8797791,0.03684323,176.62558,-41.562143)" /> + <radialGradient + cx="63.5" + cy="37.5" + r="32" + fx="63.5" + fy="37.5" + id="radialGradient4426" + xlink:href="#linearGradient4096-0" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,0.796875,6.7936132,3.6927801)" /> + </defs> + <path + d="m 35.001373,17.978157 a 17.137194,11.839104 0 1 1 -34.27438587,0 17.137194,11.839104 0 1 1 34.27438587,0 z" + id="path3068" + style="opacity:0;color:#000000;fill:#800000;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:1.45397186;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:11.63177575, 11.63177575;stroke-dashoffset:11.63177575;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <g + transform="matrix(1.4527314,0,0,1.4552231,61.790796,7.2674667)" + id="layer1" + style="display:inline"> + <g + transform="translate(-64.376292,0)" + id="g4403"> + <g + transform="matrix(0.1151419,-0.11259991,0.11259991,0.1151419,78.136911,8.9624182)" + id="g4122-3-7" + style="stroke-width:6.52155399;stroke-miterlimit:4;stroke-dasharray:none;display:inline"> + <g + transform="translate(-232.5787,-246.03551)" + id="g4259-8"> + <path + d="m 128.20539,62.567638 c 0,29.922729 -24.25716,54.179892 -54.179886,54.179892 -29.922729,0 -54.179893,-24.257163 -54.179893,-54.179892 0,-29.922729 24.257164,-54.1798929 54.179893,-54.1798929 29.922726,0 54.179886,24.2571639 54.179886,54.1798929 z" + id="path1873-0-2" + style="fill:url(#radialGradient4416);fill-opacity:1;fill-rule:nonzero;stroke:#808000;stroke-width:4.65700197;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> + <path + d="m 102.29361,33.575593 c 0,14.083261 -14.326885,25.5 -31.999997,25.5 -17.673112,0 -32,-11.416739 -32,-25.5 0,-14.083261 14.326888,-25.4999999 32,-25.4999999 17.673112,0 31.999997,11.4167389 31.999997,25.4999999 z" + id="path2814-0-8" + style="fill:url(#radialGradient4418);fill-opacity:1;fill-rule:nonzero;stroke:none" /> + </g> + </g> + <g + transform="matrix(0.1151419,-0.11259991,0.11259991,0.1151419,15.374404,17.677401)" + id="g4122" + style="stroke-width:6.52155399;stroke-miterlimit:4;stroke-dasharray:none"> + <path + d="m 128.20539,62.567638 c 0,29.922729 -24.25716,54.179892 -54.179886,54.179892 -29.922729,0 -54.179893,-24.257163 -54.179893,-54.179892 0,-29.922729 24.257164,-54.1798929 54.179893,-54.1798929 29.922726,0 54.179886,24.2571639 54.179886,54.1798929 z" + id="path1873" + style="fill:url(#radialGradient4420);fill-opacity:1;fill-rule:nonzero;stroke:#808000;stroke-width:4.65700197;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> + <path + d="m 102.29361,33.575593 c 0,14.083261 -14.326885,25.5 -31.999997,25.5 -17.673112,0 -32,-11.416739 -32,-25.5 0,-14.083261 14.326888,-25.4999999 32,-25.4999999 17.673112,0 31.999997,11.4167389 31.999997,25.4999999 z" + id="path2814" + style="fill:url(#radialGradient4422);fill-opacity:1;fill-rule:nonzero;stroke:none" /> + </g> + <g + transform="matrix(0.1151419,-0.11259991,0.11259991,0.1151419,57.006572,14.417637)" + id="g4122-3" + style="stroke-width:6.52155399;stroke-miterlimit:4;stroke-dasharray:none;display:inline"> + <g + transform="translate(-136.63091,-98.230764)" + id="g4259"> + <path + d="m 128.20539,62.567638 c 0,29.922729 -24.25716,54.179892 -54.179886,54.179892 -29.922729,0 -54.179893,-24.257163 -54.179893,-54.179892 0,-29.922729 24.257164,-54.1798929 54.179893,-54.1798929 29.922726,0 54.179886,24.2571639 54.179886,54.1798929 z" + id="path1873-0" + style="fill:url(#radialGradient4424);fill-opacity:1;fill-rule:nonzero;stroke:#808000;stroke-width:4.65700197;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" /> + <path + d="m 102.29361,33.575593 c 0,14.083261 -14.326885,25.5 -31.999997,25.5 -17.673112,0 -32,-11.416739 -32,-25.5 0,-14.083261 14.326888,-25.4999999 32,-25.4999999 17.673112,0 31.999997,11.4167389 31.999997,25.4999999 z" + id="path2814-0" + style="fill:url(#radialGradient4426);fill-opacity:1;fill-rule:nonzero;stroke:none" /> + </g> + </g> + </g> + </g> +</svg> + diff --git a/desktop/create_desktop_file.sh b/desktop/create_desktop_file.sh new file mode 100755 index 0000000..8f3d15b --- /dev/null +++ b/desktop/create_desktop_file.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +# Create colobot.desktop from various colobot.ini's + +fname=colobot.ini + +cat colobot.desktop.in + +linguas=$([ ! -d lang ] || ( cd lang ; ls)); + +for type in Name GenericName Comment; do + egrep "^$type=" $fname | sed -e "s/^$type=\"\(.*\)\"$/$type=\1/g" + for l in $linguas; do + egrep "^$type=" lang/$l/$fname | sed -e "s/^$type=\"\(.*\)\"$/$type[$l]=\1/g" + done +done diff --git a/desktop/po/colobot-desktop.pot b/desktop/po/colobot-desktop.pot new file mode 100644 index 0000000..ac6bbd2 --- /dev/null +++ b/desktop/po/colobot-desktop.pot @@ -0,0 +1,135 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-01-20 14:26+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: colobot.ini:1 +#, no-wrap +msgid "Colobot" +msgstr "" + +#: colobot.ini:2 +#, no-wrap +msgid "Game to learn programming" +msgstr "" + +#: colobot.ini:3 +#, no-wrap +msgid "Colonize with bots" +msgstr "" + +#. type: =head1 +#: colobot.pod:3 +msgid "NAME" +msgstr "" + +#. type: textblock +#: colobot.pod:5 +msgid "colobot - educational programming strategy game" +msgstr "" + +#. type: =head1 +#: colobot.pod:7 +msgid "SYNOPSIS" +msgstr "" + +#. type: textblock +#: colobot.pod:9 +msgid "" +"B<colobot> [B<-datadir> I<path>] [B<-debug>] [B<-loglevel> I<level>] " +"[B<-language> I<lang>]" +msgstr "" + +#. type: =head1 +#: colobot.pod:11 +msgid "DESCRIPTION" +msgstr "" + +#. type: textblock +#: colobot.pod:13 +msgid "" +"Colobot (Colonize with Bots) is an educational game aiming to teach " +"programming through entertainment. You are playing as an astronaut on a " +"journey with robot helpers to find a planet for colonization. It features 3D " +"real-time graphics and a C++ and Java-like, object-oriented language, CBOT, " +"which can be used to program the robots available in the game." +msgstr "" + +#. type: =head1 +#: colobot.pod:19 +msgid "OPTIONS" +msgstr "" + +#. type: =item +#: colobot.pod:23 +msgid "B<-help>" +msgstr "" + +#. type: textblock +#: colobot.pod:25 +msgid "Display a short help text" +msgstr "" + +#. type: =item +#: colobot.pod:27 +msgid "B<-datadir> F</path/to/data/>" +msgstr "" + +#. type: textblock +#: colobot.pod:29 +msgid "Set custom data directory path" +msgstr "" + +#. type: =item +#: colobot.pod:31 +msgid "B<-debug>" +msgstr "" + +#. type: textblock +#: colobot.pod:33 +msgid "Enable debug mode (more info printed in logs)" +msgstr "" + +#. type: =item +#: colobot.pod:35 +msgid "B<-loglevel> I<level>" +msgstr "" + +#. type: textblock +#: colobot.pod:37 +msgid "Set log level. Possible choices are: trace, debug, info, warn, error, none." +msgstr "" + +#. type: =item +#: colobot.pod:39 +msgid "B<-language> I<lang>" +msgstr "" + +#. type: textblock +#: colobot.pod:41 +msgid "Set language. Note that you can also fill the B<LANG> environment variable." +msgstr "" + +#. type: =head1 +#: colobot.pod:45 +msgid "AUTHOR" +msgstr "" + +#. type: textblock +#: colobot.pod:47 +msgid "This manpage was written by Didier Raboud <S<odyx@debian.org>>." +msgstr "" + diff --git a/desktop/po/fr.po b/desktop/po/fr.po new file mode 100644 index 0000000..40fa9e1 --- /dev/null +++ b/desktop/po/fr.po @@ -0,0 +1,153 @@ +# French translations for PACKAGE package +# Copyright (C) 2012 Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# +# Didier Raboud <odyx@debian.org>, 2012. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-01-20 14:26+0100\n" +"PO-Revision-Date: 2012-12-27 11:00+0100\n" +"Last-Translator: Didier Raboud <odyx@debian.org>\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: colobot.ini:1 +#, no-wrap +msgid "Colobot" +msgstr "Colobot" + +#: colobot.ini:2 +#, no-wrap +msgid "Game to learn programming" +msgstr "Apprentissage de la programmation par le jeu" + +#: colobot.ini:3 +#, no-wrap +msgid "Colonize with bots" +msgstr "Colonise avec des roBots" + +#. type: =head1 +#: colobot.pod:3 +msgid "NAME" +msgstr "NOM" + +#. type: textblock +#: colobot.pod:5 +msgid "colobot - educational programming strategy game" +msgstr "colobot - Jeu éducatif de stratégie et de programmation" + +#. type: =head1 +#: colobot.pod:7 +msgid "SYNOPSIS" +msgstr "RÉSUMÉ" + +#. type: textblock +#: colobot.pod:9 +msgid "" +"B<colobot> [B<-datadir> I<path>] [B<-debug>] [B<-loglevel> I<level>] [B<-" +"language> I<lang>]" +msgstr "" +"B<colobot> [B<-datadir> I<chemin>] [B<-debug>] [B<-loglevel> I<niveau>] [B<-" +"language> I<code-de-langue>]" + +#. type: =head1 +#: colobot.pod:11 +msgid "DESCRIPTION" +msgstr "DESCRIPTION" + +#. type: textblock +#: colobot.pod:13 +msgid "" +"Colobot (Colonize with Bots) is an educational game aiming to teach " +"programming through entertainment. You are playing as an astronaut on a " +"journey with robot helpers to find a planet for colonization. It features 3D " +"real-time graphics and a C++ and Java-like, object-oriented language, CBOT, " +"which can be used to program the robots available in the game." +msgstr "" +"Colobot (Colonise avec des roBots) est un jeu éducatif visant à " +"l'enseignement de la programmation par le jeu. Vous jouez un astronaute en " +"voyage avec des robots à la recherche d'une planète à coloniser. Son " +"interface est en trois-dimensions et en temps réel; le language utilisé " +"(CBOT) ressemble au C++ et à Java et peut être utilisé pour programmer les " +"robots disponibles dans le jeu." + +#. type: =head1 +#: colobot.pod:19 +msgid "OPTIONS" +msgstr "OPTIONS" + +#. type: =item +#: colobot.pod:23 +msgid "B<-help>" +msgstr "B<-help>" + +#. type: textblock +#: colobot.pod:25 +msgid "Display a short help text" +msgstr "Affiche un court texte d'aide" + +#. type: =item +#: colobot.pod:27 +msgid "B<-datadir> F</path/to/data/>" +msgstr "B<-datadir> F</chemin/vers/les/donnes/>" + +#. type: textblock +#: colobot.pod:29 +msgid "Set custom data directory path" +msgstr "Définit le chemin vers un répertoire de données spécifique" + +#. type: =item +#: colobot.pod:31 +msgid "B<-debug>" +msgstr "B<-debug>" + +#. type: textblock +#: colobot.pod:33 +msgid "Enable debug mode (more info printed in logs)" +msgstr "" +"Active le mode de déboguage (plus d'informations sont affichées dans le " +"journal)" + +#. type: =item +#: colobot.pod:35 +msgid "B<-loglevel> I<level>" +msgstr "B<-loglevel> I<niveau>" + +#. type: textblock +#: colobot.pod:37 +msgid "" +"Set log level. Possible choices are: trace, debug, info, warn, error, none." +msgstr "" +"Définit le niveau de journalisation parmi: trace, debug, info, warn, error, " +"none." + +#. type: =item +#: colobot.pod:39 +msgid "B<-language> I<lang>" +msgstr "B<-language> I<langue>" + +#. type: textblock +#: colobot.pod:41 +msgid "" +"Set language. Note that you can also fill the B<LANG> environment variable." +msgstr "" +"Définit la langue. Il est aussi possible d'utiliser la variable " +"d'environnement B<LANG>." + +#. type: =head1 +#: colobot.pod:45 +msgid "AUTHOR" +msgstr "Auteur" + +#. type: textblock +#: colobot.pod:47 +msgid "This manpage was written by Didier Raboud <S<odyx@debian.org>>." +msgstr "" +"Cette page de manuel a été écrite et traduite par Didier Raboud " +"<S<odyx@debian.org>>." + diff --git a/desktop/po4a.cfg b/desktop/po4a.cfg new file mode 100644 index 0000000..881929d --- /dev/null +++ b/desktop/po4a.cfg @@ -0,0 +1,5 @@ +[po_directory] po/ + +[type:ini] colobot.ini $lang:lang/$lang/colobot.ini +[type:pod] colobot.pod $lang:lang/$lang/colobot.pod + |