Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable-3.30] fix(sharing): make clear re-sharing prevented by policy or permissions #14008

Merged
merged 12 commits into from
Nov 12, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ private void setupView() {
binding.searchView.setQueryHint(getResources().getString(R.string.share_search));
}
} else {
binding.searchView.setQueryHint(getResources().getString(R.string.reshare_not_allowed));
binding.searchView.setQueryHint(getResources().getString(R.string.resharing_is_not_allowed));
binding.searchView.setInputType(InputType.TYPE_NULL);
binding.pickContactEmailBtn.setVisibility(View.GONE);
disableSearchView(binding.searchView);
Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
<string name="empty" translatable="false" />
<string name="test_server_button">Test server connection</string>
<string name="info_separator" translatable="false">&#160;&#x2022;</string>
<string name="resharing_is_not_allowed">Resharing is not allowed</string>
<string name="resharing_is_not_allowed">Policy or permissions prevent resharing</string>

<string name="foreground_service_upload">Uploading files…</string>
<string name="worker_download">Downloading files…</string>
Expand Down Expand Up @@ -957,7 +957,6 @@
<string name="storage_downloads">Downloads</string>
<string name="shared_avatar_desc">Avatar from shared user</string>
<string name="shared_with_you_by">Shared with you by %1$s</string>
<string name="reshare_not_allowed">Resharing is not allowed</string>
<string name="retrieving_file">Retrieving file…</string>
<string name="associated_account_not_found">Associated account not found!</string>
<string name="logged_in_as">Logged in as %1$s</string>
Expand Down