mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-07 17:48:52 -06:00
Implement habit deletion
This commit is contained in:
@@ -21,4 +21,9 @@
|
||||
android:title="@string/unarchive"
|
||||
android:icon="@drawable/ic_action_unarchive_dark"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete"
|
||||
android:title="@string/delete"
|
||||
android:showAsAction="never" />
|
||||
|
||||
</menu>
|
||||
@@ -21,4 +21,7 @@
|
||||
android:title="@string/unarchive"
|
||||
android:icon="@drawable/ic_action_unarchive_light"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_delete"
|
||||
android:title="@string/delete" />
|
||||
</menu>
|
||||
@@ -97,4 +97,7 @@
|
||||
<string name="hint_title">Dica</string>
|
||||
<string name="hint_drag">Para mudar a ordem dos hábitos, aperte no nome do hábito, sustente e arraste.</string>
|
||||
<string name="hint_landscape">Para ver mais dias, coloque seu aparelho em modo paisagem.</string>
|
||||
<string name="delete_habits">Deletar hábitos</string>
|
||||
<string name="toast_habit_restored">Hábitos restaurados.</string>
|
||||
<string name="delete_habits_message">Os hábitos escolhidos serão deletados permanentemente. Esta ação não pode ser desfeita.</string>
|
||||
</resources>
|
||||
@@ -12,7 +12,8 @@
|
||||
<string name="color_picker_default_title">Change color</string>
|
||||
|
||||
<string name="toast_habit_created">Habit created.</string>
|
||||
<string name="toast_habit_deleted">Habit deleted.</string>
|
||||
<string name="toast_habit_deleted">Habits deleted.</string>
|
||||
<string name="toast_habit_restored">Habits restored.</string>
|
||||
<string name="toast_nothing_to_undo">Nothing to undo.</string>
|
||||
<string name="toast_nothing_to_redo">Nothing to redo.</string>
|
||||
<string name="toast_habit_changed">Habit changed.</string>
|
||||
@@ -104,6 +105,8 @@
|
||||
<string name="hint_title">Did you know?</string>
|
||||
<string name="hint_drag">To rearrange the entries, press-and-hold on the name of the habit, then drag it.</string>
|
||||
<string name="hint_landscape">You can see more days by putting your phone in landscape mode.</string>
|
||||
<string name="delete_habits">Delete Habits</string>
|
||||
<string name="delete_habits_message">The habits will be permanently deleted. This action cannot be undone.</string>
|
||||
|
||||
<string-array name="hints">
|
||||
<item>@string/hint_drag</item>
|
||||
|
||||
Reference in New Issue
Block a user