Remove edit strings

This commit is contained in:
emanuele-f 2021-10-29 16:31:42 +02:00
parent 2c52eb2bda
commit 0496eec74e
5 changed files with 1 additions and 19 deletions

View File

@ -87,7 +87,7 @@ public class EditListActivity extends BaseActivity {
Intent intent = new Intent(android.content.Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(android.content.Intent.EXTRA_SUBJECT, getString(mListInfo.getShareSubject()));
intent.putExtra(android.content.Intent.EXTRA_SUBJECT, getString(mListInfo.getTitle()));
intent.putExtra(android.content.Intent.EXTRA_TEXT, contents);
startActivity(Intent.createChooser(intent, getResources().getString(R.string.share)));

View File

@ -50,18 +50,6 @@ public class ListInfo {
}
public int getTitle() {
switch(mType) {
case VISUALIZATION_MASK:
return R.string.edit_hidden_connections;
case MALWARE_WHITELIST:
return R.string.edit_malware_whitelist;
}
assert false;
return 0;
}
public int getShareSubject() {
switch(mType) {
case VISUALIZATION_MASK:
return R.string.hidden_connections_rules;

View File

@ -164,8 +164,6 @@
<string name="reset">Reimposta</string>
<string name="malware_whitelist">Whitelist Malware</string>
<string name="malware_whitelist_rules">Regole della Whitelist Malware</string>
<string name="edit_hidden_connections">Modifica Connessioni Nascoste</string>
<string name="edit_malware_whitelist">Modifica Whitelist Malware</string>
<string name="feature_not_available">Questa funzione non è attualmente disponibile per il tuo dispositivo</string>
<string name="billing_connecting">La connessione a Google Play è in corso, riprovare tra poco</string>
<string name="show_help">Mostra aiuto</string>

View File

@ -175,8 +175,6 @@
<string name="reset">重置</string>
<string name="malware_whitelist">恶意软件白名单</string>
<string name="malware_whitelist_rules">恶意软件白名单规则</string>
<string name="edit_hidden_connections">编辑隐藏的连接</string>
<string name="edit_malware_whitelist">编辑恶意软件白名单</string>
<string name="feature_not_available">此功能目前在您的设备上不可用</string>
<string name="billing_connecting">正在连接 Google Play请稍候再试</string>
<string name="show_help">显示帮助</string>

View File

@ -175,8 +175,6 @@
<string name="reset">Reset</string>
<string name="malware_whitelist">Malware Whitelist</string>
<string name="malware_whitelist_rules">Malware Whitelist Rules</string>
<string name="edit_hidden_connections">Edit Hidden Connections</string>
<string name="edit_malware_whitelist">Edit Malware Whitelist</string>
<string name="feature_not_available">This feature is currently unavailable for your device</string>
<string name="billing_connecting">The connection to Google Play is in progress, please retry in a while</string>
<string name="show_help">Show help</string>