extract string
This commit is contained in:
parent
0168bbfa4b
commit
d0fb57f959
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ import android.app.AlertDialog;
|
|||
import android.app.ProgressDialog;
|
||||
|
||||
import org.ligi.axt.helpers.dialog.ActivityFinishingOnClickListener;
|
||||
import org.ligi.passandroid.R;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
|
@ -60,7 +61,7 @@ public class UnzipPassDialog {
|
|||
@Override
|
||||
public void run() {
|
||||
myProgress.dismiss();
|
||||
DisplayError(activity, "Invalid Passbook", reason);
|
||||
DisplayError(activity, activity.getString(R.string.invalid_passbook_title), reason);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -88,5 +88,6 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
|
|||
<string name="nav_share">Share</string>
|
||||
<string name="pass_directions">Navigate</string>
|
||||
<string name="pass_to_calendar">to Calendar</string>
|
||||
<string name="invalid_passbook_title">Invalid Passbook</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue