mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 02:37:11 -07:00
Extract email prompt string into strings.xml
This commit is contained in:
parent
501017078f
commit
6ef9141109
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@ import android.os.Build;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
||||||
import com.eggheadgames.aboutbox.AboutConfig;
|
import com.eggheadgames.aboutbox.AboutConfig;
|
||||||
|
import com.eggheadgames.aboutbox.R;
|
||||||
|
|
||||||
public final class EmailUtil {
|
public final class EmailUtil {
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@ public final class EmailUtil {
|
||||||
deviceInfo += "\n Device: " + android.os.Build.MODEL + " (" + android.os.Build.PRODUCT + ")";
|
deviceInfo += "\n Device: " + android.os.Build.MODEL + " (" + android.os.Build.PRODUCT + ")";
|
||||||
deviceInfo += "\n Platform: " + platformName(config.buildType);
|
deviceInfo += "\n Platform: " + platformName(config.buildType);
|
||||||
|
|
||||||
emailBody = "Please type your question here: \n\n\n\n\n"
|
emailBody = R.string.egab_email_body_prompt + "\n\n\n\n\n"
|
||||||
+ "---------------------------" + deviceInfo;
|
+ "---------------------------" + deviceInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,5 +21,6 @@
|
||||||
<string name="egab_privacy_log_event">Privacy</string>
|
<string name="egab_privacy_log_event">Privacy</string>
|
||||||
<string name="egab_acknowledgements_log_event">Acknowledgements</string>
|
<string name="egab_acknowledgements_log_event">Acknowledgements</string>
|
||||||
<string name="egab_can_not_open">You don\'t have any app that can open this link</string>
|
<string name="egab_can_not_open">You don\'t have any app that can open this link</string>
|
||||||
|
<string name="egab_email_body_prompt">Please type your question here: </string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue