-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #116 from Mindinventory/develop
v1.4.0
- Loading branch information
Showing
24 changed files
with
829 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="app_name">Lassi sample</string> | ||
<string name="selected_media">Medios seleccionados</string> | ||
<string name="open_video_picker">Abrir selector de vídeos</string> | ||
<string name="open_image_picker">Abrir selector de imágenes</string> | ||
<string name="image">Imagen</string> | ||
<string name="video">Video</string> | ||
<string name="document">Documento</string> | ||
<string name="audio">Audio</string> | ||
<string name="open_system_view">"Abrir vista del sistema "</string> | ||
<string name="photo_picker">Selector de fotos</string> | ||
|
||
<string name="sort_by_date">Ordenar por fecha</string> | ||
<string name="sort_ascending">Ascendente</string> | ||
<string name="sort_descending">Descendente</string> | ||
<string name="camera_permission_rational">No se concede el permiso de la cámara. Por favor, permita que se configure.</string> | ||
<string name="crop_image_menu_crop">Cultivo</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Thu Aug 31 11:56:21 IST 2023 | ||
#Tue Mar 12 19:15:15 IST 2024 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 changes: 100 additions & 0 deletions
100
lassi/src/main/java/com/lassi/domain/media/MultiLangModel.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
package com.lassi.domain.media | ||
|
||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Parcelize | ||
data class MultiLangConfig( | ||
var ok: String = "", | ||
var cancel: String = "", | ||
var lassiAll: String = "", | ||
var cropImageMenuRotateLeft: String = "", | ||
var cropImageMenuRotateRight: String = "", | ||
var cropImageMenuFlip: String = "", | ||
var cropImageMenuFlipHorizontally: String = "", | ||
var cropImageMenuFlipVertically: String = "", | ||
var pickImageIntentChooserTitle: String = "", | ||
var cropImageActivityNoPermissions: String = "", | ||
var cropImageActivityTitle: String = "", | ||
var camera: String = "", | ||
var sort: String = "", | ||
var done: String = "", | ||
var cameraAudioStoragePermissionRational: String = "", | ||
var cameraStoragePermissionRational: String = "", | ||
var cameraAudioPermissionRational: String = "", | ||
var cameraPermissionRational: String = "", | ||
var storagePermissionRational: String = "", | ||
var readMediaImagesVideoPermissionRational: String = "", | ||
var readMediaAudioPermissionRational: String = "", | ||
var alreadySelectedMaxItems: String = "", | ||
var errorExceedMsg: String = "", | ||
var defaultExceedErrorMsg: String = "", | ||
var noDataFound: String = "", | ||
var sortByDate: String = "", | ||
var sortAscending: String = "", | ||
var sortDescending: String = "", | ||
var icRotateLeft24: String = "", | ||
var icRotateRight24: String = "", | ||
var cropImageMenuCrop: String = "", | ||
var icFlip24: String = "", | ||
var icFlip24Horizontally: String = "", | ||
var icFlip24Vertically: String = "", | ||
var pickImageChooserTitle: String = "", | ||
var pickImageCamera: String = "", | ||
var pickImageGallery: String = "", | ||
var mainActionRotate: String = "", | ||
var mainActionCrop: String = "" | ||
) : Parcelable { | ||
companion object { | ||
private var multiLangConfig = MultiLangConfig() | ||
|
||
fun setMultiLangConfig(config: MultiLangConfig) { | ||
multiLangConfig.apply { | ||
ok = config.ok | ||
cancel = config.cancel | ||
lassiAll = config.lassiAll | ||
cropImageMenuRotateLeft = config.cropImageMenuRotateLeft | ||
cropImageMenuRotateRight = config.cropImageMenuRotateRight | ||
cropImageMenuFlip = config.cropImageMenuFlip | ||
cropImageMenuFlipHorizontally = config.cropImageMenuFlipHorizontally | ||
cropImageMenuFlipVertically = config.cropImageMenuFlipVertically | ||
pickImageIntentChooserTitle = config.pickImageIntentChooserTitle | ||
cropImageActivityNoPermissions = config.cropImageActivityNoPermissions | ||
cropImageActivityTitle = config.cropImageActivityTitle | ||
camera = config.camera | ||
sort = config.sort | ||
done = config.done | ||
cameraAudioStoragePermissionRational = config.cameraAudioStoragePermissionRational | ||
cameraStoragePermissionRational = config.cameraStoragePermissionRational | ||
cameraAudioPermissionRational = config.cameraAudioPermissionRational | ||
cameraPermissionRational = config.cameraPermissionRational | ||
storagePermissionRational = config.storagePermissionRational | ||
readMediaImagesVideoPermissionRational = | ||
config.readMediaImagesVideoPermissionRational | ||
readMediaAudioPermissionRational = config.readMediaAudioPermissionRational | ||
alreadySelectedMaxItems = config.alreadySelectedMaxItems | ||
errorExceedMsg = config.errorExceedMsg | ||
defaultExceedErrorMsg = config.defaultExceedErrorMsg | ||
noDataFound = config.noDataFound | ||
sortByDate = config.sortByDate | ||
sortAscending = config.sortAscending | ||
sortDescending = config.sortDescending | ||
icRotateLeft24 = config.icRotateLeft24 | ||
icRotateRight24 = config.icRotateRight24 | ||
cropImageMenuCrop = config.cropImageMenuCrop | ||
icFlip24 = config.icFlip24 | ||
icFlip24Horizontally = config.icFlip24Horizontally | ||
icFlip24Vertically = config.icFlip24Vertically | ||
pickImageChooserTitle = config.pickImageChooserTitle | ||
pickImageCamera = config.pickImageCamera | ||
pickImageGallery = config.pickImageGallery | ||
mainActionRotate = config.mainActionRotate | ||
mainActionCrop = config.mainActionCrop | ||
} | ||
} | ||
|
||
fun getConfig(): MultiLangConfig { | ||
return multiLangConfig | ||
} | ||
} | ||
} |
Oops, something went wrong.