<commit_before>Gradle Frame Android screenshots Plugin
=========================================

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat)](https://github.com/chemouna/frame-gradle-plugin/blob/master/LICENSE.txt)
[![Build Status](https://img.shields.io/travis/chemouna/frame-gradle-plugin/master.svg?style=flat)](https://travis-ci.org/chemouna/frame-gradle-plugin)

###### Automate putting your screenshots quickly into Android device frames with their titles.

Usage
----

- install image imageMagick

```sh
brew install imagemagick
```

- Add the following to your build.gradle
   (use the new plugin syntax for gradle `2.1+`)

   ```groovy
   buildscript {
      repositories {
         maven {
           url "https://plugins.gradle.org/m2/"
         }
      }
   }

   plugins {
     id "com.mounacheikhna.screenshots.frame" version "0.1.6"
   }
   ```
- Usage: In your app build.gradle file :
 
   ```groovy
   frames {
       inputDir = "screenshots"
       outputDir = "output"
       framesDir = "frames"
       selectedFrame = "galaxy_nexus_port_back.png"
       localTitlesMap =  [
               "en_US": ["from": "Example screenshot title #1", "to": "Example screenshot title #2"],
               "fr_FR": ["from": "Exemple pour titre screenshot #1", "to": "Exemple pour titre screenshot #2"]
       ]
       backgroundColor = "#00cccc"
       textColor = "#FFFFFF"
       textSize = 40
       topOffset = 40
   }
   ```

Sample
------
See sample project for how to set, Sample result :

<img src="result/en_US_list.png" width="250"/> <img src="result/en_US_create.png" width="250"/>



License
-------

    Copyright (C) 2016 <NAME>
<commit_msg>Add other locales.3<commit_after>Gradle Frame Android screenshots Plugin
=========================================

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat)](https://github.com/chemouna/frame-gradle-plugin/blob/master/LICENSE.txt)
[![Build Status](https://img.shields.io/travis/chemouna/frame-gradle-plugin/master.svg?style=flat)](https://travis-ci.org/chemouna/frame-gradle-plugin)

###### Automate putting your screenshots quickly into Android device frames with their titles.

Usage
----

- install image imageMagick

```sh
brew install imagemagick
```

- Add the following to your build.gradle
   (use the new plugin syntax for gradle `2.1+`)

   ```groovy
   buildscript {
      repositories {
         maven {
           url "https://plugins.gradle.org/m2/"
         }
      }
   }

   plugins {
     id "com.mounacheikhna.screenshots.frame" version "0.1.6"
   }
   ```
- Usage: In your app build.gradle file :
 
   ```groovy
   frames {
       inputDir = "screenshots"
       outputDir = "output"
       framesDir = "frames"
       selectedFrame = "galaxy_nexus_port_back.png"
       localTitlesMap =  [
               "en_US": ["from": "Example screenshot title #1", "to": "Example screenshot title #2"],
               "fr_FR": ["from": "Exemple pour titre screenshot #1", "to": "Exemple pour titre screenshot #2"]
       ]
       backgroundColor = "#00cccc"
       textColor = "#FFFFFF"
       textSize = 40
       topOffset = 40
   }
   ```

Sample
------
See sample project for how to set, Sample result :

<img src="result/en_US_list.png" width="250"/>    <img src="result/en_US_create.png" width="250"/>

<img src="result/fr_FR_list.png" width="250"/>    <img src="result/fr_FR_create.png" width="250"/>

<img src="result/es_ES_list.png" width="250"/>    <img src="result/es_ES_list.png" width="250"/>



License
-------

    Copyright (C) 2016 <NAME>

{'fraction_non_alphanumeric': 0.17040731504571904, 'fraction_numerical': 0.02022720975339429, 'mean_word_length': 2.936750272628135, 'pattern_counts': {'":': 12, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1127174', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1148, 'n_words': 260}