mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Remove remaining usages of platform-provided strings
This commit is contained in:
		@@ -199,7 +199,7 @@ private fun SetAsDefaultDialog(
 | 
			
		||||
        },
 | 
			
		||||
        dismissButton = {
 | 
			
		||||
            TextButton(onClick = onDismissRequest) {
 | 
			
		||||
                Text(text = stringResource(android.R.string.cancel))
 | 
			
		||||
                Text(text = stringResource(R.string.action_cancel))
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        confirmButton = {
 | 
			
		||||
 
 | 
			
		||||
@@ -246,7 +246,7 @@ object SettingsBackupScreen : SearchableSettings {
 | 
			
		||||
                                    onDismissRequest()
 | 
			
		||||
                                },
 | 
			
		||||
                            ) {
 | 
			
		||||
                                Text(text = stringResource(android.R.string.copy))
 | 
			
		||||
                                Text(text = stringResource(R.string.action_copy_to_clipboard))
 | 
			
		||||
                            }
 | 
			
		||||
                        },
 | 
			
		||||
                        confirmButton = {
 | 
			
		||||
 
 | 
			
		||||
@@ -171,7 +171,7 @@ fun TrackDateSelector(
 | 
			
		||||
                        Spacer(modifier = Modifier.weight(1f))
 | 
			
		||||
                    }
 | 
			
		||||
                    TextButton(onClick = onDismissRequest) {
 | 
			
		||||
                        Text(text = stringResource(android.R.string.cancel))
 | 
			
		||||
                        Text(text = stringResource(R.string.action_cancel))
 | 
			
		||||
                    }
 | 
			
		||||
                    TextButton(onClick = { onConfirm(pickerState.selectedDateMillis!!) }) {
 | 
			
		||||
                        Text(text = stringResource(R.string.action_ok))
 | 
			
		||||
@@ -209,7 +209,7 @@ private fun BaseSelector(
 | 
			
		||||
                    Spacer(modifier = Modifier.weight(1f))
 | 
			
		||||
                }
 | 
			
		||||
                TextButton(onClick = onDismissRequest) {
 | 
			
		||||
                    Text(text = stringResource(android.R.string.cancel))
 | 
			
		||||
                    Text(text = stringResource(R.string.action_cancel))
 | 
			
		||||
                }
 | 
			
		||||
                TextButton(onClick = onConfirm) {
 | 
			
		||||
                    Text(text = stringResource(R.string.action_ok))
 | 
			
		||||
 
 | 
			
		||||
@@ -593,7 +593,7 @@ private data class TrackDateRemoverScreen(
 | 
			
		||||
                    horizontalArrangement = Arrangement.spacedBy(MaterialTheme.padding.small, Alignment.End),
 | 
			
		||||
                ) {
 | 
			
		||||
                    TextButton(onClick = navigator::pop) {
 | 
			
		||||
                        Text(text = stringResource(android.R.string.cancel))
 | 
			
		||||
                        Text(text = stringResource(R.string.action_cancel))
 | 
			
		||||
                    }
 | 
			
		||||
                    FilledTonalButton(
 | 
			
		||||
                        onClick = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user