Skip to content

Commit fd3e7b5

Browse files
committed
Commit iniziale
0 parents  commit fd3e7b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+40561
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/node_modules
2+
/build

.jshintrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"quotmark": true
3+
}

.vscode/settings.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"editor.formatOnSave": true,
3+
"cSpell.enabled": true
4+
}

LICENSE

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Giuseppe Bertone
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
# Traduzione italiana di Stellaris
2+
3+
Questo mod, **compatibile** con l'**Ironmode** e gli **achievement di Steam**, sostituisce la lingua inglese con la lingua italiana.
4+
5+
Questa traduzione è ricavata dai testi redatti diligentemente dal team [Battle of Paradox Italia](http://www.bopitalia.org) - **Grande lavoro!** - ed ha come base la versione **Le Guin 2.2.7 (ea03)** del gioco originale.
6+
7+
## Installazione mod da release
8+
9+
Trovate le release già pronte del mod nell'apposita sezione [releases](https://github.com/Neurone/stellaris-italian-translation/releases). Scaricate la release che vi interessa e unzippatela all'interno della cartella:
10+
11+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod
12+
13+
Nel caso non fosse presente la cartella `mod` potete crearla voi normalmente.
14+
15+
## Creazione mod da codice sorgente
16+
17+
Clonare il repository:
18+
19+
git clone https://github.com/Neurone/stellaris-italian-translation.git
20+
21+
Installare le dipendenze:
22+
23+
cd stellaris-italian-translation
24+
npm install
25+
26+
### Versione release
27+
28+
Creare il mod:
29+
30+
npx grunt
31+
32+
L'output sarà simile al seguente:
33+
34+
~\stellaris-italian-translation> npx grunt
35+
npx: installed 1 in 2.252s
36+
Path must be a string. Received undefined
37+
~\stellaris-italian-translation\node_modules\grunt\bin\grunt
38+
Running "clean:folder" (clean) task
39+
>> 91 paths cleaned.
40+
41+
Running "copy:standalone" (copy) task
42+
Created 1 directory, copied 86 files
43+
44+
Running "compress:main" (compress) task
45+
>> Compressed 87 files.
46+
47+
Running "copy:complete" (copy) task
48+
Copied 1 file
49+
50+
Done.
51+
52+
Verrà creato il file `stellaris-italian-translation-x.x.x.zip` all'interno della cartella `build\dist`, dove `x.x.x` sarà la verione corrente del mod (es. `1.0.0`).
53+
54+
Per installare il mod, scompattare il file all'interno della cartella:
55+
56+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod
57+
58+
Nel caso non fosse presente la cartella `mod` potete crearla voi normalmente. La struttura finale dei file sarà la seguente:
59+
60+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod\stellaris-italian-translation.zip
61+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod\stellaris-italian-translation.mod
62+
63+
### Versione sviluppo
64+
65+
La versione sviluppo del mod è utile per fare modifiche, test o per effettuare l'upload sullo Steam Workshop. La versione release **non permette** di fare l'upload sullo Steam Workshop.
66+
67+
Creare il mod in versione sviluppo:
68+
69+
npx grunt dev
70+
71+
L'output sarà simile al seguente:
72+
73+
~\stellaris-italian-translation> npx grunt dev
74+
npx: installed 1 in 2.625s
75+
Path must be a string. Received undefined
76+
~\stellaris-italian-translation\node_modules\grunt\bin\grunt
77+
Running "clean:folder" (clean) task
78+
>> 0 paths cleaned.
79+
80+
Running "copy:dev" (copy) task
81+
82+
83+
Done.
84+
85+
Verrà creata la cartella `build\dist` e all'interno troverete un file ed una cartella:
86+
87+
stellaris-italian-translation\*
88+
stellaris-italian-translation.mod
89+
90+
Per installare il mod, copiate tutto **il contenuto** della cartella `build\dist` all'interno della cartella:
91+
92+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod
93+
94+
Nel caso non fosse presente la cartella `mod` potete crearla voi normalmente. La struttura finale dei file sarà la seguente:
95+
96+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod\stellaris-italian-translation\...
97+
<%USERPROFILE%>\Documents\Paradox Interactive\Stellaris\mod\stellaris-italian-translation.mod
98+
99+
100+
101+
## Modifiche
102+
103+
- compatibile con ironmode e achievement
104+
- non modifico il nome degli achievement, solo la loro descrizione

gruntfile.js

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
module.exports = function (grunt) {
2+
3+
grunt.initConfig({
4+
pkg: grunt.file.readJSON('package.json'),
5+
clean: {
6+
init: ['build/**'],
7+
complete: ['build/dist/*', '!build/dist/<%= pkg.name %>-<%= pkg.version %>.zip']
8+
},
9+
copy: {
10+
release:
11+
{
12+
expand: true,
13+
cwd: 'src/mod',
14+
src: '**',
15+
dest: 'build/'
16+
},
17+
complete:
18+
{
19+
src: 'src/resources/stellaris-italian-translation-release.mod',
20+
dest: 'build/dist/stellaris-italian-translation.mod'
21+
},
22+
dev:
23+
{
24+
files: [
25+
{
26+
expand: true,
27+
cwd: 'src/mod',
28+
src: '**',
29+
dest: 'build/dist/stellaris-italian-translation'
30+
},
31+
{
32+
src: 'src/resources/stellaris-italian-translation-dev.mod',
33+
dest: 'build/dist/stellaris-italian-translation.mod'
34+
},
35+
{
36+
src: 'src/resources/logo.jpg',
37+
dest: 'build/dist/stellaris-italian-translation/logo.jpg'
38+
}
39+
]
40+
},
41+
},
42+
compress: {
43+
build: {
44+
options: {
45+
archive: 'build/dist/<%= pkg.name %>.zip'
46+
},
47+
files: [
48+
{ expand: 'true', cwd: 'build', src: ['**'], dest: './' }
49+
]
50+
},
51+
release: {
52+
options: {
53+
archive: 'build/dist/<%= pkg.name %>-<%= pkg.version %>.zip'
54+
},
55+
files: [
56+
{ expand: 'true', cwd: 'build/dist', src: ['**'], dest: './' }
57+
]
58+
}
59+
},
60+
});
61+
62+
grunt.loadNpmTasks('grunt-contrib-clean');
63+
grunt.loadNpmTasks('grunt-contrib-compress');
64+
grunt.loadNpmTasks('grunt-contrib-copy');
65+
66+
grunt.registerTask('default', ['clean:init', 'copy:release', 'compress:build', 'copy:complete', 'compress:release', 'clean:complete']);
67+
grunt.registerTask('dev', ['clean:init', 'copy:dev']);
68+
};

0 commit comments

Comments
 (0)