Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Dec 12, 2024
1 parent 70167cd commit 0838173
Show file tree
Hide file tree
Showing 46 changed files with 471 additions and 471 deletions.
10 changes: 5 additions & 5 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { data: files } = useLazyFetch<ParsedContent[]>('/api/search.json', {
})
useHead({
titleTemplate: title => title ? `${title} · Nuxt` : 'Nuxt: The Intuitive Web Framework',
titleTemplate: title => title ? `${title} · Nuxt` : 'Nuxt: Cadrul web intuitiv',
meta: [
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ key: 'theme-color', name: 'theme-color', content: color }
Expand Down Expand Up @@ -75,12 +75,12 @@ onMounted(() => {
class="w-5 h-5 flex-shrink-0 pointer-events-none hidden md:inline-flex"
/>
<span>
Don't miss <span class="font-semibold">Vue.js Amsterdam</span> <span class="lg:hidden">in March </span>2025!
<span class="hidden lg:inline">Join 1000+ Vue developers this March and <span class="font-semibold">save 10% with code NUXT</span>.</span>
<span class="lg:hidden">Save 10% with code NUXT.</span>
Nu ratați <span class="font-semibold">Vue.js amsterdam</span> <span class="lg:hidden">în martie </span>2025!
<span class="hidden lg:inline">Alăturați-vă celor 1000+ dezvoltatori Vue în luna martie și <span class="font-semibold">economisiți 10% cu codul Nuxt</span>.</span>
<span class="lg:hidden">Economisiți 10% cu codul Nuxt.</span>
</span>
<UButton
label="Get your ticket"
label="Obțineți biletul"
color="white"
trailing-icon="i-ph-arrow-right"
size="2xs"
Expand Down
12 changes: 6 additions & 6 deletions app/components/AppFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ const { footerLinks } = useNavigation()
<template #left>
<p class="text-gray-500 dark:text-gray-400 text-sm">
Copyright © 2016-{{ new Date().getFullYear() }} Nuxt - <NuxtLink class="hover:underline" to="https://go.nuxt.com/license" target="_blank">
MIT License
Licența MIT
</NuxtLink>
</p>
</template>

<template #right>
<UButton aria-label="Nuxt on X" to="https://go.nuxt.com/x" target="_blank" icon="i-simple-icons-x" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt on BlueSky" to="https://go.nuxt.com/bluesky" target="_blank" icon="i-simple-icons-bluesky" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt on LinkedIn" to="https://go.nuxt.com/linkedin" target="_blank" icon="i-simple-icons-linkedin" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt on Discord" to="https://go.nuxt.com/discord" target="_blank" icon="i-simple-icons-discord" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt on GitHub" to="https://go.nuxt.com/github" target="_blank" icon="i-simple-icons-github" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt pe x" to="https://go.nuxt.com/x" target="_blank" icon="i-simple-icons-x" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt pe BlueSky" to="https://go.nuxt.com/bluesky" target="_blank" icon="i-simple-icons-bluesky" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt pe LinkedIn" to="https://go.nuxt.com/linkedin" target="_blank" icon="i-simple-icons-linkedin" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt pe Discord" to="https://go.nuxt.com/discord" target="_blank" icon="i-simple-icons-discord" v-bind="($ui.button.secondary as any)" />
<UButton aria-label="Nuxt pe GitHub" to="https://go.nuxt.com/github" target="_blank" icon="i-simple-icons-github" v-bind="($ui.button.secondary as any)" />
</template>
</UFooter>
</template>
16 changes: 8 additions & 8 deletions app/components/AppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ const mobileNav = computed(() => {
const open = ref(false)
const dropdownItems = [
[{
label: 'Copy logo as SVG',
label: 'Copiați logo-ul ca SVG',
icon: 'i-simple-icons-nuxtdotjs',
click: () => copy(logo.value.$el.outerHTML, { title: 'Copied to clipboard' })
click: () => copy(logo.value.$el.outerHTML, { title: 'Copiat în clipboard' })
},
{
label: 'Nuxt Brand Kit',
label: 'Kit de marcă Nuxt',
icon: 'i-simple-icons-figma',
to: 'https://www.figma.com/community/file/1296154408275753939/nuxt-brand-kit',
target: '_blank'
}],
[{
label: 'Browse Design Kit',
label: 'Căutați kit de design',
icon: 'i-ph-shapes',
to: '/design-kit'
}]
Expand Down Expand Up @@ -83,7 +83,7 @@ defineProps<{
<NuxtLink to="/" class="flex gap-2 items-end">
<NuxtLogo ref="logo" class="block w-auto h-6" @click.right.prevent="openLogoContext" @click.left.prevent="navigateTo('/')" />

<UTooltip v-if="version" :text="`Latest release: v${stats.version}`">
<UTooltip v-if="version" :text="`Ultima versiune: v${stats.version}`">
<UBadge variant="subtle" size="xs" class="-mb-[2px] rounded font-semibold">
v{{ version }}
</UBadge>
Expand All @@ -108,15 +108,15 @@ defineProps<{
</template>

<template #right>
<UTooltip text="Search" :shortcuts="[metaSymbol, 'K']">
<UTooltip text="Căutare" :shortcuts="[metaSymbol, 'K']">
<UContentSearchButton :label="null" />
</UTooltip>

<UTooltip :text="$colorMode.preference === 'dark' ? 'Switch to light mode' : 'Switch to dark mode'">
<UTooltip :text="$colorMode.preference === 'dark' ? 'Treceți la modul luminos' : 'Treceți la modul întunecat'">
<UColorModeButton />
</UTooltip>

<UTooltip text="GitHub Stars">
<UTooltip text="Stelele Github">
<UButton
icon="i-simple-icons-github"
to="https://go.nuxt.com/github"
Expand Down
2 changes: 1 addition & 1 deletion app/components/EmptyCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
withDefaults(defineProps<{
label: string
}>(), {
label: 'No results found.'
label: 'Nu au fost găsite rezultate.'
})
</script>

Expand Down
2 changes: 1 addition & 1 deletion app/components/UInputCopy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const { copy, copied } = useClipboard()
variant="link"
:padded="false"
:class="{ 'text-green-500 hover:text-green-500 dark:text-green-400 hover:dark:text-green-400': copied }"
aria-label="copy button"
aria-label="buton de copiere"
@click="copy(value)"
/>
</template>
Expand Down
4 changes: 2 additions & 2 deletions app/components/ads/AdsFallback.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div class="nui-support-nuxt">
<div>
<p class="pt-2 m-0 font-bold sm:text-sm text-gray-900 dark:text-white">
Nuxt needs you!
Nuxt are nevoie de tine!
</p>
<p class="pb-2 m-0 leading-normal text-gray-600 dark:text-white sm:text-xs">
By allowing nuxt.com on your Ad-Blocker, you support our work and help us financially.
Permițând publicarea de anunțuri, susțineți munca noastră și ne ajutați financiar.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/components/ads/AdsUIPro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</svg>
</div>
<p class="text-xs dark:text-gray-400 text-gray-500 pb-1">
Premium Vue Components for Nuxt applications.
Componente premium Vue pentru aplicații Nuxt.
</p>
</UPageCard>
</template>
2 changes: 1 addition & 1 deletion app/components/content/Caution.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Caution"
title="Atenţie"
icon="i-ph-warning-octagon"
color="red"
class="_caution"
Expand Down
2 changes: 1 addition & 1 deletion app/components/content/LinkExample.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Callout icon="i-ph-app-window">
Read and edit a live example in
Citiți și editați un exemplu live în
<NuxtLink :to="to">
{{ computedTitle }}
</NuxtLink>.
Expand Down
2 changes: 1 addition & 1 deletion app/components/content/Note.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Note"
title="Notă"
icon="i-ph-info"
color="blue"
class="_note"
Expand Down
4 changes: 2 additions & 2 deletions app/components/content/ReadMore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const props = defineProps({
}
})
const createBreadcrumb = (link: string = 'Missing link') => {
const createBreadcrumb = (link: string = 'Link lipsă') => {
if (link.startsWith('http')) {
return link
}
Expand All @@ -35,7 +35,7 @@ const computedTitle = computed<string>(() => props.title || createBreadcrumb(pro
<template>
<Callout icon="i-ph-bookmark-simple" :to="to">
<MDCSlot unwrap="p">
Read more in <span class="font-bold" v-text="computedTitle" />.
Citiți mai multe în <span class="font-bold" v-text="computedTitle" />.
</MDCSlot>
</Callout>
</template>
4 changes: 2 additions & 2 deletions app/components/content/Sandbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<iframe
v-if="url"
:src="url"
title="Sandbox editor"
title="Editor Sandbox"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
class="w-full h-full min-h-[700px] overflow-hidden bg-gray-100 dark:bg-gray-800"
/>
<span v-else class="flex-1 text-white">Loading Sandbox...</span>
<span v-else class="flex-1 text-white">Încărcarea boxei de nisip...</span>
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion app/components/content/Tip.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Tip"
title="Sfat"
icon="i-ph-lightbulb"
color="green"
class="_tip"
Expand Down
2 changes: 1 addition & 1 deletion app/components/content/Warning.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<Alert
title="Warning"
title="Avertizare"
icon="i-ph-warning"
color="amber"
class="_warning"
Expand Down
4 changes: 2 additions & 2 deletions app/components/content/design-kit/DesignKitColorCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const props = defineProps<{
const { copy } = useCopyToClipboard()
function copyLink() {
copy(props.background, { title: 'Copied to clipboard' })
copy(props.background, { title: 'Copiat în clipboard' })
}
</script>

Expand All @@ -19,7 +19,7 @@ function copyLink() {
<h5 class="font-semibold text-gray-900 dark:text-white text-base">
{{ name }}
</h5>
<UButton variant="link" label="Copy" size="sm" @click="copyLink" />
<UButton variant="link" label="Copie" size="sm" @click="copyLink" />
</div>
<p class="text-gray-500 dark:text-gray-400 text-sm">
{{ background }}
Expand Down
4 changes: 2 additions & 2 deletions app/components/content/design-kit/DesignKitImageCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defineProps<{
:to="`/assets/design-kit/${path}.svg`"
download
external
aria-label="Download svg"
aria-label="Descărcă svg"
/>
<UButton
variant="link"
Expand All @@ -35,7 +35,7 @@ defineProps<{
:to="`/assets/design-kit/${path}.png`"
download
external
aria-label="Download png"
aria-label="Descărcă png"
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ async function onSubmit(event: FormSubmitEvent<any>) {
state.email = ''
state.body = ''
showTurnstile.value = false
toast.add({ title: 'Email sent', description: 'We will do everything possible to respond to you as quickly as possible', color: 'green' })
toast.add({ title: 'E-mail trimis', description: 'Vom face tot posibilul pentru a vă răspunde cât mai rapid', color: 'green' })
})
.catch((e) => {
const description = e.data?.message || 'Something went wrong. Please try again later.'
toast.add({ title: 'Email sending failed', description, color: 'red' })
const description = e.data?.message || 'Ceva nu a mers bine. Vă rugăm să încercați din nou mai târziu.'
toast.add({ title: 'Trimiterea prin e-mail a eșuat', description, color: 'red' })
})
.finally(() => {
loading.value = false
Expand Down
6 changes: 3 additions & 3 deletions app/components/content/scripts/YoutubeDemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ function stateChange(event) {
size="sm"
color="blue"
variant="soft"
title="Click to load"
description="Clicking the video will load the YouTube iframe and start the video."
title="Faceți clic pentru a încărca"
description="Făcând clic pe videoclip va încărca iFrame YouTube și va începe videoclipul."
/>
<UButton v-if="isLoaded && !isPlaying" @click="play">
Play Video
Redați videoclipuri
</UButton>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions app/components/newsletter/NewsletterForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
defineProps({
label: {
type: String,
default: 'Subscribe to our newsletter'
default: 'Abonați-vă la newsletter-ul nostru'
},
description: {
type: String,
default: 'Stay updated on new releases and features, guides, and community updates.'
default: 'Rămâneți la curent cu noile versiuni și funcții, ghiduri și actualizări ale comunității.'
}
})
Expand All @@ -25,12 +25,12 @@ function onSubmit() {
method: 'POST',
body: { email: email.value }
}).then(() => {
toast.add({ title: 'Subscription pending', description: 'Please check your emails to confirm your subscription.', color: 'green' })
toast.add({ title: 'Abonament în așteptare', description: 'Vă rugăm să verificați e-mailul pentru a vă confirma abonamentul.', color: 'green' })
email.value = ''
}).catch((err) => {
const error = JSON.parse(err.data?.message)
const description = error[0].message || 'Something went wrong. Please try again later.'
toast.add({ title: 'Subscription failed', description, color: 'red' })
const description = error[0].message || 'Ceva nu a mers bine. Vă rugăm să încercați din nou mai târziu.'
toast.add({ title: 'Abonamentul a eșuat', description, color: 'red' })
}).finally(() => {
loading.value = false
})
Expand All @@ -50,7 +50,7 @@ function onSubmit() {
class="max-w-sm"
>
<template #trailing>
<UButton type="submit" size="xs" color="black" :label="loading ? 'Subscribing' : 'Subscribe'" :loading="loading" />
<UButton type="submit" size="xs" color="black" :label="loading ? 'Abonare' : 'Abonați-vă'" :loading="loading" />
</template>
</UInput>
</UFormGroup>
Expand Down
6 changes: 3 additions & 3 deletions app/composables/useEnterpriseJobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ export const useEnterpriseJobs = () => {
const mapRemote = (remoteType: string) => {
switch (remoteType) {
case 'ONLY':
return 'Remote Only'
return 'Numai la distanță'
case 'ALLOWED':
return 'Remote Allowed'
return 'Remote permis'
default:
return 'Onsite'
return 'Pe loc'
}
}

Expand Down
16 changes: 8 additions & 8 deletions app/composables/useModules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ export const useModules = () => {
// ]

const sorts: Filter[] = [
{ key: 'downloads', label: 'Downloads' },
{ key: 'stars', label: 'Stars' },
{ key: 'publishedAt', label: 'Updated' },
{ key: 'createdAt', label: 'Created' }
{ key: 'downloads', label: 'Descărcări' },
{ key: 'stars', label: 'Stele' },
{ key: 'publishedAt', label: 'Actualizat' },
{ key: 'createdAt', label: 'Creat' }
]

const orders: Filter[] = [
Expand All @@ -85,9 +85,9 @@ export const useModules = () => {
]

// const typesMap: TypeMap = {
// official: 'Official',
// community: 'Community',
// '3rd-party': 'Third Party'
// official: 'Oficial',
// community: 'Comunitate',
// '3rd-party': 'Terț'
// }

// const modulesByVersion: ComputedRef<Module[]> = computed(() => {
Expand Down Expand Up @@ -206,7 +206,7 @@ export const useModules = () => {
// const links = computed(() => {
// return [
// {
// label: 'All',
// label: 'Toate',
// _path: {
// name: 'modules',
// query: {
Expand Down
Loading

0 comments on commit 0838173

Please sign in to comment.