diff --git a/itt.ps1 b/itt.ps1 index c5bacc3c..68a72cee 100644 --- a/itt.ps1 +++ b/itt.ps1 @@ -20,7 +20,7 @@ Add-Type -AssemblyName System.Windows.Forms $sync = [Hashtable]::Synchronized(@{ database = @{} ProcessRunning = $false - lastupdate = "08/13/24" + lastupdate = "09/01/24" github = "https://github.com/emadadel4" telegram = "https://t.me/emadadel4" website = "https://emadadel4.github.io" @@ -5515,7 +5515,10 @@ $sync.database.locales = '{ "lastupdate":"آخر تحديث", "sourcecode":"الشفرة المصدرية", "devby":"صنع بـ ♥ من قبل عماد عادل", - "exit":"هل أنت متأكد من رغبتك في إغلاق البرنامج؟ إذا كان هناك أي تثبيتات، فسيتم إيقافها." + "exit":"هل أنت متأكد من رغبتك في إغلاق البرنامج؟ إذا كان هناك أي تثبيتات، فسيتم إيقافها.", + "watchdemo": "شاهد التجربة", + "happybirthday": "!عيد ميلاد سعيد عماد", + "myplaylist": "انه عيد ميلادي و قائمة الموسيقى الخاصة بي" }, "en": { "Welcome": "Save time by installing multiple programs at once and boost your Windows performance. Join us in improving the tool and make it great.", @@ -5566,7 +5569,9 @@ $sync.database.locales = '{ "lastupdate":"Last update", "sourcecode":"Source Code", "devby":"Made with ♥ by Emad Adel", - "exit":"Are you sure you want to close the program? If there are any installations, they will be terminated." + "exit":"Are you sure you want to close the program? If there are any installations, they will be terminated.", + "watchdemo": "Watch demo", + "myplaylist": "C''est mon anniversaire et ma playlist ♪" }, "fr": { "Welcome": "Économisez du temps en installant plusieurs programmes à la fois et améliorez les performances de votre Windows. Rejoignez-nous pour améliorer l''outil et le rendre excellent.", @@ -5604,10 +5609,8 @@ $sync.database.locales = '{ "idm": "Activation IDM", "extensions": "Extensions de Navigateurs", "all": "Tout", - "restorepoint": "Créer un point de restauration", "chocoloc": "Dossier Téléchargements Portable", - "InstallMessage": "Souhaitez-vous installer les applications sélectionnées", "ApplyMessage": "Souhaitez-vous appliquer les ajustements sélectionnés", "installing": "Installation en cours...", @@ -5618,7 +5621,10 @@ $sync.database.locales = '{ "lastupdate": "Dernière mise à jour", "sourcecode": "Code Source", "devby": "Créé avec ♥ par Emad Adel", - "exit": "Êtes-vous sûr de vouloir fermer le programme ? Toute installation en cours sera interrompue." + "exit": "Êtes-vous sûr de vouloir fermer le programme ? Toute installation en cours sera interrompue.", + "watchdemo": "Regardez la Démo", + "happybirthday": "Joyeux Anniversaire Emad !", + "myplaylist": "Doğum Günüm ve Playlistim ♪" }, "tr": { "Welcome": "Birden fazla programı tek seferde kurarak zaman kazanın ve Windows performansınızı artırın. Aracı iyileştirmemize katılın ve harika yapalım.", @@ -5668,7 +5674,10 @@ $sync.database.locales = '{ "lastupdate": "Son güncelleme", "sourcecode": "Kaynak Kod", "devby": "Emad Adel tarafından ♥ ile yapıldı", - "exit": "Programı kapatmak istediğinizden emin misiniz? Eğer herhangi bir yükleme işlemi varsa, kesilecektir." + "exit": "Programı kapatmak istediğinizden emin misiniz? Eğer herhangi bir yükleme işlemi varsa, kesilecektir.", + "watchdemo": "Demo''yu İzleyin", + "happybirthday": "Günün Kutlu Olsun Emad!", + "myplaylist": "这是我的生日和我的播放列表 ♪" }, "zh": { "Welcome": "通过一次安装多个程序节省时间并提升您的Windows性能。加入我们,改进工具,使其更加优秀。", @@ -5718,7 +5727,9 @@ $sync.database.locales = '{ "lastupdate": "最后更新", "sourcecode": "源代码", "devby": "由 Emad Adel ♥ 制作", - "exit": "您确定要关闭程序吗?如果有任何安装正在进行,它们将被终止。" + "exit": "您确定要关闭程序吗?如果有任何安装正在进行,它们将被终止。", + "watchdemo": "观看演示", + "happybirthday": "生日快乐 Emad!" }, "ko": { "Welcome": "여러 프로그램을 한 번에 설치하여 시간을 절약하고 Windows 성능을 향상시킵니다. 도구를 개선하고 우리와 함께 훌륭하게 만들어 보세요.", @@ -5768,7 +5779,10 @@ $sync.database.locales = '{ "lastupdate": "마지막 업데이트", "sourcecode": "소스 코드", "devby": "Emad Adel 제작 ♥", - "exit": "프로그램을 종료하시겠습니까? 진행 중인 설치가 있으면 중단됩니다." + "exit": "프로그램을 종료하시겠습니까? 진행 중인 설치가 있으면 중단됩니다.", + "watchdemo": "데모 보기", + "happybirthday": "생일 축하합니다 Emad!", + "myplaylist": "제 생일과 제 플레이리스트 ♪" }, "de": { "Welcome": "Sparen Sie Zeit, indem Sie mehrere Programme gleichzeitig installieren und verbessern Sie die Leistung Ihres Windows. Helfen Sie uns dabei, das Tool zu verbessern und großartig zu machen.", @@ -5818,7 +5832,10 @@ $sync.database.locales = '{ "lastupdate": "Letztes Update", "sourcecode": "Quellcode", "devby": "Hergestellt mit ♥ von Emad Adel", - "exit": "Sind Sie sicher, dass Sie das Programm schließen möchten? Falls Installationen laufen, werden sie abgebrochen." + "exit": "Sind Sie sicher, dass Sie das Programm schließen möchten? Falls Installationen laufen, werden sie abgebrochen.", + "watchdemo": "Demo ansehen", + "happybirthday": "Alles Gute zum Geburtstag, Emad!", + "myplaylist": "Es ist mein Geburtstag und meine Playlist ♪" }, "ru": { "Welcome": "Экономьте время, устанавливая несколько программ одновременно и улучшая производительность Windows. Присоединяйтесь к нам в улучшении этого инструмента и сделайте его лучше.", @@ -5868,7 +5885,10 @@ $sync.database.locales = '{ "lastupdate": "Последнее обновление", "sourcecode": "Исходный код", "devby": "Сделано с ♥ Emad Adel", - "exit": "Вы уверены, что хотите закрыть программу? Если есть установки, они будут прерваны." + "exit": "Вы уверены, что хотите закрыть программу? Если есть установки, они будут прерваны.", + "watchdemo": "Посмотреть демонстрацию", + "happybirthday": "С днем рождения, Emad!", + "myplaylist": "Мой день рождения и мой плейлист ♪", }, "es": { "Welcome": "Ahorra tiempo instalando varios programas a la vez y mejora el rendimiento de tu Windows. Únete a nosotros para mejorar la herramienta y hacerla excelente.", @@ -5918,7 +5938,10 @@ $sync.database.locales = '{ "lastupdate": "Última actualización", "sourcecode": "Código Fuente", "devby": "Hecho con ♥ por Emad Adel", - "exit": "¿Estás seguro de que quieres cerrar el programa? Si hay instalaciones en curso, se cancelarán." + "exit": "¿Estás seguro de que quieres cerrar el programa? Si hay instalaciones en curso, se cancelarán.", + "watchdemo": "Ver Demo", + "happybirthday": "¡Feliz Cumpleaños Emad!", + "myplaylist": "Es mi cumpleaños y mi lista de reproducción ♪" } } } @@ -13268,13 +13291,18 @@ function Show-Event { # Function to check current date and call Show-Event function Check-Date { + + $watchdemo = $sync.database.locales.Controls.$($sync.Language).watchdemo + $happybirthday = $sync.database.locales.Controls.$($sync.Language).happybirthday + $myplaylist = $sync.database.locales.Controls.$($sync.Language).myplaylist + if ($sync.Date.Month -eq 9 -and $sync.Date.Day -eq 1) { - Show-Event -image "https://raw.githubusercontent.com/emadadel4/ITT/update/Resources/Images/happy.jpg" -title "Happy Birthday Dev!" -description "It's my Birthday and My Playlist ♪" -day "Birthday" -WindowHeight 455 -WindowWidth 555 + Show-Event -image "https://raw.githubusercontent.com/emadadel4/ITT/update/Resources/Images/happy.jpg" -title "$happybirthday" -description "$myplaylist" -day "Birthday" -WindowHeight 455 -WindowWidth 555 } else { - Show-Event -image "https://raw.githubusercontent.com/emadadel4/ITT/main/Resources/Images/thumbnail.jpg" -title "Watch demo" -day "Default" -WindowHeight 455 -WindowWidth 555 + Show-Event -image "https://raw.githubusercontent.com/emadadel4/ITT/main/Resources/Images/thumbnail.jpg" -title "$watchdemo" -day "Default" -WindowHeight 455 -WindowWidth 555 } } #===========================================================================