Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1185 add arabic translation #1186

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -54,10 +54,25 @@ configurations {
exclude module: 'httpclient'
}
}
configurations.configureEach {
resolutionStrategy {
force 'com.squareup.picasso:picasso:2.5.2'
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url "https://repo1.maven.org/maven2/"
}
maven {
url "https://repository.jboss.org/maven2"
}
maven {
url 'https://repo.jenkins-ci.org/public/'
}
maven { url "https://repository.aspose.com/repo/" }
maven { url 'https://maven.scijava.org/content/repositories/public' }
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
@@ -103,23 +118,24 @@ dependencies {

// Picasso, image editor, image cropper
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'jp.wasabeef:picasso-transformations:2.2.1'
implementation 'jp.wasabeef:picasso-transformations:2.4.0'
implementation 'ja.burhanrashid52:photoeditor:0.2.1'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
implementation "com.github.ArthurHub:Android-Image-Cropper:2.7.0"
api 'com.theartofdev.edmodo:android-image-cropper:2.7.+'

// Viewpager transformation
implementation 'com.eftimoff:android-viewpager-transformers:1.0.1@aar'

// Image picker, and folder picker
implementation 'com.zhihu.android:matisse:0.5.3-beta3'
implementation 'com.github.zhihu:Matisse:v0.5.3-beta3'
implementation 'lib.kashif:folderpicker:2.4'

// Zxing - for scanning qr code
implementation 'com.google.zxing:core:3.3.3'
implementation 'com.journeyapps:zxing-android-embedded:3.4.0'

// color picker
implementation 'com.github.danielnilsson9:color-picker-view:1.4.0@aar'
implementation 'com.github.danielnilsson9:color-picker-view:master'

implementation 'org.bouncycastle:bcpkix-jdk15to18:1.68'
implementation 'org.bouncycastle:bcprov-jdk15to18:1.68'
Original file line number Diff line number Diff line change
@@ -69,4 +69,4 @@ public void setData(ArrayList<String> images) {
mPreviewItems.clear();
mPreviewItems.addAll(images);
}
}
}
28 changes: 28 additions & 0 deletions app/src/main/res/values-ar/arrays.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="sort_options">
<item>اسم</item>
<item>التاريخ</item>
<item>حجم ▲</item>
<item>حجم ▼</item>
</string-array>

<string-array name="sort_options_images">
<item>اسم ▲</item>
<item>اسم ▼</item>
<item>تاريخ ▲</item>
<item>تاريخ ▼</item>
</string-array>

<string-array name="filter_options_history">
<item>تم الإنشاء</item>
<item>تم الحذف</item>
<item>تم إعادة التسمية</item>
<item>تدوير</item>
<item>مطبوع</item>
<item>تم فك التشفير</item>
<item>مُشفَّر</item>
<item>مقلوب</item>
</string-array>

</resources>
614 changes: 614 additions & 0 deletions app/src/main/res/values-ar/strings.xml

Large diffs are not rendered by default.

15 changes: 12 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -2,10 +2,19 @@

buildscript {
repositories {
mavenCentral()
maven {
url "https://jcenter.bintray.com"
url "https://repo1.maven.org/maven2/"
}
maven {
url "https://repo.spring.io/release"
}
maven {
url "https://repository.jboss.org/maven2"
}
maven {
url 'https://repo.jenkins-ci.org/public/'
}

google()
}
dependencies {
@@ -20,7 +29,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}