Use proper beta label

This commit is contained in:
Kainoa Kanter 2023-05-13 13:04:53 -07:00
parent b904d2616a
commit a7bd62e964
2 changed files with 2 additions and 22 deletions

View File

@ -2010,8 +2010,5 @@ _deck:
direct: "Direct messages" direct: "Direct messages"
_experiments: _experiments:
title: "Experiments" title: "Experiments"
alpha: "Alpha"
beta: "Beta"
release: "Release"
enablePostEditing: "Enable post editing" enablePostEditing: "Enable post editing"
postEditingCaption: "Shows the option for users to edit their existing posts via the post options menu" postEditingCaption: "Shows the option for users to edit their existing posts via the post options menu"

View File

@ -16,8 +16,8 @@
<template #label> <template #label>
<i class="ph-pencil-line ph-bold ph-lg"></i> <i class="ph-pencil-line ph-bold ph-lg"></i>
{{ i18n.ts._experiments.enablePostEditing }} {{ i18n.ts._experiments.enablePostEditing }}
<span class="level alpha"> <span class="_beta">
({{ i18n.ts._experiments.alpha }})</span {{ i18n.ts.beta }}</span
> >
</template> </template>
<template #caption>{{ <template #caption>{{
@ -75,20 +75,3 @@ definePageMetadata({
icon: "ph-flask ph-bold ph-lg", icon: "ph-flask ph-bold ph-lg",
}); });
</script> </script>
<style lang="scss" scoped>
.level {
font-size: 0.8em;
color: var(--color-gray-500);
text-transform: uppercase;
&.alpha {
color: #f59e0b;
}
&.beta {
color: #0ea5e9;
}
&.release {
color: #10b981;
}
}
</style>