-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] Updated the translations of Spanish
- Special thanks to @KeXxDumb for contributing the Spanish translations. [UPDATE] Updated the implementation of `Folders` screen. - It now utilizes a blur effect. [FIX] Fixed various places where ActionMenu had erroneous padding. - [FEAT] Added `Filters` to extensions.kt - [UPDATE] Updated the implementation of ListHeader - [FIX] The `lastModified` of Folder was returning time in seconds instead of milliseconds. - [FIX] When the view was in selection mode, the TopBar was becoming invisible; removed that logic. It now stays on. [REFACTOR] Renamed `MenuItem` to `Action` [FEAT] Properly mapped `es-r419` (Spanish Latin America) to `b+es+419` [UPDATE] Enhanced the layout of settings. - Replaced each settings summary and title with a single resource; this will make handling resources more robust. - Replaced the old settings layout with a new multi-form factor support layout. [CHORE] Copied translation of `Spanish` from `es-rES` to `es-r419` - This was because the translator mistakenly added his dialect in another one. [CHORE] Updated Gradle to `8.7.3`
- Loading branch information
1 parent
06a1b1f
commit 643e274
Showing
29 changed files
with
1,432 additions
and
900 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,38 @@ | ||
/* | ||
* Copyright 2024 Zakir Sheikh | ||
* | ||
* Created by Zakir Sheikh on 02-12-2024. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.zs.gallery.common | ||
|
||
import com.zs.foundation.menu.Action | ||
|
||
private const val TAG = "Common" | ||
|
||
/** | ||
* Represents a sorting order and associated grouping or ordering action. | ||
* | ||
* @property first Specifies whether the sorting is ascending or descending. | ||
* @property second Specifies the action to group by or order by. | ||
*/ | ||
typealias Filter = Pair<Boolean, Action> | ||
|
||
/** | ||
* Represents a mapping from a string key to a list of items of type T. | ||
* | ||
* @param T The type of items in the list. | ||
*/ | ||
typealias Mapped<T> = Map<CharSequence, List<T>> |
Oops, something went wrong.