Skip to content

Commit

Permalink
Merge branch 'staging' of https://github.com/benawad/dogehouse into s…
Browse files Browse the repository at this point in the history
…taging
  • Loading branch information
benawad committed May 19, 2021
2 parents fe37d0a + 7f2541f commit 1f656d7
Show file tree
Hide file tree
Showing 99 changed files with 2,929 additions and 542 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@

---

## Important DogeHouse Notice

[I'm done with DogeHouse](https://www.youtube.com/watch?v=I8PkQgPiSq8)

## Structure

| Codebase | Description |
Expand Down
27 changes: 20 additions & 7 deletions dolma/src/lib/filterString.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,26 @@ export function filterString(emotes: { name: string }[], message: string) {

vals.map((e) => {
let tkn = msgToken.getType(e);
if (tkn == "emote") {
emotes.find((emote) => `:${emote.name}:` == e.trim()) ? "" : tkn = "text";
}
if (tkn == "mention") {
e = e.substr(1);
}
let value = msgToken.getValue(tkn, e);
tokenSwitch:
switch (tkn) {
case "emote":
for(const emote of emotes) {
if(e.trim() === `:${emote.name}:`) {
e = emote.name;
break tokenSwitch;
}
}
tkn = "text";
break;
case "block":
e = e.slice(1, -1);
break;
case "mention":
e = e.substr(1);
break;
}

const value = msgToken.getValue(tkn, e);

return tokens.push(msgToken.newToken(tkn, value));
});
Expand Down
26 changes: 23 additions & 3 deletions kibbeh/public/locales/af/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"copied": "gekopieër",
"formattedIntlDate": "{{date, intlDate}}",
"formattedIntlTime": "{{time, intlTime}}",
"requestPermissions": "Please give DogeHouse Accessibility permessions"
"requestPermissions": "Please give DogeHouse Accessibility permessions",
"copy": "Copy",
"error": "Error"
},
"header": {
"_comment": "Main Header UI Internationalization Strings",
Expand Down Expand Up @@ -134,7 +136,11 @@
"block": "Block",
"unblock": "Unblock",
"sendDM": "Send DM",
"aboutSuffix": ""
"aboutSuffix": "",
"errors": {
"blocked": "This user has blocked you.",
"default": "Whoops! We couldn't load this user."
}
},
"voiceSettings": {
"header": "Stem instellings",
Expand Down Expand Up @@ -162,6 +168,14 @@
"title": "Privacy Settings",
"header": "Privacy Settings",
"whispers": { "label": "Whispers", "on": "On", "off": "Off" }
},
"botEdit": {
"yourBots": "Your Bots",
"bots": "Bots",
"title": "Bot Information",
"apiKey": "ApiKey",
"regenerate": "Regenerate",
"reveal": "Click to reveal ApiKey"
}
},
"components": {
Expand Down Expand Up @@ -276,6 +290,11 @@
"disabled": "Disabled",
"followerOnly": "Follower Only"
}
},
"createBotModal": {
"usernameTaken": "Username is taken",
"subtitle": "Please fill the details below to create your bot",
"title": "Create Bot"
}
},
"followingOnline": {
Expand Down Expand Up @@ -305,7 +324,8 @@
"debugAudio": "Debug Audio",
"stopDebugger": "Stop Debugger"
},
"downloadApp": "Download App"
"downloadApp": "Download App",
"developer": "Developer Settings"
},
"userBadges": {
"dhStaff": "DogeHouse Staff",
Expand Down
26 changes: 23 additions & 3 deletions kibbeh/public/locales/am/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"copied": "ተቀድቷል!",
"formattedIntlDate": "{{date, intlDate}}",
"formattedIntlTime": "{{time, intlTime}}",
"requestPermissions": "Please give DogeHouse Accessibility permessions"
"requestPermissions": "Please give DogeHouse Accessibility permessions",
"copy": "Copy",
"error": "Error"
},
"header": {
"_comment": "Main Header UI Internationalization Strings",
Expand Down Expand Up @@ -134,7 +136,11 @@
"block": "Block",
"unblock": "Unblock",
"sendDM": "Send DM",
"aboutSuffix": ""
"aboutSuffix": "",
"errors": {
"blocked": "This user has blocked you.",
"default": "Whoops! We couldn't load this user."
}
},
"voiceSettings": {
"header": "የድምፅ ቅንብሮች",
Expand Down Expand Up @@ -163,6 +169,14 @@
"title": "Privacy Settings",
"header": "Privacy Settings",
"whispers": { "label": "Whispers", "on": "On", "off": "Off" }
},
"botEdit": {
"yourBots": "Your Bots",
"bots": "Bots",
"title": "Bot Information",
"apiKey": "ApiKey",
"regenerate": "Regenerate",
"reveal": "Click to reveal ApiKey"
}
},
"components": {
Expand Down Expand Up @@ -275,6 +289,11 @@
"disabled": "Disabled",
"followerOnly": "Follower Only"
}
},
"createBotModal": {
"usernameTaken": "Username is taken",
"subtitle": "Please fill the details below to create your bot",
"title": "Create Bot"
}
},
"followingOnline": {
Expand Down Expand Up @@ -304,7 +323,8 @@
"debugAudio": "Debug Audio",
"stopDebugger": "Stop Debugger"
},
"downloadApp": "Download App"
"downloadApp": "Download App",
"developer": "Developer Settings"
},
"userBadges": {
"dhStaff": "DogeHouse Staff",
Expand Down
44 changes: 32 additions & 12 deletions kibbeh/public/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"copied": "تم النسخ",
"formattedIntlDate": "{{date, intlDate}}",
"formattedIntlTime": "{{time, intlTime}}",
"requestPermissions": "Please give DogeHouse Accessibility permessions"
"requestPermissions": "Please give DogeHouse Accessibility permessions",
"copy": "Copy",
"error": "Error"
},
"header": {
"_comment": "Main Header UI Internationalization Strings",
Expand Down Expand Up @@ -134,7 +136,11 @@
"block": "Block",
"unblock": "Unblock",
"sendDM": "Send DM",
"aboutSuffix": ""
"aboutSuffix": "",
"errors": {
"blocked": "This user has blocked you.",
"default": "Whoops! We couldn't load this user."
}
},
"voiceSettings": {
"header": "إعدادات المحادثة الصوتية",
Expand All @@ -145,23 +151,31 @@
"title": "Voice Settings"
},
"overlaySettings": {
"input": { "errorMsg": "Invalid app title", "label": "Enter App Title" },
"header": "Overlay Settings",
"errorMsg": "Please enter valid app title",
"label": "Enter app title"
"input": { "errorMsg": "خطأ في اسم التطبيق", "label": "ادخل اسم التطبيق" },
"header": "Overlay اعدادات",
"errorMsg": "ادخل اسم تطبيق صحيح",
"label": "ادخل اسم التطبيق"
},
"download": {
"starting": "...بدأ التحميل",
"failed": "لم يتم التنزيل التلقائيو الرجاء المحاولة لاحقاً",
"visit_gh": "Visit Github Releases",
"failed": "لم يتم التنزيل التلقائي الرجاء المحاولة لاحقاً",
"visit_gh": "تحقق من اخر الاصدارات علي github",
"prompt": "أنقر للتنزيل",
"download_now": "تنزيل الآن",
"download_for": "تنزيل إلى %platform% (%ext%)"
},
"privacySettings": {
"title": "Privacy Settings",
"header": "Privacy Settings",
"whispers": { "label": "Whispers", "on": "On", "off": "Off" }
"title": "اعدادات الخصوصية",
"header": "اعدادات الخصوصية",
"whispers": { "label": "الهمسات", "on": "تشغيل", "off": "ايقاف" }
},
"botEdit": {
"yourBots": "روبوتاتك",
"bots": "الروبوتات",
"title": "معلومات البوت",
"apiKey": "ApiKey",
"regenerate": "اعادة الانشاء",
"reveal": "اضغط لاظهار مقتاح ال api"
}
},
"components": {
Expand Down Expand Up @@ -274,6 +288,11 @@
"disabled": "Disabled",
"followerOnly": "Follower Only"
}
},
"createBotModal": {
"usernameTaken": "Username is taken",
"subtitle": "Please fill the details below to create your bot",
"title": "Create Bot"
}
},
"followingOnline": {
Expand Down Expand Up @@ -303,7 +322,8 @@
"debugAudio": "Debug Audio",
"stopDebugger": "Stop Debugger"
},
"downloadApp": "تنزيل التطبيق"
"downloadApp": "تنزيل التطبيق",
"developer": "Developer Settings"
},
"userBadges": {
"dhStaff": "DogeHouse Staff",
Expand Down
26 changes: 23 additions & 3 deletions kibbeh/public/locales/az/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"copied": "Kopyalandı",
"formattedIntlDate": "{{date, intlDate}}",
"formattedIntlTime": "{{time, intlTime}}",
"requestPermissions": "Zəhmət olmasa DogeHouse-a lazımlı icazələri verin"
"requestPermissions": "Zəhmət olmasa DogeHouse-a lazımlı icazələri verin",
"copy": "Copy",
"error": "Error"
},
"header": {
"_comment": "Main Header UI Internationalization Strings",
Expand Down Expand Up @@ -134,7 +136,11 @@
"block": "Block",
"unblock": "Unblock",
"sendDM": "Send DM",
"aboutSuffix": ""
"aboutSuffix": "",
"errors": {
"blocked": "This user has blocked you.",
"default": "Whoops! We couldn't load this user."
}
},
"voiceSettings": {
"header": "Səs parametrləri",
Expand Down Expand Up @@ -165,6 +171,14 @@
"title": "Privacy Settings",
"header": "Privacy Settings",
"whispers": { "label": "Whispers", "on": "On", "off": "Off" }
},
"botEdit": {
"yourBots": "Your Bots",
"bots": "Bots",
"title": "Bot Information",
"apiKey": "ApiKey",
"regenerate": "Regenerate",
"reveal": "Click to reveal ApiKey"
}
},
"components": {
Expand Down Expand Up @@ -282,6 +296,11 @@
"disabled": "Disabled",
"followerOnly": "Follower Only"
}
},
"createBotModal": {
"usernameTaken": "Username is taken",
"subtitle": "Please fill the details below to create your bot",
"title": "Create Bot"
}
},
"followingOnline": {
Expand Down Expand Up @@ -311,7 +330,8 @@
"debugAudio": "Səsi incələ",
"stopDebugger": "İncələmən dayandır"
},
"downloadApp": "Download App"
"downloadApp": "Download App",
"developer": "Developer Settings"
},
"userBadges": {
"dhStaff": "DogeHouse Staff",
Expand Down
26 changes: 23 additions & 3 deletions kibbeh/public/locales/bg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"copied": "копирано",
"formattedIntlDate": "{{date, intlDate}}",
"formattedIntlTime": "{{time, intlTime}}",
"requestPermissions": "Please give DogeHouse Accessibility permessions"
"requestPermissions": "Please give DogeHouse Accessibility permessions",
"copy": "Copy",
"error": "Error"
},
"header": {
"_comment": "Main Header UI Internationalization Strings",
Expand Down Expand Up @@ -134,7 +136,11 @@
"block": "Block",
"unblock": "Unblock",
"sendDM": "Send DM",
"aboutSuffix": ""
"aboutSuffix": "",
"errors": {
"blocked": "This user has blocked you.",
"default": "Whoops! We couldn't load this user."
}
},
"voiceSettings": {
"header": "Звукови настройки",
Expand Down Expand Up @@ -162,6 +168,14 @@
"title": "Privacy Settings",
"header": "Privacy Settings",
"whispers": { "label": "Whispers", "on": "On", "off": "Off" }
},
"botEdit": {
"yourBots": "Your Bots",
"bots": "Bots",
"title": "Bot Information",
"apiKey": "ApiKey",
"regenerate": "Regenerate",
"reveal": "Click to reveal ApiKey"
}
},
"components": {
Expand Down Expand Up @@ -276,6 +290,11 @@
"disabled": "Disabled",
"followerOnly": "Follower Only"
}
},
"createBotModal": {
"usernameTaken": "Username is taken",
"subtitle": "Please fill the details below to create your bot",
"title": "Create Bot"
}
},
"followingOnline": {
Expand Down Expand Up @@ -305,7 +324,8 @@
"debugAudio": "Debug Audio",
"stopDebugger": "Stop Debugger"
},
"downloadApp": "Download App"
"downloadApp": "Download App",
"developer": "Developer Settings"
},
"userBadges": {
"dhStaff": "DogeHouse Staff",
Expand Down
Loading

1 comment on commit 1f656d7

@vercel
Copy link

@vercel vercel bot commented on 1f656d7 May 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.