Skip to content

Commit aa5e487

Browse files
chirayudesailuca020400
authored andcommitted
Use string "Share" for sharing, instead of "Send"
* Code may be send, but what it brings up is commonly referred to as the sharesheet: https://developer.android.com/training/sharing/send#why-to-use-system-sharesheet Change-Id: I7ef9c6fc39a262e200783b68adf0017e32fcd020
1 parent 392ec28 commit aa5e487

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/src/main/java/org/lineageos/camelot/PdfViewerActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class PdfViewerActivity : AppCompatActivity(R.layout.activity_main) {
144144
putExtra(Intent.EXTRA_STREAM, pdfUri)
145145
type = MIME_TYPE_PDF
146146
},
147-
getString(R.string.send)
147+
getString(R.string.share)
148148
)
149149
)
150150
true

app/src/main/res/menu/pdf_viewer_menu.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
SPDX-FileCopyrightText: 2024 The LineageOS Project
3+
SPDX-FileCopyrightText: 2024-2025 The LineageOS Project
44
SPDX-License-Identifier: Apache-2.0
55
-->
66
<menu xmlns:android="http://schemas.android.com/apk/res/android"
@@ -13,7 +13,7 @@
1313

1414
<item
1515
android:id="@+id/action_send"
16-
android:title="@string/send"
16+
android:title="@string/share"
1717
app:showAsAction="never" />
1818

1919
<item

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<resources>
77
<string name="app_name">PDF Viewer</string>
88
<string name="find_in_page">Find in page</string>
9-
<string name="send">Send</string>
9+
<string name="share">Share</string>
1010
<string name="open_with">Open with…</string>
1111
<string name="download">Download</string>
1212
<string name="pdf_document">PDF Document</string>

0 commit comments

Comments
 (0)