From 6c27612575977b17054c39c83b8f6b64b3fbf093 Mon Sep 17 00:00:00 2001 From: Stefano Azzolini Date: Mon, 1 Feb 2016 18:21:50 +0100 Subject: [PATCH] Initial upload --- .gitignore | 2 ++ README.md | 51 ++++++++++++++++++++++++++++++++++++++++++++ classes/Language.php | 30 ++++++++++++++++++++++++++ composer.json | 24 +++++++++++++++++++++ 4 files changed, 107 insertions(+) create mode 100755 .gitignore create mode 100644 README.md create mode 100644 classes/Language.php create mode 100644 composer.json diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..5ca0973 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.DS_Store + diff --git a/README.md b/README.md new file mode 100644 index 0000000..7dd9e85 --- /dev/null +++ b/README.md @@ -0,0 +1,51 @@ +Core – Translation Extensions +==== + +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/caffeina-core/translation/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/caffeina-core/translation/?branch=master) +[![Build Status](https://scrutinizer-ci.com/g/caffeina-core/translation/badges/build.png?b=master)](https://scrutinizer-ci.com/g/caffeina-core/translation/build-status/master) +[![Total Downloads](https://poser.pugx.org/caffeina-core/translation/downloads.svg)](https://packagist.org/packages/caffeina-core/translation) +[![Latest Stable Version](https://poser.pugx.org/caffeina-core/translation/v/stable.svg)](https://packagist.org/packages/caffeina-core/translation) +[![Latest Unstable Version](https://poser.pugx.org/caffeina-core/translation/v/unstable.svg)](https://packagist.org/packages/caffeina-core/translation) +[![License](https://poser.pugx.org/caffeina-core/translation/license.svg)](https://packagist.org/packages/caffeina-core/translation) + + +## Installation + +Install via [composer](https://getcomposer.org/download/): + +```bash +$ composer require caffeina-core/translation +``` + +## Documentation + +See the [wiki](https://github.com/caffeina-core/translation/wiki). + + +## Contributing + +How to get involved: + +1. [Star](https://github.com/caffeina-core/api/stargazers) the project! +2. Answer questions that come through [GitHub issues](https://github.com/caffeina-core/translation/issues?state=open) +3. [Report a bug](https://github.com/caffeina-core/translation/issues/new) that you find + + +Core follows the [GitFlow branching model](http://nvie.com/posts/a-successful-git-branching-model). The ```master``` branch always reflects a production-ready state while the latest development is taking place in the ```develop``` branch. + +Each time you want to work on a fix or a new feature, create a new branch based on the ```develop``` branch: ```git checkout -b BRANCH_NAME develop```. Only pull requests to the ```develop``` branch will be merged. + +Pull requests are **highly appreciated**. + +Solve a problem. Features are great, but even better is cleaning-up and fixing issues in the code that you discover. + +## Versioning + +Core is maintained by using the [Semantic Versioning Specification (SemVer)](http://semver.org). + + +## Copyright and license + +Copyright 20145 [Caffeina](http://caffeina.co) srl under the [MIT license](LICENSE.md). + +

diff --git a/classes/Language.php b/classes/Language.php new file mode 100644 index 0000000..011fc07 --- /dev/null +++ b/classes/Language.php @@ -0,0 +1,30 @@ + $dictfile]); + } +} diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..2a0b63c --- /dev/null +++ b/composer.json @@ -0,0 +1,24 @@ +{ + "name": "caffeina-core/translation", + "type": "core-bundle", + "description": "Translation extensions for Caffeina Core", + "keywords": ["core","translation","language"], + "homepage": "http://labs.caffeina.co/tech/core", + "version": "1.0.0", + "license": "MIT", + "authors": [ + { + "name": "Stefano Azzolini", + "email": "stefano.azzolini@caffeina.com" + } + ], + "require": { + "php": ">=5.4", + "caffeina-core/core": "*" + }, + "minimum-stability": "stable", + "autoload": { + "classmap": [ "classes/" ] + } +} +