Skip to content

Commit

Permalink
Minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mardous committed Nov 16, 2024
1 parent 1eadc3f commit 10b4f19
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import java.io.File
* @author Christians Martínez Alvarado (mardous)
*/
enum class StatusType(@StringRes val nameRes: Int, val format: String, private val saveType: StatusSaveType) {
IMAGE(R.string.type_image, ".jpg", StatusSaveType.IMAGE_SAVE),
VIDEO(R.string.type_video, ".mp4", StatusSaveType.VIDEO_SAVE);
IMAGE(R.string.type_images, ".jpg", StatusSaveType.IMAGE_SAVE),
VIDEO(R.string.type_videos, ".mp4", StatusSaveType.VIDEO_SAVE);

fun getDefaultSaveName(timeMillis: Long, delta: Int): String = getNewSaveName(this, timeMillis, delta = delta)

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_statuses.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
android:id="@+id/tab_layout"
style="@style/Widget.Material3.TabLayout.OnSurface"
android:layout_width="match_parent"
android:layout_height="@dimen/tab_height"
android:layout_height="wrap_content"
app:tabMode="fixed"/>

</com.google.android.material.appbar.AppBarLayout>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="type_image">صور</string>
<string name="type_video">فيديوهات</string>
<string name="type_images">صور</string>
<string name="type_videos">فيديوهات</string>
<string name="close_action">إغلاق</string>
<string name="save_action">حفظ</string>
<string name="share_action">مشاركة</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-be-rBY/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">Малюнак</string>
<string name="type_video">Відэа</string>
<string name="type_images">Малюнак</string>
<string name="type_videos">Відэа</string>
<string name="close_action">Блізка</string>
<string name="save_action">Захаваць</string>
<string name="share_action">падзяліцца</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<string name="translations_summary">Du kannst uns helfen, indem du die App in deine Sprache übersetzt.</string>
<string name="fork_on_github_title">Auf Github forken</string>
<string name="oss_licenses_title">Open-Source-Lizenzen</string>
<string name="type_image">Bild</string>
<string name="type_video">Video</string>
<string name="type_images">Bild</string>
<string name="type_videos">Video</string>
<string name="close_action">Schließen</string>
<string name="save_action">Speichern</string>
<string name="share_action">Teilen</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="type_image">Imagen</string>
<string name="type_video">Vídeo</string>
<string name="type_images">Imagen</string>
<string name="type_videos">Vídeo</string>
<string name="close_action">Cerrar</string>
<string name="save_action">Guardar</string>
<string name="share_action">Compartir</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-es-rUS/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="type_image">Imagen</string>
<string name="type_video">Video</string>
<string name="type_images">Imágenes</string>
<string name="type_videos">Videos</string>
<string name="close_action">Cerrar</string>
<string name="save_action">Guardar</string>
<string name="share_action">Compartir</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-fr-rFR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="type_image">Image</string>
<string name="type_video">Video</string>
<string name="type_images">Image</string>
<string name="type_videos">Video</string>
<string name="close_action">Fermer</string>
<string name="save_action">Sauvegarder</string>
<string name="share_action">Partager</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-hi-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">छवि</string>
<string name="type_video">वीडियो</string>
<string name="type_images">छवि</string>
<string name="type_videos">वीडियो</string>
<string name="close_action">बंद करना</string>
<string name="save_action">बचाना</string>
<string name="share_action">शेयर करना</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">Immagine</string>
<string name="type_video">video</string>
<string name="type_images">Immagine</string>
<string name="type_videos">video</string>
<string name="close_action">Vicino</string>
<string name="save_action">Salva</string>
<string name="share_action">Condividere</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-kk-rKZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">Кескін</string>
<string name="type_video">Бейне</string>
<string name="type_images">Кескін</string>
<string name="type_videos">Бейне</string>
<string name="close_action">Жабық</string>
<string name="save_action">Сақтау</string>
<string name="share_action">Бөлісу</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-nl-rNL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">Afbeelding</string>
<string name="type_video">Video</string>
<string name="type_images">Afbeelding</string>
<string name="type_videos">Video</string>
<string name="close_action">Dichtbij</string>
<string name="save_action">Redden</string>
<string name="share_action">Deel</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">Imagem</string>
<string name="type_video">Vídeo</string>
<string name="type_images">Imagem</string>
<string name="type_videos">Vídeo</string>
<string name="close_action">Fechar</string>
<string name="save_action">Salvar</string>
<string name="share_action">Compartilhar</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-ru-rRU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="type_image">Изображение</string>
<string name="type_video">видео</string>
<string name="type_images">Изображение</string>
<string name="type_videos">видео</string>
<string name="close_action">Закрывать</string>
<string name="save_action">Сохранять</string>
<string name="share_action">Делиться</string>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values-ta-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources>
<string name="type_image">படம்</string>
<string name="type_video">காணொளி</string>
<string name="type_images">படம்</string>
<string name="type_videos">காணொளி</string>
<string name="close_action">நெருக்கமான</string>
<string name="save_action">சேமிக்கவும்</string>
<string name="share_action">பகிர்</string>
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<dimen name="m3_one_line_list_height">56dp</dimen>
<dimen name="m3_dialog_corner_radius">28dp</dimen>
<dimen name="m3_card_corner_radius">8dp</dimen>
<dimen name="tab_height">48dp</dimen>
<dimen name="bottom_nav_height">80dp</dimen>

<dimen name="button_padding_vertical">10dp</dimen>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
--><resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="type_image">Image</string>
<string name="type_video">Video</string>
<string name="type_images">Images</string>
<string name="type_videos">Videos</string>
<string name="close_action">Close</string>
<string name="save_action">Save</string>
<string name="share_action">Share</string>
Expand Down

0 comments on commit 10b4f19

Please sign in to comment.