Update: 2026-06-14 04:27:17

This commit is contained in:
Hamza-Ayed
2026-06-14 04:27:17 +03:00
parent 55970712cc
commit 2645ed0cf1
9 changed files with 1394 additions and 48 deletions

View File

@@ -127,6 +127,7 @@ $appConfig = $config[$appType];
<span class="text-3xl font-black tracking-widest text-cyan-400" id="refCode"><?php echo $code; ?></span>
<button class="px-5 py-2 text-xs font-bold bg-cyan-400/10 text-cyan-300 border border-cyan-400/20 hover:bg-cyan-400 hover:text-slate-950 rounded-full transition duration-300 cursor-pointer" onclick="copyReferralCode()" id="copy-btn">نسخ كود الإحالة</button>
<div id="copy-toast" class="hidden text-xs text-green-400 font-bold mt-1"></div>
<p class="text-xs text-slate-400 text-center leading-relaxed mt-2" id="referral-tip">💡 إذا لم تفتح الروابط تلقائياً، قم بنسخ هذا الكود يدوياً وأدخله في التطبيق بعد تحميله.</p>
</div>
<?php endif; ?>
@@ -198,6 +199,7 @@ $appConfig = $config[$appType];
referralLabel: "كود الإحالة الخاص بك",
copyBtn: "نسخ كود الإحالة",
copiedMsg: "تم نسخ كود الإحالة: ",
referralTip: "💡 إذا لم تفتح الروابط تلقائياً، قم بنسخ هذا الكود يدوياً وأدخله في التطبيق بعد تحميله.",
iosTitle: "🔒 متجر التطبيقات محظور",
iosDesc: "نظراً للقيود الجغرافية، يرجى تفعيل تطبيق الـ VPN على هاتفك أولاً، ثم الضغط على الزر بالأسفل للانتقال لصفحة التحميل الرسمية على متجر آبل.",
iosBtn: "التحميل من App Store",
@@ -221,6 +223,7 @@ $appConfig = $config[$appType];
referralLabel: "Your Referral Code",
copyBtn: "Copy Referral Code",
copiedMsg: "Referral code copied: ",
referralTip: "💡 If deep links don't open automatically, copy this code and enter it manually in the app after downloading.",
iosTitle: "🔒 App Store is Geo-Restricted",
iosDesc: "Due to local network restrictions, please enable a VPN on your device first, then click below to download from the Apple App Store.",
iosBtn: "Download from App Store",
@@ -287,6 +290,9 @@ $appConfig = $config[$appType];
const copyBtn = document.getElementById('copy-btn');
if (copyBtn) copyBtn.textContent = t.copyBtn;
const refTip = document.getElementById('referral-tip');
if (refTip) refTip.textContent = t.referralTip;
document.getElementById('ios-title').textContent = t.iosTitle;
document.getElementById('ios-desc').textContent = t.iosDesc;
document.querySelector('#ios-btn span').textContent = t.iosBtn;