dlang-tour / spanish Goto Github PK
View Code? Open in Web Editor NEWSpanish translation of the DLang Tour
Spanish translation of the DLang Tour
Compare:
https://tour.dlang.org/tour/es/basics/basic-types
with:
https://tour.dlang.org/tour/en/basics/basic-types
In short: ## {SourceCode}
is needed for the detection to work.
In theory that part could be localized and read from the language YAML (see e.g. https://github.com/dlang-tour/core/blob/master/source/contentprovider.d#L29 and https://github.com/dlang-tour/core/blob/master/source/translator.d), but at the moment this isn't supported.
Several days ago I merged some changes. Surprised not to see those changes reflected in the website after so many days, I clicked around to understand the process a bit better and I found that changes should take around 10 minutes to be deployed thanks to the bot. Given that the changes aren't reflected yet, I have to assume that: a) the webhook isn't configured correctly, b) the bot is down, c) I broke something with my changes, or d) there's something else going on that I don't know about.
It was mentioned that the intention is to keep this version as close as possible to the original version.
The example of the welcome page in Spanish is not the same as in English. The English version extends the "hello world" with a stunning use of slices to sort with the std algorithms.
A possible synchronization and translation is:
import std.stdio;
import std.algorithm;
import std.range;
void main()
{
// ¡Empecemos!
writeln("¡Hola, mundo!");
// Ejemplo para programadores experimentados:
// Tomar tres arrays, y sin reservar nueva
// memoria, ordenarlos en el lugar
int[] arr1 = [4, 9, 7];
int[] arr2 = [5, 2, 1, 10];
int[] arr3 = [6, 8, 3];
sort(chain(arr1, arr2, arr3));
writefln("%s\n%s\n%s\n", arr1, arr2, arr3);
// Para aprender más acerca de este ejemplo,
// véase la sección "Algoritmos sobre rangos"
// bajo "Perlas"
}
If you agree, I could make the replacement and send the pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.