-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2c5fac
commit b0b1dc1
Showing
137 changed files
with
1,706 additions
and
312 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import "i18next"; | ||
import common from "../public/locales/en/common.json"; | ||
import home from "../public/locales/en/home.json"; | ||
import discover from "../public/locales/en/discover.json"; | ||
import settings from "../public/locales/en/settings.json"; | ||
import search from "../public/locales/en/search.json"; | ||
import movie from "../public/locales/en/movie.json"; | ||
|
||
export const i18Resources = { | ||
common, | ||
home, | ||
discover, | ||
settings, | ||
search, | ||
movie, | ||
} as const; | ||
|
||
declare module "i18next" { | ||
interface CustomTypeOptions { | ||
defaultNS: "common"; | ||
resources: typeof i18Resources; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "next-router-mock"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* @type {import('next-i18next').UserConfig} | ||
*/ | ||
module.exports = { | ||
debug: process.env.NODE_ENV === "development", | ||
i18n: { | ||
defaultLocale: "en", | ||
locales: ["bg", "da", "de", "en", "es", "fr", "it", "nl", "pl", "pt", "ru"], | ||
}, | ||
/** To avoid issues when deploying to some paas (vercel...) */ | ||
localePath: | ||
typeof window === "undefined" | ||
? require("path").resolve("./public/locales") | ||
: "/locales", | ||
|
||
reloadOnPrerender: process.env.NODE_ENV === "development", | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tabs": { | ||
"main": "Главна", | ||
"search": "Търсене", | ||
"favorites": "Любими", | ||
"settings": "Настройки" | ||
}, | ||
"components": { | ||
"BackButton": { | ||
"backButtonAriaLabel": "назад" | ||
}, | ||
"FavoriteButton": { | ||
"addToFavoritesAriaLabel": "добави към любими", | ||
"removeFromFavoritesAriaLabel": "премахни от любими" | ||
}, | ||
"TitleMovieCard": { | ||
"title": "заглавие на филм" | ||
} | ||
}, | ||
"utils": { | ||
"dates": { | ||
"formatDurationToString": { | ||
"hours": "ч", | ||
"minutes": "м" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"header": "Преглед" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"popular": { | ||
"header": "Популярни" | ||
}, | ||
"topRated": { | ||
"header": "Най-добър рейтинг" | ||
}, | ||
"genres": { | ||
"header": "Жанрове" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"posters": { | ||
"header": "Плакати" | ||
}, | ||
"backdrops": { | ||
"header": "Изображения" | ||
}, | ||
"recommendations": { | ||
"header": "Препоръки" | ||
}, | ||
"similar": { | ||
"header": "Подобни" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"header": { | ||
"inputPlaceholder": "Търсене", | ||
"clearButton": "изчисти" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"language": { | ||
"header": "Език" | ||
}, | ||
"saveButtonText": "съхрани" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tabs": { | ||
"main": "Hoved", | ||
"search": "Søg", | ||
"favorites": "Foretrukne", | ||
"settings": "Indstillinger" | ||
}, | ||
"components": { | ||
"BackButton": { | ||
"backButtonAriaLabel": "tilbage" | ||
}, | ||
"FavoriteButton": { | ||
"addToFavoritesAriaLabel": "Tilføj til favoritter", | ||
"removeFromFavoritesAriaLabel": "fjerne fra favoritter" | ||
}, | ||
"TitleMovieCard": { | ||
"title": "film titel" | ||
} | ||
}, | ||
"utils": { | ||
"dates": { | ||
"formatDurationToString": { | ||
"hours": "t", | ||
"minutes": "m" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"header": "Opdag" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"popular": { | ||
"header": "Populært" | ||
}, | ||
"topRated": { | ||
"header": "Bedst bedømt" | ||
}, | ||
"genres": { | ||
"header": "Genrer" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"posters": { | ||
"header": "Plakater" | ||
}, | ||
"backdrops": { | ||
"header": "Baggrunde" | ||
}, | ||
"recommendations": { | ||
"header": "Anbefalinger" | ||
}, | ||
"similar": { | ||
"header": "Lignende" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"header": { | ||
"inputPlaceholder": "Søg", | ||
"clearButton": "slet" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"language": { | ||
"header": "Sprog" | ||
}, | ||
"saveButtonText": "gem" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tabs": { | ||
"main": "Startseite", | ||
"search": "Suchen", | ||
"favorites": "Favoriten", | ||
"settings": "Einstellungen" | ||
}, | ||
"components": { | ||
"BackButton": { | ||
"backButtonAriaLabel": "geh zurück" | ||
}, | ||
"FavoriteButton": { | ||
"addToFavoritesAriaLabel": "Zu den Favoriten hinzufügen", | ||
"removeFromFavoritesAriaLabel": "Von Favoriten entfernen" | ||
}, | ||
"TitleMovieCard": { | ||
"title": "filmtitel" | ||
} | ||
}, | ||
"utils": { | ||
"dates": { | ||
"formatDurationToString": { | ||
"hours": "s", | ||
"minutes": "m" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"header": "Entdecken" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"popular": { | ||
"header": "Beliebt" | ||
}, | ||
"topRated": { | ||
"header": "Bestbewertet" | ||
}, | ||
"genres": { | ||
"header": "Genres" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"posters": { | ||
"header": "Poster" | ||
}, | ||
"backdrops": { | ||
"header": "Hintergründe" | ||
}, | ||
"recommendations": { | ||
"header": "Empfehlungen" | ||
}, | ||
"similar": { | ||
"header": "Ähnlich" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"header": { | ||
"inputPlaceholder": "Suche", | ||
"clearButton": "zu löschen" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"language": { | ||
"header": "Sprache" | ||
}, | ||
"saveButtonText": "speichern" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"tabs": { | ||
"main": "Main", | ||
"search": "Search", | ||
"favorites": "Favorites", | ||
"settings": "Settings" | ||
}, | ||
"components": { | ||
"BackButton": { | ||
"backButtonAriaLabel": "go back" | ||
}, | ||
"FavoriteButton": { | ||
"addToFavoritesAriaLabel": "add to favorites", | ||
"removeFromFavoritesAriaLabel": "remove from favorites" | ||
}, | ||
"TitleMovieCard": { | ||
"title": "movie title" | ||
} | ||
}, | ||
"utils": { | ||
"dates": { | ||
"formatDurationToString": { | ||
"hours": "h", | ||
"minutes": "m" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"header": "Discover" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"popular": { | ||
"header": "Popular" | ||
}, | ||
"topRated": { | ||
"header": "Top rated" | ||
}, | ||
"genres": { | ||
"header": "Genres" | ||
} | ||
} |
Oops, something went wrong.
b0b1dc1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
movie-db-app-web – ./
movie-db-app-web.vercel.app
movie-db-app-web-petrovmiroslav.vercel.app
movie-db-app-web-git-main-petrovmiroslav.vercel.app