Skip to content

Commit

Permalink
Use correct button strings resources
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarX committed Aug 16, 2024
1 parent d6aadbb commit 60828b6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fun ImportFilesScreen() {
topButton = { modifier ->
LargeButton(
modifier = modifier,
titleRes = R.string.appName,
titleRes = R.string.buttonAddFiles,
imageVector = AppIcons.Add,
style = ButtonType.TERTIARY,
onClick = { /*TODO*/ },
Expand All @@ -48,7 +48,7 @@ fun ImportFilesScreen() {
bottomButton = { modifier ->
LargeButton(
modifier = modifier,
titleRes = R.string.appName,
titleRes = R.string.buttonNext,
style = ButtonType.PRIMARY,
onClick = { /*TODO*/ },
)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<string name="buttonAddFiles">Add files</string>
<string name="buttonNext">Next</string>
<string name="contentDescriptionCreateNewTransferButton">New transfer</string>
<string name="firstTransferDescription">Make your first transfer!</string>
<string name="receivedTitle">Received</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<string name="buttonAddFiles">Add files</string>
<string name="buttonNext">Next</string>
<string name="contentDescriptionCreateNewTransferButton">New transfer</string>
<string name="firstTransferDescription">Make your first transfer!</string>
<string name="receivedTitle">Received</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-fr/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<string name="buttonAddFiles">Ajouter des fichiers</string>
<string name="buttonNext">Suivant</string>
<string name="contentDescriptionCreateNewTransferButton">Nouveau transfert</string>
<string name="firstTransferDescription">Fais ton premier transfert !</string>
<string name="receivedTitle">Recu</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values-it/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<resources>
<string name="buttonAddFiles">Add files</string>
<string name="buttonNext">Next</string>
<string name="contentDescriptionCreateNewTransferButton">New transfer</string>
<string name="firstTransferDescription">Make your first transfer!</string>
<string name="receivedTitle">Received</string>
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
<resources>
<string name="appName" translatable="false">SwissTransfer</string>

<string name="buttonAddFiles">Add files</string>
<string name="buttonNext">Next</string>
<string name="contentDescriptionCreateNewTransferButton">New transfer</string>
<string name="firstTransferDescription">Make your first transfer!</string>
<string name="receivedTitle">Received</string>
Expand Down

0 comments on commit 60828b6

Please sign in to comment.