Never lowercase strings

This commit is contained in:
qwerty287 2023-03-06 19:45:20 +01:00
parent a2d903cfde
commit cfb134f24c
No known key found for this signature in database
GPG key ID: E0464C650D9D25B2
2 changed files with 3 additions and 2 deletions

View file

@ -572,10 +572,10 @@ public class IssueCommentsAdapter extends RecyclerView.Adapter<RecyclerView.View
}
String commitText =
context.getResources().getString(R.string.commits).toLowerCase();
context.getResources().getString(R.string.commitsText);
if (Objects.requireNonNull(commitsShaArray).length() == 1) {
commitText =
context.getResources().getString(R.string.commitText).toLowerCase();
context.getResources().getString(R.string.commitText);
}
String commitString =

View file

@ -803,6 +803,7 @@
<string name="notesAllDeletionMessage">This will delete all of your notes. This action cannot be undone.</string>
<!-- timeline -->
<string name="commitsText">commit</string>
<string name="commitText">commit</string>
<string name="timelineAddedCommit">%1$s added %2$s %3$s</string>
<!-- the | is replaced by the label -->