mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Modified translation scripts and start page to use Crowdin
This commit is contained in:
4
Binaries/Output/Release_Windows/locale/README.md
Normal file
4
Binaries/Output/Release_Windows/locale/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
Thanks for considering help translate GDevelop to your language.
|
||||
Translating GD is really simple, just go to the Crowdin project: https://crowdin.com/project/gdevelop
|
||||
|
||||
If you want more help, take a look at the wiki: http://wiki.compilgames.net/doku.php/en/game_develop/articles/translate_gd
|
@@ -0,0 +1 @@
|
||||
rem TODO
|
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
#Execute this script to update the translations (.mo files)
|
||||
#using the .po files that you downloaded.
|
||||
for D in `find . -type d`
|
||||
do
|
||||
if [ $D != "./en_GB" -a $D != "." ]; then
|
||||
msgcat $D/GD.po | msgfmt -o $D/GD.mo -
|
||||
fi
|
||||
done
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<News>
|
||||
<Version Major="3" Minor="5" Build="75" Revision="0"/>
|
||||
<Info Info="La version 3.5.75 est disponible.

Nouvelle action pour ouvrir une URL dans un navigateur.
Correction d'un crash avec le test de collision pour les objets cartes de tuiles.
Correction d'un bouton au comportement incorrect dans le ruban.

Version 3.4.74:
Game Develop s'appelle dor<EFBFBD>navant GDevelop! Si vous poss<73>dez des articles, sites web ou forums parlant de Game Develop, vous pouvez maintenant faire r<>f<EFBFBD>rence <20> GDevelop.
Nouvel objet carte de tiles: cr<63>ez facilement des jeux bas<61>s sur des tiles ! (jeu natifs seulement)
Correction des fonctions ne fonctionnant pas normalement avec plus d'une sc<73>ne ou des <20>v<EFBFBD>nements externes.
Correction du renommage des objets apr<70>s leur ajout sur Linux.
Correction des bugs graphiques pour le debugger et le suivi de performances sur Linux.
Correction de l'affichage de barres d'outils sur Linux.
Corrections de la condition de test des axes de joysticks.
Correction d'un crash avec l'automatisme de recherche de chemin.
Mise <20> jour de UglifyJS pour corriger des erreurs de minifications avec certains jeux.
Ajout d'un lien pour t<>l<EFBFBD>charger Node.js en cas de besoin (requis pour la minification).
Nouvel exemple Advanced Shape based Painter.
Autres corrections mineures." Lien="http://compilgames.net"/>
|
||||
<CommunityNews text="* GDevelop est le nouveau nom de Game Develop!

* GDevApp est une web app de cr<63>ation de jeux bas<61>e sur GDevelop : venez essayer la plus avanc<6E>e des applications online de cr<63>ation de jeux. Compatible avec les tablettes et fournie avec des superbes packs de graphismes pr<70>-pr<70>par<61>s." link1="https://github.com/4ian/GD" linkLabel1="GDevelop sur GitHub" link2="https://gdevapp.com?utm_source=software&utm_medium=link_fr&utm_campaign=launch" linkLabel2="Tester GDevApp, la nouvelle app de cr<63>ation de jeux"/>
|
||||
<Version Major="3" Minor="6" Build="76" Revision="0"/>
|
||||
<Info Info="La version 3.6.76 est disponible.

Am<EFBFBD>lioration de l'<27>diteur d'objets : les objets peuvent <20>tre gliss<73>s-depos<6F>s dans les groupes, le contenu des groupes est maintenant list<73>, les objets et groupes globaux sont maintenant en gras.
La fen<65>tre de selection de condition/action a <20>t<EFBFBD> retravaill<6C>e pour <20>tre plus simple et claire.
Ajout de l'Event Store: parcourez les mod<6F>les d'<27>v<EFBFBD>nements cr<63><72>s par les utilisateurs de GDevApp.com, personnalisez et ajoutez les <20> vos jeux. Et double cliquez sur un mod<6F>le ins<6E>r<EFBFBD> dans un jeu pour l'<27>diter m<>me apr<70>s insertion.
Ajout des Groupes d'<27>v<EFBFBD>nements, qui peuvent <20>tre utilis<69>s pour organiser les <20>v<EFBFBD>nements.
Ajout d'un support exp<78>rimental des <20>v<EFBFBD>nements Javascript, pour les jeux HTML5 (voir les exemples).
Ajout du support du format JSON pour charger et enregistrer les jeux.
Nouvelle page de d<>marrage, correction du mauvais alignement sur Ubuntu.
Correction d'une importante fuite de m<>moire lors du chargement des textures.
Changement du comportement du clic molette dans l'<27>diteur du sc<73>ne : il faut maintenant rester appuyer pour se d<>placer.
Les objets se d<>pla<6C>ant sur des plateformes sont maintenant s<>par<61>s des platformes si ils sont coinc<6E>s dedans.
Ajout d'un outil de remplissage et des boutons d'annulation dans l'<27>diteur des objets Carte de Tuiles.
Corrections et am<61>lioration de performances pour les objets Carte de Tuiles.
Possibilit<69> de d<>caler l'origine de la grille dans l'<27>diteur de sc<73>ne.
Correction de l'affichage des curseurs sur Ubuntu dans l'<27>diteur de sc<73>ne.
Correction de la condition testant la visibilit<69> d'un calque.
Changement des titres des conditions li<6C>s <20> la souris pour mettre en avant le support des <20>crans tactiles.
Ajout des expressions ScreenWidth et ScreenHeight pour les jeux HTML5.
Correction des expressions SceneWindowWidth et SceneWindowHeight pour les jeux HTML5.
Lors de l'ajout de plusieurs images, elles sont maintenant mises dans l'ordre alphab<61>tique sur Ubuntu, dans l'<27>diteur d'objet Sprite.
Correction des couleurs des param<61>tres dans l'<27>diteur d'<27>v<EFBFBD>nemements.
Corrections mineurs et am<61>liorations.
Passage de la licence LGPL vers la licence MIT pour la majeur partie du code. Enjoy!" Lien="http://compilgames.net"/>
|
||||
<CommunityNews text="GDevApp est une web app de cr<63>ation de jeux bas<61>e sur GDevelop : venez essayer la plus avanc<6E>e des applications online de cr<63>ation de jeux. Compatible avec les tablettes et fournie avec des superbes packs de graphismes pr<70>-pr<70>par<61>s." link1="https://github.com/4ian/GD" linkLabel1="GDevelop sur GitHub" link2="https://gdevapp.com?utm_source=software&utm_medium=link_fr&utm_campaign=launch" linkLabel2="Tester GDevApp, la nouvelle app de cr<63>ation de jeux"/>
|
||||
</News>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<News>
|
||||
<Version Major="3" Minor="5" Build="75" Revision="0"/>
|
||||
<Info Info="Version 3.5.75 is available.

New action to open an URL in a browser.
Fixed crash with collision condition for TileMap object.
Fixed button with incorrect behavior in the ribbon.

Version 3.5.74:
Game Develop is now called GDevelop! If you have any article, website or forum related to Game Develop, please rename any mention of “Game Develop” to “GDevelop”.
New Tilemap object: easily create tile based games with tilemaps! (Native games only)
Fix functions not working properly with multiples scenes or external events.
Fix object not renamed properly after it was added (Linux).
Fix debugger and profiler graphical glitches.
Fix some toolbars not rendered properly on Linux.
Fix conditions testing Joysticks' axis values.
Fix crash with the pathfinding automatism.
Updated UglifyJS to fix minification issues with HTML5 games.
Added link to download Node.js if needed for minification of games.
New Advanced Shape based Painter example.
Other minor bugfixes." Lien="http://compilgames.net"/>
|
||||
<CommunityNews text=" * GDevelop is the new name of Game Develop!

 * GDevApp is an online game creator based on GDevelop and is available since a few days: Go try the most advanced game creation web app. Compatible with tablets and bundled with awesome graphics assets." link1="https://github.com/4ian/GD" linkLabel1="GDevelop on GitHub" link2="https://gdevapp.com?utm_source=software&utm_medium=link_en&utm_campaign=launch" linkLabel2="Try GDevApp, the online game creator based on GD"/>
|
||||
<Version Major="3" Minor="6" Build="76" Revision="0"/>
|
||||
<Info Info="Version 3.6.76 is available.

Improved object editor: objects can be dragged to groups, the content of a group is now displayed in the list, global objects and groups are now shown in bold.
Reworked the window to select a condition or an action to be more simple and clear.
Added the Event Store: Browse the events templates made by users from GDevApp.com, customize and insert them in your game. And double click on a template inserted in your game to edit it even after its insertion.
Added Event Groups, that can be used to organize events.
Added experimental support for Javascript events, for HTML5 games (see examples).
Added support for saving (and loading) games to JSON files.
New start page, and fixed bad alignment on Ubuntu.
Fixed severe memory leaks when loading textures.
Changed the middle click behavior: the middle button must be kept pressed to move in the scene editor.
Platformer characters are pushed out of platforms if stuck inside.
Added a Fill tool and Undo/Redo buttons in the editor of Tile Map objects.
Various fixes and performance improvements for Tile Map objects.
Added optional offset for the grid in the scene editor.
Fixed bad cursor shown on Ubuntu in the scene editor.
Fixed condition testing for the visibilty of a layer.
Changed titles of some mouse related conditions to highlight the support of touchscreens.
Added ScreenWidth and ScreenHeight expressions for HTML5 games.
Fixed SceneWindowWidth and SceneWindowHeight for HTML5 games.
Ensure that when multiple images are added to a sprite object on Ubuntu, the insertion is made in alphabetical order.
Fixed syntax highlighting in the events editor.
Various minor fixes and improvements.
Switched from LGPL to MIT license for most codebase. Enjoy!" Lien="http://compilgames.net"/>
|
||||
<CommunityNews text="GDevApp is an online game creator based on GDevelop: Go try the most advanced game creation web app. Compatible with tablets and bundled with awesome graphics assets." link1="https://github.com/4ian/GD" linkLabel1="GDevelop on GitHub" link2="https://gdevapp.com?utm_source=software&utm_medium=link_en&utm_campaign=launch" linkLabel2="Try GDevApp, the online game creator based on GD"/>
|
||||
</News>
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -243,7 +243,7 @@ BaseStartHerePage::BaseStartHerePage(wxWindow* parent, wxWindowID id, const wxPo
|
||||
|
||||
flexGridSizer77->Add(newsLink2, 0, wxLEFT|wxRIGHT, 5);
|
||||
|
||||
wxFlexGridSizer* bottomSizer = new wxFlexGridSizer(0, 5, 0, 0);
|
||||
wxFlexGridSizer* bottomSizer = new wxFlexGridSizer(0, 7, 0, 0);
|
||||
bottomSizer->SetFlexibleDirection( wxBOTH );
|
||||
bottomSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
|
||||
|
||||
@@ -275,6 +275,17 @@ BaseStartHerePage::BaseStartHerePage(wxWindow* parent, wxWindowID id, const wxPo
|
||||
|
||||
bottomSizer->Add(m_hyperLink57, 0, wxRIGHT|wxTOP|wxBOTTOM|wxALIGN_CENTER_VERTICAL, 5);
|
||||
|
||||
localeBmp = new wxStaticBitmap(this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize(-1,-1), 0 );
|
||||
|
||||
bottomSizer->Add(localeBmp, 0, wxALL|wxALIGN_CENTER_VERTICAL, 4);
|
||||
|
||||
m_hyperLink572 = new wxHyperlinkCtrl(this, wxID_ANY, _("Help to translate GD in your language"), wxT("https://crowdin.com/project/gdevelop"), wxDefaultPosition, wxSize(-1,-1), wxHL_DEFAULT_STYLE);
|
||||
m_hyperLink572->SetNormalColour(wxColour(wxT("#0000FF")));
|
||||
m_hyperLink572->SetHoverColour(wxColour(wxT("#0000FF")));
|
||||
m_hyperLink572->SetVisitedColour(wxColour(wxT("#FF0000")));
|
||||
|
||||
bottomSizer->Add(m_hyperLink572, 0, wxRIGHT|wxTOP|wxBOTTOM|wxALIGN_CENTER_VERTICAL, 5);
|
||||
|
||||
SetBackgroundColour(wxColour(wxT("rgb(255,255,255)")));
|
||||
SetSizeHints(700,500);
|
||||
if ( GetSizer() ) {
|
||||
|
@@ -48,6 +48,8 @@ protected:
|
||||
wxHyperlinkCtrl* donateLinkBt;
|
||||
wxStaticBitmap* githubBmp;
|
||||
wxHyperlinkCtrl* m_hyperLink57;
|
||||
wxStaticBitmap* localeBmp;
|
||||
wxHyperlinkCtrl* m_hyperLink572;
|
||||
|
||||
protected:
|
||||
virtual void OnLastProject1Click(wxHyperlinkEvent& event) { event.Skip(); }
|
||||
|
@@ -27,6 +27,7 @@ StartHerePage::StartHerePage(wxWindow* parent, MainFrame & mainEditor_)
|
||||
latestProjectsBmp->SetBitmap(gd::SkinHelper::GetIcon("open", 24));
|
||||
|
||||
logoBmp->SetBitmap(wxBitmap("res/GD-logo-simple.png", wxBITMAP_TYPE_ANY));
|
||||
localeBmp->SetBitmap(wxBitmap("res/locale.png", wxBITMAP_TYPE_ANY));
|
||||
donateBmp->SetBitmap(wxBitmap("res/hearticon.png", wxBITMAP_TYPE_ANY));
|
||||
githubBmp->SetBitmap(wxBitmap("res/github16.png", wxBITMAP_TYPE_ANY));
|
||||
|
||||
|
@@ -1,18 +0,0 @@
|
||||
About translations
|
||||
==================
|
||||
|
||||
Translations are made using [PoEdit](http://poedit.net/).
|
||||
|
||||
PoEdit can search for sources files in directories and update translations
|
||||
catalogs from theses sources files. Alas, there is no way to exclude a directory.
|
||||
|
||||
Thus, we're using xgettext, with the script "TranslationsUpdate.bat" or "TranslationsUpdate.sh",
|
||||
to create a .POT file from sources, and we can then update catalogs in PoEdit by using this .POT file.
|
||||
|
||||
To generate the .POT file, just do on Linux, using a terminal:
|
||||
|
||||
sh TranslationsUpdate.sh
|
||||
|
||||
or on Windows using the command line:
|
||||
|
||||
TranslationsUpdate.bat
|
@@ -1,4 +0,0 @@
|
||||
Each time an header is modified in GDL, or when a library is updated,
|
||||
you have to ensure that headers files in "include" directory of GDevelop
|
||||
are up-to-date (if it is not the case, compilation in GD will certainly fail).
|
||||
Run the appropriate script to automatically update headers of GD.
|
@@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
echo Listing all sources files...
|
||||
|
||||
dir ..\*.cpp /L /b /s |find /v /i "\bin\" > %TEMP%\listfile.txt
|
||||
dir ..\*.h /L /b /s |find /v /i "\bin\" >> %TEMP%\listfile.txt
|
||||
dir ..\..\GDCpp\GDCpp\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\..\GDCpp\GDCpp\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\..\GDJS\GDJS\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\..\GDJS\GDJS\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\..\Extensions\*.cpp /L /B /S |find /v /i "\TileMapObject\" >> %TEMP%\listfile.txt
|
||||
dir ..\..\Extensions\*.h /L /B /S |find /v /i "\TileMapObject\" >> %TEMP%\listfile.txt
|
||||
dir ..\..\Core\GDCore\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\..\Core\GDCore\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
|
||||
echo Generating .POT file...
|
||||
xgettext --from-code iso-8859-1 -o useMeToUpdateCatalogsWithPoEdit.pot --c++ --no-wrap -f %TEMP%\listfile.txt -k_
|
||||
|
||||
echo .POT file generated: Update now .po catalogs using poEdit (Open .po catalog with PoEdit, and choose Catalog:Update from .POT file)
|
@@ -1,19 +0,0 @@
|
||||
#Launch this script to generate the .POT file used by PoEdit
|
||||
#to update the strings to be translated.
|
||||
echo "Listing all sources files..."
|
||||
|
||||
find .. -name '*.cpp' > /tmp/listfile.txt
|
||||
find .. -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../../GDCpp/GDCpp/ -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../../GDCpp/GDCpp/ -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../../GDJS/GDJS/ -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../../GDJS/GDJS/ -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../../Extensions/ -name '*.cpp' | grep -v '/TileMapObject/' >> /tmp/listfile.txt
|
||||
find ../../Extensions/ -name '*.h' -o -name "*.hpp" | grep -v '/TileMapObject/' >> /tmp/listfile.txt
|
||||
find ../../Core/GDCore -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../../Core/GDCore -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
|
||||
echo "Generating .POT file..."
|
||||
xgettext --from-code iso-8859-1 -o useMeToUpdateCatalogsWithPoEdit.pot --c++ --no-wrap -f /tmp/listfile.txt -k_
|
||||
|
||||
echo ".POT file generated: Update now .po catalogs using poEdit (Open .po catalog with PoEdit, and choose Catalog:Update from .POT file)"
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
18
scripts/ExtractTranslations.bat
Normal file
18
scripts/ExtractTranslations.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@echo off
|
||||
echo Listing all sources files...
|
||||
|
||||
dir ..\IDE\*.cpp /L /b /s |find /v /i "\bin\" > %TEMP%\listfile.txt
|
||||
dir ..\IDE\*.h /L /b /s |find /v /i "\bin\" >> %TEMP%\listfile.txt
|
||||
dir ..\GDCpp\GDCpp\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\GDCpp\GDCpp\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\GDJS\GDJS\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\GDJS\GDJS\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\Extensions\*.cpp /L /B /S |find /v /i "\TileMapObject\" >> %TEMP%\listfile.txt
|
||||
dir ..\Extensions\*.h /L /B /S |find /v /i "\TileMapObject\" >> %TEMP%\listfile.txt
|
||||
dir ..\Core\GDCore\*.cpp /L /B /S >> %TEMP%\listfile.txt
|
||||
dir ..\Core\GDCore\*.h /L /B /S >> %TEMP%\listfile.txt
|
||||
|
||||
echo Generating .POT file...
|
||||
xgettext --from-code iso-8859-1 -o source.pot --c++ --no-wrap -f %TEMP%\listfile.txt -k_
|
||||
|
||||
echo source.pot file generated and ready to be sent to Crowdin or used in a translation software like PoEdit.
|
19
scripts/ExtractTranslations.sh
Normal file
19
scripts/ExtractTranslations.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#Launch this script to generate the .POT file used
|
||||
#to update the strings to be translated.
|
||||
echo "Listing all sources files..."
|
||||
|
||||
find ../IDE -name '*.cpp' > /tmp/listfile.txt
|
||||
find ../IDE -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../GDCpp/GDCpp/ -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../GDCpp/GDCpp/ -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../GDJS/GDJS/ -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../GDJS/GDJS/ -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
find ../Extensions/ -name '*.cpp' | grep -v '/TileMapObject/' >> /tmp/listfile.txt
|
||||
find ../Extensions/ -name '*.h' -o -name "*.hpp" | grep -v '/TileMapObject/' >> /tmp/listfile.txt
|
||||
find ../Core/GDCore -name '*.cpp' >> /tmp/listfile.txt
|
||||
find ../Core/GDCore -name '*.h' -o -name "*.hpp" >> /tmp/listfile.txt
|
||||
|
||||
echo "Generating .POT file..."
|
||||
xgettext --from-code iso-8859-1 -o source.pot --c++ --no-wrap -f /tmp/listfile.txt -k_
|
||||
|
||||
echo "source.pot file generated and ready to be sent to Crowdin or used in a translation software like PoEdit."
|
File diff suppressed because it is too large
Load Diff
@@ -4,3 +4,4 @@
|
||||
* **ReleaseProcedure.sh**: compiles and package GD for Ubuntu (see *Binaries/Packaging*).
|
||||
* **CopyWindowsToLinuxReleaseFiles.sh**: Copy all files in *Binaries/Output/Release_Windows* to *Binaries/Output/Release_Linux*. Call it after any change in *Binaries/Output/Release_Windows*.
|
||||
* **GenerateAllDocs.[bat|sh]**: Call doxygen and yuidoc to generate all the documentations into *docs* folder.
|
||||
* **ExtractTranslations.[bat|sh]**: Create the *source.pot* file containing the strings to be translated using [Crowdin](https://crowdin.com/project/gdevelop).
|
||||
|
21898
scripts/source.pot
Normal file
21898
scripts/source.pot
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user