extract string

This commit is contained in:
ligi 2014-03-12 18:41:12 +05:30
parent 0168bbfa4b
commit d0fb57f959
2 changed files with 3 additions and 1 deletions

View file

@ -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);
}
});
}

View file

@ -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>