Panagiotis Triantafyllou

new version

......@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
ext {
PUBLISH_GROUP_ID = 'ly.warp'
PUBLISH_VERSION = '4.5.4-cosbeta20'
PUBLISH_VERSION = '4.5.4-cosbeta21'
PUBLISH_ARTIFACT_ID = 'warply-android-sdk'
}
......
......@@ -17,6 +17,7 @@ import com.google.zxing.BarcodeFormat;
import com.google.zxing.common.BitMatrix;
import com.google.zxing.oned.EAN13Writer;
import java.io.Serializable;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
......@@ -37,7 +38,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
private ImageView mIvBack, mIvCouponPhoto, mIvBarcode;
private TextView mTvTerms, mTvCouponCode, mTvCouponTitle, mTvCouponSubtitle, mTvCouponDate, mTvBarcodeCode;
private LinearLayout mLlGiftIt;
private LinearLayout mLlGiftIt, mLlShops;
private Coupon mCoupon;
// ===========================================================
......@@ -60,6 +61,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
mTvCouponDate = findViewById(R.id.textView17);
mIvCouponPhoto = findViewById(R.id.imageView6);
mIvBarcode = findViewById(R.id.iv_barcode);
mLlShops = findViewById(R.id.ll_shops);
initViews();
}
......@@ -80,6 +82,12 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
intent.setType("text/plain");
intent.putExtra(android.content.Intent.EXTRA_TEXT, "Link: https://cosmote.page.link /referal\n\nΧρησιμοποίησε τον κωδικό " + mTvCouponCode.getText().toString() + " για εκπτωτικό κουπόνι 4€ στο BOX: XMAS4");
startActivity(Intent.createChooser(intent, "Άνοιγμα με"));
return;
}
if (view.getId() == R.id.ll_shops) {
// Intent intent = new Intent(ActiveCouponsActivity.this, CouponInfoActivity.class);
// intent.putExtra("coupon", (Serializable) mCoupon);
// startActivity(intent);
}
}
......@@ -119,6 +127,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
mIvBack.setOnClickListener(this);
// mTvTerms.setPaintFlags(mTvTerms.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
mLlGiftIt.setOnClickListener(this);
mLlShops.setOnClickListener(this);
String tempCoupon = mCoupon.getCoupon();
for (int i = 0; i < (12 - mCoupon.getCoupon().length()); i++) {
......@@ -143,6 +152,7 @@ public class CouponInfoActivity extends Activity implements View.OnClickListener
} catch (Exception e) {
e.printStackTrace();
mIvBarcode.setVisibility(View.GONE);
}
}
......
......@@ -27,6 +27,7 @@ import java.util.Date;
import java.util.concurrent.TimeUnit;
import ly.warp.sdk.R;
import ly.warp.sdk.io.models.ActiveDFYCouponEventModel;
import ly.warp.sdk.io.models.ActiveDFYCouponModel;
import ly.warp.sdk.io.models.Coupon;
import ly.warp.sdk.io.models.CouponList;
......@@ -48,7 +49,8 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
private ImageView mIvBack, mIvDealsLogo, mIvProfilePhoto;
private TextView mTvUsername, mTvDealsValue, mTvDealsValueAll,
mTvUserBadge, mTvGiftsValue, mTvGiftsValueAll, mTvActiveCode, mTvActiveDate;
mTvUserBadge, mTvGiftsValue, mTvGiftsValueAll, mTvActiveCode, mTvActiveDate,
mTvActiveTitle;
private ConstraintLayout mClDealsBanner, mClDealsView,
mClGiftsBanner;
private LinearLayout mLlQuestionnaire, mLlUserBadge;
......@@ -77,10 +79,11 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
mTvDealsValue = findViewById(R.id.tv_deals_value);
mTvDealsValueAll = findViewById(R.id.tv_deals_value_all);
mTvActiveCode = findViewById(R.id.tv_active_deals_text);
mTvActiveDate = findViewById(R.id.tv_active_deals_date_text);
// mTvActiveDate = findViewById(R.id.tv_active_deals_date_text);
mIvDealsLogo = findViewById(R.id.dfy_logo);
mClDealsView = findViewById(R.id.cl_mygifts);
mIvProfilePhoto = findViewById(R.id.iv_profile_photo);
mTvActiveTitle = findViewById(R.id.tv_active_gifts);
if (WarplyManagerHelper.getActiveDFYCoupons() != null) {
Collections.sort(WarplyManagerHelper.getActiveDFYCoupons(), new Comparator<ActiveDFYCouponModel>() {
......@@ -117,7 +120,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
return;
}
if (view.getId() == R.id.ll_user_questionnaire || view.getId() == R.id.ll_user_badge) {
startActivity(WarpViewActivity.createIntentFromURL(LoyaltyWallet.this, WarplyManagerHelper.openQuestionnaire()));
startActivityForResult(WarpViewActivity.createIntentFromURL(LoyaltyWallet.this, WarplyManagerHelper.openQuestionnaire()), 1000);
return;
}
if (view.getId() == R.id.cl_deals_cos) {
......@@ -128,6 +131,29 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
}
if (view.getId() == R.id.cl_deals_win) {
//TODO: Loyalty history
return;
}
if (view.getId() == R.id.cl_mygifts) {
ActiveDFYCouponEventModel activeCouponEventModel = new ActiveDFYCouponEventModel();
activeCouponEventModel.setPressed(true);
EventBus.getDefault().post(new WarplyEventBusManager(activeCouponEventModel));
}
}
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == 1000) {
if (resultCode == RESULT_OK) {
if (!TextUtils.isEmpty(WarplyManagerHelper.getUserTag())) {
mTvUserBadge.setText(WarplyManagerHelper.getUserTag());
mLlQuestionnaire.setVisibility(View.GONE);
mLlUserBadge.setVisibility(View.VISIBLE);
} else {
mLlUserBadge.setVisibility(View.GONE);
mLlQuestionnaire.setVisibility(View.VISIBLE);
}
}
}
}
......@@ -155,20 +181,32 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
mTvDealsValue.setText(String.format(getString(R.string.cos_value), String.valueOf(/*couponDfyValue*/ WarplyManagerHelper.getDealsCouponsSum())));
mTvDealsValueAll.setText(String.format(getString(R.string.cos_deals_win_title_cos), String.valueOf(/*couponDfyValue*/WarplyManagerHelper.getDealsCouponsSum())));
if (WarplyManagerHelper.getActiveDFYCoupons() != null && WarplyManagerHelper.getActiveDFYCoupons().size() > 0) {
mTvActiveCode.setText(WarplyManagerHelper.getActiveDFYCoupons().get(0).getCode());
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm");
String date1 = WarplyManagerHelper.getActiveDFYCoupons().get(0).getDate();
String date2 = dateFormat.format(new Date());
String codes = "";
if (WarplyManagerHelper.getActiveDFYCoupons().size() == 1) {
codes = WarplyManagerHelper.getActiveDFYCoupons().get(0).getCode();
mTvActiveTitle.setText(String.format(getString(R.string.cos_active_deals), String.valueOf(1)));
} else {
for (ActiveDFYCouponModel coupon : WarplyManagerHelper.getActiveDFYCoupons()) {
codes = codes + coupon.getCode() + ",";
}
codes = codes.substring(0, codes.length() - 1);
try {
Date toDate = dateFormat.parse(date2);
Date fromDate = dateFormat.parse(date1);
long diff = TimeUnit.MILLISECONDS.toDays(fromDate.getTime() - toDate.getTime());
mTvActiveDate.setText(String.format(getString(R.string.cos_active_coupon_date), String.valueOf(diff)));
} catch (ParseException e) {
e.printStackTrace();
mTvActiveTitle.setText(String.format(getString(R.string.cos_active_deals_plural), String.valueOf(WarplyManagerHelper.getActiveDFYCoupons().size())));
}
mTvActiveCode.setText(codes);
// SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm");
// String date1 = WarplyManagerHelper.getActiveDFYCoupons().get(0).getDate();
// String date2 = dateFormat.format(new Date());
//
// try {
// Date toDate = dateFormat.parse(date2);
// Date fromDate = dateFormat.parse(date1);
// long diff = TimeUnit.MILLISECONDS.toDays(fromDate.getTime() - toDate.getTime());
// mTvActiveDate.setText(String.format(getString(R.string.cos_active_coupon_date), String.valueOf(diff)));
// } catch (ParseException e) {
// e.printStackTrace();
// }
} else {
mIvDealsLogo.setVisibility(View.GONE);
mClDealsView.setVisibility(View.GONE);
......@@ -204,6 +242,7 @@ public class LoyaltyWallet extends Activity implements View.OnClickListener {
mLlUserBadge.setOnClickListener(this);
mClDealsBanner.setOnClickListener(this);
mClGiftsBanner.setOnClickListener(this);
mClDealsView.setOnClickListener(this);
}
// ===========================================================
......
......@@ -123,8 +123,10 @@ public class WarpViewActivity extends WarpBaseActivity {
@Subscribe()
public void onMessageEvent(WarplyEventBusManager event) {
EventBus.getDefault().unregister(this);
if (event.getQuestionnaire() != null)
if (event.getQuestionnaire() != null) {
EventBus.getDefault().post(new WarplyEventBusManager(event.getQuestionnaire()));
setResult(RESULT_OK,new Intent());
}
if (event.getCoupon() != null)
EventBus.getDefault().post(new WarplyEventBusManager(event.getCoupon()));
if (event.getPacingCard() != null)
......
......@@ -121,24 +121,24 @@ public class VolleyTransformer implements Listener<JSONObject>, ErrorListener {
// WarpUtils.log("[WARP Trace] Request: " + response.toString(2));
WarpUtils.log("[WARP Trace] Response: ");
// if (response.toString().length() > 4000) {
// for (int i = 0; i < response.toString().length(); i += 4000) {
// if (i + 4000 < response.toString().length())
// WarpUtils.log(response.toString().substring(i, i + 4000));
// else
// WarpUtils.log(response.toString().substring(i, response.toString().length()));
if (response.toString().length() > 1000) {
for (int i = 0; i < response.toString().length(); i += 1000) {
if (i + 1000 < response.toString().length())
WarpUtils.log(response.toString().substring(i, i + 1000));
else
WarpUtils.log(response.toString().substring(i, response.toString().length()));
}
// for (int i = 0, length = response.toString().length(); i < length; i++) {
// int newline = response.toString().indexOf('\n', i);
// newline = newline != -1 ? newline : length;
// do {
// int end = Math.min(newline, i + 4000);
// WarpUtils.log(response.toString().substring(i, end));
// i = end;
// } while (i < newline);
// }
for (int i = 0, length = response.toString().length(); i < length; i++) {
int newline = response.toString().indexOf('\n', i);
newline = newline != -1 ? newline : length;
do {
int end = Math.min(newline, i + 4000);
WarpUtils.log(response.toString().substring(i, end));
i = end;
} while (i < newline);
}
// } else
// WarpUtils.log("[WARP Trace] Request: " + response.toString(2));
} else
WarpUtils.log("[WARP Trace] Request: " + response.toString(2));
} catch (/*JSONException*/ Exception e) {
WarpUtils.warn(
"[WARP Trace] Failed conversting JSON to string", e);
......
/*
* Copyright 2010-2013 Warply Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE WARPLY LTD ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
* EVENT SHALL WARPLY LTD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package ly.warp.sdk.io.models;
/**
* Created by Panagiotis Triantafyllou on 29-June-22.
*/
public class ActiveDFYCouponEventModel {
private boolean pressed;
public ActiveDFYCouponEventModel() {
this.pressed = true;
}
public boolean isPressed() {
return pressed;
}
public void setPressed(boolean pressed) {
this.pressed = pressed;
}
}
......@@ -298,7 +298,7 @@ public class WarplyManagerHelper {
/**
* Open CCMS campaign
*/
public static String constructCcmsUrl(LoyaltyContextualOfferModel item, String sessionId) {
public static String constructCcmsUrl(LoyaltyContextualOfferModel item) {
String url = "";
if (item != null) {
if (mUniqueCampaignList != null && mUniqueCampaignList.get("gifts_for_you") != null && mUniqueCampaignList.get("gifts_for_you").size() > 0) {
......@@ -320,7 +320,7 @@ public class WarplyManagerHelper {
+ "&refresh_token=" + WarplyDBHelper.getInstance(Warply.getWarplyContext()).getAuthValue("refresh_token")
+ "&client_id=" + WarplyDBHelper.getInstance(Warply.getWarplyContext()).getClientValue("client_id")
+ "&client_secret=" + WarplyDBHelper.getInstance(Warply.getWarplyContext()).getClientValue("client_secret")
+ "&Session_ID=" + sessionId //item.getSessionId()
+ "&Session_ID=" + item.getSessionId()
+ "&businessService=" + item.getBusinessService()
+ "&offerName=" + item.getOfferName()
+ "&productType=" + item.getProductType()
......@@ -382,11 +382,11 @@ public class WarplyManagerHelper {
}
}
Log.v("Got L:{" + String.valueOf(tempGifts.size()) + "}", " LOYALTY campaigns");
Log.v("Got L:{" + String.valueOf(mCampaignList.size()) + "}", " LOYALTY campaigns");
Log.v("Got C:{0}", " CCMS campaigns");
Log.v("Matched M:{0}", " CCMS campaigns");
Log.v("=====================================", "");
Log.v("TOTAL: Campaigns Sum=" + String.valueOf(tempGifts.size()), " campaigns to display");
Log.v("TOTAL: Campaigns Sum=" + String.valueOf(mCampaignList.size()), " campaigns to display");
mUniqueCampaignList.get("gifts_for_you").removeAll(tempGifts);
}
return;
......@@ -423,11 +423,11 @@ public class WarplyManagerHelper {
}
}
Log.v("Got L:{" + String.valueOf(loyaltyCount) + "}", " LOYALTY campaigns");
Log.v("Got L:{" + String.valueOf(mCampaignList.size()) + "}", " LOYALTY campaigns");
Log.v("Got C:{" + String.valueOf(list.size()) + "}", " CCMS campaigns");
Log.v("Matched M:{" + String.valueOf(ccmsCount) + "}", " CCMS campaigns");
Log.v("=====================================", "");
Log.v("TOTAL: Campaigns Sum=" + String.valueOf(loyaltyCount + ccmsCount), " campaigns to display");
Log.v("TOTAL: Campaigns Sum=" + String.valueOf(mCampaignList.size() - loyaltyCount + ccmsCount), " campaigns to display");
mUniqueCampaignList.get("gifts_for_you").retainAll(tempGifts);
}
}
......
......@@ -2,6 +2,7 @@ package ly.warp.sdk.utils.managers;
import java.util.HashMap;
import ly.warp.sdk.io.models.ActiveDFYCouponEventModel;
import ly.warp.sdk.io.models.CouponEventModel;
import ly.warp.sdk.io.models.LoyaltyContextualOfferModel;
import ly.warp.sdk.io.models.LoyaltyGiftsForYouOfferClickEvent;
......@@ -27,6 +28,7 @@ public class WarplyEventBusManager {
private LoyaltyGiftsForYouOfferClickEvent giftsYou;
private QuestionnaireEventModel questionnaire;
private CouponEventModel coupon;
private ActiveDFYCouponEventModel activeCoupon;
public WarplyEventBusManager() {
......@@ -44,6 +46,10 @@ public class WarplyEventBusManager {
this.coupon = coupon;
}
public WarplyEventBusManager(ActiveDFYCouponEventModel activeCoupon) {
this.activeCoupon = activeCoupon;
}
public WarplyEventBusManager(LoyaltySDKFirebaseEventModel fireEvent) {
this.fireEvent = fireEvent;
}
......@@ -137,4 +143,8 @@ public class WarplyEventBusManager {
public CouponEventModel getCoupon() {
return coupon;
}
public ActiveDFYCouponEventModel getActiveCoupon() {
return activeCoupon;
}
}
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="7dp" />
<corners android:radius="12dp" />
<solid
android:width="2dp"
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="7dp" />
<corners android:radius="12dp" />
<solid
android:width="2dp"
......
......@@ -170,13 +170,6 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView17">
<!-- <ImageView-->
<!-- android:layout_width="34dp"-->
<!-- android:layout_height="25dp"-->
<!-- android:layout_marginRight="15dp"-->
<!-- android:adjustViewBounds="true"-->
<!-- android:src="@drawable/gift_icon" />-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
......@@ -184,32 +177,32 @@
android:text="@string/cos_gift_it"
android:textColor="@color/white"
android:textSize="17dp"
android:textStyle="bold" />
android:textFontWeight="600" />
</LinearLayout>
<!-- <LinearLayout-->
<!-- android:id="@+id/ll_get_gift"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="50dp"-->
<!-- android:layout_marginHorizontal="32dp"-->
<!-- android:layout_marginTop="24dp"-->
<!-- android:background="@drawable/shape_cos_gradient2"-->
<!-- android:gravity="center"-->
<!-- android:orientation="horizontal"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintHorizontal_bias="0.516"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toBottomOf="@+id/ll_gift_it">-->
<LinearLayout
android:id="@+id/ll_shops"
android:layout_width="240dp"
android:layout_height="50dp"
android:layout_marginHorizontal="32dp"
android:layout_marginTop="24dp"
android:background="@drawable/selector_button_grey"
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ll_gift_it">
<!-- <TextView-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center"-->
<!-- android:text="Πάρε το δώρο σου"-->
<!-- android:textColor="@color/white"-->
<!-- android:textSize="17dp"-->
<!-- android:textStyle="bold" />-->
<!-- </LinearLayout>-->
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/cos_shops"
android:textColor="@color/cos_green6"
android:textSize="17dp"
android:textFontWeight="600" />
</LinearLayout>
<RelativeLayout
android:id="@+id/rl_terms"
......@@ -219,7 +212,7 @@
android:gravity="center"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ll_gift_it">
app:layout_constraintTop_toBottomOf="@+id/ll_shops">
<LinearLayout
android:id="@+id/ll_terms_inner"
......@@ -234,8 +227,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Όροι χρήσης"
android:textColor="#415564"
android:textFontWeight="600"
android:textColor="@color/grey"
android:textSize="15sp" />
<ImageView
......
......@@ -336,10 +336,11 @@
android:paddingVertical="10dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:layout_marginHorizontal="24dp"
android:orientation="vertical"
app:layout_constraintEnd_toStartOf="@+id/iv_deals_circle"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
......@@ -348,7 +349,7 @@
android:id="@+id/tv_active_gifts"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cos_active_deals"
tools:text="@string/cos_active_deals"
android:textColor="@color/blue_dark"
android:textFontWeight="600"
android:textSize="18sp" />
......@@ -359,18 +360,21 @@
android:layout_height="wrap_content"
android:textColor="@color/blue_dark"
android:textSize="18sp"
android:maxLines="2"
android:ellipsize="end"
android:textStyle="bold"
tools:text="961544809" />
<TextView
android:id="@+id/tv_active_deals_date_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:text="@string/cos_active_coupon_date"
android:textColor="@color/blue_dark" />
<!-- <TextView-->
<!-- android:id="@+id/tv_active_deals_date_text"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- tools:text="@string/cos_active_coupon_date"-->
<!-- android:textColor="@color/blue_dark" />-->
</LinearLayout>
<ImageView
android:id="@+id/iv_deals_circle"
android:layout_width="86dp"
android:layout_height="86dp"
android:layout_marginVertical="4dp"
......
......@@ -47,7 +47,8 @@
<string name="cos_see_all">Δες τα όλα -></string>
<string name="cos_active_rewards">Έχεις %1$s ενεργά δώρα</string>
<string name="cos_analysis">Ανάλυση</string>
<string name="cos_active_deals">Ενεργός κωδικός:</string>
<string name="cos_active_deals">%1$s Ενεργός κωδικός:</string>
<string name="cos_active_deals_plural">%1$s Ενεργοί κωδικοί:</string>
<string name="cos_monthly">Μηνιαία</string>
<string name="cos_six_months">6Μηνο</string>
<string name="cos_annual">12Μηνο</string>
......@@ -85,6 +86,7 @@
<string name="cos_dlg_return_text">Έλαβες πίσω το δώρο σου, κουπόνι αξίας 100€ για τα Intersport</string>
<string name="cos_dlg_negative_button2">Άκυρο</string>
<string name="cos_profile_preferences">+Προτιμήσεις</string>
<string name="cos_shops">Δες τα καταστήματα</string>
<string-array name="coupons_array">
<item>Κουπόνια</item>
......