Skip to content

Commit

Permalink
refactor(translations): remove blocks/mutes strings in favor of block…
Browse files Browse the repository at this point in the history
…ed accounts/muted accounts strings
  • Loading branch information
LucasGGamerM committed Sep 26, 2023
1 parent 968668e commit 33d4e05
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.joinmastodon.android.R;
import org.joinmastodon.android.api.requests.HeaderPaginationRequest;
import org.joinmastodon.android.api.requests.accounts.GetAccountBlocks;
import org.joinmastodon.android.api.requests.accounts.GetAccountMutes;
import org.joinmastodon.android.model.Account;
import org.joinmastodon.android.ui.viewholders.AccountViewHolder;

Expand All @@ -15,7 +14,7 @@ public class BlocksListFragment extends AccountRelatedAccountListFragment{
@Override
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setTitle(R.string.mo_blocked_account);
setTitle(R.string.mo_blocked_accounts);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class MutesListFragment extends AccountRelatedAccountListFragment{
@Override
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setTitle(R.string.mo_muted_account);
setTitle(R.string.mo_muted_accounts);
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions mastodon/src/main/res/menu/profile_own.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<item android:id="@+id/manage_user_lists" android:title="@string/sk_your_lists" android:icon="@drawable/ic_fluent_people_24_regular"/>
<item android:id="@+id/favorites" android:title="@string/your_favorites" android:icon="@drawable/ic_fluent_star_24_regular" android:showAsAction="always"/>
<item android:id="@+id/scheduled" android:title="@string/sk_unsent_posts" android:icon="@drawable/ic_fluent_folder_open_24_regular" android:showAsAction="always"/>
<item android:id="@+id/mutes" android:title="@string/mo_mutes" android:icon="@drawable/ic_fluent_speaker_off_24_regular"/>
<item android:id="@+id/blocks" android:title="@string/mo_blocks" android:icon="@drawable/ic_fluent_shield_24_regular"/>
<item android:id="@+id/mutes" android:title="@string/mo_muted_accounts" android:icon="@drawable/ic_fluent_speaker_off_24_regular"/>
<item android:id="@+id/blocks" android:title="@string/mo_blocked_accounts" android:icon="@drawable/ic_fluent_shield_24_regular"/>
<item android:id="@+id/share" android:title="@string/share_user" android:icon="@drawable/ic_fluent_share_24_regular"/>
</menu>
4 changes: 2 additions & 2 deletions mastodon/src/main/res/values-pt-rBR/strings_mo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
<string name="mo_unmuting">Dessilenciando…</string>
<string name="mo_unmute_hashtag">Dessilenciar hashtag</string>
<string name="mo_confirm_to_unmute_hashtag">Você tem certeza que quer dessilenciar esta hashtag\?</string>
<string name="mo_blocked_account">Contas bloqueadas</string>
<string name="mo_muted_account">Contas silenciadas</string>
<string name="mo_blocked_accounts">Contas bloqueadas</string>
<string name="mo_muted_accounts">Contas silenciadas</string>
<string name="mo_blocks">Usuários bloqueados</string>
<string name="mo_mute_hashtag">Silenciar hashtag</string>
<string name="mo_confirm_to_mute_hashtag">Você tem certeza que quer silenciar esta hashtag\?</string>
Expand Down
8 changes: 4 additions & 4 deletions mastodon/src/main/res/values/strings_mo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
<string name="mo_show_media_preview">Show media preview in timelines</string>

<!-- Temporary Strings. They exist in strings_sk.xml, but are not available on Megalodon's weblate-->
<string name="mo_muted_account">Muted accounts</string>
<string name="mo_mutes">Mutes</string>
<string name="mo_blocked_account">Blocked accounts</string>
<string name="mo_blocks">Blocks</string>
<string name="mo_muted_accounts">Muted accounts</string>
<!-- <string name="mo_mutes">Mutes</string>-->
<string name="mo_blocked_accounts">Blocked accounts</string>
<!-- <string name="mo_blocks">Blocks</string>-->
</resources>

0 comments on commit 33d4e05

Please sign in to comment.