Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9612a7bfb2 | ||
|
|
d700543eba | ||
|
|
51a320b31f | ||
|
|
04b5005e3b | ||
|
|
542ad8cd14 | ||
|
|
1eed66e1c4 | ||
|
|
c82b7894a5 | ||
|
|
4e270e616a | ||
|
|
e72e99a927 | ||
|
|
434dd141d8 | ||
|
|
a5da756803 | ||
|
|
eaad6f1e77 | ||
|
|
b15207aa88 | ||
|
|
080279e456 | ||
|
|
b555ef3b94 | ||
|
|
a2365bafef |
No files matched your search
@@ -10,22 +10,29 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
runs-on: azuucine
|
||||
env:
|
||||
REQUIRE_SUPABASE: '1' # le build échoue si VITE_SUPABASE_* manquent (garde dans vite.config.ts)
|
||||
VITE_SUPABASE_URL: ${{ vars.VITE_SUPABASE_URL }}
|
||||
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}
|
||||
GIT_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
- name: Récupérer le code
|
||||
# Le jeton n'est visible que de cette étape (pas des scripts npm qui suivent)
|
||||
env:
|
||||
GIT_TOKEN: ${{ github.token }}
|
||||
REF: ${{ github.ref_name }}
|
||||
REPO_URL: ${{ github.server_url }}/${{ github.repository }}.git
|
||||
run: |
|
||||
rm -rf src
|
||||
AUTH=$(printf 'x-access-token:%s' "$GIT_TOKEN" | base64 -w0)
|
||||
git -c http.extraheader="AUTHORIZATION: basic $AUTH" clone --depth 1 --branch "${{ github.ref_name }}" \
|
||||
"${{ github.server_url }}/${{ github.repository }}.git" src
|
||||
git -c http.extraheader="AUTHORIZATION: basic $AUTH" clone --depth 1 --branch "$REF" "$REPO_URL" src
|
||||
- name: Installer les dépendances
|
||||
run: cd src && npm ci --no-audit --no-fund
|
||||
- name: Construire
|
||||
env:
|
||||
VITE_SUPABASE_URL: ${{ vars.VITE_SUPABASE_URL }}
|
||||
VITE_SUPABASE_ANON_KEY: ${{ secrets.VITE_SUPABASE_ANON_KEY }}
|
||||
run: cd src && npm run build
|
||||
- name: Publier (atomique, 3 versions conservées)
|
||||
run: cd src && bash deploy/release.sh dist "${{ github.sha }}"
|
||||
env:
|
||||
SHA: ${{ github.sha }}
|
||||
run: cd src && bash deploy/release.sh dist "$SHA"
|
||||
@@ -0,0 +1,65 @@
|
||||
# AzuuCine — contexte projet (lu automatiquement par Claude Code)
|
||||
|
||||
PWA de suivi de films, séries, animes, K-dramas et C-dramas. Interface en français
|
||||
(18 langues). Thème sombre par défaut, accent rouge, sans dégradés, police Inter.
|
||||
|
||||
## Stack
|
||||
- **Vite + React 19 + TypeScript**, **Tailwind CSS v4**, PWA (vite-plugin-pwa, service worker auto-update).
|
||||
- **Supabase** (Postgres + Auth + Storage + Edge Functions) pour les comptes et le social.
|
||||
- Local-first : IndexedDB par utilisateur + outbox + synchro last-write-wins.
|
||||
- Dossier local : `C:\Users\romai\Documents\FICHIER\PROJET\AzuuCine`.
|
||||
|
||||
## Lancer / vérifier
|
||||
```bash
|
||||
npm install
|
||||
npm run dev # dev local
|
||||
npm run typecheck # tsc --noEmit ← LANCER APRÈS CHAQUE MODIF, doit finir sans erreur
|
||||
npm run build # build de prod
|
||||
```
|
||||
|
||||
## Déploiement
|
||||
- Remote git : **Gitea** `https://gitea.rdacet.fr/romain/azuucine.git` (branche `main`).
|
||||
- Push via **PowerShell** : `git push` (GitHub Desktop n'authentifie pas Gitea).
|
||||
- **Gitea Actions** (`.gitea/workflows/deploy.yml`) build et publie sur le **VPS** (nginx en LXC) à chaque push sur `main`. Site : https://azuucine.rdacet.fr
|
||||
- `vite.config.ts` contient un garde-fou : le build échoue si `VITE_SUPABASE_URL` / `VITE_SUPABASE_ANON_KEY` manquent en CI (variables/secrets Gitea Actions). La CSP et les en-têtes de sécurité y sont aussi définis (source unique → convertis en conf nginx par `deploy/headers-to-nginx.mjs`).
|
||||
|
||||
## Supabase
|
||||
- Project ref : `qfgnxonqwldcfdjqhhjz` — URL `https://qfgnxonqwldcfdjqhhjz.supabase.co`
|
||||
- Clé **publishable** (publique, déjà dans le bundle client) : `sb_publishable_s459lWM86bjiteGzWxSYcw_WbiRYydR`
|
||||
- **Secrets (JAMAIS dans le dépôt, jamais dans .env/VITE_)** : la clé TMDB et la `service_role` vivent dans les **secrets Supabase** / Edge Functions. Ne jamais les committer ni les coller dans le chat.
|
||||
- **Migrations** : `supabase/migrations/*.sql`. ⚠️ L'outil MCP `apply_migration` **tombe souvent en timeout** sur ce projet (création de fonctions). **Appliquer le SQL en le collant dans Supabase → SQL Editor → Run.** Tous les fichiers sont écrits **idempotents** (`create or replace`, `if not exists`, `drop ... if exists`).
|
||||
- Edge functions : `tmdb` (proxy pour cacher la clé TMDB), `delete-account`. Storage bucket `profile-media`.
|
||||
- Compte **admin** = Romain, user id `4529202d-618c-4b40-ab13-228eef3f71ad` (table `public.admins`).
|
||||
|
||||
### Règles de sécurité Supabase (NON négociables — « aucune faille »)
|
||||
- **RLS activé partout** ; chaque utilisateur ne voit que ses données.
|
||||
- Toute fonction exposée est **`security definer` + `set search_path = ''`** et **vérifie les droits en interne** (`auth.uid()`, `can_view()`, `is_admin()`), puis `revoke ... from public, anon` / `grant execute ... to authenticated`.
|
||||
- La clé TMDB ne doit jamais fuiter côté client (passe par l'edge function `tmdb`).
|
||||
|
||||
## Architecture client (repères)
|
||||
- `src/store.tsx` — fournisseur de données (IndexedDB = source locale, état React = copie de travail), synchro, thème.
|
||||
- `src/lib/cloud/` — `auth.ts` (GoTrue maison, PKCE Google), `sync.ts` (push/pull LWW), `social.ts`, `admin.ts`, `reviews.ts`, `notifications.ts`, `api.ts` (`cloudFetch`).
|
||||
- `src/lib/airing.ts` — suivi des sorties d'épisodes (TMDB/AniList), cache local.
|
||||
- `src/lib/franchise.ts` — saisons & dédoublonnage de franchises (TMDB 1 fiche multi-saisons vs AniList 1 entrée/saison).
|
||||
- `src/components/social/` — profils, recherche, fil d'amis, avis par titre (`TitleReviews`), réactions (`Reactions`), notifications (`Notifications`), aperçu d'une fiche (`ItemPeek`), `SocialProvider` (pile d'overlays).
|
||||
- `src/pages/` — `HomePage`, `CatalogPage`, `StatsPage`, `SettingsPage`, `AdminPage`.
|
||||
- `src/App.tsx` — shell + routes par hash (`#/home`, `#/admin`…), `BottomNav` (mobile) + `SideNav` (desktop ≥ lg).
|
||||
|
||||
## i18n (IMPORTANT)
|
||||
- 18 langues dans `src/i18n/locales/*.ts`. **`fr` est la référence** : toute clé doit exister dans **toutes** les langues (sinon erreur TS).
|
||||
- Textes vus par les membres → traduire dans les 18. Un écran réservé à l'admin → `fr` + `en` suffit.
|
||||
- Clés plurielles `xxx_one`/`xxx_other` (+ `_few`/`_many` pour ar/ru/pl). Variables `{x}`.
|
||||
- Thèmes d'apparence : `auto` (suit le navigateur), `light`, `dark`, `night`, `starfield` (fond étoilé CSS). Toujours utiliser les **tokens de thème** (`bg-bg`, `text-ink`, `bg-accent-fill`…), **jamais de couleur hex en dur**.
|
||||
|
||||
## Conventions
|
||||
- `npm run typecheck` doit passer après chaque modif.
|
||||
- Ne pas mettre `localStorage`/`sessionStorage` sans try/catch.
|
||||
- Garder les fichiers idempotents côté SQL.
|
||||
- RTL géré (arabe) : préférer les classes logiques (`ps-`/`pe-`, `ms-`/`me-`, `start-`/`end-`, `border-e`).
|
||||
|
||||
## État / en attente (au 8 oct. 2026)
|
||||
- **À appliquer dans Supabase SQL Editor** : `supabase/migrations/20261007120000_social_notifications.sql`
|
||||
(avis par titre, réactions emoji, notifications : abonnements / demandes acceptées / réactions reçues /
|
||||
**nouveaux épisodes** des séries suivies, + préférences `notifPrefs` dans les réglages). Testé localement, jamais encore exécuté sur le projet réel.
|
||||
- Ensuite : `git push` pour déployer le client.
|
||||
- Recommandé dans le tableau de bord Supabase : activer **Leaked Password Protection** (Authentication → Passwords).
|
||||
@@ -0,0 +1,198 @@
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
-- AzuuCine — Avis par titre, réactions et notifications (5 octobre 2026)
|
||||
-- 1. Voir tous les avis sur un titre (amis / autres).
|
||||
-- 2. Réagir aux avis (emoji).
|
||||
-- 3. Notifications (cloche) : abonnements, demandes acceptées, réactions reçues.
|
||||
--
|
||||
-- À coller dans Supabase → SQL Editor → Run. Idempotent (réexécutable sans risque).
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
-- ── Tables ──
|
||||
create table if not exists public.review_reactions (
|
||||
author_id uuid not null references auth.users(id) on delete cascade, -- auteur de l'avis
|
||||
item_id text not null,
|
||||
user_id uuid not null default auth.uid() references auth.users(id) on delete cascade, -- qui réagit
|
||||
emoji text not null,
|
||||
created_at timestamptz not null default now(),
|
||||
primary key (author_id, item_id, user_id)
|
||||
);
|
||||
create index if not exists review_reactions_target_idx on public.review_reactions (author_id, item_id);
|
||||
alter table public.review_reactions enable row level security;
|
||||
alter table public.review_reactions force row level security;
|
||||
revoke all on public.review_reactions from anon, authenticated;
|
||||
|
||||
create table if not exists public.notifications (
|
||||
id bigint generated always as identity primary key,
|
||||
user_id uuid not null references auth.users(id) on delete cascade, -- destinataire
|
||||
kind text not null check (kind in ('follow_request','follow_accepted','new_follower','reaction')),
|
||||
actor_id uuid references auth.users(id) on delete cascade,
|
||||
item_id text,
|
||||
emoji text,
|
||||
created_at timestamptz not null default now(),
|
||||
read_at timestamptz
|
||||
);
|
||||
create index if not exists notifications_user_idx on public.notifications (user_id, created_at desc);
|
||||
alter table public.notifications enable row level security;
|
||||
alter table public.notifications force row level security;
|
||||
revoke all on public.notifications from anon, authenticated;
|
||||
|
||||
-- ── Création de notifications + bornage de l'historique ──
|
||||
create or replace function public.azuu_notify(p_user uuid, p_kind text, p_actor uuid, p_item text default null, p_emoji text default null)
|
||||
returns void language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if p_user is null or p_actor is null or p_user = p_actor then return; end if;
|
||||
insert into public.notifications (user_id, kind, actor_id, item_id, emoji)
|
||||
values (p_user, p_kind, p_actor, p_item, p_emoji);
|
||||
delete from public.notifications
|
||||
where user_id = p_user and id not in (
|
||||
select id from public.notifications where user_id = p_user order by created_at desc limit 300
|
||||
);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- Abonnement / demande -> notifie le compte suivi ; demande acceptée -> notifie le demandeur
|
||||
create or replace function public.azuu_follow_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if tg_op = 'INSERT' then
|
||||
perform public.azuu_notify(new.following_id,
|
||||
case when new.status = 'pending' then 'follow_request' else 'new_follower' end, new.follower_id);
|
||||
elsif tg_op = 'UPDATE' and old.status = 'pending' and new.status = 'accepted' then
|
||||
perform public.azuu_notify(new.follower_id, 'follow_accepted', new.following_id);
|
||||
end if;
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists follows_notify on public.follows;
|
||||
create trigger follows_notify after insert or update on public.follows
|
||||
for each row execute function public.azuu_follow_notify();
|
||||
|
||||
-- Réaction reçue -> notifie l'auteur de l'avis
|
||||
create or replace function public.azuu_reaction_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
perform public.azuu_notify(new.author_id, 'reaction', new.user_id, new.item_id, new.emoji);
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists reactions_notify on public.review_reactions;
|
||||
create trigger reactions_notify after insert on public.review_reactions
|
||||
for each row execute function public.azuu_reaction_notify();
|
||||
|
||||
-- ── Réagir à un avis ──
|
||||
create or replace function public.react_to_review(p_author uuid, p_item text, p_emoji text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
if p_author = auth.uid() then raise exception 'cannot react to your own review'; end if;
|
||||
if p_emoji is null or p_emoji <> all (array['👍','❤️','🔥','😂','😮','😢']) then raise exception 'bad emoji'; end if;
|
||||
if not public.can_view(p_author) or not exists (
|
||||
select 1 from public.items i join public.profiles pr on pr.id = i.user_id
|
||||
where i.user_id = p_author and i.id = p_item and not i.deleted
|
||||
and coalesce(i.data->>'notes','') <> '' and not pr.suspended
|
||||
) then
|
||||
raise exception 'review not found';
|
||||
end if;
|
||||
insert into public.review_reactions (author_id, item_id, user_id, emoji)
|
||||
values (p_author, p_item, auth.uid(), p_emoji)
|
||||
on conflict (author_id, item_id, user_id) do update set emoji = excluded.emoji, created_at = now();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
create or replace function public.unreact_review(p_author uuid, p_item text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
delete from public.review_reactions where author_id = p_author and item_id = p_item and user_id = auth.uid();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Tous les avis sur un titre (amis / autres) ──
|
||||
create or replace function public.title_reviews(p_external_id text, p_offset integer default 0)
|
||||
returns jsonb language plpgsql stable security definer set search_path = '' as $$
|
||||
declare me uuid := auth.uid(); res jsonb;
|
||||
begin
|
||||
if me is null or p_external_id !~ '^(tmdb:(movie|tv):[0-9]{1,10}|anilist:[0-9]{1,10})$' then
|
||||
return jsonb_build_object('friends', '[]'::jsonb, 'others', '[]'::jsonb);
|
||||
end if;
|
||||
with revs as (
|
||||
select i.user_id, i.id as item_id, i.updated_at,
|
||||
nullif(i.data->>'rating','')::numeric as rating,
|
||||
i.data->>'notes' as notes, pr,
|
||||
exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted') as friend
|
||||
from public.items i
|
||||
join public.profiles pr on pr.id = i.user_id
|
||||
where i.data->>'externalId' = p_external_id
|
||||
and not i.deleted and coalesce(i.data->>'notes','') <> ''
|
||||
and i.user_id <> me and not pr.suspended
|
||||
and (not pr.is_private
|
||||
or exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted'))
|
||||
),
|
||||
enriched as (
|
||||
select r.*,
|
||||
(select coalesce(jsonb_object_agg(e.emoji, e.c), '{}'::jsonb)
|
||||
from (select emoji, count(*) c from public.review_reactions rr
|
||||
where rr.author_id = r.user_id and rr.item_id = r.item_id group by emoji) e) as reactions,
|
||||
(select count(*) from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id) as total,
|
||||
(select emoji from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id and rr.user_id = me) as mine
|
||||
from revs r
|
||||
)
|
||||
select jsonb_build_object(
|
||||
'friends', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where friend offset greatest(p_offset, 0) limit 40) f), '[]'::jsonb),
|
||||
'others', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where not friend offset greatest(p_offset, 0) limit 40) o), '[]'::jsonb)
|
||||
) into res;
|
||||
return res;
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Notifications ──
|
||||
create or replace function public.get_notifications(p_offset integer default 0)
|
||||
returns jsonb language sql stable security definer set search_path = '' as $$
|
||||
select coalesce(jsonb_agg(x order by created_at desc), '[]'::jsonb)
|
||||
from (
|
||||
select n.id, n.kind, n.created_at, n.read_at, n.emoji, n.item_id,
|
||||
case when p.id is null then null else
|
||||
jsonb_build_object('username', p.username, 'display_name', p.display_name, 'avatar_url', p.avatar_url) end as actor,
|
||||
case when n.kind = 'reaction'
|
||||
then (select it.data->>'title' from public.items it where it.user_id = n.user_id and it.id = n.item_id) end as title
|
||||
from public.notifications n
|
||||
left join public.profiles p on p.id = n.actor_id
|
||||
where n.user_id = auth.uid()
|
||||
order by n.created_at desc
|
||||
offset greatest(p_offset, 0) limit 30
|
||||
) x
|
||||
$$;
|
||||
|
||||
create or replace function public.notifications_unread()
|
||||
returns integer language sql stable security definer set search_path = '' as $$
|
||||
select count(*)::int from public.notifications where user_id = auth.uid() and read_at is null
|
||||
$$;
|
||||
|
||||
create or replace function public.mark_notifications_read()
|
||||
returns void language sql security definer set search_path = '' as $$
|
||||
update public.notifications set read_at = now() where user_id = auth.uid() and read_at is null
|
||||
$$;
|
||||
|
||||
-- ── Droits (gate interne : auth.uid() / can_view) ──
|
||||
revoke all on function public.react_to_review(uuid, text, text) from public, anon;
|
||||
revoke all on function public.unreact_review(uuid, text) from public, anon;
|
||||
revoke all on function public.title_reviews(text, integer) from public, anon;
|
||||
revoke all on function public.get_notifications(integer) from public, anon;
|
||||
revoke all on function public.notifications_unread() from public, anon;
|
||||
revoke all on function public.mark_notifications_read() from public, anon;
|
||||
grant execute on function public.react_to_review(uuid, text, text) to authenticated;
|
||||
grant execute on function public.unreact_review(uuid, text) to authenticated;
|
||||
grant execute on function public.title_reviews(text, integer) to authenticated;
|
||||
grant execute on function public.get_notifications(integer) to authenticated;
|
||||
grant execute on function public.notifications_unread() to authenticated;
|
||||
grant execute on function public.mark_notifications_read() to authenticated;
|
||||
@@ -179,6 +179,8 @@ sur le VPS, sur **https://azuucine.rdacet.fr**.
|
||||
`vite.config.ts`). Les vrais secrets (clé TMDB, `service_role`) restent dans Supabase.
|
||||
- **En-têtes de sécurité** : définis une seule fois dans `vite.config.ts` (CSP, HSTS, etc.). `deploy/headers-to-nginx.mjs`
|
||||
convertit `dist/_headers` en configuration nginx à chaque déploiement : rien à recopier à la main.
|
||||
- **Config nginx** : `deploy/nginx/site.conf` (dont le type MIME du manifest du PWA) est livrée avec chaque release. Pour un
|
||||
conteneur `azuucine-web` neuf : `lxc-attach -n azuucine-web -- bash < deploy/web/bootstrap.sh`, puis un push sur `main`.
|
||||
- **Versions** : les 3 dernières sont gardées dans `/srv/azuucine/releases/`, `current` pointe sur la version en ligne.
|
||||
- **Retour arrière** (en root sur le VPS) : `/srv/azuucine/rollback.sh` revient à la version précédente,
|
||||
`/srv/azuucine/rollback.sh <nom-de-version>` à une version précise (`ls /srv/azuucine/releases`).
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Configuration nginx du site AzuuCine (conteneur azuucine-web).
|
||||
# Livrée avec chaque release (copiée par deploy/release.sh) et lue via /srv/azuucine/current/nginx/site.conf :
|
||||
# la configuration vit donc dans le dépôt, et un conteneur recréé la récupère au premier déploiement.
|
||||
# Les en-têtes de sécurité (security-headers.conf, locations.conf) sont, eux, générés depuis dist/_headers.
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name azuucine.rdacet.fr _;
|
||||
server_tokens off;
|
||||
|
||||
root /srv/azuucine/current/dist;
|
||||
index index.html;
|
||||
|
||||
# nginx ne connaît pas .webmanifest : sans cette ligne, le manifest du PWA est servi en octet-stream
|
||||
include /etc/nginx/mime.types;
|
||||
types { application/manifest+json webmanifest; }
|
||||
|
||||
# Règles par chemin issues de _headers (ex. /sw.js -> no-cache)
|
||||
include /srv/azuucine/current/nginx/locations.conf;
|
||||
|
||||
# Fichiers hashés : cache immuable
|
||||
location /assets/ {
|
||||
include /srv/azuucine/current/nginx/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable" always;
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
include /srv/azuucine/current/nginx/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=0, must-revalidate" always;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ REL="$ROOT/releases/$(date -u +%Y%m%d%H%M%S)-${SHA:0:8}"
|
||||
mkdir -p "$REL"
|
||||
cp -a "$SRC" "$REL/dist"
|
||||
node "$HERE/headers-to-nginx.mjs" "$REL/dist/_headers" "$REL/nginx"
|
||||
cp "$HERE/nginx/site.conf" "$REL/nginx/site.conf" # config nginx du site, versionnée dans le dépôt
|
||||
|
||||
# bascule atomique : lien relatif temporaire puis rename
|
||||
ln -s "releases/$(basename "$REL")" "$ROOT/current.tmp"
|
||||
|
||||
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
# À lancer UNE FOIS, en root, dans un conteneur azuucine-web neuf (Debian 12) :
|
||||
# lxc-attach -n azuucine-web -- bash < deploy/web/bootstrap.sh
|
||||
# Prérequis : /srv/azuucine monté dans le conteneur (lxc.mount.entry ... srv/azuucine none bind,ro).
|
||||
# Ensuite, toute la configuration du site arrive avec les déploiements (deploy/nginx/site.conf).
|
||||
set -euo pipefail
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update -qq && apt-get install -y -qq nginx >/dev/null
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
echo 'include /srv/azuucine/current/nginx/site.conf;' > /etc/nginx/conf.d/azuucine.conf
|
||||
cat > /etc/systemd/system/azuucine-reload.path <<UNIT
|
||||
[Unit]
|
||||
Description=Recharge nginx apres un deploiement AzuuCine
|
||||
[Path]
|
||||
PathModified=/srv/azuucine/.deployed
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
UNIT
|
||||
cat > /etc/systemd/system/azuucine-reload.service <<UNIT
|
||||
[Unit]
|
||||
Description=Reload nginx (deploiement AzuuCine)
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "nginx -t && systemctl reload nginx"
|
||||
UNIT
|
||||
systemctl daemon-reload
|
||||
systemctl enable --now azuucine-reload.path >/dev/null 2>&1
|
||||
echo "ok : le premier déploiement (push sur main) activera le site"
|
||||
@@ -1,9 +0,0 @@
|
||||
# Netlify construit le site lui-même : `npm run build`, puis publie le dossier dist.
|
||||
# Les deux variables VITE_SUPABASE_* (publiques) sont réglées dans Netlify → Environment variables.
|
||||
# La clé TMDB n'est JAMAIS ici : elle reste un secret Supabase.
|
||||
[build]
|
||||
command = "npm run build"
|
||||
publish = "dist"
|
||||
|
||||
[build.environment]
|
||||
NODE_VERSION = "22"
|
||||
+23
-13
@@ -1,6 +1,7 @@
|
||||
import { SocialProvider } from './components/social/SocialProvider'
|
||||
import { useEffect, useState } from 'react'
|
||||
import BottomNav, { type Tab } from './components/BottomNav'
|
||||
import SideNav from './components/SideNav'
|
||||
import MediaForm from './components/MediaForm'
|
||||
import Roulette from './components/Roulette'
|
||||
import CalendarView from './components/CalendarView'
|
||||
@@ -8,14 +9,18 @@ import HomePage from './pages/HomePage'
|
||||
import CatalogPage from './pages/CatalogPage'
|
||||
import StatsPage from './pages/StatsPage'
|
||||
import SettingsPage from './pages/SettingsPage'
|
||||
import AdminPage from './pages/AdminPage'
|
||||
import { useMedia } from './store'
|
||||
import type { MediaItem } from './types'
|
||||
|
||||
const TABS: Tab[] = ['home', 'catalog', 'stats', 'settings']
|
||||
// L'administration a sa propre route (#/admin), hors de la navigation principale
|
||||
type Route = Tab | 'admin'
|
||||
|
||||
function tabFromHash(): Tab {
|
||||
const h = window.location.hash.replace('#/', '') as Tab
|
||||
return TABS.includes(h) ? h : 'home'
|
||||
function routeFromHash(): Route {
|
||||
const h = window.location.hash.replace('#/', '')
|
||||
if (h === 'admin') return 'admin'
|
||||
return (TABS as string[]).includes(h) ? (h as Tab) : 'home'
|
||||
}
|
||||
|
||||
/** Formulaire ouvert : null = fermé, 'new' = ajout, sinon la fiche à éditer. */
|
||||
@@ -23,37 +28,41 @@ export type EditorState = null | 'new' | MediaItem
|
||||
|
||||
export default function App() {
|
||||
const { error } = useMedia()
|
||||
const [tab, setTab] = useState<Tab>(tabFromHash)
|
||||
const [route, setRoute] = useState<Route>(routeFromHash)
|
||||
const [editor, setEditor] = useState<EditorState>(null)
|
||||
const [roulette, setRoulette] = useState(false)
|
||||
const [calendar, setCalendar] = useState(false)
|
||||
|
||||
useEffect(() => {
|
||||
const onHash = () => setTab(tabFromHash())
|
||||
const onHash = () => setRoute(routeFromHash())
|
||||
window.addEventListener('hashchange', onHash)
|
||||
return () => window.removeEventListener('hashchange', onHash)
|
||||
}, [])
|
||||
|
||||
const go = (t: Tab) => {
|
||||
const go = (t: Route) => {
|
||||
window.location.hash = `/${t}`
|
||||
window.scrollTo({ top: 0 })
|
||||
}
|
||||
// Dans la barre de navigation, l'administration reste rattachée à « Réglages »
|
||||
const navTab: Tab = route === 'admin' ? 'settings' : route
|
||||
|
||||
const openItem = (item: MediaItem) => setEditor(item)
|
||||
const openNew = () => setEditor('new')
|
||||
|
||||
return (
|
||||
<SocialProvider onOpenOwnItem={openItem}>
|
||||
<div className="mx-auto min-h-dvh max-w-2xl">
|
||||
<main className="safe-top px-4 pb-32">
|
||||
<SideNav current={navTab} onChange={go} onAdd={openNew} />
|
||||
<div className="mx-auto min-h-dvh max-w-2xl lg:max-w-5xl lg:ps-60">
|
||||
<main className="safe-top px-4 pb-32 lg:pb-10">
|
||||
{error && <p className="mt-4 rounded-xl border border-accent p-3 text-sm text-ink">{error}</p>}
|
||||
{tab === 'home' && <HomePage onOpen={openItem} onAdd={openNew} onNavigate={go} onRoulette={() => setRoulette(true)} onCalendar={() => setCalendar(true)} />}
|
||||
{tab === 'catalog' && <CatalogPage onOpen={openItem} onAdd={openNew} />}
|
||||
{tab === 'stats' && <StatsPage />}
|
||||
{tab === 'settings' && <SettingsPage />}
|
||||
{route === 'home' && <HomePage onOpen={openItem} onAdd={openNew} onNavigate={go} onRoulette={() => setRoulette(true)} onCalendar={() => setCalendar(true)} />}
|
||||
{route === 'catalog' && <CatalogPage onOpen={openItem} onAdd={openNew} />}
|
||||
{route === 'stats' && <StatsPage />}
|
||||
{route === 'settings' && <SettingsPage onOpenAdmin={() => go('admin')} />}
|
||||
{route === 'admin' && <AdminPage onBack={() => go('settings')} />}
|
||||
</main>
|
||||
|
||||
<BottomNav current={tab} onChange={go} onAdd={openNew} />
|
||||
<BottomNav current={navTab} onChange={go} onAdd={openNew} />
|
||||
|
||||
{roulette && <Roulette onClose={() => setRoulette(false)} onOpen={openItem} />}
|
||||
{calendar && <CalendarView onClose={() => setCalendar(false)} onOpen={openItem} />}
|
||||
@@ -63,6 +72,7 @@ export default function App() {
|
||||
key={editor === 'new' ? 'new' : editor.id}
|
||||
item={editor === 'new' ? undefined : editor}
|
||||
onClose={() => setEditor(null)}
|
||||
onOpenItem={(i) => setEditor(i)}
|
||||
onGoToSettings={() => {
|
||||
setEditor(null)
|
||||
go('settings')
|
||||
|
||||
@@ -1,48 +1,22 @@
|
||||
import Avatar from './social/Avatar'
|
||||
import { useSocial } from './social/SocialProvider'
|
||||
import { locale, t } from '../i18n'
|
||||
import { CloudOff, KeyRound, Loader2, LogOut, RefreshCw, UserRound } from 'lucide-react'
|
||||
import { useEffect, useState, type FormEvent } from 'react'
|
||||
import { t } from '../i18n'
|
||||
import { KeyRound, Loader2, LogOut, UserRound } from 'lucide-react'
|
||||
import { useState, type FormEvent } from 'react'
|
||||
import { PASSWORD_MIN, updatePassword } from '../lib/cloud/auth'
|
||||
import { cx } from '../lib/utils'
|
||||
import type { AccountApi } from '../store'
|
||||
import ConfirmDialog from './ConfirmDialog'
|
||||
import { SectionTitle } from './ui'
|
||||
|
||||
function ago(iso?: string): string {
|
||||
if (!iso) return t('time.never')
|
||||
const s = Math.max(0, (Date.now() - new Date(iso).getTime()) / 1000)
|
||||
if (s < 60) return t('time.justNow')
|
||||
if (s < 3600) return t('time.minutesAgo', { n: Math.floor(s / 60) })
|
||||
if (s < 86400) return t('time.hoursAgo', { n: Math.floor(s / 3600) })
|
||||
return t('time.onDate', { date: new Date(iso).toLocaleDateString(locale(), { day: 'numeric', month: 'short' }) })
|
||||
}
|
||||
|
||||
/** Réglages → Mon compte : état de la synchro, mot de passe, déconnexion. */
|
||||
/** Réglages → Mon compte : mot de passe, déconnexion. La synchro tourne en arrière-plan. */
|
||||
export default function AccountSection({ account, onMessage }: { account: AccountApi; onMessage: (kind: 'ok' | 'error', text: string) => void }) {
|
||||
const { sync } = account
|
||||
const social = useSocial()
|
||||
const [, tick] = useState(0)
|
||||
const [pwOpen, setPwOpen] = useState(false)
|
||||
const [pw, setPw] = useState('')
|
||||
const [busy, setBusy] = useState<'pw' | 'logout' | 'import' | null>(null)
|
||||
const [confirmLogout, setConfirmLogout] = useState(false)
|
||||
|
||||
// Rafraîchit « il y a x min »
|
||||
useEffect(() => {
|
||||
const timer = setInterval(() => tick((n) => n + 1), 30_000)
|
||||
return () => clearInterval(timer)
|
||||
}, [])
|
||||
|
||||
const statusText =
|
||||
sync.state === 'syncing'
|
||||
? t('account.syncing')
|
||||
: sync.state === 'offline'
|
||||
? t('account.offline')
|
||||
: sync.state === 'error'
|
||||
? t('account.syncError')
|
||||
: t('account.synced', { when: ago(sync.lastSyncAt) })
|
||||
|
||||
const changePassword = async (e: FormEvent) => {
|
||||
e.preventDefault()
|
||||
setBusy('pw')
|
||||
@@ -90,25 +64,12 @@ export default function AccountSection({ account, onMessage }: { account: Accoun
|
||||
</span>
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className="block truncate font-medium">{account.email}</span>
|
||||
<span className={cx('mt-0.5 flex items-center gap-1.5 text-xs', sync.state === 'error' ? 'text-accent' : 'text-ink-3')}>
|
||||
{sync.state === 'offline' && <CloudOff size={12} />}
|
||||
{statusText}
|
||||
{sync.pending > 0 && sync.state !== 'syncing' && ` · ${t('account.pending', { count: sync.pending })}`}
|
||||
</span>
|
||||
</span>
|
||||
<button
|
||||
onClick={() => account.syncNow()}
|
||||
disabled={sync.state === 'syncing'}
|
||||
className="grid size-10 shrink-0 place-items-center rounded-full border border-line text-ink-2"
|
||||
aria-label={t('account.syncNow')}
|
||||
>
|
||||
{sync.state === 'syncing' ? <Loader2 size={17} className="animate-spin" /> : <RefreshCw size={17} />}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<button
|
||||
onClick={() => (social.me ? social.openProfile(social.me.username) : social.openSearch())}
|
||||
className="flex w-full items-center gap-3.5 px-4 py-4 text-left transition-colors active:bg-surface-2"
|
||||
className="flex w-full items-center gap-3.5 px-4 py-4 text-start transition-colors active:bg-surface-2"
|
||||
>
|
||||
<Avatar url={social.me?.avatarUrl} name={social.me?.displayName ?? account.email} size={22} />
|
||||
<span className="flex-1">
|
||||
@@ -143,14 +104,14 @@ export default function AccountSection({ account, onMessage }: { account: Accoun
|
||||
</div>
|
||||
</form>
|
||||
) : (
|
||||
<button onClick={() => setPwOpen(true)} className="flex w-full items-center gap-3.5 px-4 py-4 text-left transition-colors active:bg-surface-2">
|
||||
<button onClick={() => setPwOpen(true)} className="flex w-full items-center gap-3.5 px-4 py-4 text-start transition-colors active:bg-surface-2">
|
||||
<KeyRound size={19} className="text-ink-2" />
|
||||
<span className="flex-1 font-medium">{t('account.changePassword')}</span>
|
||||
<span className="text-ink-3">→</span>
|
||||
</button>
|
||||
)}
|
||||
|
||||
<button onClick={() => logout(false)} disabled={busy === 'logout'} className="flex w-full items-center gap-3.5 px-4 py-4 text-left transition-colors active:bg-surface-2">
|
||||
<button onClick={() => logout(false)} disabled={busy === 'logout'} className="flex w-full items-center gap-3.5 px-4 py-4 text-start transition-colors active:bg-surface-2">
|
||||
{busy === 'logout' ? <Loader2 size={19} className="animate-spin text-ink-2" /> : <LogOut size={19} className="text-ink-2" />}
|
||||
<span className="flex-1">
|
||||
<span className="block font-medium">{t('account.logout')}</span>
|
||||
|
||||
@@ -12,7 +12,7 @@ function PasswordField({ value, onChange, placeholder, autoComplete }: { value:
|
||||
return (
|
||||
<div className="relative">
|
||||
<input
|
||||
className="field pr-11"
|
||||
className="field pe-11"
|
||||
type={show ? 'text' : 'password'}
|
||||
value={value}
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
@@ -22,7 +22,7 @@ function PasswordField({ value, onChange, placeholder, autoComplete }: { value:
|
||||
maxLength={72}
|
||||
required
|
||||
/>
|
||||
<button type="button" onClick={() => setShow((v) => !v)} className="absolute right-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={show ? t('auth.hidePassword') : t('auth.showPassword')}>
|
||||
<button type="button" onClick={() => setShow((v) => !v)} className="absolute end-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={show ? t('auth.hidePassword') : t('auth.showPassword')}>
|
||||
{show ? <EyeOff size={17} /> : <Eye size={17} />}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -31,14 +31,14 @@ export default function BottomNav({ current, onChange, onAdd }: Props) {
|
||||
<span className="relative">
|
||||
{label}
|
||||
{/* soulignement fin, comme le lien actif de rdacet.fr */}
|
||||
<span className={cx('absolute -bottom-1 left-0 h-px w-full bg-accent transition-opacity', active ? 'opacity-100' : 'opacity-0')} />
|
||||
<span className={cx('absolute -bottom-1 start-0 h-px w-full bg-accent transition-opacity', active ? 'opacity-100' : 'opacity-0')} />
|
||||
</span>
|
||||
</button>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<nav className="safe-bottom fixed inset-x-0 bottom-0 z-30 border-t border-line bg-bg/95 backdrop-blur-md">
|
||||
<nav className="safe-bottom fixed inset-x-0 bottom-0 z-30 border-t border-line bg-bg/95 backdrop-blur-md lg:hidden">
|
||||
<div className="mx-auto flex max-w-2xl items-center px-2">
|
||||
{ITEMS.slice(0, 2).map(button)}
|
||||
<div className="flex flex-1 justify-center">
|
||||
|
||||
@@ -2,7 +2,8 @@ import { locale, t } from '../i18n'
|
||||
import { Check, ChevronLeft, ChevronRight, Loader2, Plus, RefreshCw, X } from 'lucide-react'
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { loadAiring, refreshAiring, saveAiring } from '../lib/airing'
|
||||
import { getAniListById, getTmdbDetails, releaseToResult, type GlobalRelease, type ReleaseCategory } from '../lib/catalogApi'
|
||||
import { findTmdbSeries, getAniListById, getTmdbDetails, releaseToResult, type GlobalRelease, type ReleaseCategory } from '../lib/catalogApi'
|
||||
import { findFranchiseItem } from '../lib/franchise'
|
||||
import { cachedMonth, isBrowsableMonth, loadMonth, RELEASE_CATEGORIES } from '../lib/globalReleases'
|
||||
import { remotePosterToLocal } from '../lib/image'
|
||||
import { calendarEvents, loadReleases, refreshReleases } from '../lib/releases'
|
||||
@@ -62,7 +63,7 @@ function EntryRow({ e, onOpen, onAdd, busy, added }: { e: Entry; onOpen: (i: Med
|
||||
)
|
||||
if (mine) {
|
||||
return (
|
||||
<button onClick={() => onOpen(e.item!)} className="flex w-full items-center gap-3 py-2.5 text-left">
|
||||
<button onClick={() => onOpen(e.item!)} className="flex w-full items-center gap-3 py-2.5 text-start">
|
||||
{body}
|
||||
<ChevronRight size={16} className="shrink-0 text-ink-3" />
|
||||
</button>
|
||||
@@ -198,7 +199,12 @@ export default function CalendarView({ onClose, onOpen }: { onClose: () => void;
|
||||
}
|
||||
for (const r of global) {
|
||||
const key = `${r.externalId}|${r.date}`
|
||||
const item = byExt.get(r.externalId) ?? byTitle.get(normalizeText(r.title)) ?? (r.originalTitle ? byTitle.get(normalizeText(r.originalTitle)) : undefined)
|
||||
const item =
|
||||
byExt.get(r.externalId) ??
|
||||
byTitle.get(normalizeText(r.title)) ??
|
||||
(r.originalTitle ? byTitle.get(normalizeText(r.originalTitle)) : undefined) ??
|
||||
// « Black Clover Season 2 » sur AniList = ma fiche « Black Clover »
|
||||
(r.cat !== 'film' ? findFranchiseItem(items, [r.title, r.originalTitle], { type: r.cat }) : undefined)
|
||||
map.set(key, {
|
||||
key,
|
||||
date: r.date,
|
||||
@@ -262,7 +268,12 @@ export default function CalendarView({ onClose, onOpen }: { onClose: () => void;
|
||||
try {
|
||||
let data: Partial<MediaInput> = {}
|
||||
let poster: string | undefined
|
||||
if (r.externalId.startsWith('anilist:')) {
|
||||
// Anime : on préfère la fiche TMDB, qui regroupe toutes les saisons (sinon chaque saison AniList ferait une fiche)
|
||||
const series = r.externalId.startsWith('anilist:') && hasKey ? await findTmdbSeries([r.title, r.originalTitle], settings.tmdbKey!).catch(() => undefined) : undefined
|
||||
if (series) {
|
||||
data = await getTmdbDetails(series, settings.tmdbKey!)
|
||||
poster = series.posterUrl ? await remotePosterToLocal(series.posterUrl) : undefined
|
||||
} else if (r.externalId.startsWith('anilist:')) {
|
||||
const res = await getAniListById(r.externalId)
|
||||
data = { ...res?.prefill }
|
||||
poster = res?.posterUrl ?? r.poster
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { t } from '../i18n'
|
||||
import { useEffect } from 'react'
|
||||
import { useEscape } from '../lib/escape'
|
||||
|
||||
interface Props {
|
||||
open: boolean
|
||||
@@ -12,12 +12,7 @@ interface Props {
|
||||
|
||||
/** Fenêtre « Êtes-vous sûr ? » intégrée à l'app (plus fiable que window.confirm sur mobile). */
|
||||
export default function ConfirmDialog({ open, title, message, confirmLabel = t('common.confirm'), onConfirm, onCancel }: Props) {
|
||||
useEffect(() => {
|
||||
if (!open) return
|
||||
const onKey = (e: KeyboardEvent) => e.key === 'Escape' && onCancel()
|
||||
window.addEventListener('keydown', onKey)
|
||||
return () => window.removeEventListener('keydown', onKey)
|
||||
}, [open, onCancel])
|
||||
useEscape(onCancel, open)
|
||||
|
||||
if (!open) return null
|
||||
return (
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { t } from '../i18n'
|
||||
import { Check, Loader2, Search } from 'lucide-react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { getTmdbDetails, searchAniList, searchTmdb, type SearchResult, type Source } from '../lib/catalogApi'
|
||||
import { getTmdbDetails, searchAll, type SearchResult } from '../lib/catalogApi'
|
||||
import { findFranchiseItem } from '../lib/franchise'
|
||||
import { remotePosterToLocal } from '../lib/image'
|
||||
import { cx } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaInput } from '../types'
|
||||
import type { MediaInput, MediaItem } from '../types'
|
||||
|
||||
interface Props {
|
||||
/** Reçoit les métadonnées trouvées (titre, type, genres, épisodes, affiche…). */
|
||||
@@ -14,18 +15,14 @@ interface Props {
|
||||
/** Identifiant externe de la fiche en cours d'édition (pour ne pas la signaler comme doublon). */
|
||||
currentExternalId?: string
|
||||
onGoToSettings?: () => void
|
||||
/** Nouvelle fiche : si le titre (ou une autre saison) est déjà dans la bibliothèque, on ouvre la fiche existante. */
|
||||
onOpenExisting?: (item: MediaItem) => void
|
||||
}
|
||||
|
||||
const SOURCES: { value: Source; readonly label: string; hint: string }[] = [
|
||||
{ value: 'tmdb', get label() { return t('search.moviesSeries') }, hint: 'TMDB' },
|
||||
{ value: 'anilist', get label() { return t('typePlural.anime') }, hint: 'AniList' },
|
||||
]
|
||||
|
||||
/** Recherche un titre dans TMDB ou AniList et remplit la fiche automatiquement. */
|
||||
export default function DatabaseSearch({ onPick, initialQuery = '', currentExternalId, onGoToSettings }: Props) {
|
||||
/** Recherche un titre (films, séries et animes en une seule fois) et remplit la fiche automatiquement. */
|
||||
export default function DatabaseSearch({ onPick, initialQuery = '', currentExternalId, onGoToSettings, onOpenExisting }: Props) {
|
||||
const { items, settings } = useMedia()
|
||||
const hasKey = !!settings.tmdbKey?.trim()
|
||||
const [source, setSource] = useState<Source>(hasKey ? 'tmdb' : 'anilist')
|
||||
const [query, setQuery] = useState(initialQuery)
|
||||
const [results, setResults] = useState<SearchResult[]>([])
|
||||
const [loading, setLoading] = useState(false)
|
||||
@@ -33,22 +30,27 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
const [error, setError] = useState<string>()
|
||||
const requestId = useRef(0)
|
||||
|
||||
const existing = new Set(items.map((i) => i.externalId).filter((id) => id && id !== currentExternalId))
|
||||
const others = items.filter((i) => !currentExternalId || i.externalId !== currentExternalId)
|
||||
/** Déjà dans ma bibliothèque : même référence, ou une autre saison de la même série. */
|
||||
const inLibrary = (r: SearchResult) =>
|
||||
others.find((i) => i.externalId === r.externalId) ??
|
||||
findFranchiseItem(others, [r.title, r.originalTitle, ...(r.altTitles ?? [])], { type: r.typeGuess })
|
||||
|
||||
// Recherche avec un petit délai pendant la frappe
|
||||
useEffect(() => {
|
||||
const q = query.trim()
|
||||
// Toute réponse d'une recherche précédente devient caduque
|
||||
const id = ++requestId.current
|
||||
setError(undefined)
|
||||
if (q.length < 2 || (source === 'tmdb' && !hasKey)) {
|
||||
if (q.length < 2) {
|
||||
setResults([])
|
||||
setLoading(false)
|
||||
return
|
||||
}
|
||||
const id = ++requestId.current
|
||||
setLoading(true)
|
||||
const timer = setTimeout(async () => {
|
||||
try {
|
||||
const res = source === 'tmdb' ? await searchTmdb(q, settings.tmdbKey!) : await searchAniList(q)
|
||||
const res = await searchAll(q, hasKey ? settings.tmdbKey : undefined)
|
||||
if (id === requestId.current) setResults(res)
|
||||
} catch (e) {
|
||||
if (id === requestId.current) {
|
||||
@@ -60,9 +62,11 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
}
|
||||
}, 450)
|
||||
return () => clearTimeout(timer)
|
||||
}, [query, source, hasKey, settings.tmdbKey])
|
||||
}, [query, hasKey, settings.tmdbKey])
|
||||
|
||||
const pick = async (r: SearchResult) => {
|
||||
const mine = onOpenExisting && inLibrary(r)
|
||||
if (mine) return onOpenExisting(mine)
|
||||
setPicking(r.externalId)
|
||||
setError(undefined)
|
||||
try {
|
||||
@@ -83,43 +87,32 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
<div className="card p-4">
|
||||
<div className="mb-3 flex items-center justify-between gap-2">
|
||||
<span className="eyebrow">{t('search.fillFrom')}</span>
|
||||
<div className="flex rounded-full border border-line p-0.5">
|
||||
{SOURCES.map((s) => (
|
||||
<button
|
||||
key={s.value}
|
||||
type="button"
|
||||
onClick={() => setSource(s.value)}
|
||||
className={cx('rounded-full px-3 py-1 text-xs font-medium transition-colors', source === s.value ? 'bg-ink text-bg' : 'text-ink-3')}
|
||||
>
|
||||
{s.label}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
<span className="text-[11px] text-ink-3">{t('search.allKinds')}</span>
|
||||
</div>
|
||||
|
||||
{source === 'tmdb' && !hasKey ? (
|
||||
<div className="rounded-xl border border-dashed border-line-strong p-3.5 text-sm text-ink-2">
|
||||
{t('search.needKey')}
|
||||
<div className="relative">
|
||||
<Search size={17} className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input
|
||||
type="search"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder="Parasite, Frieren, Crash Landing on You…"
|
||||
className="field ps-10"
|
||||
enterKeyHint="search"
|
||||
autoComplete="off"
|
||||
/>
|
||||
{loading && <Loader2 size={17} className="absolute end-3.5 top-1/2 -translate-y-1/2 animate-spin text-ink-3" />}
|
||||
</div>
|
||||
|
||||
{!hasKey && (
|
||||
<div className="mt-2 text-xs text-ink-3">
|
||||
{t('search.animeOnly')}
|
||||
{onGoToSettings && (
|
||||
<button type="button" onClick={onGoToSettings} className="mt-2 block font-medium text-ink">
|
||||
<button type="button" onClick={onGoToSettings} className="ms-1 font-medium text-ink">
|
||||
{t('search.openSettings')} <span className="text-accent">→</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
<div className="relative">
|
||||
<Search size={17} className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input
|
||||
type="search"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder={source === 'tmdb' ? 'Parasite, Crash Landing on You…' : 'Frieren, One Piece…'}
|
||||
className="field pl-10"
|
||||
enterKeyHint="search"
|
||||
autoComplete="off"
|
||||
/>
|
||||
{loading && <Loader2 size={17} className="absolute right-3.5 top-1/2 -translate-y-1/2 animate-spin text-ink-3" />}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{error && <p className="mt-2 text-sm text-accent">{error}</p>}
|
||||
@@ -127,14 +120,15 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
{results.length > 0 && (
|
||||
<ul className="-mx-1 mt-3 max-h-[22rem] divide-y divide-line overflow-y-auto overscroll-contain">
|
||||
{results.map((r) => {
|
||||
const already = existing.has(r.externalId)
|
||||
const mine = inLibrary(r)
|
||||
const already = !!mine
|
||||
return (
|
||||
<li key={r.externalId}>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => pick(r)}
|
||||
disabled={!!picking}
|
||||
className="flex w-full items-center gap-3 rounded-lg px-1 py-2.5 text-left transition-colors active:bg-surface-2 disabled:opacity-60"
|
||||
className="flex w-full items-center gap-3 rounded-lg px-1 py-2.5 text-start transition-colors active:bg-surface-2 disabled:opacity-60"
|
||||
>
|
||||
{r.thumb ? (
|
||||
<img src={r.thumb} alt="" loading="lazy" className="h-[4.2rem] w-11 shrink-0 rounded-md border border-line object-cover" />
|
||||
@@ -148,7 +142,7 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
{r.originalTitle && <span className="block truncate text-xs text-ink-3">{r.originalTitle}</span>}
|
||||
<span className="mt-1 block text-[10.5px] uppercase text-ink-3">
|
||||
{[r.kindLabel, r.year].filter(Boolean).join(' · ')}
|
||||
{already && <span className="text-accent"> · {t('search.already')}</span>}
|
||||
{already && <span className="text-accent"> · {mine.externalId === r.externalId ? t('search.already') : t('search.alreadySeries')}</span>}
|
||||
</span>
|
||||
</span>
|
||||
{picking === r.externalId ? (
|
||||
@@ -163,13 +157,13 @@ export default function DatabaseSearch({ onPick, initialQuery = '', currentExter
|
||||
</ul>
|
||||
)}
|
||||
|
||||
{!loading && !error && query.trim().length >= 2 && results.length === 0 && !(source === 'tmdb' && !hasKey) && (
|
||||
{!loading && !error && query.trim().length >= 2 && results.length === 0 && (
|
||||
<p className="mt-3 text-sm text-ink-3">{t('search.noResults')}</p>
|
||||
)}
|
||||
|
||||
<p className="mt-3 flex items-start gap-1.5 text-[11px] leading-relaxed text-ink-3">
|
||||
<Check size={12} className="mt-0.5 shrink-0" />
|
||||
{t('search.privacy', { source: source === 'tmdb' ? 'TMDB' : 'AniList' })}
|
||||
{t('search.privacy', { source: hasKey ? 'TMDB / AniList' : 'AniList' })}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -30,14 +30,14 @@ function Row({ item, scale }: { item: MediaItem; scale: RatingScale }) {
|
||||
{t('public.me')} <span className="text-ink-2">{formatRating(item.rating, scale)}</span> · {t('public.label')} <span className="text-ink-2">{formatRating(item.publicRating, scale)}</span>
|
||||
</p>
|
||||
<div className="relative mt-1.5 h-1.5 rounded-full bg-surface-2">
|
||||
<span className="absolute inset-y-0 left-1/2 w-px bg-line" />
|
||||
<span className="absolute inset-y-0 start-1/2 w-px bg-line" />
|
||||
<span
|
||||
className={cx('absolute inset-y-0 rounded-full', gap >= 0 ? 'bg-accent' : 'bg-ink-3')}
|
||||
style={gap >= 0 ? { left: '50%', width: `${width}%` } : { right: '50%', width: `${width}%` }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<span className={cx('w-11 shrink-0 text-right text-sm font-bold tabular-nums', gap >= 0 ? 'text-accent' : 'text-ink-2')}>{signed(gap, scale)}</span>
|
||||
<span className={cx('w-11 shrink-0 text-end text-sm font-bold tabular-nums', gap >= 0 ? 'text-accent' : 'text-ink-2')}>{signed(gap, scale)}</span>
|
||||
</li>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
import { Check, Loader2, Lock } from 'lucide-react'
|
||||
import { useEffect, useLayoutEffect, useRef, useState } from 'react'
|
||||
import { locale, t } from '../i18n'
|
||||
import { getTmdbSeasonEpisodes, type EpisodeInfo } from '../lib/catalogApi'
|
||||
import { episodeCap, episodesBeforeSeason, seasonPosition } from '../lib/franchise'
|
||||
import { cx, todayISO } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaInput } from '../types'
|
||||
|
||||
interface Props {
|
||||
form: Pick<MediaInput, 'externalId' | 'episodesWatched' | 'episodesTotal' | 'seasons' | 'season'>
|
||||
/** Épisodes déjà sortis (toutes saisons), si on le sait : les suivants ne se cochent pas */
|
||||
aired?: number
|
||||
/** Nouveau nombre d'épisodes vus (et saison choisie) */
|
||||
onChange: (episodesWatched: number, season?: number) => void
|
||||
}
|
||||
|
||||
const MAX_GENERIC = 500
|
||||
|
||||
/**
|
||||
* Liste des épisodes, saison par saison (façon plateforme de streaming).
|
||||
* Toucher un épisode le marque comme vu, ainsi que tous ceux d'avant ; retoucher le dernier vu l'annule.
|
||||
*/
|
||||
export default function EpisodeList({ form, aired, onChange }: Props) {
|
||||
const { settings } = useMedia()
|
||||
const seasons = form.seasons
|
||||
const pos = seasonPosition(form)
|
||||
const [picked, setViewSeason] = useState(pos?.season ?? 1)
|
||||
// La saison affichée suit la progression (bouton « Vu : S2 · É1 » de l'en-tête) et reste dans les limites
|
||||
const current = pos?.season
|
||||
useEffect(() => {
|
||||
if (current) setViewSeason(current)
|
||||
}, [current])
|
||||
const viewSeason = seasons ? Math.min(Math.max(1, picked), seasons.length) : 1
|
||||
const [episodes, setEpisodes] = useState<EpisodeInfo[]>()
|
||||
const [loading, setLoading] = useState(false)
|
||||
const listRef = useRef<HTMLDivElement>(null)
|
||||
const today = todayISO()
|
||||
const key = settings.tmdbKey?.trim()
|
||||
const isTmdb = !!form.externalId?.startsWith('tmdb:tv:') && !!key
|
||||
|
||||
// Taille de la saison affichée (ou de toute la série si on ne connaît pas le découpage)
|
||||
const before = seasons ? episodesBeforeSeason(seasons, viewSeason) : 0
|
||||
const size = seasons ? (seasons[viewSeason - 1] ?? 0) : Math.min(episodeCap(form) ?? 0, MAX_GENERIC)
|
||||
|
||||
useEffect(() => {
|
||||
if (!isTmdb || !navigator.onLine) return setEpisodes(undefined)
|
||||
let alive = true
|
||||
setLoading(true)
|
||||
getTmdbSeasonEpisodes(form.externalId!, seasons ? viewSeason : 1, key!)
|
||||
.then((list) => alive && setEpisodes(list.length ? list : undefined))
|
||||
.catch(() => alive && setEpisodes(undefined))
|
||||
.finally(() => alive && setLoading(false))
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [isTmdb, form.externalId, viewSeason, seasons, key])
|
||||
|
||||
// Les infos TMDB complètent la liste ; sans elles (AniList, hors-ligne), on numérote simplement
|
||||
const count = Math.max(size, seasons ? 0 : (episodes?.length ?? 0))
|
||||
const rows: EpisodeInfo[] = Array.from({ length: count }, (_, k) => episodes?.find((e) => e.number === k + 1) ?? { number: k + 1 })
|
||||
const watchedHere = Math.max(0, Math.min(count, form.episodesWatched - before))
|
||||
|
||||
// Ouvre la liste au niveau du prochain épisode à voir
|
||||
useLayoutEffect(() => {
|
||||
const el = listRef.current?.querySelector<HTMLElement>(`[data-ep="${Math.min(count, watchedHere + 1)}"]`)
|
||||
if (el && listRef.current) listRef.current.scrollTop = Math.max(0, el.offsetTop - listRef.current.offsetTop - 8)
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [viewSeason, count, episodes])
|
||||
|
||||
const toggle = (n: number) => {
|
||||
const target = before + n
|
||||
// Retoucher le dernier épisode vu = l'annuler
|
||||
const next = form.episodesWatched === target ? target - 1 : target
|
||||
onChange(Math.max(0, next), seasons ? viewSeason : undefined)
|
||||
}
|
||||
|
||||
const fmtDate = (d: string) => new Date(`${d}T12:00:00`).toLocaleDateString(locale(), { day: 'numeric', month: 'short', year: d.slice(0, 4) === today.slice(0, 4) ? undefined : 'numeric' })
|
||||
|
||||
if (!count) return null
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div className="mb-3 flex items-center justify-between gap-3">
|
||||
{seasons ? (
|
||||
<select
|
||||
value={viewSeason}
|
||||
onChange={(e) => setViewSeason(Number(e.target.value))}
|
||||
className="field w-auto py-2 pe-9 text-sm font-semibold"
|
||||
aria-label={t('form.season')}
|
||||
>
|
||||
{seasons.map((n, k) => (
|
||||
<option key={k} value={k + 1}>
|
||||
{t('episodes.seasonOption', { season: k + 1, count: n })}
|
||||
</option>
|
||||
))}
|
||||
</select>
|
||||
) : (
|
||||
<span />
|
||||
)}
|
||||
<span className="flex items-center gap-2 text-xs text-ink-3">
|
||||
{loading && <Loader2 size={13} className="animate-spin" />}
|
||||
{t('episodes.seen', { done: watchedHere, total: count })}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div ref={listRef} className="max-h-[26rem] space-y-1 overflow-y-auto overscroll-contain pe-1">
|
||||
{rows.map((e) => {
|
||||
const seen = e.number <= watchedHere
|
||||
// Pas encore sorti : date à venir (TMDB), ou au-delà des épisodes diffusés
|
||||
const upcoming = e.date ? e.date > today : aired != null && before + e.number > aired
|
||||
// Un épisode à venir ne se coche pas (mais on peut décocher une erreur passée)
|
||||
const locked = upcoming && !seen
|
||||
return (
|
||||
<button
|
||||
key={e.number}
|
||||
type="button"
|
||||
data-ep={e.number}
|
||||
onClick={() => toggle(e.number)}
|
||||
disabled={locked}
|
||||
aria-pressed={seen}
|
||||
className={cx('flex w-full items-center gap-3 rounded-xl p-1.5 text-start transition-colors', locked ? 'cursor-not-allowed' : 'active:bg-surface-2', upcoming && 'opacity-50')}
|
||||
>
|
||||
<span className="relative aspect-video w-28 shrink-0 overflow-hidden rounded-lg border border-line bg-surface-2">
|
||||
{e.still ? (
|
||||
<img src={e.still} alt="" loading="lazy" className="size-full object-cover" />
|
||||
) : (
|
||||
<span className="grid size-full place-items-center text-sm font-semibold text-ink-3">{e.number}</span>
|
||||
)}
|
||||
</span>
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className="block text-[11px] font-medium uppercase tracking-wide text-ink-3">
|
||||
{t('episodes.short', { n: e.number })}
|
||||
{e.date && ` · ${upcoming ? t('episodes.upcoming', { date: fmtDate(e.date) }) : fmtDate(e.date)}`}
|
||||
</span>
|
||||
<span className={cx('mt-0.5 line-clamp-2 text-sm leading-snug', seen ? 'text-ink-3' : 'text-ink')}>
|
||||
{e.name && !/^(episode|épisode|episodio|folge|第)\s*\d+/i.test(e.name) ? e.name : t('episodes.nameless', { n: e.number })}
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
className={cx(
|
||||
'grid size-7 shrink-0 place-items-center rounded-full border transition-colors',
|
||||
seen ? 'border-accent bg-accent-fill text-on-accent' : locked ? 'border-dashed border-line-strong text-ink-3' : 'border-line-strong text-transparent',
|
||||
)}
|
||||
>
|
||||
{locked ? <Lock size={12} /> : <Check size={14} strokeWidth={3} />}
|
||||
</span>
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
import { Check, Info, Plus } from 'lucide-react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { t } from '../i18n'
|
||||
import { TYPE_BY_VALUE } from '../lib/constants'
|
||||
import { canWatchMore, nextAirDate } from '../lib/airing'
|
||||
import { episodeCap, seasonPosition } from '../lib/franchise'
|
||||
import { genreLabel } from '../lib/genres'
|
||||
import { cx, formatDate } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaItem } from '../types'
|
||||
|
||||
/** Où j'en suis : « S2 · É3 » (épisode suivant à voir) */
|
||||
export function nextEpisodeLabel(item: MediaItem): string | undefined {
|
||||
if (!TYPE_BY_VALUE[item.type].episodic || !canWatchMore(item)) return undefined
|
||||
const pos = seasonPosition({ ...item, episodesWatched: item.episodesWatched + 1, season: undefined })
|
||||
const ep = t('episodes.short', { n: pos ? pos.episode : item.episodesWatched + 1 })
|
||||
return pos ? `${t('episodes.seasonShort', { n: pos.season })} · ${ep}` : ep
|
||||
}
|
||||
|
||||
/** Plus rien à cocher : « Tout vu », ou « Prochain épisode le … » si la suite n'est pas encore sortie. */
|
||||
export function waitingLabel(item: MediaItem): string {
|
||||
const cap = episodeCap(item)
|
||||
if (cap && item.episodesWatched >= cap) return t('hero.allSeen')
|
||||
const date = nextAirDate(item)
|
||||
return date ? t('hero.nextOn', { date: formatDate(date) }) : t('hero.upToDate')
|
||||
}
|
||||
|
||||
/** Grande bannière de l'accueil : défile entre les titres que je regarde en ce moment (ou le prochain à voir). */
|
||||
export default function HomeHero({ items, onOpen }: { items: MediaItem[]; onOpen: (item: MediaItem) => void }) {
|
||||
const { incrementEpisode } = useMedia()
|
||||
// On retient le titre affiché (et pas sa position) : la liste se réordonne quand on avance un épisode
|
||||
const [currentId, setCurrentId] = useState<string>()
|
||||
const [pausedAt, setPausedAt] = useState(0)
|
||||
const touchX = useRef<number | null>(null)
|
||||
const count = items.length
|
||||
const current = Math.max(0, items.findIndex((i) => i.id === currentId))
|
||||
const item = items[current]
|
||||
const latest = useRef(items)
|
||||
latest.current = items
|
||||
|
||||
// Défilement automatique (toutes les 7 s), relancé après chaque action manuelle
|
||||
useEffect(() => {
|
||||
if (count < 2) return
|
||||
const timer = setInterval(() => {
|
||||
if (document.visibilityState !== 'visible') return
|
||||
setCurrentId((id) => {
|
||||
const list = latest.current
|
||||
const k = Math.max(0, list.findIndex((i) => i.id === id))
|
||||
return list[(k + 1) % list.length]?.id
|
||||
})
|
||||
}, 7000)
|
||||
return () => clearInterval(timer)
|
||||
}, [count, pausedAt])
|
||||
|
||||
const go = (k: number) => {
|
||||
setCurrentId(items[((k % count) + count) % count]?.id)
|
||||
setPausedAt(Date.now())
|
||||
}
|
||||
|
||||
if (!item) return null
|
||||
const next = nextEpisodeLabel(item)
|
||||
const episodic = TYPE_BY_VALUE[item.type].episodic
|
||||
const meta = [TYPE_BY_VALUE[item.type].label, item.year, ...item.genres.slice(0, 2).map(genreLabel)].filter(Boolean).join(' · ')
|
||||
|
||||
return (
|
||||
<section
|
||||
className="relative -mx-4 overflow-hidden sm:mx-0 sm:rounded-3xl"
|
||||
aria-roledescription="carousel"
|
||||
onTouchStart={(e) => (touchX.current = e.touches[0].clientX)}
|
||||
onTouchEnd={(e) => {
|
||||
const start = touchX.current
|
||||
touchX.current = null
|
||||
if (start == null || count < 2) return
|
||||
const dx = e.changedTouches[0].clientX - start
|
||||
if (Math.abs(dx) > 45) go(current + (dx < 0 ? 1 : -1))
|
||||
}}
|
||||
>
|
||||
<button onClick={() => onOpen(item)} className="relative block aspect-[4/3] w-full bg-surface-2 sm:aspect-video" aria-label={t('card.open', { title: item.title })}>
|
||||
{items.map((it, k) => {
|
||||
const image = it.backdrop ?? it.poster
|
||||
return image ? (
|
||||
<img
|
||||
key={it.id}
|
||||
src={image}
|
||||
alt=""
|
||||
loading={k === 0 ? 'eager' : 'lazy'}
|
||||
className={cx(
|
||||
'absolute inset-0 size-full object-cover transition-opacity duration-700',
|
||||
!it.backdrop && 'scale-110 blur-md',
|
||||
k === current ? 'opacity-100' : 'opacity-0',
|
||||
)}
|
||||
/>
|
||||
) : null
|
||||
})}
|
||||
<span className="absolute inset-0 bg-bg/50" />
|
||||
</button>
|
||||
<div className="pointer-events-none absolute inset-x-0 bottom-0 p-5">
|
||||
<p className="eyebrow text-ink-2">{item.status === 'en_cours' ? t('homeHero.continue') : t('homeHero.next')}</p>
|
||||
<h2 className="mt-1.5 line-clamp-2 text-[1.9rem] font-bold leading-[1.1]">{item.title}</h2>
|
||||
{meta && <p className="mt-1.5 text-xs text-ink-2">{meta}</p>}
|
||||
<div className="pointer-events-auto mt-4 flex items-center gap-2">
|
||||
{episodic && next ? (
|
||||
<button
|
||||
onClick={() => {
|
||||
setPausedAt(Date.now())
|
||||
void incrementEpisode(item.id)
|
||||
}}
|
||||
className="btn btn-primary px-5"
|
||||
>
|
||||
<Plus size={17} strokeWidth={2.5} /> {t('hero.seenEp', { ep: next })}
|
||||
</button>
|
||||
) : episodic ? (
|
||||
<span className="btn btn-ghost px-5">
|
||||
<Check size={17} /> {waitingLabel(item)}
|
||||
</span>
|
||||
) : null}
|
||||
<button onClick={() => onOpen(item)} className="btn btn-ghost bg-bg/60 px-4">
|
||||
<Info size={17} /> {t('homeHero.details')}
|
||||
</button>
|
||||
{count > 1 && (
|
||||
<span className="ms-auto flex items-center gap-1.5">
|
||||
{items.map((it, k) => (
|
||||
<button
|
||||
key={it.id}
|
||||
onClick={() => go(k)}
|
||||
className={cx('h-1.5 rounded-full transition-all', k === current ? 'w-5 bg-ink' : 'w-1.5 bg-ink/40')}
|
||||
aria-label={it.title}
|
||||
aria-current={k === current}
|
||||
/>
|
||||
))}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
/** Carte horizontale « Reprendre » : image, barre de progression, prochain épisode. */
|
||||
export function ContinueCard({ item, onOpen }: { item: MediaItem; onOpen: (item: MediaItem) => void }) {
|
||||
const { incrementEpisode } = useMedia()
|
||||
const image = item.backdrop ?? item.poster
|
||||
const next = nextEpisodeLabel(item)
|
||||
|
||||
return (
|
||||
<article className="w-60 shrink-0">
|
||||
<div className="relative">
|
||||
<button onClick={() => onOpen(item)} className="relative block aspect-video w-full overflow-hidden rounded-xl border border-line bg-surface-2" aria-label={t('card.open', { title: item.title })}>
|
||||
{image && <img src={image} alt="" loading="lazy" className="size-full object-cover" />}
|
||||
</button>
|
||||
{next && (
|
||||
<button
|
||||
onClick={() => incrementEpisode(item.id)}
|
||||
className="absolute bottom-3 end-2 flex h-8 items-center gap-0.5 rounded-full bg-accent-fill px-3 text-xs font-semibold text-on-accent transition active:scale-90"
|
||||
aria-label={t('card.plusOne', { title: item.title })}
|
||||
>
|
||||
<Plus size={13} strokeWidth={2.5} />1
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
<button onClick={() => onOpen(item)} className="mt-2 block w-full text-start">
|
||||
<span className="block truncate text-sm font-semibold">{item.title}</span>
|
||||
<span className="block text-xs text-ink-3">{next ? t('homeHero.nextUp', { ep: next }) : waitingLabel(item)}</span>
|
||||
</button>
|
||||
</article>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
import { Check, Pencil, Star } from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
import { t } from '../i18n'
|
||||
import { genreLabel } from '../lib/genres'
|
||||
import { formatRating } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaInput } from '../types'
|
||||
import Poster from './Poster'
|
||||
|
||||
export interface HeroAction {
|
||||
label: string
|
||||
onClick?: () => void
|
||||
/** Déjà fait (tout vu) : bouton affiché comme validé */
|
||||
done?: boolean
|
||||
}
|
||||
|
||||
interface Props {
|
||||
form: MediaInput
|
||||
typeLabel: string
|
||||
editing: boolean
|
||||
onEdit: () => void
|
||||
primary: HeroAction
|
||||
}
|
||||
|
||||
/** En-tête d'une fiche, façon plateforme de streaming : grande image, titre, infos et action principale. */
|
||||
export default function ItemHero({ form, typeLabel, editing, onEdit, primary }: Props) {
|
||||
const { settings } = useMedia()
|
||||
const [moreText, setMoreText] = useState(false)
|
||||
const image = form.backdrop ?? form.poster
|
||||
const meta = [typeLabel, form.year, ...form.genres.slice(0, 3).map(genreLabel)].filter(Boolean).join(' · ')
|
||||
|
||||
return (
|
||||
<section>
|
||||
<div className="relative h-56 overflow-hidden bg-surface-2 sm:h-72">
|
||||
{image && <img src={image} alt="" className={form.backdrop ? 'size-full object-cover' : 'size-full scale-110 object-cover blur-md'} />}
|
||||
<div className="absolute inset-0 bg-bg/55" />
|
||||
</div>
|
||||
|
||||
<div className="relative mx-auto -mt-24 flex max-w-2xl items-end gap-4 px-4">
|
||||
<div className="w-24 shrink-0 sm:w-28">
|
||||
<Poster src={form.poster} title={form.title} />
|
||||
</div>
|
||||
<div className="min-w-0 flex-1 pb-1">
|
||||
<h1 className="line-clamp-3 text-2xl font-bold leading-tight">{form.title}</h1>
|
||||
{form.originalTitle && <p className="mt-0.5 truncate text-sm text-ink-3">{form.originalTitle}</p>}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mx-auto mt-4 max-w-2xl px-4">
|
||||
<div className="flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-ink-2">
|
||||
{meta && <span>{meta}</span>}
|
||||
{form.publicRating != null && (
|
||||
<span className="flex items-center gap-1 font-semibold text-ink">
|
||||
<Star size={12} className="fill-accent text-accent" />
|
||||
{formatRating(form.publicRating, settings.ratingScale)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="mt-4 flex gap-2">
|
||||
<button
|
||||
type="button"
|
||||
onClick={primary.onClick}
|
||||
disabled={!primary.onClick}
|
||||
className={primary.done ? 'btn btn-ghost flex-1 py-3' : 'btn btn-primary flex-1 py-3'}
|
||||
>
|
||||
{primary.done && <Check size={17} />}
|
||||
{primary.label}
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
onClick={onEdit}
|
||||
aria-pressed={editing}
|
||||
className={editing ? 'btn btn-light px-4' : 'btn btn-ghost px-4'}
|
||||
aria-label={t('hero.edit')}
|
||||
title={t('hero.edit')}
|
||||
>
|
||||
<Pencil size={17} />
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{form.overview && (
|
||||
<button type="button" onClick={() => setMoreText((v) => !v)} className="mt-4 block text-start text-sm leading-relaxed text-ink-2">
|
||||
<span className={moreText ? 'whitespace-pre-line' : 'line-clamp-3'}>{form.overview}</span>
|
||||
{form.overview.length > 160 && <span className="mt-1 block text-xs font-medium text-ink">{moreText ? t('hero.less') : t('hero.more')}</span>}
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -89,7 +89,7 @@ export default function JournalView({ onOpen }: { onOpen: (item: MediaItem) => v
|
||||
const d = new Date(e.date + 'T12:00:00')
|
||||
return (
|
||||
<li key={e.item.id + e.date + e.kind}>
|
||||
<button onClick={() => onOpen(e.item)} className="flex w-full items-center gap-3 py-2.5 text-left">
|
||||
<button onClick={() => onOpen(e.item)} className="flex w-full items-center gap-3 py-2.5 text-start">
|
||||
<span className="w-9 shrink-0 text-center">
|
||||
<span className="block text-xl font-bold leading-none tabular-nums">{d.getDate()}</span>
|
||||
<span className="block text-[10px] uppercase text-ink-3">{d.toLocaleDateString(locale(), { weekday: 'short' }).replace('.', '')}</span>
|
||||
|
||||
@@ -122,15 +122,15 @@ function ListDetail({ list, onBack, onOpen }: { list: CustomList; onBack: () =>
|
||||
{adding ? (
|
||||
<div>
|
||||
<div className="relative mb-2">
|
||||
<Search size={17} className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input type="search" value={query} onChange={(e) => setQuery(e.target.value)} placeholder={t('lists.searchLibrary')} className="field pl-10" autoFocus />
|
||||
<Search size={17} className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input type="search" value={query} onChange={(e) => setQuery(e.target.value)} placeholder={t('lists.searchLibrary')} className="field ps-10" autoFocus />
|
||||
</div>
|
||||
<ul className="divide-y divide-line">
|
||||
{candidates.map((item) => {
|
||||
const inList = item.listIds?.includes(list.id)
|
||||
return (
|
||||
<li key={item.id}>
|
||||
<button onClick={() => toggleInList(item.id, list.id)} className="flex w-full items-center gap-3 py-2.5 text-left">
|
||||
<button onClick={() => toggleInList(item.id, list.id)} className="flex w-full items-center gap-3 py-2.5 text-start">
|
||||
<div className="w-9 shrink-0">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
</div>
|
||||
@@ -217,7 +217,7 @@ export default function ListsView({ onOpen }: { onOpen: (item: MediaItem) => voi
|
||||
{lists.map((l) => {
|
||||
const members = items.filter((i) => i.listIds?.includes(l.id))
|
||||
return (
|
||||
<button key={l.id} onClick={() => setOpenId(l.id)} className="text-left">
|
||||
<button key={l.id} onClick={() => setOpenId(l.id)} className="text-start">
|
||||
<Mosaic items={members} />
|
||||
<p className="mt-2 truncate text-sm font-semibold">{l.name}</p>
|
||||
<p className="text-xs text-ink-3">
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import { t } from '../i18n'
|
||||
import { Heart, Plus } from 'lucide-react'
|
||||
import { TYPE_BY_VALUE } from '../lib/constants'
|
||||
import { canWatchMore } from '../lib/airing'
|
||||
import { episodeCap, seasonPosition } from '../lib/franchise'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaItem } from '../types'
|
||||
import { StatusPill, TypeBadge } from './Badges'
|
||||
@@ -8,17 +10,23 @@ import Poster from './Poster'
|
||||
import { RatingBadge } from './Rating'
|
||||
|
||||
function Progress({ item }: { item: MediaItem }) {
|
||||
if (!TYPE_BY_VALUE[item.type].episodic || (!item.episodesWatched && !item.episodesTotal)) return null
|
||||
const pct = item.episodesTotal ? Math.min(100, (item.episodesWatched / item.episodesTotal) * 100) : 0
|
||||
const cap = episodeCap(item)
|
||||
if (!TYPE_BY_VALUE[item.type].episodic || (!item.episodesWatched && !cap)) return null
|
||||
// Série en plusieurs saisons : progression dans la saison en cours
|
||||
const pos = seasonPosition(item)
|
||||
const done = pos ? pos.episode : item.episodesWatched
|
||||
const size = pos ? pos.size : cap
|
||||
const pct = size ? Math.min(100, (done / size) * 100) : 0
|
||||
const season = pos?.season ?? item.season
|
||||
return (
|
||||
<div className="mt-1.5">
|
||||
<div className="flex justify-between text-[10.5px] text-ink-3">
|
||||
<span>
|
||||
{item.season ? `S${item.season} · ` : ''}{t('card.ep', { n: item.episodesWatched })}
|
||||
{item.episodesTotal ? `/${item.episodesTotal}` : ''}
|
||||
{season ? `${t('episodes.seasonShort', { n: season })} · ` : ''}{t('card.ep', { n: done })}
|
||||
{size ? `/${size}` : ''}
|
||||
</span>
|
||||
</div>
|
||||
{item.episodesTotal ? (
|
||||
{size ? (
|
||||
<div className="mt-1.5 h-[3px] overflow-hidden rounded-full bg-line">
|
||||
<div className="h-full rounded-full bg-accent" style={{ width: `${pct}%` }} />
|
||||
</div>
|
||||
@@ -33,7 +41,7 @@ export function MediaCard({ item, onOpen }: { item: MediaItem; onOpen: (item: Me
|
||||
const canIncrement =
|
||||
TYPE_BY_VALUE[item.type].episodic &&
|
||||
item.status === 'en_cours' &&
|
||||
(!item.episodesTotal || item.episodesWatched < item.episodesTotal)
|
||||
canWatchMore(item)
|
||||
|
||||
return (
|
||||
<article>
|
||||
@@ -41,21 +49,21 @@ export function MediaCard({ item, onOpen }: { item: MediaItem; onOpen: (item: Me
|
||||
<button onClick={() => onOpen(item)} className="block w-full" aria-label={t('card.open', { title: item.title })}>
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
</button>
|
||||
<TypeBadge item={item} className="pointer-events-none absolute left-2 top-2 border-transparent bg-bg/85" />
|
||||
<TypeBadge item={item} className="pointer-events-none absolute start-2 top-2 border-transparent bg-bg/85" />
|
||||
{item.favorite && (
|
||||
<Heart size={15} className="pointer-events-none absolute right-2 top-2 fill-accent text-accent" />
|
||||
<Heart size={15} className="pointer-events-none absolute end-2 top-2 fill-accent text-accent" />
|
||||
)}
|
||||
{canIncrement && (
|
||||
<button
|
||||
onClick={() => incrementEpisode(item.id)}
|
||||
className="absolute bottom-2 right-2 flex h-8 items-center gap-0.5 rounded-full bg-accent-fill px-3 text-xs font-medium text-on-accent transition active:scale-90"
|
||||
className="absolute bottom-2 end-2 flex h-8 items-center gap-0.5 rounded-full bg-accent-fill px-3 text-xs font-medium text-on-accent transition active:scale-90"
|
||||
aria-label={t('card.plusOne', { title: item.title })}
|
||||
>
|
||||
<Plus size={13} strokeWidth={2.5} />1
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
<button onClick={() => onOpen(item)} className="block w-full text-left">
|
||||
<button onClick={() => onOpen(item)} className="block w-full text-start">
|
||||
<h3 className="mt-2.5 line-clamp-2 font-sans text-sm font-semibold leading-snug tracking-normal">{item.title}</h3>
|
||||
<div className="mt-1 flex items-center justify-between gap-2">
|
||||
<StatusPill status={item.status} />
|
||||
@@ -66,37 +74,3 @@ export function MediaCard({ item, onOpen }: { item: MediaItem; onOpen: (item: Me
|
||||
</article>
|
||||
)
|
||||
}
|
||||
|
||||
/** Ligne horizontale (accueil : « En cours »), avec compteur +1. */
|
||||
export function MediaRow({ item, onOpen }: { item: MediaItem; onOpen: (item: MediaItem) => void }) {
|
||||
const { settings, incrementEpisode } = useMedia()
|
||||
const episodic = TYPE_BY_VALUE[item.type].episodic
|
||||
const done = !!item.episodesTotal && item.episodesWatched >= item.episodesTotal
|
||||
|
||||
return (
|
||||
<article className="card flex items-center gap-3.5 p-3">
|
||||
<button onClick={() => onOpen(item)} className="flex min-w-0 flex-1 items-center gap-3 text-left">
|
||||
<div className="w-14 shrink-0">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
</div>
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<TypeBadge item={item} />
|
||||
<RatingBadge value={item.rating} scale={settings.ratingScale} />
|
||||
</div>
|
||||
<h3 className="mt-1.5 truncate text-[15px] font-semibold leading-tight">{item.title}</h3>
|
||||
{episodic ? <Progress item={item} /> : <StatusPill status={item.status} />}
|
||||
</div>
|
||||
</button>
|
||||
{episodic && !done && (
|
||||
<button
|
||||
onClick={() => incrementEpisode(item.id)}
|
||||
className="flex h-10 shrink-0 items-center gap-0.5 rounded-full border border-accent px-3.5 text-sm text-accent transition-colors active:bg-accent-fill active:text-on-accent"
|
||||
aria-label={t('card.plusOne', { title: item.title })}
|
||||
>
|
||||
<Plus size={14} strokeWidth={2.5} />1
|
||||
</button>
|
||||
)}
|
||||
</article>
|
||||
)
|
||||
}
|
||||
+211
-133
@@ -1,19 +1,24 @@
|
||||
import { locale, t } from '../i18n'
|
||||
import { Check, ChevronDown, Heart, ImagePlus, Loader2, Minus, Plus, Share2, Trash2, X } from 'lucide-react'
|
||||
import { Check, Heart, ImagePlus, Loader2, MessagesSquare, Minus, Plus, Share2, Trash2, X } from 'lucide-react'
|
||||
import { useEffect, useMemo, useRef, useState, type ReactNode } from 'react'
|
||||
import { CRITERIA, DEFAULT_FILM_MINUTES, MEDIA_TYPES, platformSuggestions as defaultPlatforms, STATUSES, TYPE_BY_VALUE } from '../lib/constants'
|
||||
import { CRITERIA, DEFAULT_FILM_MINUTES, MEDIA_TYPES, STATUSES, TYPE_BY_VALUE } from '../lib/constants'
|
||||
import { canonicalGenre, canonicalSubtype, genreLabel, genreSuggestions as defaultGenres, subtypeLabel, subtypeSuggestions } from '../lib/genres'
|
||||
import { fileToPosterDataURL } from '../lib/image'
|
||||
import { getTmdbCredits } from '../lib/catalogApi'
|
||||
import { getTmdbCredits, getTmdbExtras } from '../lib/catalogApi'
|
||||
import { episodeCap, seasonPosition } from '../lib/franchise'
|
||||
import { renderItemCard, slug } from '../lib/shareCard'
|
||||
import { useScrollLock } from '../lib/scrollLock'
|
||||
import { cx, formatRating, todayISO } from '../lib/utils'
|
||||
import { cx, formatDate, formatRating, todayISO } from '../lib/utils'
|
||||
import { airedCount, nextAirDate, useAiringCache } from '../lib/airing'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaInput, MediaItem, RatingScale, WatchStatus } from '../types'
|
||||
import { StatusDot } from './Badges'
|
||||
import ConfirmDialog from './ConfirmDialog'
|
||||
import SharePreview from './SharePreview'
|
||||
import DatabaseSearch from './DatabaseSearch'
|
||||
import EpisodeList from './EpisodeList'
|
||||
import ItemHero, { type HeroAction } from './ItemHero'
|
||||
import { useSocial } from './social/SocialProvider'
|
||||
import { NewListForm } from './ListsView'
|
||||
import Poster from './Poster'
|
||||
import { RatingInput } from './Rating'
|
||||
@@ -38,8 +43,10 @@ const METADATA_KEYS = [
|
||||
'overview',
|
||||
'duration',
|
||||
'episodesTotal',
|
||||
'seasons',
|
||||
'episodeDuration',
|
||||
'poster',
|
||||
'backdrop',
|
||||
'externalId',
|
||||
'countries',
|
||||
'publicRating',
|
||||
@@ -70,6 +77,8 @@ interface Props {
|
||||
item?: MediaItem
|
||||
onClose: () => void
|
||||
onGoToSettings?: () => void
|
||||
/** Ouvre une autre fiche (titre déjà dans la bibliothèque) */
|
||||
onOpenItem?: (item: MediaItem) => void
|
||||
}
|
||||
|
||||
/** « Moi vs le public » : ma note comparée à la moyenne TMDB / AniList. */
|
||||
@@ -89,7 +98,7 @@ function PublicCompare({ mine, pub, scale, source }: { mine?: number; pub: numbe
|
||||
<span className="text-ink-2">
|
||||
{t('public.label')} <span className="font-semibold text-ink">{show(pub)}</span> <span className="text-xs text-ink-3">· {source}</span>
|
||||
</span>
|
||||
{gapText && <span className={cx('text-right text-xs font-semibold', gap! >= 0.5 ? 'text-accent' : 'text-ink-3')}>{gapText}</span>}
|
||||
{gapText && <span className={cx('text-end text-xs font-semibold', gap! >= 0.5 ? 'text-accent' : 'text-ink-3')}>{gapText}</span>}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -127,8 +136,9 @@ function Rewatches({ dates, onChange }: { dates: string[]; onChange: (d: string[
|
||||
)
|
||||
}
|
||||
|
||||
export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
const { add, update, remove, items, settings, lists } = useMedia()
|
||||
export default function MediaForm({ item, onClose, onGoToSettings, onOpenItem }: Props) {
|
||||
const social = useSocial()
|
||||
const { add, update, remove, items, settings, lists, patchMany } = useMedia()
|
||||
const [form, setForm] = useState<MediaInput>(() => {
|
||||
if (!item) return EMPTY
|
||||
const { id: _id, createdAt: _c, updatedAt: _u, ...rest } = item
|
||||
@@ -140,20 +150,87 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
const [filledFrom, setFilledFrom] = useState<string>()
|
||||
const [posterError, setPosterError] = useState<string>()
|
||||
const fileRef = useRef<HTMLInputElement>(null)
|
||||
const [showInfo, setShowInfo] = useState(false)
|
||||
const typeInfo = TYPE_BY_VALUE[form.type]
|
||||
|
||||
// Bloque le défilement de la page derrière la feuille
|
||||
useScrollLock()
|
||||
|
||||
// Fiche TMDB ajoutée avant ces nouveautés : grande image et saisons récupérées en arrière-plan (et gardées)
|
||||
const extId = form.externalId
|
||||
useEffect(() => {
|
||||
const key = settings.tmdbKey?.trim()
|
||||
const isTv = extId?.startsWith('tmdb:tv:')
|
||||
if (!extId?.startsWith('tmdb:') || !key || !navigator.onLine || (form.backdrop && (!isTv || form.seasons))) return
|
||||
let alive = true
|
||||
getTmdbExtras(extId, key)
|
||||
.then(({ seasons, total, backdrop }) => {
|
||||
if (!alive) return
|
||||
const patch: Partial<MediaInput> = {}
|
||||
if (backdrop && !form.backdrop) patch.backdrop = backdrop
|
||||
if (seasons && !form.seasons) {
|
||||
patch.seasons = seasons
|
||||
if ((total ?? 0) > (form.episodesTotal ?? 0)) patch.episodesTotal = total
|
||||
}
|
||||
if (!Object.keys(patch).length) return
|
||||
setForm((f) => (f.externalId === extId ? { ...f, ...patch } : f))
|
||||
if (item && item.externalId === extId) void patchMany([{ id: item.id, patch }])
|
||||
})
|
||||
.catch(() => {})
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [extId])
|
||||
|
||||
const [editInfo, setEditInfo] = useState(false)
|
||||
/** En-tête façon plateforme : dès qu'un titre est lié à TMDB / AniList, ou pour une fiche existante */
|
||||
const hasHero = !!form.title.trim() && (!!form.externalId || !!item)
|
||||
|
||||
/** Nouveaux épisodes vus : le statut et les dates suivent. */
|
||||
const withEpisodes = (f: MediaInput, n: number, season?: number): MediaInput => {
|
||||
const cap = episodeCap(f)
|
||||
const watched = Math.max(0, cap ? Math.min(n, cap) : n)
|
||||
const next: MediaInput = { ...f, episodesWatched: watched, season: f.seasons ? season ?? seasonPosition({ ...f, episodesWatched: watched, season: undefined })?.season : f.season }
|
||||
if (watched > 0 && (f.status === 'a_voir' || f.status === 'pause')) {
|
||||
next.status = 'en_cours'
|
||||
next.startDate = f.startDate ?? todayISO()
|
||||
}
|
||||
if (cap && watched >= cap) {
|
||||
next.status = 'termine'
|
||||
next.endDate = f.endDate ?? todayISO()
|
||||
} else if (f.status === 'termine' && watched < (f.episodesWatched ?? 0)) {
|
||||
next.status = 'en_cours'
|
||||
next.endDate = undefined
|
||||
}
|
||||
return next
|
||||
}
|
||||
|
||||
/** Bouton principal de l'en-tête : épisode suivant (séries) ou « vu » (films). */
|
||||
// Épisodes déjà sortis (fiche suivie) : on ne coche pas un épisode à venir
|
||||
const airingCache = useAiringCache()
|
||||
const aired = item ? airedCount({ id: item.id, type: form.type, externalId: form.externalId }, airingCache) : undefined
|
||||
|
||||
const primary: HeroAction = (() => {
|
||||
if (typeInfo.episodic) {
|
||||
const cap = episodeCap(form)
|
||||
if (cap && form.episodesWatched >= cap) return { label: t('hero.allSeen'), done: true }
|
||||
if (aired != null && form.episodesWatched >= aired) {
|
||||
const date = item ? nextAirDate({ id: item.id, type: form.type, externalId: form.externalId }, airingCache) : undefined
|
||||
return { label: date ? t('hero.nextOn', { date: formatDate(date) }) : t('hero.upToDate'), done: true }
|
||||
}
|
||||
const nextPos = seasonPosition({ ...form, episodesWatched: form.episodesWatched + 1, season: undefined })
|
||||
const ep = t('episodes.short', { n: nextPos ? nextPos.episode : form.episodesWatched + 1 })
|
||||
const label = t('hero.seenEp', { ep: nextPos ? `${t('episodes.seasonShort', { n: nextPos.season })} · ${ep}` : ep })
|
||||
return { label, onClick: () => setForm((f) => withEpisodes(f, f.episodesWatched + 1)) }
|
||||
}
|
||||
if (form.status === 'termine') return { label: t('hero.seen'), done: true }
|
||||
return { label: t('hero.markSeen'), onClick: () => setStatus('termine') }
|
||||
})()
|
||||
|
||||
const set = <K extends keyof MediaInput>(key: K, value: MediaInput[K]) => setForm((f) => ({ ...f, [key]: value }))
|
||||
|
||||
// Suggestions = listes par défaut + ce que j'ai déjà utilisé
|
||||
const genreSuggestions = useMemo(() => [...new Set([...items.flatMap((i) => i.genres.map(genreLabel)), ...defaultGenres()])], [items])
|
||||
const platformSuggestions = useMemo(
|
||||
() => [...new Set([...items.map((i) => i.platform).filter(Boolean), ...defaultPlatforms()])] as string[],
|
||||
[items],
|
||||
)
|
||||
|
||||
/** Applique les infos trouvées en ligne sans écraser mon suivi (statut, note, épisodes vus, avis…). */
|
||||
const applyMetadata = (data: Partial<MediaInput>) => {
|
||||
@@ -162,10 +239,14 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
for (const key of METADATA_KEYS) {
|
||||
if (data[key] !== undefined) (next as unknown as Record<string, unknown>)[key] = data[key]
|
||||
}
|
||||
// Découpage par saison : celui de la nouvelle source (ou aucun)
|
||||
next.seasons = data.seasons
|
||||
next.backdrop = data.backdrop
|
||||
if (data.type && data.type !== 'autre') next.subtype = undefined
|
||||
if (data.genres?.length) next.genres = [...new Set([...f.genres, ...data.genres])]
|
||||
if (data.platform && !f.platform) next.platform = data.platform
|
||||
if (next.episodesTotal && next.episodesWatched > next.episodesTotal) next.episodesWatched = next.episodesTotal
|
||||
const cap = episodeCap(next)
|
||||
if (cap && next.episodesWatched > cap) next.episodesWatched = cap
|
||||
return next
|
||||
})
|
||||
setFilledFrom(data.externalId?.startsWith('anilist') ? 'AniList' : 'TMDB')
|
||||
@@ -183,17 +264,14 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
if (status === 'en_cours' && !f.startDate) next.startDate = todayISO()
|
||||
if (status === 'termine') {
|
||||
if (!f.endDate) next.endDate = todayISO()
|
||||
if (f.episodesTotal && TYPE_BY_VALUE[f.type].episodic) next.episodesWatched = f.episodesTotal
|
||||
const cap = episodeCap(f)
|
||||
if (cap && TYPE_BY_VALUE[f.type].episodic) next.episodesWatched = cap
|
||||
}
|
||||
return next
|
||||
})
|
||||
|
||||
const changeEpisodes = (delta: number) =>
|
||||
setForm((f) => {
|
||||
let n = Math.max(0, f.episodesWatched + delta)
|
||||
if (f.episodesTotal) n = Math.min(n, f.episodesTotal)
|
||||
return { ...f, episodesWatched: n }
|
||||
})
|
||||
// Même règles que la liste d'épisodes : le statut et les dates suivent
|
||||
const changeEpisodes = (delta: number) => setForm((f) => withEpisodes(f, f.episodesWatched + delta))
|
||||
|
||||
const onPickImage = async (file?: File) => {
|
||||
if (!file) return
|
||||
@@ -218,6 +296,8 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
poster: form.poster?.trim() || undefined,
|
||||
overview: form.overview?.trim() || undefined,
|
||||
}
|
||||
const pos = seasonPosition(clean)
|
||||
if (pos) clean.season = pos.season
|
||||
try {
|
||||
if (item) await update(item.id, clean)
|
||||
else await add(clean)
|
||||
@@ -277,20 +357,30 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
void submit()
|
||||
}}
|
||||
>
|
||||
{hasHero && (
|
||||
<ItemHero
|
||||
form={form}
|
||||
typeLabel={form.type === 'autre' && form.subtype ? subtypeLabel(form.subtype) : typeInfo.label}
|
||||
editing={editInfo}
|
||||
onEdit={() => setEditInfo((v) => !v)}
|
||||
primary={primary}
|
||||
/>
|
||||
)}
|
||||
<div className="safe-bottom mx-auto max-w-2xl space-y-9 px-4 py-6 pb-16">
|
||||
{/* Recherche en ligne */}
|
||||
{showSearch ? (
|
||||
{(!hasHero || editInfo || showSearch) && (showSearch ? (
|
||||
<DatabaseSearch
|
||||
onPick={applyMetadata}
|
||||
initialQuery={item ? form.title : ''}
|
||||
currentExternalId={item?.externalId}
|
||||
onGoToSettings={onGoToSettings}
|
||||
onOpenExisting={!item && onOpenItem ? onOpenItem : undefined}
|
||||
/>
|
||||
) : (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowSearch(true)}
|
||||
className="flex w-full items-center justify-between rounded-2xl border border-dashed border-line-strong px-4 py-3 text-left text-sm text-ink-2"
|
||||
className="flex w-full items-center justify-between rounded-2xl border border-dashed border-line-strong px-4 py-3 text-start text-sm text-ink-2"
|
||||
>
|
||||
<span>
|
||||
{filledFrom ? (
|
||||
@@ -303,14 +393,16 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
</span>
|
||||
<span className="text-accent">→</span>
|
||||
</button>
|
||||
)}
|
||||
))}
|
||||
|
||||
{/* Affiche + titres */}
|
||||
{/* Affiche + titres (modifiables) */}
|
||||
{(!hasHero || editInfo) && (
|
||||
<>
|
||||
<div className="flex gap-4">
|
||||
<div className="w-28 shrink-0">
|
||||
<button type="button" onClick={() => fileRef.current?.click()} className="relative block w-full" aria-label={t('form.pickPoster')}>
|
||||
<Poster src={form.poster} title={form.title || '?'} />
|
||||
<span className="absolute bottom-2 right-2 grid size-8 place-items-center rounded-full bg-bg/85 text-ink">
|
||||
<span className="absolute bottom-2 end-2 grid size-8 place-items-center rounded-full bg-bg/85 text-ink">
|
||||
<ImagePlus size={15} />
|
||||
</span>
|
||||
</button>
|
||||
@@ -330,33 +422,42 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
{form.overview && (
|
||||
{form.overview && !hasHero && (
|
||||
<details className="-mt-3 text-sm text-ink-2">
|
||||
<summary className="eyebrow cursor-pointer select-none">{t('form.synopsis')}</summary>
|
||||
<p className="mt-2 whitespace-pre-line leading-relaxed">{form.overview}</p>
|
||||
</details>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
||||
{/* Type */}
|
||||
<Section title={t('form.type')}>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{MEDIA_TYPES.map((mt) => (
|
||||
<button key={mt.value} type="button" onClick={() => set('type', mt.value)} className={cx('chip', form.type === mt.value && 'chip-on')}>
|
||||
{mt.label}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
{form.type === 'autre' && (
|
||||
<Field label={t('form.subtype')}>
|
||||
<input className="field" list="subtypes" value={form.subtype ? subtypeLabel(form.subtype) : ''} onChange={(e) => set('subtype', e.target.value)} placeholder={t('form.subtypePh')} />
|
||||
<datalist id="subtypes">
|
||||
{subtypeSuggestions().map((s) => (
|
||||
<option key={s} value={s} />
|
||||
))}
|
||||
</datalist>
|
||||
{/* Année, dates de visionnage, genres */}
|
||||
<div className="space-y-4">
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<Field label={t('form.startShort')}>
|
||||
<input className="field px-3" type="date" value={form.startDate ?? ''} onChange={(e) => set('startDate', e.target.value || undefined)} />
|
||||
</Field>
|
||||
)}
|
||||
</Section>
|
||||
<Field label={t('form.endShort')}>
|
||||
<input className="field px-3" type="date" value={form.endDate ?? ''} onChange={(e) => set('endDate', e.target.value || undefined)} />
|
||||
</Field>
|
||||
</div>
|
||||
<div className="grid grid-cols-[5rem_minmax(0,1fr)] items-start gap-3">
|
||||
<Field label={t('form.year')}>
|
||||
<input className="field px-3" type="number" inputMode="numeric" value={form.year ?? ''} onChange={(e) => set('year', toNum(e.target.value))} placeholder="2024" />
|
||||
</Field>
|
||||
<div>
|
||||
<span className="label">{t('form.genres')}</span>
|
||||
<TagInput
|
||||
value={form.genres}
|
||||
onChange={(g) => set('genres', g)}
|
||||
suggestions={genreSuggestions}
|
||||
placeholder={t('form.genresPh')}
|
||||
display={genreLabel}
|
||||
normalize={canonicalGenre}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Statut */}
|
||||
<Section title={t('form.status')}>
|
||||
@@ -370,6 +471,45 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
{/* Épisodes / durée */}
|
||||
{typeInfo.episodic ? (
|
||||
<Section title={t('form.episodes')}>
|
||||
{/* Liste d'épisodes pour une fiche liée (TMDB / AniList) ; compteur + total modifiable pour une fiche manuelle */}
|
||||
{form.seasons || (form.externalId && form.episodesTotal) ? (
|
||||
<EpisodeList form={form} aired={aired} onChange={(n, season) => setForm((f) => withEpisodes(f, n, season))} />
|
||||
) : (
|
||||
<div className="card space-y-5 p-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm text-ink-2">{t('home.episodesSeen')}</span>
|
||||
<div className="flex items-center gap-3">
|
||||
<button type="button" onClick={() => changeEpisodes(-1)} className="grid size-10 place-items-center rounded-full border border-line-strong text-ink-2" aria-label={t('form.minusEp')}>
|
||||
<Minus size={17} />
|
||||
</button>
|
||||
<span className="min-w-16 text-center text-2xl font-bold tabular-nums">{form.episodesWatched}</span>
|
||||
<button type="button" onClick={() => changeEpisodes(1)} className="grid size-10 place-items-center rounded-full bg-accent-fill text-on-accent" aria-label={t('form.plusEp')}>
|
||||
<Plus size={17} strokeWidth={2.5} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<Field label={t('form.total')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.episodesTotal ?? ''} onChange={(e) => set('episodesTotal', toNum(e.target.value))} placeholder="?" />
|
||||
</Field>
|
||||
<Field label={t('form.season')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.season ?? ''} onChange={(e) => set('season', toNum(e.target.value))} placeholder="1" />
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</Section>
|
||||
) : (
|
||||
<Section title={t('form.duration')}>
|
||||
<Field label={t('form.durationMin')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.duration ?? ''} onChange={(e) => set('duration', toNum(e.target.value))} placeholder={String(DEFAULT_FILM_MINUTES)} />
|
||||
</Field>
|
||||
</Section>
|
||||
)}
|
||||
|
||||
{/* Note */}
|
||||
<Section title={t('form.myRating')}>
|
||||
<div className="card space-y-4 p-4">
|
||||
@@ -406,100 +546,33 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
{/* Épisodes / durée */}
|
||||
{typeInfo.episodic ? (
|
||||
<Section title={t('form.episodes')}>
|
||||
<div className="card space-y-5 p-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<span className="text-sm text-ink-2">{t('home.episodesSeen')}</span>
|
||||
<div className="flex items-center gap-3">
|
||||
<button type="button" onClick={() => changeEpisodes(-1)} className="grid size-10 place-items-center rounded-full border border-line-strong text-ink-2" aria-label={t('form.minusEp')}>
|
||||
<Minus size={17} />
|
||||
</button>
|
||||
<span className="min-w-16 text-center text-2xl font-bold tabular-nums">
|
||||
{form.episodesWatched}
|
||||
{form.episodesTotal ? <span className="text-base text-ink-3">/{form.episodesTotal}</span> : null}
|
||||
</span>
|
||||
<button type="button" onClick={() => changeEpisodes(1)} className="grid size-10 place-items-center rounded-full bg-accent-fill text-on-accent" aria-label={t('form.plusEp')}>
|
||||
<Plus size={17} strokeWidth={2.5} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div className="grid grid-cols-3 gap-3">
|
||||
<Field label={t('form.total')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.episodesTotal ?? ''} onChange={(e) => set('episodesTotal', toNum(e.target.value))} placeholder="?" />
|
||||
</Field>
|
||||
<Field label={t('form.season')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.season ?? ''} onChange={(e) => set('season', toNum(e.target.value))} placeholder="1" />
|
||||
</Field>
|
||||
<Field label={t('form.minPerEp')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.episodeDuration ?? ''} onChange={(e) => set('episodeDuration', toNum(e.target.value))} placeholder={String(typeInfo.episodeMinutes)} />
|
||||
</Field>
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
) : (
|
||||
<Section title={t('form.duration')}>
|
||||
<Field label={t('form.durationMin')}>
|
||||
<input className="field" type="number" inputMode="numeric" min={0} value={form.duration ?? ''} onChange={(e) => set('duration', toNum(e.target.value))} placeholder={String(DEFAULT_FILM_MINUTES)} />
|
||||
</Field>
|
||||
</Section>
|
||||
)}
|
||||
|
||||
{/* Infos : repliées par défaut (dates remplies selon le statut, année et genres par la recherche) */}
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setShowInfo((v) => !v)}
|
||||
aria-expanded={showInfo}
|
||||
className="flex w-full items-center justify-between border-t border-line pt-5 text-left"
|
||||
>
|
||||
<span>
|
||||
<span className="eyebrow block text-ink-2">{t('form.info')}</span>
|
||||
<span className="mt-1 block text-xs text-ink-3">{t('form.infoHint')}</span>
|
||||
</span>
|
||||
<ChevronDown size={18} className={cx('shrink-0 text-ink-3 transition-transform', showInfo && 'rotate-180')} />
|
||||
</button>
|
||||
{showInfo && (
|
||||
<Section title="">
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<Field label={t('form.start')}>
|
||||
<input className="field" type="date" value={form.startDate ?? ''} onChange={(e) => set('startDate', e.target.value || undefined)} />
|
||||
</Field>
|
||||
<Field label={t('form.end')}>
|
||||
<input className="field" type="date" value={form.endDate ?? ''} onChange={(e) => set('endDate', e.target.value || undefined)} />
|
||||
</Field>
|
||||
<Field label={t('form.year')}>
|
||||
<input className="field" type="number" inputMode="numeric" value={form.year ?? ''} onChange={(e) => set('year', toNum(e.target.value))} placeholder="2024" />
|
||||
</Field>
|
||||
<Field label={t('form.platform')}>
|
||||
<input className="field" list="platforms" value={form.platform ?? ''} onChange={(e) => set('platform', e.target.value)} placeholder="Netflix…" />
|
||||
<datalist id="platforms">
|
||||
{platformSuggestions.map((p) => (
|
||||
<option key={p} value={p} />
|
||||
))}
|
||||
</datalist>
|
||||
</Field>
|
||||
</div>
|
||||
<div>
|
||||
<span className="label">{t('form.genres')}</span>
|
||||
<TagInput
|
||||
value={form.genres}
|
||||
onChange={(g) => set('genres', g)}
|
||||
suggestions={genreSuggestions}
|
||||
placeholder={t('form.genresPh')}
|
||||
display={genreLabel}
|
||||
normalize={canonicalGenre}
|
||||
/>
|
||||
</div>
|
||||
</Section>
|
||||
)}
|
||||
|
||||
{(form.status === 'termine' || (form.rewatchDates?.length ?? 0) > 0) && (
|
||||
<Section title={t('form.rewatches')}>
|
||||
<Rewatches dates={form.rewatchDates ?? []} onChange={(d) => set('rewatchDates', d.length ? d : undefined)} />
|
||||
</Section>
|
||||
)}
|
||||
|
||||
{/* Type */}
|
||||
<Section title={t('form.type')}>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{MEDIA_TYPES.map((mt) => (
|
||||
<button key={mt.value} type="button" onClick={() => set('type', mt.value)} className={cx('chip', form.type === mt.value && 'chip-on')}>
|
||||
{mt.label}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
{form.type === 'autre' && (
|
||||
<Field label={t('form.subtype')}>
|
||||
<input className="field" list="subtypes" value={form.subtype ? subtypeLabel(form.subtype) : ''} onChange={(e) => set('subtype', e.target.value)} placeholder={t('form.subtypePh')} />
|
||||
<datalist id="subtypes">
|
||||
{subtypeSuggestions().map((s) => (
|
||||
<option key={s} value={s} />
|
||||
))}
|
||||
</datalist>
|
||||
</Field>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
<Section title={t('lists.myLists')}>
|
||||
{lists.length > 0 && (
|
||||
<div className="flex flex-wrap gap-2">
|
||||
@@ -526,6 +599,11 @@ export default function MediaForm({ item, onClose, onGoToSettings }: Props) {
|
||||
|
||||
<Section title={t('form.review')}>
|
||||
<textarea className="field min-h-32 resize-y" value={form.notes ?? ''} onChange={(e) => set('notes', e.target.value)} placeholder={t('form.reviewPh')} />
|
||||
{form.externalId && social.enabled && (
|
||||
<button type="button" onClick={() => social.openReviews(form.externalId!, form.title)} className="mt-3 flex w-full items-center justify-center gap-2 rounded-xl border border-line py-2.5 text-sm font-medium text-ink-2 transition-colors active:bg-surface-2">
|
||||
<MessagesSquare size={16} /> {t('reviews.seeAll')}
|
||||
</button>
|
||||
)}
|
||||
</Section>
|
||||
|
||||
<div className="space-y-2 border-t border-line pt-6">
|
||||
|
||||
@@ -1,120 +0,0 @@
|
||||
import { locale, t } from '../i18n'
|
||||
import { Loader2, RefreshCw } from 'lucide-react'
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { loadAiring, needsCheck, novelties, refreshAiring, saveAiring, trackable, type AiringCache } from '../lib/airing'
|
||||
import { formatDate, todayISO } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
import type { MediaItem } from '../types'
|
||||
import Poster from './Poster'
|
||||
import { SectionTitle } from './ui'
|
||||
|
||||
const dayLabel = (iso: string) => {
|
||||
const d = new Date(iso + 'T12:00:00')
|
||||
const diff = Math.round((d.getTime() - new Date(todayISO() + 'T12:00:00').getTime()) / 86400000)
|
||||
if (diff <= 0) return t('time.today')
|
||||
if (diff === 1) return t('time.tomorrow')
|
||||
if (diff < 7) return d.toLocaleDateString(locale(), { weekday: 'long' })
|
||||
return t('time.onDate', { date: formatDate(iso) })
|
||||
}
|
||||
|
||||
/** Section « Nouveautés » de l'accueil : nouveaux épisodes et nouvelles saisons. */
|
||||
export default function NewEpisodes({ onOpen }: { onOpen: (item: MediaItem) => void }) {
|
||||
const { items, loading, settings, patchMany, update } = useMedia()
|
||||
const [cache, setCache] = useState<AiringCache>(loadAiring)
|
||||
const [checking, setChecking] = useState(false)
|
||||
const started = useRef(false)
|
||||
|
||||
const check = useCallback(
|
||||
async (force = false) => {
|
||||
setChecking(true)
|
||||
try {
|
||||
const next = await refreshAiring(items, loadAiring(), settings.tmdbKey, force)
|
||||
saveAiring(next)
|
||||
setCache(next)
|
||||
// Met à jour le nombre total d'épisodes des séries en cours si de nouveaux sont sortis
|
||||
const patches = trackable(items)
|
||||
.filter((i) => i.status !== 'termine' && next[i.id] && next[i.id].aired > (i.episodesTotal ?? 0))
|
||||
.map((i) => ({ id: i.id, patch: { episodesTotal: next[i.id].aired } }))
|
||||
if (patches.length) await patchMany(patches)
|
||||
} finally {
|
||||
setChecking(false)
|
||||
}
|
||||
},
|
||||
[items, settings.tmdbKey, patchMany],
|
||||
)
|
||||
|
||||
// Vérification automatique au plus toutes les 12 h, au lancement
|
||||
useEffect(() => {
|
||||
if (loading || started.current || !navigator.onLine) return
|
||||
started.current = true
|
||||
const c = loadAiring()
|
||||
if (trackable(items).some((i) => needsCheck(i, c))) void check()
|
||||
}, [loading, items, check])
|
||||
|
||||
const list = useMemo(() => novelties(items, cache), [items, cache])
|
||||
const tracked = trackable(items).length
|
||||
const hasAniList = trackable(items).some((i) => i.externalId!.startsWith('anilist:'))
|
||||
if (!tracked) return null
|
||||
|
||||
const resume = (item: MediaItem, aired: number) =>
|
||||
update(item.id, { status: 'en_cours', episodesTotal: aired, startDate: item.startDate ?? todayISO(), endDate: undefined })
|
||||
|
||||
return (
|
||||
<>
|
||||
<SectionTitle
|
||||
action={
|
||||
<button onClick={() => check(true)} disabled={checking} className="flex items-center gap-1.5 text-xs font-medium text-ink-3">
|
||||
{checking ? <Loader2 size={13} className="animate-spin" /> : <RefreshCw size={13} />}
|
||||
{checking ? t('settings.checking') : t('newEp.check')}
|
||||
</button>
|
||||
}
|
||||
>
|
||||
{t('newEp.title')}
|
||||
</SectionTitle>
|
||||
|
||||
{list.length === 0 ? (
|
||||
<p className="text-sm text-ink-3">
|
||||
{checking
|
||||
? t('newEp.checking')
|
||||
: !settings.tmdbKey && !hasAniList
|
||||
? t('newEp.needKey')
|
||||
: t('newEp.nothing', { count: tracked })}
|
||||
{!checking && !settings.tmdbKey && hasAniList && ` ${t('newEp.needKeyAlso')}`}
|
||||
</p>
|
||||
) : (
|
||||
<div className="no-scrollbar -mx-4 flex gap-3 overflow-x-auto px-4 pb-1">
|
||||
{list.map(({ item, info, unwatched, kind }) => (
|
||||
<div key={item.id} className="card flex w-64 shrink-0 gap-3 p-2.5">
|
||||
<button onClick={() => onOpen(item)} className="w-14 shrink-0">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
</button>
|
||||
<div className="flex min-w-0 flex-1 flex-col">
|
||||
<span className="eyebrow text-accent">
|
||||
{kind === 'new_season' ? t('newEp.newSeason') : kind === 'new_episodes' ? t('newEp.catchUp') : t('newEp.soon')}
|
||||
</span>
|
||||
<button onClick={() => onOpen(item)} className="mt-1 truncate text-left text-sm font-semibold">
|
||||
{item.title}
|
||||
</button>
|
||||
<span className="mt-0.5 text-xs text-ink-2">
|
||||
{kind === 'upcoming'
|
||||
? t('newEp.epWhen', { ep: info.next!.episode, when: dayLabel(info.next!.date) })
|
||||
: t('newEp.available', { count: unwatched })}
|
||||
</span>
|
||||
{kind !== 'upcoming' && info.next && (
|
||||
<span className="text-[11px] text-ink-3">
|
||||
{t('newEp.next', { ep: info.next.episode, when: dayLabel(info.next.date) })}
|
||||
</span>
|
||||
)}
|
||||
{kind === 'new_season' && (
|
||||
<button onClick={() => resume(item, info.aired)} className="mt-auto self-start pt-1.5 text-xs font-semibold text-accent">
|
||||
{t('newEp.resume')} →
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -3,14 +3,15 @@ import { cx } from '../lib/utils'
|
||||
|
||||
/** Affiche du média, ou une vignette sobre (aplat + initiale en serif) si aucune image. */
|
||||
export default function Poster({ src, title, className }: { src?: string; title: string; className?: string }) {
|
||||
const [broken, setBroken] = useState(false)
|
||||
if (src && !broken) {
|
||||
// On retient quelle image a échoué (une nouvelle affiche doit retenter)
|
||||
const [broken, setBroken] = useState<string>()
|
||||
if (src && broken !== src) {
|
||||
return (
|
||||
<img
|
||||
src={src}
|
||||
alt=""
|
||||
loading="lazy"
|
||||
onError={() => setBroken(true)}
|
||||
onError={() => setBroken(src)}
|
||||
className={cx('aspect-[2/3] w-full rounded-xl border border-line bg-surface-2 object-cover', className)}
|
||||
/>
|
||||
)
|
||||
@@ -19,7 +20,7 @@ export default function Poster({ src, title, className }: { src?: string; title:
|
||||
return (
|
||||
<div className={cx('relative grid aspect-[2/3] w-full place-items-center overflow-hidden rounded-xl border border-line bg-surface-2', className)}>
|
||||
<span className="text-3xl font-bold text-ink-3">{initial}</span>
|
||||
<span className="absolute bottom-0 left-0 h-[3px] w-1/3 bg-accent-fill" />
|
||||
<span className="absolute bottom-0 start-0 h-[3px] w-1/3 bg-accent-fill" />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -50,7 +50,7 @@ export function RatingInput({ value, onChange, scale, size = 'lg', label }: Inpu
|
||||
}}
|
||||
className="h-2 flex-1 accent-accent-fill"
|
||||
/>
|
||||
<span className={cx('w-14 text-right font-semibold tabular-nums', size === 'lg' ? 'text-xl' : 'text-sm')}>
|
||||
<span className={cx('w-14 text-end font-semibold tabular-nums', size === 'lg' ? 'text-xl' : 'text-sm')}>
|
||||
{value ? formatRating(value, '10') : '—'}
|
||||
<span className="text-xs font-normal text-ink-3">/10</span>
|
||||
</span>
|
||||
@@ -61,13 +61,14 @@ export function RatingInput({ value, onChange, scale, size = 'lg', label }: Inpu
|
||||
const stars = (value ?? 0) / 2
|
||||
const pick = (e: MouseEvent<HTMLButtonElement>, index: number) => {
|
||||
const rect = e.currentTarget.getBoundingClientRect()
|
||||
const half = e.clientX - rect.left < rect.width / 2
|
||||
// Clavier (Entrée / Espace) : pas de position de clic, on donne l'étoile entière
|
||||
const half = e.detail !== 0 && e.clientX - rect.left < rect.width / 2
|
||||
const next = (index + (half ? 0.5 : 1)) * 2
|
||||
onChange(next === value ? undefined : next) // retoucher la même valeur efface la note
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-1" role="group" aria-label={label ?? 'Note sur 5'}>
|
||||
<div className="flex items-center gap-1" role="group" aria-label={label ?? t('rating.outOf5')}>
|
||||
{Array.from({ length: 5 }, (_, i) => {
|
||||
const fill = Math.max(0, Math.min(1, stars - i))
|
||||
return (
|
||||
@@ -86,11 +87,11 @@ export function RatingInput({ value, onChange, scale, size = 'lg', label }: Inpu
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
<span className={cx('ml-2 tabular-nums text-ink-2', size === 'lg' ? 'text-base' : 'text-xs')}>
|
||||
<span className={cx('ms-2 tabular-nums text-ink-2', size === 'lg' ? 'text-base' : 'text-xs')}>
|
||||
{value ? formatRating(value, '5') : ''}
|
||||
</span>
|
||||
{value != null && size === 'lg' && (
|
||||
<button type="button" onClick={() => onChange(undefined)} className="ml-auto p-1 text-ink-3" aria-label={t('rating.clear')}>
|
||||
<button type="button" onClick={() => onChange(undefined)} className="ms-auto p-1 text-ink-3" aria-label={t('rating.clear')}>
|
||||
<X size={18} />
|
||||
</button>
|
||||
)}
|
||||
|
||||
@@ -134,7 +134,7 @@ export default function Recommendations() {
|
||||
<button
|
||||
onClick={() => addToWatchlist(r)}
|
||||
disabled={done || !!busy}
|
||||
className="absolute bottom-2 right-2 flex h-8 items-center gap-1 rounded-full bg-accent-fill px-2.5 text-xs font-semibold text-on-accent transition active:scale-90 disabled:opacity-90"
|
||||
className="absolute bottom-2 end-2 flex h-8 items-center gap-1 rounded-full bg-accent-fill px-2.5 text-xs font-semibold text-on-accent transition active:scale-90 disabled:opacity-90"
|
||||
aria-label={done ? t('reco.added', { title: r.title }) : t('reco.addLabel', { title: r.title })}
|
||||
>
|
||||
{busy === r.externalId ? <Loader2 size={13} className="animate-spin" /> : done ? <Check size={13} strokeWidth={3} /> : <Plus size={13} strokeWidth={3} />}
|
||||
|
||||
+16
-10
@@ -3,6 +3,7 @@ import { locale, t } from '../i18n'
|
||||
import { Check, Dices, RotateCcw, X } from 'lucide-react'
|
||||
import { useEffect, useLayoutEffect, useMemo, useRef, useState, type TransitionEvent } from 'react'
|
||||
import { MEDIA_TYPES, TYPE_BY_VALUE } from '../lib/constants'
|
||||
import { episodeCap } from '../lib/franchise'
|
||||
import {
|
||||
buildPool,
|
||||
loadFilters,
|
||||
@@ -61,6 +62,8 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
const pending = useRef<MediaItem | undefined>(undefined)
|
||||
const spinningRef = useRef(false)
|
||||
const resultRef = useRef<MediaItem | undefined>(undefined)
|
||||
const timers = useRef<number[]>([])
|
||||
useEffect(() => () => timers.current.forEach((x) => clearTimeout(x)), [])
|
||||
resultRef.current = result
|
||||
|
||||
const xFor = (index: number, jitter = 0) => {
|
||||
@@ -115,12 +118,15 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
setAnimate(false)
|
||||
setOffset(xFor(2))
|
||||
// On place le rouleau au départ, puis on lance l'animation juste après
|
||||
window.setTimeout(() => {
|
||||
setAnimate(true)
|
||||
setOffset(xFor(TARGET, (Math.random() - 0.5) * (CARD - 30)))
|
||||
}, 40)
|
||||
// Filet de sécurité si l'événement de fin d'animation n'arrive pas (onglet en arrière-plan…)
|
||||
window.setTimeout(finishSpin, SPIN_MS + 400)
|
||||
timers.current.forEach((x) => clearTimeout(x))
|
||||
timers.current = [
|
||||
window.setTimeout(() => {
|
||||
setAnimate(true)
|
||||
setOffset(xFor(TARGET, (Math.random() - 0.5) * (CARD - 30)))
|
||||
}, 40),
|
||||
// Filet de sécurité si l'événement de fin d'animation n'arrive pas (onglet en arrière-plan…)
|
||||
window.setTimeout(finishSpin, SPIN_MS + 400),
|
||||
]
|
||||
}
|
||||
|
||||
const finishSpin = () => {
|
||||
@@ -163,7 +169,7 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
<div className="flex-1 overflow-y-auto overscroll-contain">
|
||||
<div className="safe-bottom mx-auto max-w-2xl pb-16">
|
||||
{/* Rouleau d'affiches */}
|
||||
<div ref={viewport} className="relative mt-6 h-[184px] overflow-hidden">
|
||||
<div ref={viewport} dir="ltr" className="relative mt-6 h-[184px] overflow-hidden">
|
||||
{reel.length > 0 ? (
|
||||
<div
|
||||
className="flex gap-3"
|
||||
@@ -214,7 +220,7 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
{result.year && <span>{result.year}</span>}
|
||||
<span>
|
||||
{TYPE_BY_VALUE[result.type].episodic
|
||||
? `${result.episodesTotal ? `${t('roulette.nEps', { n: result.episodesTotal })} · ` : ''}${t('roulette.perEp', { duration: formatDuration(sessionMinutes(result)) })}`
|
||||
? `${episodeCap(result) ? `${t('roulette.nEps', { n: episodeCap(result)! })} · ` : ''}${t('roulette.perEp', { duration: formatDuration(sessionMinutes(result)) })}`
|
||||
: formatDuration(sessionMinutes(result))}
|
||||
</span>
|
||||
{result.platform && <span>· {result.platform}</span>}
|
||||
@@ -222,8 +228,8 @@ export default function Roulette({ onClose, onOpen }: Props) {
|
||||
</div>
|
||||
{result.status === 'pause' && (
|
||||
<p className="mt-2 text-xs text-ink-2">
|
||||
{result.episodesTotal
|
||||
? t('roulette.stoppedAtOf', { ep: result.episodesWatched, total: result.episodesTotal })
|
||||
{episodeCap(result)
|
||||
? t('roulette.stoppedAtOf', { ep: result.episodesWatched, total: episodeCap(result)! })
|
||||
: t('roulette.stoppedAt', { ep: result.episodesWatched })}
|
||||
</p>
|
||||
)}
|
||||
|
||||
@@ -2,6 +2,7 @@ import { t } from '../i18n'
|
||||
import { Download, Share2, X } from 'lucide-react'
|
||||
import { useEffect, useMemo, useState } from 'react'
|
||||
import { shareImage } from '../lib/shareCard'
|
||||
import { useEscape } from '../lib/escape'
|
||||
|
||||
interface Props {
|
||||
blob: Blob
|
||||
@@ -28,11 +29,7 @@ export default function SharePreview({ blob, filename, title, onClose }: Props)
|
||||
setUrl(u)
|
||||
return () => URL.revokeObjectURL(u)
|
||||
}, [blob])
|
||||
useEffect(() => {
|
||||
const onKey = (e: KeyboardEvent) => e.key === 'Escape' && onClose()
|
||||
window.addEventListener('keydown', onKey)
|
||||
return () => window.removeEventListener('keydown', onKey)
|
||||
}, [onClose])
|
||||
useEscape(onClose)
|
||||
|
||||
const go = async () => {
|
||||
setBusy(true)
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
import { type Tab } from './BottomNav'
|
||||
import { t } from '../i18n'
|
||||
import { BarChart3, Home, LibraryBig, Plus, Settings } from 'lucide-react'
|
||||
import { cx } from '../lib/utils'
|
||||
|
||||
const ITEMS: { tab: Tab; readonly label: string; Icon: typeof Home }[] = [
|
||||
{ tab: 'home', get label() { return t('nav.home') }, Icon: Home },
|
||||
{ tab: 'catalog', get label() { return t('nav.catalog') }, Icon: LibraryBig },
|
||||
{ tab: 'stats', get label() { return t('nav.stats') }, Icon: BarChart3 },
|
||||
{ tab: 'settings', get label() { return t('nav.settings') }, Icon: Settings },
|
||||
]
|
||||
|
||||
interface Props {
|
||||
current: Tab
|
||||
onChange: (tab: Tab) => void
|
||||
onAdd: () => void
|
||||
}
|
||||
|
||||
export default function SideNav({ current, onChange, onAdd }: Props) {
|
||||
return (
|
||||
<nav className="fixed inset-y-0 start-0 z-30 hidden w-60 flex-col border-e border-line bg-bg px-4 py-6 lg:flex">
|
||||
<h1 className="px-2 text-2xl font-bold">
|
||||
Azuu<span className="text-accent">Cine</span>
|
||||
</h1>
|
||||
|
||||
<button
|
||||
onClick={onAdd}
|
||||
className="mt-6 flex w-full items-center justify-center gap-2 rounded-full bg-accent-fill px-4 py-2.5 text-sm font-semibold text-on-accent transition active:scale-95"
|
||||
>
|
||||
<Plus size={18} strokeWidth={2.2} />
|
||||
{t('nav.addTitle')}
|
||||
</button>
|
||||
|
||||
<div className="mt-6 flex flex-col gap-1">
|
||||
{ITEMS.map(({ tab, label, Icon }) => {
|
||||
const active = current === tab
|
||||
return (
|
||||
<button
|
||||
key={tab}
|
||||
onClick={() => onChange(tab)}
|
||||
aria-current={active ? 'page' : undefined}
|
||||
className={cx(
|
||||
'flex w-full items-center gap-3 rounded-xl px-3 py-2.5 text-sm font-medium transition-colors',
|
||||
active ? 'bg-surface-2 text-ink' : 'text-ink-3 hover:text-ink',
|
||||
)}
|
||||
>
|
||||
<Icon size={20} strokeWidth={active ? 2.2 : 1.6} />
|
||||
{label}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
</nav>
|
||||
)
|
||||
}
|
||||
@@ -38,7 +38,7 @@ export default function TagInput({ value, onChange, suggestions, placeholder, di
|
||||
<div>
|
||||
<div className="field flex flex-wrap items-center gap-1.5 py-2!">
|
||||
{value.map((tag) => (
|
||||
<span key={tag} className="inline-flex items-center gap-1 rounded-full border border-line-strong py-1 pl-3 pr-1.5 text-sm text-ink">
|
||||
<span key={tag} className="inline-flex items-center gap-1 rounded-full border border-line-strong py-1 ps-3 pe-1.5 text-sm text-ink">
|
||||
{display(tag)}
|
||||
<button type="button" onClick={() => onChange(value.filter((v) => v !== tag))} aria-label={t('common.removeX', { name: display(tag) })} className="text-ink-3">
|
||||
<X size={14} />
|
||||
|
||||
@@ -96,7 +96,7 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void
|
||||
{/* N°1 : grand chiffre rouge + affiche + infos */}
|
||||
<div className="flex items-end">
|
||||
<div className="relative flex shrink-0 items-end">
|
||||
<span className="-mr-3 mb-1">
|
||||
<span className="-me-3 mb-1">
|
||||
<RankNumber rank={1} big />
|
||||
</span>
|
||||
{first ? (
|
||||
@@ -107,11 +107,11 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void
|
||||
<EmptySlot rank={1} onClick={edit} big />
|
||||
)}
|
||||
</div>
|
||||
<div className="min-w-0 flex-1 pb-1 pl-4">
|
||||
<div className="min-w-0 flex-1 pb-1 ps-4">
|
||||
<span className="eyebrow text-accent">{t('top.number', { rank: 1 })} · {current.plural}</span>
|
||||
{first ? (
|
||||
<>
|
||||
<button onClick={() => onOpen(first)} className="mt-1.5 block text-left text-lg font-bold leading-snug">
|
||||
<button onClick={() => onOpen(first)} className="mt-1.5 block text-start text-lg font-bold leading-snug">
|
||||
{first.title}
|
||||
</button>
|
||||
<div className="mt-1.5 flex flex-wrap items-center gap-x-2 gap-y-1 text-xs text-ink-3">
|
||||
@@ -133,10 +133,10 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void
|
||||
return (
|
||||
<div key={rank} className="min-w-0">
|
||||
<div className="relative">
|
||||
<span className="absolute -left-1 -top-9 z-0">
|
||||
<span className="absolute -start-1 -top-9 z-0">
|
||||
<RankNumber rank={rank} />
|
||||
</span>
|
||||
<div className="relative z-10 ml-4">
|
||||
<div className="relative z-10 ms-4">
|
||||
{item ? (
|
||||
<button onClick={() => onOpen(item)} className="block w-full">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
@@ -146,10 +146,10 @@ export default function TopFive({ onOpen }: { onOpen: (item: MediaItem) => void
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<p className="ml-4 mt-1.5 truncate text-[11px] font-medium text-ink-2" title={item?.title}>
|
||||
<p className="ms-4 mt-1.5 truncate text-[11px] font-medium text-ink-2" title={item?.title}>
|
||||
{item ? item.title : '—'}
|
||||
</p>
|
||||
{item?.rating ? <p className="ml-4 text-[10px] text-ink-3">{formatRating(item.rating, settings.ratingScale)}/{settings.ratingScale}</p> : null}
|
||||
{item?.rating ? <p className="ms-4 text-[10px] text-ink-3">{formatRating(item.rating, settings.ratingScale)}/{settings.ratingScale}</p> : null}
|
||||
</div>
|
||||
)
|
||||
})}
|
||||
|
||||
@@ -86,7 +86,7 @@ export default function TopFiveEditor({ category: initialCategory, onClose }: Pr
|
||||
<div className="flex-1 overflow-y-auto overscroll-contain">
|
||||
<div className="safe-bottom mx-auto max-w-2xl space-y-6 px-4 py-5 pb-16">
|
||||
<div className="no-scrollbar -mx-4 flex gap-2 overflow-x-auto px-4">
|
||||
{TOP_CATEGORIES.map((c) => (
|
||||
{TOP_CATEGORIES.filter((c) => c.value === category || settings.topCategories.includes(c.value)).map((c) => (
|
||||
<button key={c.value} onClick={() => switchCategory(c.value)} className={cx('chip py-1! text-[13px]', category === c.value && 'chip-on')}>
|
||||
{c.plural}
|
||||
</button>
|
||||
@@ -140,8 +140,8 @@ export default function TopFiveEditor({ category: initialCategory, onClose }: Pr
|
||||
</button>
|
||||
</div>
|
||||
<div className="relative mb-2">
|
||||
<Search size={17} className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input type="search" value={query} onChange={(e) => setQuery(e.target.value)} placeholder={t('top.searchTitle')} className="field pl-10" />
|
||||
<Search size={17} className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input type="search" value={query} onChange={(e) => setQuery(e.target.value)} placeholder={t('top.searchTitle')} className="field ps-10" />
|
||||
</div>
|
||||
{ids.length >= 5 && <p className="py-2 text-xs text-ink-3">{t('top.full')}</p>}
|
||||
<ul className="divide-y divide-line">
|
||||
@@ -150,7 +150,7 @@ export default function TopFiveEditor({ category: initialCategory, onClose }: Pr
|
||||
<button
|
||||
onClick={() => setIds((p) => (p.length < 5 ? [...p, item.id] : p))}
|
||||
disabled={ids.length >= 5}
|
||||
className="flex w-full items-center gap-3 py-2.5 text-left disabled:opacity-40"
|
||||
className="flex w-full items-center gap-3 py-2.5 text-start disabled:opacity-40"
|
||||
>
|
||||
<div className="w-9 shrink-0">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Camera, ImagePlus, Loader2, Lock, Trash2 } from 'lucide-react'
|
||||
import { useRef, useState } from 'react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { deleteProfileImage, updateProfile, uploadProfileImage, USERNAME_RE, type ProfilePatch } from '../../lib/cloud/social'
|
||||
import { cropImageToJpeg } from '../../lib/image'
|
||||
@@ -22,6 +22,20 @@ export default function EditProfile({ onClose }: { onClose: () => void }) {
|
||||
const avatarInput = useRef<HTMLInputElement>(null)
|
||||
const bannerInput = useRef<HTMLInputElement>(null)
|
||||
|
||||
// Aperçus locaux : libérés dès qu'ils sont remplacés ou que la fenêtre se ferme
|
||||
useEffect(() => {
|
||||
const url = avatar.preview
|
||||
return () => {
|
||||
if (url?.startsWith('blob:')) URL.revokeObjectURL(url)
|
||||
}
|
||||
}, [avatar.preview])
|
||||
useEffect(() => {
|
||||
const url = banner.preview
|
||||
return () => {
|
||||
if (url?.startsWith('blob:')) URL.revokeObjectURL(url)
|
||||
}
|
||||
}, [banner.preview])
|
||||
|
||||
const cleanUsername = username.trim().toLowerCase().replace(/^@/, '')
|
||||
const usernameOk = USERNAME_RE.test(cleanUsername)
|
||||
const nameOk = displayName.trim().length >= 1 && displayName.trim().length <= 40
|
||||
@@ -106,7 +120,7 @@ export default function EditProfile({ onClose }: { onClose: () => void }) {
|
||||
<div className="-mt-11 flex items-end gap-3">
|
||||
<button type="button" onClick={() => avatarInput.current?.click()} className="relative rounded-full" aria-label={t('social.changeAvatar')}>
|
||||
<Avatar url={avatar.removed ? undefined : avatar.preview} name={displayName || me.username} size={88} className="border-4 border-bg" />
|
||||
<span className="absolute bottom-1 right-1 grid size-7 place-items-center rounded-full bg-accent-fill text-on-accent">
|
||||
<span className="absolute bottom-1 end-1 grid size-7 place-items-center rounded-full bg-accent-fill text-on-accent">
|
||||
<Camera size={14} />
|
||||
</span>
|
||||
</button>
|
||||
@@ -133,9 +147,9 @@ export default function EditProfile({ onClose }: { onClose: () => void }) {
|
||||
<label className="block">
|
||||
<span className="label">{t('social.username')}</span>
|
||||
<div className="relative">
|
||||
<span className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3">@</span>
|
||||
<span className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3">@</span>
|
||||
<input
|
||||
className={cx('field pl-8', username && !usernameOk && 'border-accent!')}
|
||||
className={cx('field ps-8', username && !usernameOk && 'border-accent!')}
|
||||
value={username}
|
||||
onChange={(e) => setUsername(e.target.value.toLowerCase())}
|
||||
maxLength={21}
|
||||
@@ -149,17 +163,17 @@ export default function EditProfile({ onClose }: { onClose: () => void }) {
|
||||
<label className="block">
|
||||
<span className="label">{t('social.bio')}</span>
|
||||
<textarea className="field min-h-24 resize-y" value={bio} onChange={(e) => setBio(e.target.value)} maxLength={300} placeholder={t('social.bioPh')} />
|
||||
<span className="mt-1 block text-right text-[11px] text-ink-3">{bio.length}/300</span>
|
||||
<span className="mt-1 block text-end text-[11px] text-ink-3">{bio.length}/300</span>
|
||||
</label>
|
||||
|
||||
<button type="button" onClick={() => setIsPrivate((v) => !v)} className="flex w-full items-center gap-3 rounded-2xl border border-line px-4 py-3.5 text-left">
|
||||
<button type="button" role="switch" aria-checked={isPrivate} onClick={() => setIsPrivate((v) => !v)} className="flex w-full items-center gap-3 rounded-2xl border border-line px-4 py-3.5 text-start">
|
||||
<Lock size={18} className="shrink-0 text-ink-2" />
|
||||
<span className="flex-1">
|
||||
<span className="block text-sm font-medium">{t('social.privateAccount')}</span>
|
||||
<span className="mt-0.5 block text-xs text-ink-3">{t('social.privateHint')}</span>
|
||||
</span>
|
||||
<span className={cx('relative h-6 w-11 shrink-0 rounded-full transition-colors', isPrivate ? 'bg-accent-fill' : 'bg-surface-2 border border-line-strong')}>
|
||||
<span className={cx('absolute top-0.5 size-5 rounded-full bg-ink transition-all', isPrivate ? 'left-[22px] bg-on-accent' : 'left-0.5')} />
|
||||
<span className={cx('absolute top-0.5 size-5 rounded-full bg-ink transition-all', isPrivate ? 'start-[22px] bg-on-accent' : 'start-0.5')} />
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
||||
@@ -13,7 +13,9 @@ type Tab = 'followers' | 'following' | 'requests'
|
||||
export default function FollowList({ profile, initial, onClose }: { profile: Profile; initial: 'followers' | 'following'; onClose: () => void }) {
|
||||
const social = useSocial()
|
||||
const showRequests = profile.isMe && social.requests.length > 0
|
||||
const [tab, setTab] = useState<Tab>(showRequests && initial === 'followers' ? 'requests' : initial)
|
||||
const [picked, setTab] = useState<Tab>(showRequests && initial === 'followers' ? 'requests' : initial)
|
||||
// Dernière demande acceptée : l'onglet « Demandes » disparaît, on retombe sur les abonnés
|
||||
const tab: Tab = picked === 'requests' && !showRequests ? 'followers' : picked
|
||||
const [list, setList] = useState<ProfileCard[]>()
|
||||
const [busy, setBusy] = useState<string>()
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ export default function FriendsFeed() {
|
||||
<Loader2 size={14} className="animate-spin" /> {t('social.loading')}
|
||||
</p>
|
||||
) : entries.length === 0 ? (
|
||||
<button onClick={social.openSearch} className="flex w-full items-center gap-3 rounded-2xl border border-dashed border-line-strong p-4 text-left">
|
||||
<button onClick={social.openSearch} className="flex w-full items-center gap-3 rounded-2xl border border-dashed border-line-strong p-4 text-start">
|
||||
<span className="grid size-10 shrink-0 place-items-center rounded-full bg-surface-2 text-accent">
|
||||
<UserPlus size={18} />
|
||||
</span>
|
||||
@@ -81,7 +81,7 @@ export default function FriendsFeed() {
|
||||
<button onClick={() => social.openProfile(e.user.username)} aria-label={e.user.displayName}>
|
||||
<Avatar url={e.user.avatarUrl} name={e.user.displayName} size={36} />
|
||||
</button>
|
||||
<button onClick={() => social.openItem(e.item, e.user)} className="flex min-w-0 flex-1 items-center gap-3 text-left">
|
||||
<button onClick={() => social.openItem(e.item, e.user)} className="flex min-w-0 flex-1 items-center gap-3 text-start">
|
||||
<span className="min-w-0 flex-1">
|
||||
<span className="line-clamp-2 text-sm leading-snug text-ink-2">
|
||||
<span className="font-semibold text-ink">{e.user.displayName}</span> {t(VERB[e.kind])}{' '}
|
||||
|
||||
@@ -1,14 +1,18 @@
|
||||
import { Check, Loader2, Plus, Star } from 'lucide-react'
|
||||
import { Check, Loader2, MessagesSquare, Plus, Star } from 'lucide-react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { genreLabel } from '../../lib/genres'
|
||||
import { useScrollLock } from '../../lib/scrollLock'
|
||||
import { titleReviews, type TitleReview } from '../../lib/cloud/reviews'
|
||||
import { useSocial } from './SocialProvider'
|
||||
import { cx, formatDate, formatRating, normalizeText } from '../../lib/utils'
|
||||
import { useMedia } from '../../store'
|
||||
import type { MediaInput, MediaItem } from '../../types'
|
||||
import { StatusPill, TypeBadge } from '../Badges'
|
||||
import Poster from '../Poster'
|
||||
import Avatar from './Avatar'
|
||||
import Reactions from './Reactions'
|
||||
import { useEscape } from '../../lib/escape'
|
||||
|
||||
export interface PeekOwner {
|
||||
username: string
|
||||
@@ -19,19 +23,33 @@ export interface PeekOwner {
|
||||
/** Aperçu d'un titre de quelqu'un d'autre : sa note, son avis public, et ajout à ma liste « À voir ». */
|
||||
export default function ItemPeek({ item, owner, onClose }: { item: MediaItem; owner?: PeekOwner; onClose: () => void }) {
|
||||
const { items, add, settings } = useMedia()
|
||||
const social = useSocial()
|
||||
const [busy, setBusy] = useState(false)
|
||||
const [added, setAdded] = useState(false)
|
||||
// Avis d'un autre membre : on récupère les réactions pour pouvoir réagir ici même
|
||||
const [review, setReview] = useState<TitleReview>()
|
||||
const canReact = !!owner && owner.username !== social.me?.username && !!item.notes && !!item.externalId
|
||||
useEffect(() => {
|
||||
if (!canReact) return
|
||||
let alive = true
|
||||
titleReviews(item.externalId!)
|
||||
.then((d) => {
|
||||
if (!alive) return
|
||||
const all = [...d.friends, ...d.others]
|
||||
setReview(all.find((r) => r.user.username === owner!.username))
|
||||
})
|
||||
.catch(() => {})
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [canReact, item.externalId, owner])
|
||||
const owned = items.some(
|
||||
(i) => (item.externalId && i.externalId === item.externalId) || normalizeText(i.title) === normalizeText(item.title),
|
||||
)
|
||||
|
||||
useScrollLock()
|
||||
|
||||
useEffect(() => {
|
||||
const onKey = (e: KeyboardEvent) => e.key === 'Escape' && onClose()
|
||||
window.addEventListener('keydown', onKey)
|
||||
return () => window.removeEventListener('keydown', onKey)
|
||||
}, [onClose])
|
||||
useEscape(onClose)
|
||||
|
||||
const addToWatchlist = async () => {
|
||||
setBusy(true)
|
||||
@@ -46,11 +64,13 @@ export default function ItemPeek({ item, owner, onClose }: { item: MediaItem; ow
|
||||
criteria: {},
|
||||
episodesWatched: 0,
|
||||
episodesTotal: item.episodesTotal,
|
||||
seasons: item.seasons,
|
||||
episodeDuration: item.episodeDuration,
|
||||
duration: item.duration,
|
||||
genres: item.genres,
|
||||
platform: item.platform,
|
||||
poster: item.poster,
|
||||
backdrop: item.backdrop,
|
||||
overview: item.overview,
|
||||
externalId: item.externalId,
|
||||
countries: item.countries,
|
||||
@@ -105,9 +125,20 @@ export default function ItemPeek({ item, owner, onClose }: { item: MediaItem; ow
|
||||
{item.favorite && <span className="text-accent">♥ {t('form.favorite')}</span>}
|
||||
</div>
|
||||
{item.notes && <p className="mt-3 whitespace-pre-line text-sm leading-relaxed text-ink-2">{item.notes}</p>}
|
||||
{canReact && review && (
|
||||
<div className="mt-3 border-t border-line pt-3">
|
||||
<Reactions authorId={review.user_id} itemId={review.item_id} reactions={review.reactions} mine={review.mine} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{item.externalId && (
|
||||
<button onClick={() => { onClose(); social.openReviews(item.externalId!, item.title) }} className="mt-4 flex w-full items-center justify-center gap-2 rounded-xl border border-line py-2.5 text-sm font-medium text-ink-2 transition-colors active:bg-surface-2">
|
||||
<MessagesSquare size={16} /> {t('reviews.seeAll')}
|
||||
</button>
|
||||
)}
|
||||
|
||||
{item.overview && <p className="mt-4 line-clamp-5 text-sm leading-relaxed text-ink-2">{item.overview}</p>}
|
||||
|
||||
<div className="mt-5 grid grid-cols-2 gap-2">
|
||||
|
||||
@@ -0,0 +1,160 @@
|
||||
import { Loader2, Tv } from 'lucide-react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { listNotifications, markNotificationsRead, type AppNotification, type NotificationKind } from '../../lib/cloud/notifications'
|
||||
import { cx, formatDate } from '../../lib/utils'
|
||||
import { EmptyState } from '../ui'
|
||||
import Avatar from './Avatar'
|
||||
import Sheet from './Sheet'
|
||||
|
||||
const PAGE = 30
|
||||
const FOLLOW_KINDS: NotificationKind[] = ['follow_request', 'follow_accepted', 'new_follower']
|
||||
const EPISODE_KINDS: NotificationKind[] = ['new_episode', 'new_season']
|
||||
|
||||
const VERB: Record<NotificationKind, () => string> = {
|
||||
follow_request: () => t('notif.follow_request'),
|
||||
follow_accepted: () => t('notif.follow_accepted'),
|
||||
new_follower: () => t('notif.new_follower'),
|
||||
reaction: () => t('notif.reaction'),
|
||||
new_episode: () => '',
|
||||
new_season: () => '',
|
||||
}
|
||||
|
||||
/** Liste des notifications (abonnements, réactions, nouveaux épisodes). Marque comme lues à l'ouverture. */
|
||||
export default function Notifications({ onClose, onOpenProfile, onOpenItem }: { onClose: () => void; onOpenProfile: (username: string) => void; onOpenItem: (itemId: string) => void }) {
|
||||
const [items, setItems] = useState<AppNotification[] | undefined>(undefined)
|
||||
const [done, setDone] = useState(false)
|
||||
const [loadingMore, setLoadingMore] = useState(false)
|
||||
|
||||
useEffect(() => {
|
||||
let alive = true
|
||||
void (async () => {
|
||||
try {
|
||||
const page = await listNotifications(0)
|
||||
if (!alive) return
|
||||
setItems(page)
|
||||
setDone(page.length < PAGE)
|
||||
} catch {
|
||||
if (alive) {
|
||||
setItems([])
|
||||
setDone(true)
|
||||
}
|
||||
}
|
||||
markNotificationsRead().catch(() => {})
|
||||
})()
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [])
|
||||
|
||||
const loadMore = async () => {
|
||||
if (!items || loadingMore) return
|
||||
setLoadingMore(true)
|
||||
try {
|
||||
const page = await listNotifications(items.length)
|
||||
setItems((prev) => [...(prev ?? []), ...page])
|
||||
setDone(page.length < PAGE)
|
||||
} catch {
|
||||
setDone(true)
|
||||
} finally {
|
||||
setLoadingMore(false)
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<Sheet title={t('notif.title')} label={t('notif.title')} onClose={onClose} elevated>
|
||||
{items === undefined ? (
|
||||
<p className="flex items-center justify-center py-16 text-ink-3">
|
||||
<Loader2 size={20} className="animate-spin" />
|
||||
</p>
|
||||
) : items.length === 0 ? (
|
||||
<div className="px-4">
|
||||
<EmptyState title={t('notif.empty')} />
|
||||
</div>
|
||||
) : (
|
||||
<ul>
|
||||
{items.map((n) => (
|
||||
<Row key={n.id} n={n} onOpenProfile={onOpenProfile} onOpenItem={onOpenItem} />
|
||||
))}
|
||||
{!done && (
|
||||
<li className="p-4">
|
||||
<button onClick={loadMore} disabled={loadingMore} className="btn btn-ghost w-full">
|
||||
{loadingMore ? <Loader2 size={15} className="animate-spin" /> : t('social.loadMore')}
|
||||
</button>
|
||||
</li>
|
||||
)}
|
||||
</ul>
|
||||
)}
|
||||
</Sheet>
|
||||
)
|
||||
}
|
||||
|
||||
function Row({ n, onOpenProfile, onOpenItem }: { n: AppNotification; onOpenProfile: (username: string) => void; onOpenItem: (itemId: string) => void }) {
|
||||
const unread = n.read_at === null
|
||||
const isEpisode = EPISODE_KINDS.includes(n.kind)
|
||||
const base = cx('flex items-center gap-3 border-b border-line px-4 py-3 text-start', unread && 'bg-surface-2')
|
||||
|
||||
// ── Nouvel épisode / nouvelle saison ──
|
||||
if (isEpisode) {
|
||||
const title = n.title ?? '—'
|
||||
const inner = (
|
||||
<>
|
||||
{unread && <span className="size-2 shrink-0 rounded-full bg-accent-fill" aria-hidden="true" />}
|
||||
<span className="grid size-[38px] shrink-0 place-items-center rounded-full bg-surface-2 text-accent">
|
||||
<Tv size={18} />
|
||||
</span>
|
||||
<span className="min-w-0 flex-1 text-sm leading-snug text-ink-2">
|
||||
<b className="text-ink">{t(n.kind === 'new_season' ? 'notif.new_season' : 'notif.new_episode', { title })}</b>
|
||||
{n.episode != null && <span className="text-ink-3"> · {t('episodes.short', { n: n.episode })}</span>}
|
||||
</span>
|
||||
<span className="shrink-0 text-xs text-ink-3">{formatDate(n.created_at)}</span>
|
||||
</>
|
||||
)
|
||||
return (
|
||||
<li>
|
||||
{n.item_id ? (
|
||||
<button onClick={() => onOpenItem(n.item_id!)} className={cx(base, 'w-full')}>
|
||||
{inner}
|
||||
</button>
|
||||
) : (
|
||||
<div className={base}>{inner}</div>
|
||||
)}
|
||||
</li>
|
||||
)
|
||||
}
|
||||
|
||||
// ── Abonnements / réactions ──
|
||||
const actor = n.actor
|
||||
const actorName = actor?.display_name ?? t('notif.someone')
|
||||
const username = actor?.username
|
||||
const target = username != null && FOLLOW_KINDS.includes(n.kind) ? username : null
|
||||
|
||||
const inner = (
|
||||
<>
|
||||
{unread && <span className="size-2 shrink-0 rounded-full bg-accent-fill" aria-hidden="true" />}
|
||||
<Avatar url={actor?.avatar_url ?? undefined} name={actorName} size={38} />
|
||||
<span className="min-w-0 flex-1 text-sm leading-snug text-ink-2">
|
||||
<b className="text-ink">{actorName}</b> {VERB[n.kind]()}
|
||||
{n.kind === 'reaction' && (
|
||||
<>
|
||||
{n.emoji ? ` ${n.emoji}` : ''}
|
||||
{n.title ? ` ${t('notif.on', { title: n.title })}` : ''}
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
<span className="shrink-0 text-xs text-ink-3">{formatDate(n.created_at)}</span>
|
||||
</>
|
||||
)
|
||||
|
||||
return (
|
||||
<li>
|
||||
{target != null ? (
|
||||
<button onClick={() => onOpenProfile(target)} className={cx(base, 'w-full')}>
|
||||
{inner}
|
||||
</button>
|
||||
) : (
|
||||
<div className={base}>{inner}</div>
|
||||
)}
|
||||
</li>
|
||||
)
|
||||
}
|
||||
@@ -16,7 +16,10 @@ export default function PeopleSearch({ onClose }: { onClose: () => void }) {
|
||||
|
||||
useEffect(() => {
|
||||
const term = q.trim()
|
||||
if (term.length < 2) return setResults([])
|
||||
if (term.length < 2) {
|
||||
setLoading(false)
|
||||
return setResults([])
|
||||
}
|
||||
let alive = true
|
||||
setLoading(true)
|
||||
const timer = setTimeout(() => {
|
||||
@@ -49,20 +52,20 @@ export default function PeopleSearch({ onClose }: { onClose: () => void }) {
|
||||
<Sheet label={t('social.findFriends')} title={t('social.findFriends')} onClose={onClose}>
|
||||
<div className="px-4 pt-4">
|
||||
<div className="relative">
|
||||
<Search size={17} className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<Search size={17} className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input
|
||||
type="search"
|
||||
value={q}
|
||||
onChange={(e) => setQ(e.target.value)}
|
||||
placeholder={t('social.searchPh')}
|
||||
className="field pl-10"
|
||||
className="field ps-10"
|
||||
autoFocus
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
spellCheck={false}
|
||||
enterKeyHint="search"
|
||||
/>
|
||||
{loading && <Loader2 size={17} className="absolute right-3.5 top-1/2 -translate-y-1/2 animate-spin text-ink-3" />}
|
||||
{loading && <Loader2 size={17} className="absolute end-3.5 top-1/2 -translate-y-1/2 animate-spin text-ink-3" />}
|
||||
</div>
|
||||
|
||||
{results.length > 0 ? (
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function PersonRow({ person, actions }: { person: ProfileCard; ac
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-3 py-2.5">
|
||||
<button onClick={() => social.openProfile(person.username)} className="flex min-w-0 flex-1 items-center gap-3 text-left">
|
||||
<button onClick={() => social.openProfile(person.username)} className="flex min-w-0 flex-1 items-center gap-3 text-start">
|
||||
<Avatar url={person.avatarUrl} name={person.displayName} size={44} />
|
||||
<span className="min-w-0">
|
||||
<span className="block truncate text-sm font-semibold">{person.displayName}</span>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Check, Loader2, Lock, Share2, Star, UserPlus } from 'lucide-react'
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { fmtNumber, t } from '../../i18n'
|
||||
import { follow, getProfile, getProfileItems, profileLink, unfollow, type Profile } from '../../lib/cloud/social'
|
||||
import { STATUSES, TOP_CATEGORIES } from '../../lib/constants'
|
||||
import { cx, formatRating } from '../../lib/utils'
|
||||
@@ -16,7 +16,7 @@ import { useSocial } from './SocialProvider'
|
||||
function PosterTile({ item, onOpen, caption }: { item: MediaItem; onOpen: () => void; caption?: string }) {
|
||||
const { settings } = useMedia()
|
||||
return (
|
||||
<button onClick={onOpen} className="block w-full text-left">
|
||||
<button onClick={onOpen} className="block w-full text-start">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
<p className="mt-1.5 truncate text-[11px] font-medium text-ink-2">{item.title}</p>
|
||||
<p className="flex h-4 items-center gap-1 text-[11px] text-ink-3">
|
||||
@@ -35,7 +35,7 @@ function PosterTile({ item, onOpen, caption }: { item: MediaItem; onOpen: () =>
|
||||
function Stat({ value, label, onClick }: { value?: number; label: string; onClick?: () => void }) {
|
||||
const body = (
|
||||
<>
|
||||
<span className="block text-lg font-bold tabular-nums leading-tight">{value == null ? '—' : value.toLocaleString()}</span>
|
||||
<span className="block text-lg font-bold tabular-nums leading-tight">{value == null ? '—' : fmtNumber(value)}</span>
|
||||
<span className="block text-[11px] text-ink-3">{label}</span>
|
||||
</>
|
||||
)
|
||||
@@ -51,6 +51,7 @@ function Stat({ value, label, onClick }: { value?: number; label: string; onClic
|
||||
/** Page de profil (la mienne ou celle d'un autre). */
|
||||
export default function ProfileView({ username, onClose }: { username: string; onClose: () => void }) {
|
||||
const social = useSocial()
|
||||
const { settings } = useMedia()
|
||||
const [profile, setProfile] = useState<Profile | null>()
|
||||
const [error, setError] = useState<string>()
|
||||
const [tab, setTab] = useState<'profile' | 'library'>('profile')
|
||||
@@ -133,12 +134,14 @@ export default function ProfileView({ username, onClose }: { username: string; o
|
||||
|
||||
const topByCategory = useMemo(() => {
|
||||
const out: { label: string; items: MediaItem[] }[] = []
|
||||
for (const c of TOP_CATEGORIES) {
|
||||
// Mon profil : mes réglages locaux font foi tout de suite (même avant la synchro)
|
||||
const shown = profile?.isMe ? TOP_CATEGORIES.filter((c) => settings.topCategories.includes(c.value)) : TOP_CATEGORIES
|
||||
for (const c of shown) {
|
||||
const list = (profile?.top ?? []).filter((i) => i.top?.category === c.value).sort((a, b) => a.top!.rank - b.top!.rank)
|
||||
if (list.length) out.push({ label: c.plural, items: list })
|
||||
}
|
||||
return out
|
||||
}, [profile])
|
||||
}, [profile, settings.topCategories])
|
||||
|
||||
return (
|
||||
<Sheet
|
||||
@@ -283,7 +286,7 @@ function ProfileTab({ profile, topByCategory, onOpen }: { profile: Profile; topB
|
||||
{c.items.map((item) => (
|
||||
<div key={item.id} className="relative">
|
||||
<PosterTile item={item} onOpen={() => onOpen(item)} />
|
||||
<span className="absolute left-1 top-1 grid size-5 place-items-center rounded-full bg-bg/85 text-[10px] font-bold">{item.top!.rank}</span>
|
||||
<span className="absolute start-1 top-1 grid size-5 place-items-center rounded-full bg-bg/85 text-[10px] font-bold">{item.top!.rank}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
@@ -335,7 +338,7 @@ function ProfileTab({ profile, topByCategory, onOpen }: { profile: Profile; topB
|
||||
].map(([v, label]) => (
|
||||
<div key={label as string} className="card p-4">
|
||||
<div className="eyebrow">{label}</div>
|
||||
<div className="mt-2 text-2xl font-bold tabular-nums leading-none">{(v as number).toLocaleString()}</div>
|
||||
<div className="mt-2 text-2xl font-bold tabular-nums leading-none">{fmtNumber(v as number)}</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
@@ -351,15 +354,23 @@ function LibraryTab({ profile, onOpen }: { profile: Profile; onOpen: (i: MediaIt
|
||||
const [loading, setLoading] = useState(false)
|
||||
const [done, setDone] = useState(false)
|
||||
|
||||
const request = useRef(0)
|
||||
|
||||
const loadPage = useCallback(
|
||||
async (reset: boolean) => {
|
||||
// Une réponse arrivée après un changement de filtre ne doit pas écraser la nouvelle liste
|
||||
const id = ++request.current
|
||||
setLoading(true)
|
||||
if (reset) setList([])
|
||||
try {
|
||||
const page = await getProfileItems(profile.id, status || null, reset ? 0 : list.length)
|
||||
if (id !== request.current) return
|
||||
setList((prev) => (reset ? page : [...prev, ...page]))
|
||||
setDone(page.length < 48)
|
||||
} catch {
|
||||
if (id === request.current) setDone(true)
|
||||
} finally {
|
||||
setLoading(false)
|
||||
if (id === request.current) setLoading(false)
|
||||
}
|
||||
},
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
import { useState } from 'react'
|
||||
import { REACTION_EMOJIS, reactToReview, unreactReview, type ReactionEmoji } from '../../lib/cloud/reviews'
|
||||
import { cx } from '../../lib/utils'
|
||||
|
||||
/** Barre de réactions (emoji) sur un avis. Une seule réaction par personne ; retoucher la sienne l'enlève. */
|
||||
export default function Reactions({
|
||||
authorId,
|
||||
itemId,
|
||||
reactions: initial,
|
||||
mine: initialMine,
|
||||
}: {
|
||||
authorId: string
|
||||
itemId: string
|
||||
reactions: Record<string, number>
|
||||
mine: string | null
|
||||
}) {
|
||||
const [reactions, setReactions] = useState<Record<string, number>>(initial)
|
||||
const [mine, setMine] = useState<string | null>(initialMine)
|
||||
const [busy, setBusy] = useState(false)
|
||||
|
||||
const toggle = async (emoji: ReactionEmoji) => {
|
||||
if (busy) return
|
||||
const prev = { reactions, mine }
|
||||
const next: Record<string, number> = { ...reactions }
|
||||
if (mine === emoji) {
|
||||
next[emoji] = Math.max(0, (next[emoji] ?? 0) - 1)
|
||||
setReactions(next)
|
||||
setMine(null)
|
||||
} else {
|
||||
if (mine) next[mine] = Math.max(0, (next[mine] ?? 0) - 1)
|
||||
next[emoji] = (next[emoji] ?? 0) + 1
|
||||
setReactions(next)
|
||||
setMine(emoji)
|
||||
}
|
||||
setBusy(true)
|
||||
try {
|
||||
if (prev.mine === emoji) await unreactReview(authorId, itemId)
|
||||
else await reactToReview(authorId, itemId, emoji)
|
||||
} catch {
|
||||
setReactions(prev.reactions)
|
||||
setMine(prev.mine)
|
||||
} finally {
|
||||
setBusy(false)
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
{REACTION_EMOJIS.map((emoji) => {
|
||||
const count = reactions[emoji] ?? 0
|
||||
const on = mine === emoji
|
||||
return (
|
||||
<button
|
||||
key={emoji}
|
||||
type="button"
|
||||
onClick={() => void toggle(emoji)}
|
||||
disabled={busy}
|
||||
aria-pressed={on}
|
||||
className={cx(
|
||||
'inline-flex items-center gap-1 rounded-full border px-2.5 py-1 text-sm transition-colors active:scale-95 disabled:opacity-60',
|
||||
on ? 'border-accent bg-accent-fill/10 text-ink' : 'border-line text-ink-2',
|
||||
)}
|
||||
>
|
||||
<span>{emoji}</span>
|
||||
{count > 0 && <span className="text-xs font-medium">{count}</span>}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,18 +1,16 @@
|
||||
import { X } from 'lucide-react'
|
||||
import { useEffect, type ReactNode } from 'react'
|
||||
import { type ReactNode } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { useScrollLock } from '../../lib/scrollLock'
|
||||
import { useEscape } from '../../lib/escape'
|
||||
import { cx } from '../../lib/utils'
|
||||
|
||||
/** Écran plein (profil, recherche…) avec en-tête et bouton fermer. */
|
||||
export default function Sheet({ title, onClose, right, children, label }: { title: ReactNode; onClose: () => void; right?: ReactNode; children: ReactNode; label: string }) {
|
||||
export default function Sheet({ title, onClose, right, children, label, elevated }: { title: ReactNode; onClose: () => void; right?: ReactNode; children: ReactNode; label: string; elevated?: boolean }) {
|
||||
useScrollLock()
|
||||
useEffect(() => {
|
||||
const onKey = (e: KeyboardEvent) => e.key === 'Escape' && onClose()
|
||||
window.addEventListener('keydown', onKey)
|
||||
return () => window.removeEventListener('keydown', onKey)
|
||||
}, [onClose])
|
||||
useEscape(onClose)
|
||||
return (
|
||||
<div className="sheet-in fixed inset-0 z-50 flex flex-col bg-bg" role="dialog" aria-modal="true" aria-label={label}>
|
||||
<div className={cx('sheet-in fixed inset-0 flex flex-col bg-bg', elevated ? 'z-[70]' : 'z-50')} role="dialog" aria-modal="true" aria-label={label}>
|
||||
<header className="safe-top border-b border-line">
|
||||
<div className="mx-auto flex max-w-2xl items-center gap-2 px-3 py-2.5">
|
||||
<button onClick={onClose} className="grid size-10 place-items-center rounded-full text-ink-2" aria-label={t('common.close')}>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { createContext, useCallback, useContext, useEffect, useMemo, useState, type ReactNode } from 'react'
|
||||
import { getFollowRequests, getMyProfile, type Profile, type ProfileCard } from '../../lib/cloud/social'
|
||||
import { markNotificationsRead, unreadCount } from '../../lib/cloud/notifications'
|
||||
import { useMedia } from '../../store'
|
||||
import type { MediaItem } from '../../types'
|
||||
import EditProfile from './EditProfile'
|
||||
@@ -7,6 +8,8 @@ import FollowList from './FollowList'
|
||||
import ItemPeek, { type PeekOwner } from './ItemPeek'
|
||||
import PeopleSearch from './PeopleSearch'
|
||||
import ProfileView from './ProfileView'
|
||||
import TitleReviews from './TitleReviews'
|
||||
import Notifications from './Notifications'
|
||||
import { useOnResume } from '../../lib/onResume'
|
||||
import WelcomeProfile, { RANDOM_USERNAME } from './WelcomeProfile'
|
||||
|
||||
@@ -20,6 +23,12 @@ interface SocialApi {
|
||||
openSearch: () => void
|
||||
openEdit: () => void
|
||||
openFollowList: (profile: Profile, kind: 'followers' | 'following') => void
|
||||
/** Tous les avis sur un titre (amis / autres) */
|
||||
openReviews: (externalId: string, title: string) => void
|
||||
/** Panneau des notifications */
|
||||
openNotifications: () => void
|
||||
/** Notifications non lues */
|
||||
unread: number
|
||||
peek: (item: MediaItem, owner?: PeekOwner) => void
|
||||
/** Ouvre la fiche si elle est à moi, sinon l'aperçu */
|
||||
openItem: (item: MediaItem, owner?: PeekOwner) => void
|
||||
@@ -34,6 +43,9 @@ const SocialContext = createContext<SocialApi>({
|
||||
openSearch: () => {},
|
||||
openEdit: () => {},
|
||||
openFollowList: () => {},
|
||||
openReviews: () => {},
|
||||
openNotifications: () => {},
|
||||
unread: 0,
|
||||
peek: () => {},
|
||||
openItem: () => {},
|
||||
})
|
||||
@@ -45,6 +57,8 @@ type Overlay =
|
||||
| { kind: 'search' }
|
||||
| { kind: 'edit' }
|
||||
| { kind: 'follows'; profile: Profile; list: 'followers' | 'following' }
|
||||
| { kind: 'reviews'; externalId: string; title: string }
|
||||
| { kind: 'notifications' }
|
||||
|
||||
/** Profils, recherche et aperçus : affichés par-dessus l'app, empilés (le bouton fermer revient au précédent). */
|
||||
export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNode; onOpenOwnItem: (item: MediaItem) => void }) {
|
||||
@@ -52,6 +66,7 @@ export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNod
|
||||
const enabled = !!account
|
||||
const [me, setMe] = useState<Profile | null>(null)
|
||||
const [requests, setRequests] = useState<ProfileCard[]>([])
|
||||
const [unread, setUnread] = useState(0)
|
||||
const [stack, setStack] = useState<Overlay[]>([])
|
||||
const [peeked, setPeeked] = useState<{ item: MediaItem; owner?: PeekOwner }>()
|
||||
// « Plus tard » sur le choix du pseudo : redemandé au prochain lancement
|
||||
@@ -74,9 +89,10 @@ export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNod
|
||||
const refresh = useCallback(async () => {
|
||||
if (!enabled || !navigator.onLine) return
|
||||
try {
|
||||
const [p, r] = await Promise.all([getMyProfile(), getFollowRequests()])
|
||||
const [p, r, u] = await Promise.all([getMyProfile(), getFollowRequests(), unreadCount()])
|
||||
setMe(p)
|
||||
setRequests(r)
|
||||
setUnread(u)
|
||||
} catch {
|
||||
/* hors-ligne / serveur pas encore à jour : le reste de l'app fonctionne */
|
||||
}
|
||||
@@ -125,10 +141,17 @@ export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNod
|
||||
openSearch: () => push({ kind: 'search' }),
|
||||
openEdit: () => push({ kind: 'edit' }),
|
||||
openFollowList: (profile, list) => push({ kind: 'follows', profile, list }),
|
||||
openReviews: (externalId, title) => push({ kind: 'reviews', externalId, title }),
|
||||
openNotifications: () => {
|
||||
setUnread(0)
|
||||
void markNotificationsRead().catch(() => {})
|
||||
push({ kind: 'notifications' })
|
||||
},
|
||||
unread,
|
||||
peek: (item, owner) => setPeeked({ item, owner }),
|
||||
openItem,
|
||||
}),
|
||||
[enabled, me, requests, refresh, push, openItem],
|
||||
[enabled, me, requests, unread, refresh, push, openItem],
|
||||
)
|
||||
|
||||
return (
|
||||
@@ -142,8 +165,23 @@ export function SocialProvider({ children, onOpenOwnItem }: { children: ReactNod
|
||||
<PeopleSearch key={k} onClose={pop} />
|
||||
) : o.kind === 'edit' ? (
|
||||
<EditProfile key={k} onClose={pop} />
|
||||
) : (
|
||||
) : o.kind === 'follows' ? (
|
||||
<FollowList key={k} profile={o.profile} initial={o.list} onClose={pop} />
|
||||
) : o.kind === 'reviews' ? (
|
||||
<TitleReviews key={k} externalId={o.externalId} title={o.title} onClose={pop} onOpenProfile={(u) => push({ kind: 'profile', username: u })} />
|
||||
) : (
|
||||
<Notifications
|
||||
key={k}
|
||||
onClose={pop}
|
||||
onOpenProfile={(u) => push({ kind: 'profile', username: u })}
|
||||
onOpenItem={(id) => {
|
||||
const it = items.find((i) => i.id === id)
|
||||
if (it) {
|
||||
pop()
|
||||
onOpenOwnItem(it)
|
||||
}
|
||||
}}
|
||||
/>
|
||||
),
|
||||
)}
|
||||
{children}
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
import { Loader2, Star } from 'lucide-react'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { t } from '../../i18n'
|
||||
import { titleReviews, type TitleReview, type TitleReviews as TitleReviewsData } from '../../lib/cloud/reviews'
|
||||
import { formatRating } from '../../lib/utils'
|
||||
import { useMedia } from '../../store'
|
||||
import Avatar from './Avatar'
|
||||
import Reactions from './Reactions'
|
||||
import Sheet from './Sheet'
|
||||
|
||||
/** Écran plein : tous les avis sur un même titre (amis / autres membres) avec réactions. */
|
||||
export default function TitleReviews({ externalId, title, onClose, onOpenProfile }: { externalId: string; title: string; onClose: () => void; onOpenProfile: (username: string) => void }) {
|
||||
const [data, setData] = useState<TitleReviewsData>()
|
||||
const [error, setError] = useState(false)
|
||||
|
||||
useEffect(() => {
|
||||
let alive = true
|
||||
titleReviews(externalId)
|
||||
.then((d) => alive && setData(d))
|
||||
.catch(() => alive && setError(true))
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [externalId])
|
||||
|
||||
const bothEmpty = !!data && data.friends.length === 0 && data.others.length === 0
|
||||
|
||||
return (
|
||||
<Sheet title={title} label={t('reviews.title')} onClose={onClose} elevated>
|
||||
<p className="eyebrow px-4 pt-4">{t('reviews.title')}</p>
|
||||
{data === undefined && !error ? (
|
||||
<p className="flex items-center justify-center gap-2 px-4 py-16 text-sm text-ink-3">
|
||||
<Loader2 size={16} className="animate-spin" /> {t('social.loading')}
|
||||
</p>
|
||||
) : !data || error || bothEmpty ? (
|
||||
<p className="px-4 py-16 text-center text-sm text-ink-3">{t('reviews.none')}</p>
|
||||
) : (
|
||||
<div className="grid grid-cols-1 gap-4 px-4 pt-4 sm:grid-cols-2">
|
||||
<ReviewColumn heading={t('reviews.friends')} empty={t('reviews.noneFriends')} list={data.friends} onOpenProfile={onOpenProfile} />
|
||||
<ReviewColumn heading={t('reviews.others')} empty={t('reviews.noneOthers')} list={data.others} onOpenProfile={onOpenProfile} />
|
||||
</div>
|
||||
)}
|
||||
</Sheet>
|
||||
)
|
||||
}
|
||||
|
||||
function ReviewColumn({ heading, empty, list, onOpenProfile }: { heading: string; empty: string; list: TitleReview[]; onOpenProfile: (username: string) => void }) {
|
||||
return (
|
||||
<section>
|
||||
<p className="eyebrow mb-2">{heading}</p>
|
||||
{list.length === 0 ? (
|
||||
<p className="text-sm text-ink-3">{empty}</p>
|
||||
) : (
|
||||
<div className="space-y-3">
|
||||
{list.map((r) => (
|
||||
<ReviewCard key={`${r.user_id}-${r.item_id}`} r={r} onOpenProfile={onOpenProfile} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
function ReviewCard({ r, onOpenProfile }: { r: TitleReview; onOpenProfile: (username: string) => void }) {
|
||||
const { settings } = useMedia()
|
||||
return (
|
||||
<article className="card p-3.5">
|
||||
<div className="flex items-center gap-2.5">
|
||||
<Avatar url={r.user.avatar_url ?? undefined} name={r.user.display_name} size={34} />
|
||||
<button onClick={() => onOpenProfile(r.user.username)} className="min-w-0 flex-1 text-start">
|
||||
<p className="truncate text-sm font-semibold">{r.user.display_name}</p>
|
||||
<p className="truncate text-xs text-ink-3">@{r.user.username}</p>
|
||||
</button>
|
||||
{r.rating != null && (
|
||||
<span className="flex shrink-0 items-center gap-0.5 text-sm font-semibold text-ink-2">
|
||||
<Star size={12} className="fill-accent text-accent" />
|
||||
{formatRating(r.rating, settings.ratingScale)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{r.notes && <p className="mt-2 whitespace-pre-line text-sm leading-relaxed text-ink-2">{r.notes}</p>}
|
||||
<div className="mt-3">
|
||||
<Reactions authorId={r.user_id} itemId={r.item_id} reactions={r.reactions} mine={r.mine} />
|
||||
</div>
|
||||
</article>
|
||||
)
|
||||
}
|
||||
@@ -60,9 +60,9 @@ export default function WelcomeProfile({ onLater }: { onLater: () => void }) {
|
||||
<label className="block">
|
||||
<span className="label">{t('social.username')}</span>
|
||||
<div className="relative">
|
||||
<span className="pointer-events-none absolute left-3.5 top-1/2 -translate-y-1/2 text-ink-3">@</span>
|
||||
<span className="pointer-events-none absolute start-3.5 top-1/2 -translate-y-1/2 text-ink-3">@</span>
|
||||
<input
|
||||
className={cx('field pl-8', clean && !usernameOk && 'border-accent!')}
|
||||
className={cx('field ps-8', clean && !usernameOk && 'border-accent!')}
|
||||
value={username}
|
||||
onChange={(e) => setUsername(toUsername(e.target.value))}
|
||||
maxLength={21}
|
||||
|
||||
@@ -46,27 +46,6 @@ export function LinkArrow({ onClick, children }: { onClick: () => void; children
|
||||
)
|
||||
}
|
||||
|
||||
/** Liste de barres horizontales (une seule série → une seule couleur, valeurs écrites en clair). */
|
||||
export function BarList({ data, format = String }: { data: { label: string; value: number }[]; format?: (v: number) => string }) {
|
||||
const max = Math.max(1, ...data.map((d) => d.value))
|
||||
if (!data.some((d) => d.value > 0)) return <p className="text-sm text-ink-3">{t('common.noData')}</p>
|
||||
return (
|
||||
<ul className="space-y-3">
|
||||
{data.map((d) => (
|
||||
<li key={d.label} className="text-sm" title={`${d.label} : ${format(d.value)}`}>
|
||||
<div className="mb-1.5 flex justify-between gap-2">
|
||||
<span className="truncate text-ink-2">{d.label}</span>
|
||||
<span className="shrink-0 text-xs tabular-nums text-ink">{format(d.value)}</span>
|
||||
</div>
|
||||
<div className="h-1 rounded-full bg-surface-2">
|
||||
<div className="h-full rounded-full bg-accent" style={{ width: `${(d.value / max) * 100}%`, minWidth: d.value ? 4 : 0 }} />
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
|
||||
export function EmptyState({ title, text, action }: { title: string; text?: string; action?: ReactNode }) {
|
||||
return (
|
||||
<div className="card mt-4 flex flex-col items-center px-6 py-12 text-center">
|
||||
|
||||
+110
-14
@@ -14,9 +14,10 @@ type RawKey = keyof Dict
|
||||
type PluralBase = RawKey extends infer K ? (K extends `${infer B}_other` ? B : never) : never
|
||||
type SuffixedPlural = RawKey extends infer K ? (K extends `${string}_${'zero' | 'one' | 'two' | 'few' | 'many' | 'other'}` ? K : never) : never
|
||||
export type TKey = Exclude<RawKey, SuffixedPlural> | PluralBase
|
||||
export type Translations = { [K in RawKey]: string }
|
||||
// Les langues aux pluriels plus riches (arabe, russe, polonais…) ajoutent des clés « _two », « _few », « _many »
|
||||
export type Translations = { [K in RawKey]: string } & Record<string, string>
|
||||
|
||||
export type Lang = 'fr' | 'en' | 'es' | 'it' | 'de' | 'pt' | 'zh' | 'ja' | 'ko'
|
||||
export type Lang = 'fr' | 'en' | 'es' | 'it' | 'de' | 'pt' | 'nl' | 'pl' | 'ru' | 'tr' | 'ar' | 'hi' | 'id' | 'th' | 'vi' | 'zh' | 'ja' | 'ko'
|
||||
|
||||
export interface LangInfo {
|
||||
code: Lang
|
||||
@@ -26,6 +27,8 @@ export interface LangInfo {
|
||||
locale: string
|
||||
/** Langue demandée à TMDB (titres, résumés) */
|
||||
tmdb: string
|
||||
/** Écriture de droite à gauche */
|
||||
rtl?: boolean
|
||||
}
|
||||
|
||||
export const LANGS: LangInfo[] = [
|
||||
@@ -35,6 +38,15 @@ export const LANGS: LangInfo[] = [
|
||||
{ code: 'it', label: 'Italiano', locale: 'it-IT', tmdb: 'it-IT' },
|
||||
{ code: 'de', label: 'Deutsch', locale: 'de-DE', tmdb: 'de-DE' },
|
||||
{ code: 'pt', label: 'Português', locale: 'pt-BR', tmdb: 'pt-BR' },
|
||||
{ code: 'nl', label: 'Nederlands', locale: 'nl-NL', tmdb: 'nl-NL' },
|
||||
{ code: 'pl', label: 'Polski', locale: 'pl-PL', tmdb: 'pl-PL' },
|
||||
{ code: 'ru', label: 'Русский', locale: 'ru-RU', tmdb: 'ru-RU' },
|
||||
{ code: 'tr', label: 'Türkçe', locale: 'tr-TR', tmdb: 'tr-TR' },
|
||||
{ code: 'ar', label: 'العربية', locale: 'ar-SA', tmdb: 'ar-SA', rtl: true },
|
||||
{ code: 'hi', label: 'हिन्दी', locale: 'hi-IN', tmdb: 'hi-IN' },
|
||||
{ code: 'id', label: 'Bahasa Indonesia', locale: 'id-ID', tmdb: 'id-ID' },
|
||||
{ code: 'th', label: 'ไทย', locale: 'th-TH', tmdb: 'th-TH' },
|
||||
{ code: 'vi', label: 'Tiếng Việt', locale: 'vi-VN', tmdb: 'vi-VN' },
|
||||
{ code: 'zh', label: '中文', locale: 'zh-CN', tmdb: 'zh-CN' },
|
||||
{ code: 'ja', label: '日本語', locale: 'ja-JP', tmdb: 'ja-JP' },
|
||||
{ code: 'ko', label: '한국어', locale: 'ko-KR', tmdb: 'ko-KR' },
|
||||
@@ -47,6 +59,15 @@ const loaders: Record<Exclude<Lang, 'fr'>, () => Promise<{ default: Translations
|
||||
it: () => import('./locales/it'),
|
||||
de: () => import('./locales/de'),
|
||||
pt: () => import('./locales/pt'),
|
||||
nl: () => import('./locales/nl'),
|
||||
pl: () => import('./locales/pl'),
|
||||
ru: () => import('./locales/ru'),
|
||||
tr: () => import('./locales/tr'),
|
||||
ar: () => import('./locales/ar'),
|
||||
hi: () => import('./locales/hi'),
|
||||
id: () => import('./locales/id'),
|
||||
th: () => import('./locales/th'),
|
||||
vi: () => import('./locales/vi'),
|
||||
zh: () => import('./locales/zh'),
|
||||
ja: () => import('./locales/ja'),
|
||||
ko: () => import('./locales/ko'),
|
||||
@@ -56,7 +77,85 @@ const STORAGE_KEY = 'azuucine:lang'
|
||||
|
||||
export const isLang = (v: unknown): v is Lang => typeof v === 'string' && v in BY_CODE
|
||||
|
||||
/** Langue enregistrée, sinon celle du téléphone, sinon le français. */
|
||||
/**
|
||||
* Pays où se trouve l'appareil, d'après son fuseau horaire (aucune requête réseau, aucune géolocalisation).
|
||||
* Pour un pays à plusieurs langues, on prend celle du téléphone si elle en fait partie.
|
||||
*/
|
||||
const ZONES: [RegExp, string, Lang[]][] = [
|
||||
[/^Europe\/(Paris|Monaco)$|^Indian\/Reunion$|^America\/(Martinique|Guadeloupe|Cayenne)$|^Pacific\/(Tahiti|Noumea)$/, 'FR', ['fr']],
|
||||
[/^Europe\/Brussels$/, 'BE', ['fr', 'nl', 'de']],
|
||||
[/^Europe\/(Zurich|Busingen)$/, 'CH', ['de', 'fr', 'it']],
|
||||
[/^Europe\/Luxembourg$/, 'LU', ['fr', 'de']],
|
||||
[/^America\/(Montreal|Toronto|Vancouver|Edmonton|Winnipeg|Halifax|St_Johns|Regina)$/, 'CA', ['en', 'fr']],
|
||||
[/^Africa\/(Abidjan|Dakar|Bamako|Ouagadougou|Niamey|Conakry|Lome|Porto-Novo|Libreville|Douala|Kinshasa|Brazzaville|Bangui|Ndjamena)$|^Indian\/Antananarivo$/, '', ['fr']],
|
||||
[/^Europe\/(London|Dublin)$/, 'GB', ['en']],
|
||||
[/^America\/(New_York|Chicago|Denver|Los_Angeles|Phoenix|Anchorage|Detroit)$|^Pacific\/Honolulu$/, 'US', ['en', 'es']],
|
||||
[/^Australia\/|^Pacific\/Auckland$/, 'AU', ['en']],
|
||||
[/^Europe\/Madrid$|^Atlantic\/Canary$/, 'ES', ['es']],
|
||||
[/^America\/(Mexico_City|Bogota|Lima|Santiago|Caracas|Guayaquil|La_Paz|Asuncion|Montevideo|Panama|Costa_Rica|Guatemala|El_Salvador|Tegucigalpa|Managua|Havana|Santo_Domingo|Puerto_Rico|Tijuana|Monterrey|Cancun)$|^America\/Argentina\//, '', ['es']],
|
||||
[/^Europe\/(Rome|Vatican|San_Marino)$/, 'IT', ['it']],
|
||||
[/^Europe\/(Berlin|Vienna)$/, 'DE', ['de']],
|
||||
[/^Europe\/Lisbon$|^Atlantic\/(Azores|Madeira)$/, 'PT', ['pt']],
|
||||
[/^America\/(Sao_Paulo|Bahia|Fortaleza|Recife|Manaus|Belem|Cuiaba|Porto_Velho|Rio_Branco|Maceio|Araguaina|Campo_Grande)$/, 'BR', ['pt']],
|
||||
[/^Africa\/(Luanda|Maputo)$/, '', ['pt']],
|
||||
[/^Europe\/Amsterdam$|^America\/Paramaribo$/, 'NL', ['nl']],
|
||||
[/^Europe\/Warsaw$/, 'PL', ['pl']],
|
||||
[/^Europe\/(Moscow|Kaliningrad|Samara|Volgograd|Kirov|Astrakhan|Saratov|Ulyanovsk|Minsk)$|^Asia\/(Yekaterinburg|Omsk|Novosibirsk|Barnaul|Tomsk|Novokuznetsk|Krasnoyarsk|Irkutsk|Chita|Yakutsk|Khandyga|Vladivostok|Ust-Nera|Magadan|Sakhalin|Srednekolymsk|Kamchatka|Anadyr|Almaty|Bishkek)$/, 'RU', ['ru']],
|
||||
[/^Europe\/Istanbul$|^Asia\/Istanbul$/, 'TR', ['tr']],
|
||||
[/^Asia\/(Riyadh|Dubai|Kuwait|Qatar|Bahrain|Muscat|Aden|Baghdad|Amman|Beirut|Damascus|Gaza|Hebron)$|^Africa\/(Cairo|Tripoli|Tunis|Algiers|Casablanca|El_Aaiun|Khartoum|Nouakchott)$/, '', ['ar', 'fr']],
|
||||
[/^Asia\/(Kolkata|Calcutta)$/, 'IN', ['hi', 'en']],
|
||||
[/^Asia\/(Jakarta|Pontianak|Makassar|Jayapura)$/, 'ID', ['id']],
|
||||
[/^Asia\/Bangkok$/, 'TH', ['th']],
|
||||
[/^Asia\/(Ho_Chi_Minh|Saigon)$/, 'VN', ['vi']],
|
||||
[/^Asia\/(Shanghai|Chongqing|Harbin|Urumqi|Hong_Kong|Macau|Taipei)$/, '', ['zh']],
|
||||
[/^Asia\/Singapore$/, 'SG', ['en', 'zh']],
|
||||
[/^Asia\/Tokyo$/, 'JP', ['ja']],
|
||||
[/^Asia\/Seoul$/, 'KR', ['ko']],
|
||||
]
|
||||
|
||||
function browserLangs(): Lang[] {
|
||||
const out: Lang[] = []
|
||||
for (const l of navigator.languages ?? [navigator.language]) {
|
||||
const code = l?.slice(0, 2).toLowerCase()
|
||||
if (isLang(code) && !out.includes(code)) out.push(code)
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
/** Langue du pays où l'on se trouve (fuseau horaire), sinon celle du téléphone, sinon l'anglais. */
|
||||
export function detectLang(): Lang {
|
||||
const browser = browserLangs()
|
||||
let zone = ''
|
||||
try {
|
||||
zone = Intl.DateTimeFormat().resolvedOptions().timeZone ?? ''
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
const hit = ZONES.find(([re]) => re.test(zone))
|
||||
if (hit) return hit[2].find((l) => browser.includes(l)) ?? hit[2][0]
|
||||
return browser[0] ?? 'en'
|
||||
}
|
||||
|
||||
/** Pays détecté (pour les plateformes de streaming et les sorties cinéma). */
|
||||
function detectRegion(): string | undefined {
|
||||
try {
|
||||
const zone = Intl.DateTimeFormat().resolvedOptions().timeZone ?? ''
|
||||
return ZONES.find(([re]) => re.test(zone))?.[1] || undefined
|
||||
} catch {
|
||||
return undefined
|
||||
}
|
||||
}
|
||||
|
||||
/** La langue a-t-elle été choisie à la main ? (sinon : automatique) */
|
||||
export function isLangChosen(): boolean {
|
||||
try {
|
||||
return isLang(localStorage.getItem(STORAGE_KEY))
|
||||
} catch {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
/** Langue choisie, sinon automatique. */
|
||||
export function initialLang(): Lang {
|
||||
try {
|
||||
const saved = localStorage.getItem(STORAGE_KEY)
|
||||
@@ -64,11 +163,7 @@ export function initialLang(): Lang {
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
for (const l of navigator.languages ?? [navigator.language]) {
|
||||
const code = l?.slice(0, 2).toLowerCase()
|
||||
if (isLang(code)) return code
|
||||
}
|
||||
return 'fr'
|
||||
return detectLang()
|
||||
}
|
||||
|
||||
let current: Lang = 'fr'
|
||||
@@ -76,20 +171,21 @@ let dict: Partial<Translations> = fr
|
||||
let plural = new Intl.PluralRules('fr-FR')
|
||||
|
||||
export const getLang = () => current
|
||||
export const langInfo = () => BY_CODE[current]
|
||||
/** Locale BCP 47 pour toLocaleDateString / Intl */
|
||||
export const locale = () => BY_CODE[current].locale
|
||||
export const tmdbLanguage = () => BY_CODE[current].tmdb
|
||||
|
||||
/** Charge la langue et l'active (à attendre avant d'afficher l'interface). */
|
||||
export async function loadLang(code: Lang): Promise<void> {
|
||||
/** Charge la langue et l'active. `remember` : choix fait à la main (null = revenir à l'automatique). */
|
||||
export async function loadLang(code: Lang, remember?: boolean | null): Promise<void> {
|
||||
const next = code === 'fr' ? fr : (await loaders[code]()).default
|
||||
current = code
|
||||
dict = next
|
||||
plural = new Intl.PluralRules(BY_CODE[code].locale)
|
||||
document.documentElement.lang = code
|
||||
document.documentElement.dir = BY_CODE[code].rtl ? 'rtl' : 'ltr'
|
||||
try {
|
||||
localStorage.setItem(STORAGE_KEY, code)
|
||||
if (remember) localStorage.setItem(STORAGE_KEY, code)
|
||||
else if (remember === null) localStorage.removeItem(STORAGE_KEY)
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
@@ -117,5 +213,5 @@ const formatVar = (name: string, v: string | number) => (typeof v === 'number' &
|
||||
/** Nombre formaté dans la langue active (espaces, virgules…). */
|
||||
export const fmtNumber = (n: number, opts?: Intl.NumberFormatOptions) => n.toLocaleString(locale(), opts)
|
||||
|
||||
/** Pays associé à la langue (plateformes de streaming, sorties cinéma) : FR, US, ES… */
|
||||
export const region = () => BY_CODE[current].locale.split('-')[1]
|
||||
/** Pays de l'utilisateur (plateformes de streaming, sorties cinéma) : celui du fuseau horaire, sinon celui de la langue. */
|
||||
export const region = () => detectRegion() ?? BY_CODE[current].locale.split('-')[1]
|
||||
@@ -0,0 +1,974 @@
|
||||
/** العربية */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'إلغاء',
|
||||
'common.confirm': 'تأكيد',
|
||||
'common.close': 'إغلاق',
|
||||
'common.save': 'حفظ',
|
||||
'common.add': 'إضافة',
|
||||
'common.delete': 'حذف',
|
||||
'common.all': 'الكل',
|
||||
'common.offline': 'لا يوجد اتصال بالإنترنت.',
|
||||
'common.minutes': '{n} د',
|
||||
'common.hours': '{h} س',
|
||||
'common.hoursMinutes': '{h} س {m} د',
|
||||
'common.daysHours': '{d} ي {h} س',
|
||||
'common.decimalSep': '.',
|
||||
'common.removeX': 'إزالة {name}',
|
||||
'common.kb': '{n} ك.ب',
|
||||
'common.mb': '{n} م.ب',
|
||||
'common.edit': 'تعديل',
|
||||
'common.moveUp': 'نقل لأعلى',
|
||||
'common.moveDown': 'نقل لأسفل',
|
||||
|
||||
'nav.home': 'الرئيسية',
|
||||
'nav.catalog': 'الكتالوج',
|
||||
'nav.stats': 'الإحصائيات',
|
||||
'nav.settings': 'الإعدادات',
|
||||
'nav.addTitle': 'إضافة عنوان',
|
||||
|
||||
'type.film': 'فيلم',
|
||||
'type.serie': 'مسلسل',
|
||||
'type.anime': 'أنمي',
|
||||
'type.kdrama': 'دراما كورية',
|
||||
'type.cdrama': 'دراما صينية',
|
||||
'type.autre': 'أخرى',
|
||||
|
||||
'typePlural.film': 'أفلام',
|
||||
'typePlural.serie': 'مسلسلات',
|
||||
'typePlural.anime': 'أنمي',
|
||||
'typePlural.kdrama': 'دراما كورية',
|
||||
'typePlural.cdrama': 'دراما صينية',
|
||||
|
||||
'status.a_voir': 'للمشاهدة',
|
||||
'status.en_cours': 'قيد المشاهدة',
|
||||
'status.termine': 'مكتمل',
|
||||
'status.pause': 'متوقف مؤقتًا',
|
||||
'status.abandonne': 'متروك',
|
||||
|
||||
'criteria.story': 'السيناريو / القصة',
|
||||
'criteria.cast': 'الشخصيات / الممثلون',
|
||||
'criteria.direction': 'الإخراج / التحريك',
|
||||
'criteria.ost': 'الموسيقى التصويرية (OST)',
|
||||
|
||||
'subtype.documentary': 'وثائقي',
|
||||
'subtype.reality': 'تلفزيون الواقع',
|
||||
'subtype.show': 'برنامج تلفزيوني',
|
||||
'subtype.short': 'فيلم قصير',
|
||||
'subtype.stage': 'عرض مسرحي',
|
||||
'subtype.miniseries': 'مسلسل قصير',
|
||||
|
||||
|
||||
'genre.action': 'أكشن',
|
||||
'genre.adventure': 'مغامرة',
|
||||
'genre.comedy': 'كوميديا',
|
||||
'genre.drama': 'دراما',
|
||||
'genre.romance': 'رومانسي',
|
||||
'genre.romcom': 'كوميديا رومانسية',
|
||||
'genre.thriller': 'إثارة',
|
||||
'genre.horror': 'رعب',
|
||||
'genre.mystery': 'غموض',
|
||||
'genre.crime': 'جريمة',
|
||||
'genre.scifi': 'خيال علمي',
|
||||
'genre.fantasy': 'فانتازيا',
|
||||
'genre.historical': 'تاريخي',
|
||||
'genre.sliceOfLife': 'شريحة من الحياة',
|
||||
'genre.shonen': 'شونين',
|
||||
'genre.shojo': 'شوجو',
|
||||
'genre.seinen': 'سينين',
|
||||
'genre.isekai': 'إيسيكاي',
|
||||
'genre.mecha': 'ميكا',
|
||||
'genre.sports': 'رياضة',
|
||||
'genre.musical': 'استعراضي',
|
||||
'genre.medical': 'طبي',
|
||||
'genre.legal': 'قانوني',
|
||||
'genre.wuxia': 'ووشيا',
|
||||
'genre.xianxia': 'شيانشيا',
|
||||
'genre.family': 'عائلي',
|
||||
'genre.animation': 'رسوم متحركة',
|
||||
'genre.psychological': 'نفسي',
|
||||
'genre.supernatural': 'خارق للطبيعة',
|
||||
'genre.romanticComedy': 'كوميديا رومانسية',
|
||||
'genre.documentary': 'وثائقي',
|
||||
'genre.war': 'حرب',
|
||||
'genre.western': 'ويسترن',
|
||||
'genre.music': 'موسيقى',
|
||||
'genre.ecchi': 'إيتشي',
|
||||
'genre.kids': 'أطفال',
|
||||
'genre.news': 'أخبار',
|
||||
'genre.reality': 'تلفزيون الواقع',
|
||||
'genre.talk': 'برنامج حواري',
|
||||
'genre.soap': 'مسلسل طويل',
|
||||
'genre.politics': 'سياسة',
|
||||
'genre.tvMovie': 'فيلم تلفزيوني',
|
||||
'genre.anime': 'أنمي',
|
||||
'genre.magicalGirl': 'فتاة ساحرة',
|
||||
|
||||
'confirm.title': 'هل أنت متأكد؟',
|
||||
|
||||
'err.tmdbRefused': 'رُفض طلب TMDB.',
|
||||
'err.tmdbKeyRefused': 'رُفض مفتاح TMDB. تحقّق منه في الإعدادات.',
|
||||
'err.tmdbStatus': 'ردّ TMDB بالرمز {status}.',
|
||||
'err.tmdbRef': 'مرجع TMDB غير صالح.',
|
||||
'err.anilistRate': 'يحدّ AniList من عدد الطلبات، أعد المحاولة بعد دقيقة.',
|
||||
'err.anilistStatus': 'ردّ AniList بالرمز {status}.',
|
||||
'err.searchRate': 'عمليات بحث كثيرة جدًا، أعد المحاولة بعد بضع دقائق.',
|
||||
|
||||
'anilist.short': 'أنمي قصير',
|
||||
'anilist.movie': 'فيلم رسوم متحركة',
|
||||
'anilist.special': 'حلقة خاصة',
|
||||
'anilist.music': 'فيديو موسيقي',
|
||||
|
||||
'release.cinema': 'في السينما',
|
||||
'release.online': 'عبر VOD / البث',
|
||||
'release.release': 'الإصدار',
|
||||
'release.season': 'الموسم {season}',
|
||||
'release.episode': 'الحلقة {ep}',
|
||||
'release.newEpisode': 'حلقة جديدة',
|
||||
'release.firstEpisode': 'الحلقة الأولى',
|
||||
'release.newSeriesN': 'مسلسل جديد · {count} حلقة',
|
||||
'release.seasonN': 'الموسم {season} · {count} حلقة',
|
||||
'release.seasonEp1': 'الموسم {season} · الحلقة 1',
|
||||
'release.episodes': 'الحلقات {first}–{last}',
|
||||
'release.sEpisodes': 'م{season} · الحلقات {first}–{last}',
|
||||
'release.sEpisode': 'م{season} · الحلقة {ep}',
|
||||
'release.episodeFinal': 'الحلقة {ep} · الأخيرة',
|
||||
'release.filmJapan': 'فيلم في اليابان',
|
||||
|
||||
'card.ep': 'ح {n}',
|
||||
'card.plusOne': '+1 حلقة لـ {title}',
|
||||
'card.open': 'فتح {title}',
|
||||
|
||||
'rating.outOf10': 'التقييم من 10',
|
||||
'rating.outOf5': 'التقييم من 5',
|
||||
'rating.stars_one': 'نجمة واحدة',
|
||||
'rating.stars_other': '{count} نجمة',
|
||||
'rating.stars_two': 'نجمتان',
|
||||
'rating.stars_few': '{count} نجوم',
|
||||
'rating.stars_many': '{count} نجمة',
|
||||
'rating.clear': 'مسح التقييم',
|
||||
|
||||
'share.previewLabel': 'معاينة الصورة',
|
||||
'share.preview': 'معاينة',
|
||||
'share.posterAlt': 'ملصق {title}',
|
||||
'share.share': 'مشاركة',
|
||||
'share.saveImage': 'حفظ الصورة',
|
||||
'share.err.create': 'تعذّر إنشاء الصورة',
|
||||
'share.minutesLong': '{n} دقيقة',
|
||||
'share.createdBy': 'من إنشاء',
|
||||
'share.directedBy': 'إخراج',
|
||||
'share.producedBy': 'إنتاج',
|
||||
'share.starring': 'بطولة',
|
||||
'share.genres': 'الأنواع',
|
||||
'share.myRating': 'تقييمي',
|
||||
'share.myTop': 'الأفضل عندي',
|
||||
|
||||
'auth.hidePassword': 'إخفاء كلمة المرور',
|
||||
'auth.showPassword': 'إظهار كلمة المرور',
|
||||
'auth.mismatch': 'كلمتا المرور غير متطابقتين.',
|
||||
'auth.created': 'تم إنشاء الحساب! افتح الرابط المُرسل إلى {email} لتفعيله، ثم سجّل الدخول.',
|
||||
'auth.resetSent': 'إذا كان هناك حساب بهذا العنوان، فقد أُرسل للتو رابط لاختيار كلمة مرور جديدة.',
|
||||
'auth.tagline': 'يومياتك للأفلام والمسلسلات والأنمي والدراما.',
|
||||
'auth.loginTab': 'تسجيل الدخول',
|
||||
'auth.signupTab': 'إنشاء حساب',
|
||||
'auth.forgotTitle': 'نسيت كلمة المرور',
|
||||
'auth.email': 'البريد الإلكتروني',
|
||||
'auth.password': 'كلمة المرور',
|
||||
'auth.confirmPassword': 'تأكيد كلمة المرور',
|
||||
'auth.minChars': '{n} أحرف على الأقل.',
|
||||
'auth.login': 'تسجيل الدخول',
|
||||
'auth.signup': 'إنشاء حسابي',
|
||||
'auth.sendLink': 'إرسال الرابط',
|
||||
'auth.forgot': 'نسيت كلمة المرور؟',
|
||||
'auth.backToLogin': 'العودة إلى تسجيل الدخول',
|
||||
'auth.privacy': 'يحافظ حسابك على مكتبتك بأمان. ملفك الشخصي (العناوين المُشاهدة والتقييمات والآراء) مرئي للأعضاء ما لم تجعله خاصًا؛ أما قوائمك وإعداداتك فتبقى خاصة. ويبقى كل شيء أيضًا على جهازك ليعمل التطبيق دون إنترنت.',
|
||||
'auth.newPasswordTitle': 'اختر كلمة المرور الجديدة.',
|
||||
'auth.newPassword': 'كلمة المرور الجديدة',
|
||||
'auth.err.credentials': 'البريد الإلكتروني أو كلمة المرور غير صحيحة.',
|
||||
'auth.err.notConfirmed': 'أكّد عنوانك أولًا عبر الرابط الذي وصلك بالبريد الإلكتروني.',
|
||||
'auth.err.exists': 'يوجد حساب بهذا البريد الإلكتروني بالفعل.',
|
||||
'auth.err.weak': 'كلمة المرور ضعيفة جدًا ({n} أحرف على الأقل، مزيج من الحروف والأرقام).',
|
||||
'auth.err.samePassword': 'يجب أن تختلف كلمة المرور الجديدة عن القديمة.',
|
||||
'auth.err.emailRate': 'طلبات كثيرة جدًا. أعد المحاولة بعد بضع دقائق.',
|
||||
'auth.err.rate': 'محاولات كثيرة جدًا. أعد المحاولة بعد بضع دقائق.',
|
||||
'auth.err.signupDisabled': 'التسجيل مغلق حاليًا.',
|
||||
'auth.err.emailInvalid': 'عنوان بريد إلكتروني غير صالح.',
|
||||
'auth.err.invalid': 'البريد الإلكتروني أو كلمة المرور غير صالحة.',
|
||||
'auth.err.session': 'انتهت الجلسة، سجّل الدخول من جديد.',
|
||||
'auth.err.status': 'رفض الخادم الطلب ({status}).',
|
||||
'auth.err.response': 'استجابة غير صالحة من الخادم.',
|
||||
'auth.err.linkExpired': 'انتهت صلاحية هذا الرابط. اطلب رابطًا جديدًا.',
|
||||
'auth.err.linkUsed': 'هذا الرابط غير صالح أو سبق استخدامه.',
|
||||
'auth.err.linkInvalid': 'هذا الرابط غير صالح.',
|
||||
|
||||
'settings.language': 'اللغة',
|
||||
'settings.langAuto': 'تلقائي ({lang})',
|
||||
'settings.backupShared': 'تمت مشاركة النسخة الاحتياطية.',
|
||||
'settings.backupDownloaded': 'تم تنزيل النسخة الاحتياطية.',
|
||||
'settings.exportFailed': 'فشل التصدير.',
|
||||
'settings.noValidItems': 'لا يحتوي الملف على أي سجل صالح.',
|
||||
'settings.imported_one': 'تم استيراد سجل واحد.',
|
||||
'settings.imported_other': 'تم استيراد {count} سجل.',
|
||||
'settings.imported_two': 'تم استيراد سجلين.',
|
||||
'settings.imported_few': 'تم استيراد {count} سجلات.',
|
||||
'settings.imported_many': 'تم استيراد {count} سجلًا.',
|
||||
'settings.importedSkipped': 'تم استيراد {n} سجل، وتجاهل {skipped}.',
|
||||
'settings.cleared': 'تم مسح المكتبة.',
|
||||
'settings.pageTitle': 'إعدادات ',
|
||||
'settings.pageAccent': 'التطبيق',
|
||||
'settings.languageHint': 'لغة التطبيق والتواريخ والمعلومات المجلوبة من TMDB (العناوين، الملخصات).',
|
||||
'settings.rating': 'التقييم',
|
||||
'settings.scale5': '★ من 5',
|
||||
'settings.scale10': 'من 10',
|
||||
'settings.ratingHint': 'أنصاف نجوم من 5، أو خطوات 0.5 من 10. تُحوَّل التقييمات الحالية تلقائيًا.',
|
||||
'settings.theme': 'السمة',
|
||||
'settings.appearance': 'المظهر',
|
||||
'settings.appearanceHint': '«تلقائي» يتبع متصفحك (فاتح أو داكن).',
|
||||
'theme.modeAuto': 'تلقائي',
|
||||
'theme.modeLight': 'فاتح',
|
||||
'theme.modeDark': 'داكن',
|
||||
'theme.modeNight': 'ليلي',
|
||||
'theme.modeStarfield': 'نجوم',
|
||||
'settings.accentColor': 'لون التمييز',
|
||||
'settings.installApp': 'تثبيت التطبيق',
|
||||
'settings.installHint': 'أضِف AzuuCine إلى شاشتك الرئيسية أو سطح المكتب.',
|
||||
'settings.installed': 'تم تثبيت التطبيق',
|
||||
'settings.notifs': 'الإشعارات',
|
||||
'settings.notifsHint': 'اختر ما يُفعّل الجرس.',
|
||||
'settings.notifEpisodes': 'حلقات جديدة',
|
||||
'settings.notifFollows': 'متابعون جدد',
|
||||
'settings.notifAccepted': 'طلبات مقبولة',
|
||||
'settings.notifReactions': 'تفاعلات على تقييماتي',
|
||||
'notif.new_episode': 'حلقة جديدة من {title}',
|
||||
'notif.new_season': 'موسم جديد من {title}',
|
||||
'reviews.title': 'التقييمات',
|
||||
'reviews.friends': 'أصدقاؤك',
|
||||
'reviews.others': 'أعضاء آخرون',
|
||||
'reviews.noneFriends': 'لا تقييمات من أصدقائك',
|
||||
'reviews.noneOthers': 'لا توجد تقييمات أخرى',
|
||||
'reviews.none': 'لا توجد تقييمات بعد',
|
||||
'reviews.seeAll': 'عرض كل التقييمات',
|
||||
'reviews.react': 'تفاعل',
|
||||
'notif.title': 'الإشعارات',
|
||||
'notif.empty': 'لا إشعارات',
|
||||
'notif.someone': 'شخص ما',
|
||||
'notif.follow_request': 'يريد متابعتك',
|
||||
'notif.follow_accepted': 'قبل طلبك',
|
||||
'notif.new_follower': 'بدأ بمتابعتك',
|
||||
'notif.reaction': 'تفاعل مع تقييمك',
|
||||
'notif.on': 'على {title}',
|
||||
'home.notifications': 'الإشعارات',
|
||||
'home.notificationsN': '{count} إشعارات',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'تثبيت AzuuCine',
|
||||
'install.ios': 'افتح AzuuCine في Safari.\nاضغط زر المشاركة (المربع مع سهم للأعلى).\nاختر «إضافة إلى الشاشة الرئيسية» ثم «إضافة».',
|
||||
'install.android': 'افتح AzuuCine في Chrome.\nاضغط قائمة ⋮ في أعلى اليمين.\nاختر «إضافة إلى الشاشة الرئيسية» (أو «تثبيت التطبيق»).',
|
||||
'install.desktop': 'في شريط العنوان، انقر أيقونة التثبيت على اليمين (شاشة بها سهم).\nأو: قائمة ⋮ في المتصفح → «تثبيت AzuuCine».\nأكِّد بـ «تثبيت».',
|
||||
'install.other': 'افتح قائمة متصفحك.\nابحث عن «تثبيت التطبيق» أو «إضافة إلى الشاشة الرئيسية».',
|
||||
'install.gotIt': 'حسنًا',
|
||||
'settings.themeX': 'سمة {name}',
|
||||
'settings.pickColor': 'اختيار لون مخصص',
|
||||
'settings.freeColor': 'لون مخصص',
|
||||
'settings.freeColorHint': 'أي لون يناسب: يتكيّف النص ليبقى مقروءًا.',
|
||||
'settings.databases': 'قواعد بيانات الأفلام',
|
||||
'settings.anilistActive': 'الأنمي · مفعّل',
|
||||
'settings.noConfig': 'لا حاجة لأي إعداد.',
|
||||
'settings.tmdbActive': 'الأفلام والمسلسلات · مفعّل',
|
||||
'settings.checking': 'جارٍ التحقق…',
|
||||
'settings.offline': 'غير متصل',
|
||||
'settings.proxyMissingKey': 'مفتاح TMDB مفقود',
|
||||
'settings.proxyNotDeployed': 'الخادم غير مُثبّت',
|
||||
'settings.unavailable': 'غير متاح',
|
||||
'settings.proxyMissingKeyHint': 'وظيفة الخادم جاهزة لكن مفتاح TMDB غير محفوظ (السر TMDB_API_KEY في Supabase)، أو أن TMDB يرفضه.',
|
||||
'settings.proxyNotDeployedHint': 'وظيفة «tmdb» غير منشورة على Supabase بعد (راجع README ← الحسابات، الخطوة 5).',
|
||||
'settings.proxyErrorHint': 'الخادم لا يستجيب بشكل صحيح حاليًا.',
|
||||
'settings.proxyOkHint': 'يوفّره خادم التطبيق: لا حاجة لإدخال مفتاح.',
|
||||
'settings.recheck': 'إعادة التحقق',
|
||||
'settings.keyRefused': 'المفتاح مرفوض',
|
||||
'settings.notConfigured': 'غير مُعدّ',
|
||||
'settings.tmdbHelp': 'أفلام، مسلسلات، دراما كورية، دراما صينية. أنشئ حسابًا مجانيًا على themoviedb.org، ثم الإعدادات ← API، والصق «مفتاح API» أو «رمز الوصول للقراءة».',
|
||||
'settings.tmdbKey': 'مفتاح TMDB',
|
||||
'settings.hideKey': 'إخفاء المفتاح',
|
||||
'settings.showKey': 'إظهار المفتاح',
|
||||
'settings.validate': 'حفظ',
|
||||
'settings.remove': 'إزالة',
|
||||
'settings.keyLocal': 'يبقى المفتاح على هذا الجهاز ولا يُضمَّن أبدًا في النسخ الاحتياطية.',
|
||||
'settings.topHint': 'الفئات المعروضة في الصفحة الرئيسية.',
|
||||
'settings.topNone': 'لا توجد فئات: قسم أفضل 5 مخفي.',
|
||||
'settings.backup': 'النسخ الاحتياطي',
|
||||
'settings.export': 'تصدير بياناتي',
|
||||
'settings.exportHint_one': 'سجل واحد · ملف JSON، يُستحسن القيام بذلك بانتظام',
|
||||
'settings.exportHint_other': '{count} سجل · ملف JSON، يُستحسن القيام بذلك بانتظام',
|
||||
'settings.exportHint_two': 'سجلان · ملف JSON، يُستحسن القيام بذلك بانتظام',
|
||||
'settings.exportHint_few': '{count} سجلات · ملف JSON، يُستحسن القيام بذلك بانتظام',
|
||||
'settings.exportHint_many': '{count} سجلًا · ملف JSON، يُستحسن القيام بذلك بانتظام',
|
||||
'settings.import': 'استيراد نسخة احتياطية',
|
||||
'settings.importHint': 'الاستعادة من ملف JSON',
|
||||
'settings.legacyDetected': 'تم التعرّف على نسخة احتياطية من التطبيق القديم',
|
||||
'settings.found_one': 'تم العثور على سجل واحد. كيف تريد استيراده؟',
|
||||
'settings.found_other': 'تم العثور على {count} سجل. كيف تريد استيرادها؟',
|
||||
'settings.found_two': 'تم العثور على سجلين. كيف تريد استيرادهما؟',
|
||||
'settings.found_few': 'تم العثور على {count} سجلات. كيف تريد استيرادها؟',
|
||||
'settings.found_many': 'تم العثور على {count} سجلًا. كيف تريد استيرادها؟',
|
||||
'settings.foundSkipped': 'تم العثور على {n} سجل (وتجاهل {skipped} غير صالح). كيف تريد استيرادها؟',
|
||||
'settings.merge': 'دمج',
|
||||
'settings.replaceAll': 'استبدال الكل',
|
||||
'settings.mergeHint': '«دمج» يضيف السجلات ويحدّث الموجود منها مسبقًا (نفس المعرّف).',
|
||||
'settings.storage': 'التخزين',
|
||||
'settings.used': 'المساحة المستخدمة',
|
||||
'settings.storageCloud': 'بياناتك محفوظة في حسابك وعلى هذا الجهاز أيضًا ليعمل التطبيق دون إنترنت. تتم مزامنتها تلقائيًا فور توفر الاتصال.',
|
||||
'settings.storageLocal': 'بياناتك مخزّنة في هذا المتصفح فقط، على هذا الجهاز. إذا مسحت بيانات المتصفح أو ألغيت تثبيت التطبيق فستختفي: صدّر نسخة احتياطية بانتظام.',
|
||||
'settings.danger': 'منطقة الخطر',
|
||||
'settings.clearAll': 'مسح المكتبة بالكامل',
|
||||
'settings.clearAllHint_one': 'عنوان واحد',
|
||||
'settings.clearAllHint_other': '{count} عنوان',
|
||||
'settings.clearAllHint_two': 'عنوانان',
|
||||
'settings.clearAllHint_few': '{count} عناوين',
|
||||
'settings.clearAllHint_many': '{count} عنوانًا',
|
||||
'settings.clearAllHintCloud_one': 'عنوان واحد · على جميع أجهزتك',
|
||||
'settings.clearAllHintCloud_other': '{count} عنوان · على جميع أجهزتك',
|
||||
'settings.clearAllHintCloud_two': 'عنوانان · على جميع أجهزتك',
|
||||
'settings.clearAllHintCloud_few': '{count} عناوين · على جميع أجهزتك',
|
||||
'settings.clearAllHintCloud_many': '{count} عنوانًا · على جميع أجهزتك',
|
||||
'settings.deleting': 'جارٍ الحذف…',
|
||||
'settings.deleteAccount': 'حذف حسابي',
|
||||
'settings.deleteAccountHint': 'حذف الحساب والبيانات نهائيًا',
|
||||
'settings.footerCloud': 'حساب متزامن',
|
||||
'settings.footerLocal': 'محلي 100%',
|
||||
'settings.clearConfirm_one': 'سيتم حذف عنوان واحد نهائيًا. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirm_other': 'سيتم حذف {count} عنوان نهائيًا. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirm_two': 'سيتم حذف عنوانين نهائيًا. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirm_few': 'سيتم حذف {count} عناوين نهائيًا. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirm_many': 'سيتم حذف {count} عنوانًا نهائيًا. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirmCloud_one': 'سيتم حذف عنوان واحد نهائيًا على جميع أجهزتك. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirmCloud_other': 'سيتم حذف {count} عنوان نهائيًا على جميع أجهزتك. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirmCloud_two': 'سيتم حذف عنوانين نهائيًا على جميع أجهزتك. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirmCloud_few': 'سيتم حذف {count} عناوين نهائيًا على جميع أجهزتك. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearConfirmCloud_many': 'سيتم حذف {count} عنوانًا نهائيًا على جميع أجهزتك. يُستحسن تصدير نسخة احتياطية أولًا.',
|
||||
'settings.clearAllConfirm': 'مسح الكل',
|
||||
'settings.deleteAccountTitle': 'حذف حسابك؟',
|
||||
'settings.deleteAccountMessage': 'سيتم حذف حسابك وجميع بياناتك (العناوين، القوائم، الإعدادات) نهائيًا من الخادم ومن هذا الجهاز. يُستحسن تصدير نسخة احتياطية أولًا. لا يمكن التراجع عن هذا الإجراء.',
|
||||
'settings.deleteForever': 'حذف نهائي',
|
||||
'settings.replaceConfirm': 'سيتم استبدال مكتبتك الحالية بالكامل بمحتوى هذا الملف.',
|
||||
'settings.replace': 'استبدال',
|
||||
|
||||
'sync.err.push': 'رُفض الإرسال ({status})',
|
||||
'sync.err.pull': 'رُفضت القراءة ({status})',
|
||||
|
||||
'store.dbError': 'تعذّر فتح قاعدة البيانات المحلية: {error}',
|
||||
'store.invalidItem': 'سجل غير صالح',
|
||||
|
||||
'lists.newList': 'قائمة جديدة',
|
||||
'lists.newListPh': 'قائمة جديدة…',
|
||||
'lists.myLists': 'قوائمي',
|
||||
'lists.rename': 'إعادة تسمية',
|
||||
'lists.delete': 'حذف القائمة',
|
||||
'lists.done': 'تم',
|
||||
'lists.addRemove': 'إضافة / إزالة عناوين',
|
||||
'lists.searchLibrary': 'ابحث في مكتبتي…',
|
||||
'lists.emptyTitle': 'قائمة فارغة',
|
||||
'lists.emptyText': 'أضف عناوين بالزر أعلاه، أو من صفحة أي عنوان.',
|
||||
'lists.deleteConfirm': 'سيتم حذف القائمة «{name}». تبقى العناوين في مكتبتك.',
|
||||
'lists.noneTitle': 'لا توجد قوائم بعد',
|
||||
'lists.noneText': 'أنشئ قوائم على طريقتك: «للمشاهدة مع الأصدقاء»، «أفلام رعب أكتوبر»، «دراما مريحة»…',
|
||||
'lists.create': 'إنشاء',
|
||||
|
||||
'account.err.deleteRate': 'محاولات كثيرة جدًا، أعد المحاولة بعد دقيقة.',
|
||||
'account.err.delete': 'فشل الحذف. أعد المحاولة لاحقًا.',
|
||||
'account.title': 'حسابي',
|
||||
'account.syncing': 'جارٍ المزامنة…',
|
||||
'account.offline': 'غير متصل — كل شيء محفوظ على هذا الجهاز',
|
||||
'account.syncError': 'تتعذّر المزامنة حاليًا',
|
||||
'account.synced': 'تمت المزامنة {when}',
|
||||
'account.passwordChanged': 'تم تغيير كلمة المرور.',
|
||||
'account.imported_one': 'تمت إضافة عنوان واحد إلى حسابك.',
|
||||
'account.imported_other': 'تمت إضافة {count} عنوان إلى حسابك.',
|
||||
'account.imported_two': 'تمت إضافة عنوانين إلى حسابك.',
|
||||
'account.imported_few': 'تمت إضافة {count} عناوين إلى حسابك.',
|
||||
'account.imported_many': 'تمت إضافة {count} عنوانًا إلى حسابك.',
|
||||
'account.importFailed': 'فشل الاستيراد.',
|
||||
'account.pending_one': '{count} قيد الانتظار',
|
||||
'account.pending_other': '{count} قيد الانتظار',
|
||||
'account.pending_two': '{count} قيد الانتظار',
|
||||
'account.pending_few': '{count} قيد الانتظار',
|
||||
'account.pending_many': '{count} قيد الانتظار',
|
||||
'account.syncNow': 'مزامنة الآن',
|
||||
'account.newPasswordPh': 'كلمة مرور جديدة ({n} أحرف على الأقل)',
|
||||
'account.changePassword': 'تغيير كلمة المرور',
|
||||
'account.logout': 'تسجيل الخروج',
|
||||
'account.logoutHint': 'تبقى بياناتك في حسابك وتُزال من هذا الجهاز.',
|
||||
'account.ignore': 'تجاهل',
|
||||
'account.deviceHint': 'سيتم نقلها إلى حسابك ومزامنتها على جميع أجهزتك.',
|
||||
'account.unsentTitle': 'تعديلات لم تُرسَل',
|
||||
'account.logoutAnyway': 'تسجيل الخروج على أي حال',
|
||||
'account.unsentMessage_one': 'لم يُرسَل تعديل واحد بعد (لا يوجد اتصال؟). إذا سجّلت الخروج الآن فسيضيع.',
|
||||
'account.unsentMessage_other': 'لم يُرسَل {count} تعديل بعد (لا يوجد اتصال؟). إذا سجّلت الخروج الآن فستضيع.',
|
||||
'account.unsentMessage_two': 'لم يُرسَل تعديلان بعد (لا يوجد اتصال؟). إذا سجّلت الخروج الآن فسيضيعان.',
|
||||
'account.unsentMessage_few': 'لم تُرسَل {count} تعديلات بعد (لا يوجد اتصال؟). إذا سجّلت الخروج الآن فستضيع.',
|
||||
'account.unsentMessage_many': 'لم يُرسَل {count} تعديلًا بعد (لا يوجد اتصال؟). إذا سجّلت الخروج الآن فستضيع.',
|
||||
'account.nTitles_one': 'عنوان واحد',
|
||||
'account.nTitles_other': '{count} عنوان',
|
||||
'account.nTitles_two': 'عنوانان',
|
||||
'account.nTitles_few': '{count} عناوين',
|
||||
'account.nTitles_many': '{count} عنوانًا',
|
||||
'account.nLists_one': 'قائمة واحدة',
|
||||
'account.nLists_other': '{count} قائمة',
|
||||
'account.nLists_two': 'قائمتان',
|
||||
'account.nLists_few': '{count} قوائم',
|
||||
'account.nLists_many': '{count} قائمة',
|
||||
'account.deviceData': 'يحتوي هذا الجهاز على {titles} أُنشئت قبل حسابك. هل تريد إضافتها إلى حسابك؟',
|
||||
'account.deviceDataWithLists': 'يحتوي هذا الجهاز على {titles} و{lists} أُنشئت قبل حسابك. هل تريد إضافتها إلى حسابك؟',
|
||||
|
||||
'time.never': 'أبدًا',
|
||||
'time.justNow': 'الآن',
|
||||
'time.minutesAgo': 'منذ {n} د',
|
||||
'time.hoursAgo': 'منذ {n} س',
|
||||
'time.onDate': 'في {date}',
|
||||
'time.today': 'اليوم',
|
||||
'time.tomorrow': 'غدًا',
|
||||
'time.daysAgo': 'منذ {n} ي',
|
||||
|
||||
'theme.red': 'أحمر',
|
||||
'theme.orange': 'برتقالي',
|
||||
'theme.yellow': 'أصفر',
|
||||
'theme.lime': 'ليموني',
|
||||
'theme.green': 'أخضر',
|
||||
'theme.mint': 'نعناعي',
|
||||
'theme.cyan': 'سماوي',
|
||||
'theme.blue': 'أزرق',
|
||||
'theme.indigo': 'نيلي',
|
||||
'theme.violet': 'بنفسجي',
|
||||
'theme.pink': 'وردي',
|
||||
'theme.white': 'أبيض',
|
||||
|
||||
'home.seeAll': 'عرض الكل',
|
||||
'home.subtitle': 'يوميات مشاهدتي',
|
||||
'home.calendarSoon_one': 'تقويم الإصدارات: {count} هذا الأسبوع',
|
||||
'home.calendarSoon_other': 'تقويم الإصدارات: {count} هذا الأسبوع',
|
||||
'home.calendarSoon_two': 'تقويم الإصدارات: {count} هذا الأسبوع',
|
||||
'home.calendarSoon_few': 'تقويم الإصدارات: {count} هذا الأسبوع',
|
||||
'home.calendarSoon_many': 'تقويم الإصدارات: {count} هذا الأسبوع',
|
||||
'home.emptyTitle': 'مكتبتك فارغة',
|
||||
'home.emptyCloud': 'أضف أول فيلم أو أنمي أو دراما. سيُحفظ في حسابك.',
|
||||
'home.emptyLocal': 'أضف أول فيلم أو أنمي أو دراما. يبقى كل شيء مخزّنًا على هذا الهاتف فقط.',
|
||||
'home.completed': 'المكتملة',
|
||||
'home.thisYear_one': '{count} هذا العام',
|
||||
'home.thisYear_other': '{count} هذا العام',
|
||||
'home.thisYear_two': '{count} هذا العام',
|
||||
'home.thisYear_few': '{count} هذا العام',
|
||||
'home.thisYear_many': '{count} هذا العام',
|
||||
'home.toWatchN_one': '{count} للمشاهدة',
|
||||
'home.toWatchN_other': '{count} للمشاهدة',
|
||||
'home.toWatchN_two': '{count} للمشاهدة',
|
||||
'home.toWatchN_few': '{count} للمشاهدة',
|
||||
'home.toWatchN_many': '{count} للمشاهدة',
|
||||
'home.screenTime': 'وقت المشاهدة',
|
||||
'home.estimate': 'تقديري',
|
||||
'home.episodesSeen': 'الحلقات المُشاهدة',
|
||||
'home.noIdea': 'محتار؟',
|
||||
'home.rouletteHint_one': 'اختيار عشوائي من عنوانك الوحيد للمشاهدة',
|
||||
'home.rouletteHint_other': 'اختيار عشوائي من {count} عنوان للمشاهدة',
|
||||
'home.rouletteHint_two': 'اختيار عشوائي من عنوانيك للمشاهدة',
|
||||
'home.rouletteHint_few': 'اختيار عشوائي من {count} عناوين للمشاهدة',
|
||||
'home.rouletteHint_many': 'اختيار عشوائي من {count} عنوانًا للمشاهدة',
|
||||
'home.rouletteHintAll': 'اختيار عشوائي من مكتبتك',
|
||||
'home.recentlyFinished': 'اكتملت مؤخرًا',
|
||||
|
||||
'calendar.title': 'تقويم الإصدارات',
|
||||
'calendar.inMyList': 'في قائمتي',
|
||||
'calendar.inMyListLegend': 'في قائمتي',
|
||||
'calendar.seeMore_one': 'عرض الآخر',
|
||||
'calendar.seeMore_other': 'عرض {count} أخرى',
|
||||
'calendar.seeMore_two': 'عرض الاثنين الآخرين',
|
||||
'calendar.seeMore_few': 'عرض {count} أخرى',
|
||||
'calendar.seeMore_many': 'عرض {count} أخرى',
|
||||
'calendar.heading': 'تقويم ',
|
||||
'calendar.headingAccent': 'الإصدارات',
|
||||
'calendar.refresh': 'تحديث',
|
||||
'calendar.all': 'كل الإصدارات',
|
||||
'calendar.mine': 'عناويني',
|
||||
'calendar.prevMonth': 'الشهر السابق',
|
||||
'calendar.nextMonth': 'الشهر التالي',
|
||||
'calendar.releases_one': 'إصدار واحد',
|
||||
'calendar.releases_other': '{count} إصدار',
|
||||
'calendar.releases_two': 'إصداران',
|
||||
'calendar.releases_few': '{count} إصدارات',
|
||||
'calendar.releases_many': '{count} إصدارًا',
|
||||
'calendar.others': 'إصدارات أخرى',
|
||||
'calendar.needKey': 'بدون مفتاح TMDB يُعرض الأنمي فقط. أضف مفتاحك في الإعدادات لرؤية الأفلام والمسلسلات والدراما أيضًا.',
|
||||
'calendar.range': 'الإصدارات متاحة من الشهر الماضي حتى 6 أشهر مقدمًا.',
|
||||
'calendar.failed': 'تعذّر تحميل بعض الإصدارات. أعد المحاولة عبر ↻.',
|
||||
'calendar.nothingThatDay': 'لا شيء مقرّر في هذا اليوم.',
|
||||
'calendar.next14': 'الأيام الـ14 القادمة',
|
||||
'calendar.loading': 'جارٍ البحث عن الإصدارات…',
|
||||
'calendar.noneMine14': 'لا إصدارات معلنة لعناوينك خلال الأيام الـ14 القادمة.',
|
||||
'calendar.noneMineMonth': 'لا إصدارات معلنة لعناوينك هذا الشهر.',
|
||||
'calendar.none14': 'لا إصدارات خلال الأيام الـ14 القادمة.',
|
||||
'calendar.noneMonth': 'لم يُعثر على إصدارات لهذا الشهر.',
|
||||
'calendar.footer': 'أفلام في دور السينما في بلدك، وحلقات المسلسلات والدراما الأكثر متابعة (TMDB) وجميع الأنمي المعروض في اليابان (AniList). تظهر عناوين مكتبتك ملوّنة؛ اضغط «للمشاهدة» لإضافة إصدار إلى قائمتك.',
|
||||
|
||||
'roulette.name': 'عجلة الحظ',
|
||||
'roulette.rewatch': 'لإعادة المشاهدة',
|
||||
'roulette.anyTime': 'أي مدة',
|
||||
'roulette.heading': 'عجلة ',
|
||||
'roulette.headingAccent': 'الحظ',
|
||||
'roulette.tonight': 'الليلة سنشاهد…',
|
||||
'roulette.nEps': '{n} حلقة',
|
||||
'roulette.perEp': '{duration} / حلقة',
|
||||
'roulette.stoppedAt': 'توقفت عند الحلقة {ep}.',
|
||||
'roulette.stoppedAtOf': 'توقفت عند الحلقة {ep} من {total}.',
|
||||
'roulette.enjoy': 'مشاهدة ممتعة!',
|
||||
'roulette.again': 'أدِرها مجددًا',
|
||||
'roulette.spinning': 'تدور…',
|
||||
'roulette.spin': 'أدِر العجلة',
|
||||
'roulette.poolSize_one': 'السحب من عنوان واحد',
|
||||
'roulette.poolSize_other': 'السحب من {count} عنوان',
|
||||
'roulette.poolSize_two': 'السحب من عنوانين',
|
||||
'roulette.poolSize_few': 'السحب من {count} عناوين',
|
||||
'roulette.poolSize_many': 'السحب من {count} عنوانًا',
|
||||
'roulette.empty': 'لا يوجد عنوان مطابق: وسّع عوامل التصفية أدناه.',
|
||||
'roulette.inside': 'داخل العجلة',
|
||||
'roulette.pickFrom': 'الاختيار من',
|
||||
'roulette.rewatchHint': '«لإعادة المشاهدة» = عناوينك المكتملة المقيّمة 4/5 فأكثر، والمفضلة، وأفضل 5.',
|
||||
'roulette.time': 'الوقت المتاح (فيلم أو حلقة واحدة)',
|
||||
'roulette.seeItem': 'عرض التفاصيل كاملة',
|
||||
'roulette.watchIt': 'سأشاهده',
|
||||
|
||||
|
||||
'top.pick': 'اختر رقم {rank}',
|
||||
'top.shareTitle': 'أفضل 5 {category} عندي',
|
||||
'top.shareLabel': 'مشاركة أفضل 5 كصورة',
|
||||
'top.title': 'الأفضل عندي',
|
||||
'top.number': 'رقم {rank}',
|
||||
'top.pickFirst': 'اختر رقم 1.',
|
||||
'top.editLabel': 'تعديل أفضل 5',
|
||||
'top.freeSlot': 'مكان شاغر — اختر عنوانًا أدناه',
|
||||
'top.addFromLibrary': 'إضافة من مكتبتي',
|
||||
'top.allTypes': 'كل الأصناف',
|
||||
'top.searchTitle': 'ابحث عن عنوان…',
|
||||
'top.full': 'قائمة أفضل 5 مكتملة: أزل عنوانًا لإضافة آخر.',
|
||||
'top.noCandidates': 'لا عناوين. جرّب «كل الأصناف» أو بحثًا آخر.',
|
||||
|
||||
'reco.error': 'تعذّر تحميل الاقتراحات حاليًا.',
|
||||
'reco.title': 'اقتراحات',
|
||||
'reco.needKey': 'أضف مفتاح TMDB في الإعدادات لتلقي اقتراحات مبنية على عناوينك المفضلة.',
|
||||
'reco.other': 'عنوان آخر',
|
||||
'reco.ifYouLiked': 'إذا أعجبك',
|
||||
'reco.loading': 'جارٍ البحث عن اقتراحات…',
|
||||
'reco.none': 'لديك بالفعل كل ما يشبه هذا العنوان. جرّب «عنوان آخر».',
|
||||
'reco.added': 'تمت إضافة {title}',
|
||||
'reco.addLabel': 'إضافة {title} إلى قائمة المشاهدة',
|
||||
'reco.addedShort': 'تمت الإضافة',
|
||||
|
||||
'search.offline': 'لا يوجد اتصال بالإنترنت: البحث يتطلب الشبكة.',
|
||||
'search.fillFrom': 'التعبئة من قاعدة بيانات',
|
||||
'search.openSettings': 'فتح الإعدادات',
|
||||
'search.already': 'مُضاف مسبقًا',
|
||||
'search.noResults': 'لا نتائج. يمكنك تعبئة البيانات يدويًا أدناه.',
|
||||
'search.privacy': 'يُرسَل العنوان الذي تبحث عنه فقط إلى {source}. تبقى مكتبتك على هاتفك.',
|
||||
|
||||
'catalog.sortRecent': 'المعدّلة مؤخرًا',
|
||||
'catalog.sortWatched': 'تاريخ المشاهدة',
|
||||
'catalog.sortRating': 'الأعلى تقييمًا',
|
||||
'catalog.sortTitle': 'العنوان (أ-ي)',
|
||||
'catalog.pageTitle': 'كتالوج ',
|
||||
'catalog.pageAccent': 'أعمالي',
|
||||
'catalog.journalSubtitle': 'سجل مشاهداتك',
|
||||
'catalog.filteredCount_one': 'عنوان واحد (بعد التصفية)',
|
||||
'catalog.filteredCount_other': '{count} عنوان (بعد التصفية)',
|
||||
'catalog.filteredCount_two': 'عنوانان (بعد التصفية)',
|
||||
'catalog.filteredCount_few': '{count} عناوين (بعد التصفية)',
|
||||
'catalog.filteredCount_many': '{count} عنوانًا (بعد التصفية)',
|
||||
'catalog.titles': 'العناوين',
|
||||
'catalog.journal': 'اليوميات',
|
||||
'catalog.lists': 'القوائم',
|
||||
'catalog.searchPh': 'عنوان، نوع، منصة…',
|
||||
'catalog.moreFilters': 'مزيد من عوامل التصفية',
|
||||
'catalog.all': 'الكل',
|
||||
'catalog.genre': 'النوع',
|
||||
'catalog.minRating': 'الحد الأدنى للتقييم',
|
||||
'catalog.allRatings': 'الكل',
|
||||
'catalog.sortBy': 'ترتيب حسب',
|
||||
'catalog.favorites': 'المفضلة',
|
||||
'catalog.reset': 'إعادة تعيين',
|
||||
'catalog.noResults': 'لا نتائج',
|
||||
'catalog.nothingYet': 'لا شيء بعد',
|
||||
'catalog.noResultsHint': 'جرّب بحثًا آخر أو أزل بعض عوامل التصفية.',
|
||||
'catalog.nothingYetHint': 'أضف أول عنوان بالزر +.',
|
||||
'catalog.clearFilters': 'مسح عوامل التصفية',
|
||||
|
||||
'public.agree': 'متوافق تمامًا مع رأي الجمهور',
|
||||
'public.more': '+{gap} أعلى من الجمهور',
|
||||
'public.less': '−{gap} أقل من الجمهور',
|
||||
'public.label': 'الجمهور',
|
||||
'public.me': 'أنا',
|
||||
'public.added_one': 'تمت إضافة تقييم واحد للجمهور.',
|
||||
'public.added_other': 'تمت إضافة {count} تقييم للجمهور.',
|
||||
'public.added_two': 'تمت إضافة تقييمين للجمهور.',
|
||||
'public.added_few': 'تمت إضافة {count} تقييمات للجمهور.',
|
||||
'public.added_many': 'تمت إضافة {count} تقييمًا للجمهور.',
|
||||
'public.noneFound': 'لم يُعثر على تقييمات جديدة.',
|
||||
'public.fetch': 'جلب ({n})',
|
||||
'public.title': 'أنا مقابل الجمهور',
|
||||
'public.hintFetch': 'اجلب متوسط تقييم TMDB / AniList لعناوينك المقيّمة لترى أين تختلف عن الجمهور.',
|
||||
'public.hintNone': 'لا تقييمات للجمهور متاحة لعناوينك المقيّمة في هذه الفترة.',
|
||||
'public.hintKey': 'أضف مفتاح TMDB في الإعدادات (أو اربط الأنمي بـ AniList) لتقارن نفسك بالجمهور.',
|
||||
'public.avgGap': 'متوسط الفارق',
|
||||
'public.average': 'ضمن المتوسط',
|
||||
'public.generous': 'أكثر سخاءً من الجمهور',
|
||||
'public.harsh': 'أكثر صرامة من الجمهور',
|
||||
'public.agreeTitle': 'متوافق',
|
||||
'public.within5_one': 'بفارق ½ نجمة، على عنوان واحد',
|
||||
'public.within5_other': 'بفارق ½ نجمة، على {count} عنوان',
|
||||
'public.within5_two': 'بفارق ½ نجمة، على عنوانين',
|
||||
'public.within5_few': 'بفارق ½ نجمة، على {count} عناوين',
|
||||
'public.within5_many': 'بفارق ½ نجمة، على {count} عنوانًا',
|
||||
'public.within10_one': 'بفارق نقطة واحدة، على عنوان واحد',
|
||||
'public.within10_other': 'بفارق نقطة واحدة، على {count} عنوان',
|
||||
'public.within10_two': 'بفارق نقطة واحدة، على عنوانين',
|
||||
'public.within10_few': 'بفارق نقطة واحدة، على {count} عناوين',
|
||||
'public.within10_many': 'بفارق نقطة واحدة، على {count} عنوانًا',
|
||||
'public.lovedPre': 'أحببتها ',
|
||||
'public.lovedAccent': 'أكثر',
|
||||
'public.lovedPost': ' من الجمهور',
|
||||
'public.hatedPre': 'أحببتها ',
|
||||
'public.hatedAccent': 'أقل',
|
||||
'public.hatedPost': ' من الجمهور',
|
||||
'public.allAgree': 'أنت متفق مع الجمهور على كل عناوينك. نادر!',
|
||||
|
||||
'form.rewatchHint': 'شاهدته مجددًا؟ سجّل كل إعادة مشاهدة وستظهر في يومياتك.',
|
||||
'form.editTitle': 'تعديل ',
|
||||
'form.editAccent': 'السجل',
|
||||
'form.newTitle': 'عنوان ',
|
||||
'form.newAccent': 'جديد',
|
||||
'form.filledFrom': 'تمت التعبئة من',
|
||||
'form.canEdit': 'يمكنك تعديل كل شيء',
|
||||
'form.fillFromDb': 'الإكمال من TMDB / AniList',
|
||||
'form.pickPoster': 'اختيار ملصق',
|
||||
'form.removeImage': 'إزالة الصورة',
|
||||
'form.title': 'العنوان *',
|
||||
'form.titlePh': 'مثال: Your Name',
|
||||
'form.originalTitle': 'العنوان الأصلي',
|
||||
'form.originalTitlePh': 'مثال: 君の名は。',
|
||||
'form.synopsis': 'الملخص',
|
||||
'form.type': 'الصنف',
|
||||
'form.subtype': 'التصنيف الفرعي',
|
||||
'form.subtypePh': 'وثائقي، تلفزيون الواقع…',
|
||||
'form.status': 'الحالة',
|
||||
'form.myRating': 'تقييمي',
|
||||
'form.favorite': 'مفضّل',
|
||||
'form.criteria': 'معايير تفصيلية (اختياري)',
|
||||
'form.episodes': 'الحلقات',
|
||||
'form.minusEp': '-1 حلقة',
|
||||
'form.plusEp': '+1 حلقة',
|
||||
'form.total': 'المجموع',
|
||||
'form.season': 'الموسم',
|
||||
'form.duration': 'المدة',
|
||||
'form.durationMin': 'المدة (بالدقائق)',
|
||||
'form.year': 'السنة',
|
||||
'form.platform': 'المنصة',
|
||||
'form.genres': 'الأنواع / الوسوم',
|
||||
'form.genresPh': 'رومانسي، خيال علمي…',
|
||||
'form.rewatches': 'مرات إعادة المشاهدة',
|
||||
'form.review': 'رأيي',
|
||||
'form.reviewPh': 'ما رأيي فيه، مشاهد لا تُنسى…',
|
||||
'form.saveChanges': 'حفظ التعديلات',
|
||||
'form.addToLibrary': 'إضافة إلى مكتبتي',
|
||||
'form.shareImage': 'مشاركة كصورة',
|
||||
'form.delete': 'حذف هذا العنوان',
|
||||
'form.deleteConfirm': 'سيتم حذف «{title}» نهائيًا.',
|
||||
'form.removeRewatch': 'إزالة إعادة المشاهدة هذه',
|
||||
'form.rewatchDate': 'تاريخ إعادة المشاهدة',
|
||||
|
||||
'journal.rewatched': 'إعادة مشاهدة',
|
||||
'journal.started': 'بدء',
|
||||
'journal.emptyTitle': 'يوميات فارغة',
|
||||
'journal.emptyText': 'ستظهر مشاهداتك هنا بمجرد إضافة تواريخ بدء أو انتهاء إلى سجلاتك.',
|
||||
'journal.seen_one': '{count} مُشاهَد',
|
||||
'journal.seen_other': '{count} مُشاهَد',
|
||||
'journal.seen_two': '{count} مُشاهَد',
|
||||
'journal.seen_few': '{count} مُشاهَد',
|
||||
'journal.seen_many': '{count} مُشاهَد',
|
||||
'journal.more': 'عرض الأشهر السابقة',
|
||||
|
||||
'stats.overview': 'نظرة عامة',
|
||||
'stats.habits': 'العادات',
|
||||
'stats.tastes': 'الأذواق',
|
||||
'stats.pageTitle': 'إحصائيات ',
|
||||
'stats.pageAccent': 'المشاهدة',
|
||||
'stats.emptyTitle': 'لا إحصائيات بعد',
|
||||
'stats.emptyText': 'ستظهر بمجرد إضافة عناوين.',
|
||||
'stats.sinceStart': 'منذ البداية',
|
||||
'stats.subtitle_one': 'عنوان واحد في مكتبتي',
|
||||
'stats.subtitle_other': '{count} عنوان في مكتبتي',
|
||||
'stats.subtitle_two': 'عنوانان في مكتبتي',
|
||||
'stats.subtitle_few': '{count} عناوين في مكتبتي',
|
||||
'stats.subtitle_many': '{count} عنوانًا في مكتبتي',
|
||||
'stats.subtitleYear_one': 'عنوان واحد في {year}',
|
||||
'stats.subtitleYear_other': '{count} عنوان في {year}',
|
||||
'stats.subtitleYear_two': 'عنوانان في {year}',
|
||||
'stats.subtitleYear_few': '{count} عناوين في {year}',
|
||||
'stats.subtitleYear_many': '{count} عنوانًا في {year}',
|
||||
'stats.hours_one': 'ساعة',
|
||||
'stats.hours_other': 'ساعة',
|
||||
'stats.hours_two': 'ساعتان',
|
||||
'stats.hours_few': 'ساعات',
|
||||
'stats.hours_many': 'ساعة',
|
||||
'stats.nonStopPre': 'أي ',
|
||||
'stats.nonStopPost': ' دون توقف',
|
||||
'stats.days_one': 'يوم واحد',
|
||||
'stats.days_other': '{count} يوم',
|
||||
'stats.days_two': 'يومان',
|
||||
'stats.days_few': '{count} أيام',
|
||||
'stats.days_many': '{count} يومًا',
|
||||
'stats.finishedN_one': '{count} مكتمل',
|
||||
'stats.finishedN_other': '{count} مكتمل',
|
||||
'stats.finishedN_two': '{count} مكتمل',
|
||||
'stats.finishedN_few': '{count} مكتملة',
|
||||
'stats.finishedN_many': '{count} مكتملًا',
|
||||
'stats.episodesN_one': 'حلقة واحدة',
|
||||
'stats.episodesN_other': '{count} حلقة',
|
||||
'stats.episodesN_two': 'حلقتان',
|
||||
'stats.episodesN_few': '{count} حلقات',
|
||||
'stats.episodesN_many': '{count} حلقة',
|
||||
'stats.timeByType': 'الوقت حسب الصنف',
|
||||
'stats.noTime': 'لا وقت مسجّل في هذه الفترة بعد.',
|
||||
'stats.avgRating': 'متوسط التقييم',
|
||||
'stats.rated_one': 'عنوان واحد مُقيَّم',
|
||||
'stats.rated_other': '{count} عنوان مُقيَّم',
|
||||
'stats.rated_two': 'عنوانان مُقيَّمان',
|
||||
'stats.rated_few': '{count} عناوين مُقيَّمة',
|
||||
'stats.rated_many': '{count} عنوانًا مُقيَّمًا',
|
||||
'stats.inYear': 'في {year}',
|
||||
'stats.statuses': 'الحالات',
|
||||
'stats.hoursTab': 'الساعات',
|
||||
'stats.monthByMonth': 'شهرًا بشهر · {year}',
|
||||
'stats.last12': 'آخر 12 شهرًا',
|
||||
'stats.monthFinished_one': 'عنوان واحد مكتمل',
|
||||
'stats.monthFinished_other': '{count} عنوان مكتمل',
|
||||
'stats.monthFinished_two': 'عنوانان مكتملان',
|
||||
'stats.monthFinished_few': '{count} عناوين مكتملة',
|
||||
'stats.monthFinished_many': '{count} عنوانًا مكتملًا',
|
||||
'stats.busiest': 'أكثر الأشهر نشاطًا:',
|
||||
'stats.records': 'الأرقام القياسية',
|
||||
'stats.marathon': 'أطول ماراثون',
|
||||
'stats.longestFilm': 'أطول فيلم',
|
||||
'stats.noRecords': 'لا أرقام قياسية في هذه الفترة بعد.',
|
||||
'stats.platforms': 'المنصات',
|
||||
'stats.bestRated': 'الأعلى تقييمًا عندي',
|
||||
'stats.myRatings': 'تقييماتي',
|
||||
'stats.noRatings': 'لا تقييمات في هذه الفترة.',
|
||||
'stats.favGenres': 'الأنواع المفضلة',
|
||||
'stats.noGenres': 'لا أنواع بعد.',
|
||||
'stats.countries': 'الدول',
|
||||
'stats.noCountry_one': 'عنوان واحد بلا دولة: أكمله عبر «الإكمال من TMDB / AniList» في صفحته.',
|
||||
'stats.noCountry_other': '{count} عنوان بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها.',
|
||||
'stats.noCountry_two': 'عنوانان بلا دولة: أكملهما عبر «الإكمال من TMDB / AniList» في صفحتيهما.',
|
||||
'stats.noCountry_few': '{count} عناوين بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها.',
|
||||
'stats.noCountry_many': '{count} عنوانًا بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها.',
|
||||
'stats.noCountryLegacy_one': 'عنوان واحد بلا دولة: أكمله عبر «الإكمال من TMDB / AniList» في صفحته، أو أعد استيراد النسخة الاحتياطية من تطبيقك القديم («دمج»).',
|
||||
'stats.noCountryLegacy_other': '{count} عنوان بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها، أو أعد استيراد النسخة الاحتياطية من تطبيقك القديم («دمج»).',
|
||||
'stats.noCountryLegacy_two': 'عنوانان بلا دولة: أكملهما عبر «الإكمال من TMDB / AniList» في صفحتيهما، أو أعد استيراد النسخة الاحتياطية من تطبيقك القديم («دمج»).',
|
||||
'stats.noCountryLegacy_few': '{count} عناوين بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها، أو أعد استيراد النسخة الاحتياطية من تطبيقك القديم («دمج»).',
|
||||
'stats.noCountryLegacy_many': '{count} عنوانًا بلا دولة: أكملها عبر «الإكمال من TMDB / AniList» في صفحاتها، أو أعد استيراد النسخة الاحتياطية من تطبيقك القديم («دمج»).',
|
||||
'stats.byType': 'حسب الصنف',
|
||||
'stats.footnote': 'الوقت مُقدَّر من الحلقات المُشاهدة والمدد المُدخلة (وإلا: فيلم 1 س 50 د، حلقة أنمي 24 د، مسلسل 45 د، دراما كورية 1 س، دراما صينية 45 د). يُحتسب العنوان في السنة التي أنهيته فيها.',
|
||||
'stats.ratedAs_one': 'بتقييم {rating}',
|
||||
'stats.ratedAs_other': 'بتقييم {rating}',
|
||||
'stats.ratedAs_two': 'بتقييم {rating}',
|
||||
'stats.ratedAs_few': 'بتقييم {rating}',
|
||||
'stats.ratedAs_many': 'بتقييم {rating}',
|
||||
|
||||
'backup.shareTitle': 'نسخة AzuuCine الاحتياطية',
|
||||
'backup.tooBig': 'الملف كبير جدًا (30 م.ب كحد أقصى).',
|
||||
'backup.notJson': 'هذا الملف ليس JSON صالحًا.',
|
||||
'backup.noItems': 'لم يُعثر على أي سجل في هذا الملف.',
|
||||
'backup.tooMany': 'سجلات كثيرة جدًا ({n} كحد أقصى).',
|
||||
|
||||
'image.canvas': 'Canvas غير متاح',
|
||||
'image.unreadable': 'صورة غير مقروءة',
|
||||
'image.notImage': 'هذا الملف ليس صورة.',
|
||||
'image.tooBig': 'الصورة كبيرة جدًا (25 م.ب كحد أقصى).',
|
||||
|
||||
'social.err.server': 'ردّ الخادم بالرمز {status}.',
|
||||
'social.err.usernameTaken': 'اسم المستخدم هذا مأخوذ بالفعل.',
|
||||
'social.err.usernameReserved': 'اسم المستخدم هذا غير متاح.',
|
||||
'social.err.invalid': 'إحدى القيم غير صالحة.',
|
||||
'social.inLibrary': 'في مكتبتي',
|
||||
'social.addToWatch': 'إضافة إلى «للمشاهدة»',
|
||||
'social.linkCopied': 'تم نسخ الرابط!',
|
||||
'social.profile': 'الملف الشخصي',
|
||||
'social.shareProfile': 'مشاركة الملف الشخصي',
|
||||
'social.loading': 'جارٍ التحميل…',
|
||||
'social.loadError': 'تعذّر تحميل الملف الشخصي.',
|
||||
'social.notFound': 'الملف الشخصي غير موجود',
|
||||
'social.notFoundHint': 'لا يوجد ملف شخصي باسم @{username}.',
|
||||
'social.editProfile': 'تعديل الملف الشخصي',
|
||||
'social.following': 'تتابعه',
|
||||
'social.requested': 'تم إرسال الطلب',
|
||||
'social.followBack': 'تابِعه أيضًا',
|
||||
'social.follow': 'متابعة',
|
||||
'social.private': 'حساب خاص',
|
||||
'social.followsYou': 'يتابعك',
|
||||
'social.seen': 'المُشاهَدة',
|
||||
'social.followers_one': 'متابِع',
|
||||
'social.followers_other': 'متابِع',
|
||||
'social.followers_two': 'متابِعان',
|
||||
'social.followers_few': 'متابِعين',
|
||||
'social.followers_many': 'متابِعًا',
|
||||
'social.followingCount_one': 'يتابع',
|
||||
'social.followingCount_other': 'يتابع',
|
||||
'social.followingCount_two': 'يتابع',
|
||||
'social.followingCount_few': 'يتابع',
|
||||
'social.followingCount_many': 'يتابع',
|
||||
'social.requests_one': 'طلب متابعة واحد',
|
||||
'social.requests_other': '{count} طلب متابعة',
|
||||
'social.requests_two': 'طلبا متابعة',
|
||||
'social.requests_few': '{count} طلبات متابعة',
|
||||
'social.requests_many': '{count} طلب متابعة',
|
||||
'social.privateTitle': 'هذا الحساب خاص',
|
||||
'social.privateText': 'تابِعه لترى مشاهداته وتقييماته وأفضل 5 لديه.',
|
||||
'social.tabProfile': 'الملف الشخصي',
|
||||
'social.tabLibrary': 'المكتبة',
|
||||
'social.cancelRequestTitle': 'إلغاء طلب المتابعة؟',
|
||||
'social.unfollowTitle': 'إلغاء متابعة {name}؟',
|
||||
'social.unfollowPrivate': 'هذا الحساب خاص: ستحتاج إلى إرسال طلب جديد لرؤية ملفه الشخصي مجددًا.',
|
||||
'social.cancelRequest': 'إلغاء الطلب',
|
||||
'social.unfollow': 'إلغاء المتابعة',
|
||||
'social.top5': 'أفضل 5',
|
||||
'social.recent': 'شوهدت مؤخرًا',
|
||||
'social.noRecent': 'لم يكتمل شيء بعد.',
|
||||
'social.statYear': 'شوهدت هذا العام',
|
||||
'social.statFilms': 'أفلام شوهدت',
|
||||
'social.statSeries': 'مسلسلات وأنمي شوهدت',
|
||||
'social.emptyLibrary': 'لا عناوين هنا.',
|
||||
'social.loadMore': 'عرض المزيد',
|
||||
'social.changeBanner': 'تغيير الغلاف',
|
||||
'social.changeAvatar': 'تغيير الصورة',
|
||||
'social.removeAvatar': 'إزالة الصورة',
|
||||
'social.removeBanner': 'إزالة الغلاف',
|
||||
'social.displayName': 'الاسم المعروض',
|
||||
'social.username': 'اسم المستخدم',
|
||||
'social.usernameRule': 'من 3 إلى 20 حرفًا: أحرف لاتينية صغيرة أو أرقام أو _',
|
||||
'social.bio': 'نبذة',
|
||||
'social.bioPh': 'ما تحب مشاهدته، أنواعك المفضلة…',
|
||||
'social.privateAccount': 'حساب خاص',
|
||||
'social.privateHint': 'فقط المتابعون الذين تقبلهم يرون مشاهداتك.',
|
||||
'social.publicHint': 'اسمك واسم المستخدم وصورتك وغلافك ونبذتك وتقييماتك وآراؤك مرئية للأعضاء. اجعل حسابك خاصًا لتختار من يمكنه رؤيتها.',
|
||||
'social.requestsTab_one': 'طلب',
|
||||
'social.requestsTab_other': 'الطلبات ({count})',
|
||||
'social.requestsTab_two': 'الطلبات ({count})',
|
||||
'social.requestsTab_few': 'الطلبات ({count})',
|
||||
'social.requestsTab_many': 'الطلبات ({count})',
|
||||
'social.noFollowing': 'لا تتابع أحدًا بعد.',
|
||||
'social.noFollowers': 'لا متابعين بعد.',
|
||||
'social.accept': 'قبول',
|
||||
'social.decline': 'رفض',
|
||||
'social.removeFollower': 'إزالة',
|
||||
'social.findFriends': 'البحث عن أصدقاء',
|
||||
'social.searchPh': 'اسم المستخدم أو الاسم…',
|
||||
'social.noResults': 'لا أحد مطابق.',
|
||||
'social.inviteHint': 'أصدقاؤك ليسوا على AzuuCine بعد؟ أرسل لهم رابط ملفك الشخصي.',
|
||||
'social.shareMyProfile': 'مشاركة ملفي الشخصي',
|
||||
'social.inviteText': 'تابعني على AzuuCine!',
|
||||
'social.myProfile': 'ملفي الشخصي',
|
||||
|
||||
'feed.title': 'متابعاتي',
|
||||
'feed.empty': 'تابِع أصدقاءك لترى هنا ما يشاهدونه ورأيهم فيه.',
|
||||
'feed.finished': 'شاهد',
|
||||
'feed.started': 'بدأ',
|
||||
'feed.rewatched': 'أعاد مشاهدة',
|
||||
'feed.added': 'يريد مشاهدة',
|
||||
'feed.review': 'رأي',
|
||||
'auth.google': 'المتابعة باستخدام Google',
|
||||
'auth.or': 'أو',
|
||||
'auth.err.google': 'فشل تسجيل الدخول باستخدام Google. أعد المحاولة.',
|
||||
'auth.err.storage': 'متصفحك يحظر التخزين: يتعذّر تسجيل الدخول.',
|
||||
'welcome.title': 'اختر اسم المستخدم',
|
||||
'welcome.titleA': 'مرحبًا بك في',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'اختر اسم مستخدم: من خلاله سيجدك أصدقاؤك ويتابعونك.',
|
||||
'welcome.usernamePh': 'your_username',
|
||||
'welcome.namePh': 'اسمك',
|
||||
'welcome.nameHint': 'اختياري — يظهر في ملفك الشخصي. يمكنك تغيير كل شيء لاحقًا.',
|
||||
'welcome.go': 'هيا بنا',
|
||||
'welcome.later': 'لاحقًا',
|
||||
'social.watching': 'قيد المشاهدة',
|
||||
'social.watchlist': 'يرغب في مشاهدتها',
|
||||
'search.allKinds': 'أفلام ومسلسلات وأنمي',
|
||||
'search.animeOnly': 'بدون مفتاح TMDB، يمكن العثور على الأنمي فقط.',
|
||||
'search.alreadySeries': 'موجود في مكتبتك — فتح',
|
||||
'form.startShort': 'بدأ في',
|
||||
'form.endShort': 'انتهى في',
|
||||
'hero.allSeen': 'شوهد بالكامل',
|
||||
'hero.nextOn': 'الحلقة التالية في {date}',
|
||||
'hero.upToDate': 'محدّث',
|
||||
'hero.seenEp': 'شاهدت {ep}',
|
||||
'hero.seen': 'شوهد',
|
||||
'hero.markSeen': 'تحديد كمُشاهَد',
|
||||
'hero.edit': 'تعديل المعلومات',
|
||||
'hero.more': 'قراءة المزيد',
|
||||
'hero.less': 'عرض أقل',
|
||||
'episodes.seasonOption_one': 'الموسم {season} · حلقة واحدة',
|
||||
'episodes.seasonOption_other': 'الموسم {season} · {count} حلقة',
|
||||
'episodes.seasonOption_two': 'الموسم {season} · حلقتان',
|
||||
'episodes.seasonOption_few': 'الموسم {season} · {count} حلقات',
|
||||
'episodes.seasonOption_many': 'الموسم {season} · {count} حلقة',
|
||||
'episodes.seen': '{done}/{total} مُشاهَدة',
|
||||
'episodes.short': 'ح{n}',
|
||||
'episodes.upcoming': 'في {date}',
|
||||
'episodes.nameless': 'الحلقة {n}',
|
||||
'episodes.seasonShort': 'م{n}',
|
||||
'homeHero.continue': 'أشاهد حاليًا',
|
||||
'homeHero.next': 'التالي للمشاهدة',
|
||||
'homeHero.details': 'التفاصيل',
|
||||
'homeHero.continueRow': 'متابعة المشاهدة',
|
||||
'homeHero.nextUp': 'التالي: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': 'Hinzufügen',
|
||||
'common.delete': 'Löschen',
|
||||
'common.all': 'Alle',
|
||||
'common.none': 'Keine',
|
||||
'common.noData': 'Noch keine Daten.',
|
||||
'common.retry': 'Nochmal versuchen',
|
||||
'common.back': 'Zurück',
|
||||
'common.offline': 'Keine Internetverbindung.',
|
||||
'common.minutes': '{n} Min.',
|
||||
'common.hours': '{h} Std.',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': 'Bühnenshow',
|
||||
'subtype.miniseries': 'Miniserie',
|
||||
|
||||
'platform.cinema': 'Kino',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Action',
|
||||
'genre.adventure': 'Abenteuer',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': '{title} öffnen',
|
||||
|
||||
'rating.outOf10': 'Bewertung von 10',
|
||||
'rating.outOf5': 'Bewertung von 5',
|
||||
'rating.stars_one': '{count} Stern',
|
||||
'rating.stars_other': '{count} Sterne',
|
||||
'rating.clear': 'Bewertung löschen',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'Link senden',
|
||||
'auth.forgot': 'Passwort vergessen?',
|
||||
'auth.backToLogin': 'Zurück zur Anmeldung',
|
||||
'auth.privacy': 'Deine Daten sind mit deinem Konto verknüpft und nur für dich sichtbar. Sie bleiben außerdem auf deinem Gerät, damit alles auch ohne Internet funktioniert.',
|
||||
'auth.privacy': 'Dein Konto schützt deine Bibliothek. Dein Profil (Titel, Bewertungen und Meinungen) ist für Mitglieder sichtbar, außer du stellst es auf privat; deine Listen und Einstellungen bleiben privat. Alles bleibt außerdem auf deinem Gerät, damit die App auch offline funktioniert.',
|
||||
'auth.newPasswordTitle': 'Wähl dein neues Passwort.',
|
||||
'auth.newPassword': 'Neues Passwort',
|
||||
'auth.err.credentials': 'E-Mail oder Passwort falsch.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'Dieser Link ist ungültig.',
|
||||
|
||||
'settings.language': 'Sprache',
|
||||
'settings.langAuto': 'Automatisch ({lang})',
|
||||
'settings.backupShared': 'Backup geteilt.',
|
||||
'settings.backupDownloaded': 'Backup heruntergeladen.',
|
||||
'settings.exportFailed': 'Export fehlgeschlagen.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': 'Von 10',
|
||||
'settings.ratingHint': 'Halbe Sterne bei 5, oder 0,5er-Schritte bei 10. Bestehende Bewertungen werden automatisch umgerechnet.',
|
||||
'settings.theme': 'Design',
|
||||
'settings.appearance': 'Darstellung',
|
||||
'settings.appearanceHint': '„Auto“ folgt deinem Browser (hell oder dunkel).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Hell',
|
||||
'theme.modeDark': 'Dunkel',
|
||||
'theme.modeNight': 'Nacht',
|
||||
'theme.modeStarfield': 'Sternenhimmel',
|
||||
'settings.accentColor': 'Akzentfarbe',
|
||||
'settings.installApp': 'App installieren',
|
||||
'settings.installHint': 'Füge AzuuCine zum Startbildschirm oder Desktop hinzu.',
|
||||
'settings.installed': 'App installiert',
|
||||
'settings.notifs': 'Mitteilungen',
|
||||
'settings.notifsHint': 'Lege fest, was die Glocke auslöst.',
|
||||
'settings.notifEpisodes': 'Neue Folgen',
|
||||
'settings.notifFollows': 'Neue Follower',
|
||||
'settings.notifAccepted': 'Angenommene Anfragen',
|
||||
'settings.notifReactions': 'Reaktionen auf meine Rezensionen',
|
||||
'notif.new_episode': 'Neue Folge von {title}',
|
||||
'notif.new_season': 'Neue Staffel von {title}',
|
||||
'reviews.title': 'Rezensionen',
|
||||
'reviews.friends': 'Deine Freunde',
|
||||
'reviews.others': 'Andere Mitglieder',
|
||||
'reviews.noneFriends': 'Keine Rezensionen deiner Freunde',
|
||||
'reviews.noneOthers': 'Keine weiteren Rezensionen',
|
||||
'reviews.none': 'Noch keine Rezensionen',
|
||||
'reviews.seeAll': 'Alle Rezensionen ansehen',
|
||||
'reviews.react': 'Reagieren',
|
||||
'notif.title': 'Mitteilungen',
|
||||
'notif.empty': 'Keine Mitteilungen',
|
||||
'notif.someone': 'Jemand',
|
||||
'notif.follow_request': 'möchte dir folgen',
|
||||
'notif.follow_accepted': 'hat deine Anfrage angenommen',
|
||||
'notif.new_follower': 'folgt dir jetzt',
|
||||
'notif.reaction': 'hat auf deine Rezension reagiert',
|
||||
'notif.on': 'zu {title}',
|
||||
'home.notifications': 'Mitteilungen',
|
||||
'home.notificationsN': '{count} Mitteilungen',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine installieren',
|
||||
'install.ios': 'Öffne AzuuCine in Safari.\nTippe auf die Teilen-Schaltfläche (das Quadrat mit Pfeil nach oben).\nWähle „Zum Home-Bildschirm“ und dann „Hinzufügen“.',
|
||||
'install.android': 'Öffne AzuuCine in Chrome.\nTippe oben rechts auf das Menü ⋮.\nWähle „Zum Startbildschirm hinzufügen“ (oder „App installieren“).',
|
||||
'install.desktop': 'Klicke in der Adressleiste rechts auf das Installationssymbol (ein Bildschirm mit Pfeil).\nOder: Browser-Menü ⋮ → „AzuuCine installieren“.\nBestätige mit „Installieren“.',
|
||||
'install.other': 'Öffne das Menü deines Browsers.\nSuche nach „App installieren“ oder „Zum Startbildschirm hinzufügen“.',
|
||||
'install.gotIt': 'Verstanden',
|
||||
'settings.themeX': 'Design {name}',
|
||||
'settings.pickColor': 'Eigene Farbe wählen',
|
||||
'settings.freeColor': 'Eigene Farbe',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': 'Ganzen Eintrag ansehen',
|
||||
'roulette.watchIt': 'Den schau ich',
|
||||
|
||||
'newEp.check': 'Prüfen',
|
||||
'newEp.title': 'Neuheiten',
|
||||
'newEp.checking': 'Ich schau, was rausgekommen ist…',
|
||||
'newEp.needKey': 'Füg deinen TMDB-Schlüssel in den Einstellungen hinzu, um über neue Folgen und Staffeln informiert zu werden.',
|
||||
'newEp.nothing_one': 'Nichts Neues bei deiner verfolgten Serie oder deinem Anime.',
|
||||
'newEp.nothing_other': 'Nichts Neues bei deinen {count} verfolgten Serien und Animes.',
|
||||
'newEp.needKeyAlso': '(Füg deinen TMDB-Schlüssel in den Einstellungen hinzu, um auch Serien und Dramas zu verfolgen.)',
|
||||
'newEp.newSeason': 'Neue Staffel',
|
||||
'newEp.catchUp': 'Nachholen',
|
||||
'newEp.soon': 'Bald',
|
||||
'newEp.epWhen': 'Ep. {ep} {when}',
|
||||
'newEp.available_one': '{count} Folge verfügbar',
|
||||
'newEp.available_other': '{count} Folgen verfügbar',
|
||||
'newEp.next': 'Nächste: Ep. {ep} {when}',
|
||||
'newEp.resume': 'Weiterschauen',
|
||||
|
||||
'top.pick': 'Platz {rank} wählen',
|
||||
'top.shareTitle': 'Meine Top 5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': '{title} zu Geplant hinzufügen',
|
||||
'reco.addedShort': 'Hinzugefügt',
|
||||
|
||||
'search.moviesSeries': 'Filme & Serien',
|
||||
'search.offline': 'Keine Internetverbindung: Für die Suche brauchst du Netz.',
|
||||
'search.fillFrom': 'Aus einer Datenbank ausfüllen',
|
||||
'search.needKey': 'Um Filme, Serien und Dramas zu suchen, füg deinen kostenlosen TMDB-Schlüssel in den Einstellungen hinzu.',
|
||||
'search.openSettings': 'Einstellungen öffnen',
|
||||
'search.already': 'schon hinzugefügt',
|
||||
'search.noResults': 'Keine Ergebnisse. Du kannst den Eintrag unten von Hand ausfüllen.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1 Folge',
|
||||
'form.total': 'Gesamt',
|
||||
'form.season': 'Staffel',
|
||||
'form.minPerEp': 'Min. / Ep.',
|
||||
'form.duration': 'Dauer',
|
||||
'form.durationMin': 'Dauer (Minuten)',
|
||||
'form.info': 'Infos',
|
||||
'form.start': 'Start / gesehen am',
|
||||
'form.end': 'Ende',
|
||||
'form.year': 'Jahr',
|
||||
'form.platform': 'Plattform',
|
||||
'form.genres': 'Genres / Tags',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '„{title}“ wird endgültig gelöscht.',
|
||||
'form.removeRewatch': 'Rewatch entfernen',
|
||||
'form.rewatchDate': 'Datum des Rewatches',
|
||||
'form.reviewPublic': 'Diese Meinung auf meinem Profil zeigen',
|
||||
'form.reviewPublicHint': 'Sonst siehst nur du sie.',
|
||||
|
||||
'journal.rewatched': 'Nochmal gesehen',
|
||||
'journal.started': 'Angefangen',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': 'Was du gern schaust, deine Lieblingsgenres…',
|
||||
'social.privateAccount': 'Privates Konto',
|
||||
'social.privateHint': 'Nur Follower, die du bestätigst, sehen, was du schaust.',
|
||||
'social.publicHint': 'Dein Name, Username, Foto, Banner und deine Bio sind für alle Mitglieder sichtbar. Deine Meinungen bleiben privat, außer denen, die du auf deinem Profil zeigst.',
|
||||
'social.publicHint': 'Dein Name, Username, Foto, Banner, deine Bio, Bewertungen und Meinungen sind für Mitglieder sichtbar. Stelle dein Konto auf privat, um zu entscheiden, wer sie sehen kann.',
|
||||
'social.requestsTab_one': 'Anfrage',
|
||||
'social.requestsTab_other': 'Anfragen ({count})',
|
||||
'social.noFollowing': 'Du folgst noch niemandem.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "Später",
|
||||
'social.watching': "Schaut gerade",
|
||||
'social.watchlist': "Möchte sehen",
|
||||
'form.infoHint': "Daten, Jahr, Plattform und Genres – werden automatisch ausgefüllt",
|
||||
'search.allKinds': "Filme, Serien und Anime",
|
||||
'search.animeOnly': "Ohne TMDB-Schlüssel werden nur Animes gefunden.",
|
||||
'search.alreadySeries': "schon in deiner Bibliothek – öffnen",
|
||||
'form.startShort': "Begonnen",
|
||||
'form.endShort': "Beendet",
|
||||
'hero.allSeen': "Alles gesehen",
|
||||
'hero.nextOn': 'Nächste Folge am {date}',
|
||||
'hero.upToDate': 'Auf dem neuesten Stand',
|
||||
'hero.seenEp': "{ep} gesehen",
|
||||
'hero.seen': "Gesehen",
|
||||
'hero.markSeen': "Als gesehen markieren",
|
||||
'hero.edit': "Angaben bearbeiten",
|
||||
'hero.more': "Mehr lesen",
|
||||
'hero.less': "Weniger",
|
||||
'episodes.seasonOption_one': "Staffel {season} · {count} Folge",
|
||||
'episodes.seasonOption_other': "Staffel {season} · {count} Folgen",
|
||||
'episodes.seen': "{done}/{total} gesehen",
|
||||
'episodes.short': "F{n}",
|
||||
'episodes.upcoming': "am {date}",
|
||||
'episodes.nameless': "Folge {n}",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "Schaue ich gerade",
|
||||
'homeHero.next': "Als Nächstes",
|
||||
'homeHero.details': "Details",
|
||||
'homeHero.continueRow': "Weiterschauen",
|
||||
'homeHero.nextUp': "Als Nächstes: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': 'Add',
|
||||
'common.delete': 'Delete',
|
||||
'common.all': 'All',
|
||||
'common.none': 'None',
|
||||
'common.noData': 'No data yet.',
|
||||
'common.retry': 'Try again',
|
||||
'common.back': 'Back',
|
||||
'common.offline': 'No internet connection.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} h',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': 'Stage show',
|
||||
'subtype.miniseries': 'Miniseries',
|
||||
|
||||
'platform.cinema': 'Theater',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Action',
|
||||
'genre.adventure': 'Adventure',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': 'Open {title}',
|
||||
|
||||
'rating.outOf10': 'Rating out of 10',
|
||||
'rating.outOf5': 'Rating out of 5',
|
||||
'rating.stars_one': '{count} star',
|
||||
'rating.stars_other': '{count} stars',
|
||||
'rating.clear': 'Clear rating',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'Send link',
|
||||
'auth.forgot': 'Forgot your password?',
|
||||
'auth.backToLogin': 'Back to login',
|
||||
'auth.privacy': 'Your data is tied to your account and only visible to you. It also stays on your device so the app works offline.',
|
||||
'auth.privacy': 'Your account keeps your library safe. Your profile (titles, ratings and reviews) is visible to members unless you make it private; your lists and settings stay private. Everything also stays on your device so the app works offline.',
|
||||
'auth.newPasswordTitle': 'Pick your new password.',
|
||||
'auth.newPassword': 'New password',
|
||||
'auth.err.credentials': 'Wrong email or password.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'This link is invalid.',
|
||||
|
||||
'settings.language': 'Language',
|
||||
'settings.langAuto': 'Automatic ({lang})',
|
||||
'settings.backupShared': 'Backup shared.',
|
||||
'settings.backupDownloaded': 'Backup downloaded.',
|
||||
'settings.exportFailed': 'Export failed.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': 'Out of 10',
|
||||
'settings.ratingHint': 'Half stars out of 5, or 0.5 steps out of 10. Existing ratings are converted automatically.',
|
||||
'settings.theme': 'Theme',
|
||||
'settings.appearance': 'Appearance',
|
||||
'settings.appearanceHint': '“Auto” follows your browser (light or dark).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Light',
|
||||
'theme.modeDark': 'Dark',
|
||||
'theme.modeNight': 'Night',
|
||||
'theme.modeStarfield': 'Starry',
|
||||
'settings.accentColor': 'Accent color',
|
||||
'settings.installApp': 'Install the app',
|
||||
'settings.installHint': 'Add AzuuCine to your home screen or desktop.',
|
||||
'settings.installed': 'App installed',
|
||||
'settings.notifs': 'Notifications',
|
||||
'settings.notifsHint': 'Choose what triggers the bell.',
|
||||
'settings.notifEpisodes': 'New episodes',
|
||||
'settings.notifFollows': 'New followers',
|
||||
'settings.notifAccepted': 'Accepted requests',
|
||||
'settings.notifReactions': 'Reactions to my reviews',
|
||||
'notif.new_episode': 'New episode of {title}',
|
||||
'notif.new_season': 'New season of {title}',
|
||||
'reviews.title': 'Reviews',
|
||||
'reviews.friends': 'Your friends',
|
||||
'reviews.others': 'Other members',
|
||||
'reviews.noneFriends': 'No reviews from your friends',
|
||||
'reviews.noneOthers': 'No other reviews',
|
||||
'reviews.none': 'No reviews yet',
|
||||
'reviews.seeAll': 'See all reviews',
|
||||
'reviews.react': 'React',
|
||||
'notif.title': 'Notifications',
|
||||
'notif.empty': 'No notifications',
|
||||
'notif.someone': 'Someone',
|
||||
'notif.follow_request': 'wants to follow you',
|
||||
'notif.follow_accepted': 'accepted your request',
|
||||
'notif.new_follower': 'started following you',
|
||||
'notif.reaction': 'reacted to your review',
|
||||
'notif.on': 'on {title}',
|
||||
'home.notifications': 'Notifications',
|
||||
'home.notificationsN': '{count} notifications',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Install AzuuCine',
|
||||
'install.ios': 'Open AzuuCine in Safari.\nTap the Share button (the square with an up arrow).\nChoose “Add to Home Screen”, then “Add”.',
|
||||
'install.android': 'Open AzuuCine in Chrome.\nTap the ⋮ menu at the top right.\nChoose “Add to Home screen” (or “Install app”).',
|
||||
'install.desktop': 'In the address bar, click the install icon on the right (a screen with an arrow).\nOr: browser ⋮ menu → “Install AzuuCine”.\nConfirm with “Install”.',
|
||||
'install.other': 'Open your browser’s menu.\nLook for “Install app” or “Add to Home screen”.',
|
||||
'install.gotIt': 'Got it',
|
||||
'settings.themeX': '{name} theme',
|
||||
'settings.pickColor': 'Pick a custom color',
|
||||
'settings.freeColor': 'Custom color',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': 'See full details',
|
||||
'roulette.watchIt': 'I’ll watch it',
|
||||
|
||||
'newEp.check': 'Check',
|
||||
'newEp.title': 'What’s new',
|
||||
'newEp.checking': 'Checking what’s out…',
|
||||
'newEp.needKey': 'Add your TMDB key in Settings to get notified about new episodes and seasons.',
|
||||
'newEp.nothing_one': 'Nothing new for your tracked show.',
|
||||
'newEp.nothing_other': 'Nothing new for your {count} tracked shows.',
|
||||
'newEp.needKeyAlso': '(Add your TMDB key in Settings to track series and dramas too.)',
|
||||
'newEp.newSeason': 'New season',
|
||||
'newEp.catchUp': 'To catch up',
|
||||
'newEp.soon': 'Coming soon',
|
||||
'newEp.epWhen': 'Ep. {ep} {when}',
|
||||
'newEp.available_one': '{count} episode available',
|
||||
'newEp.available_other': '{count} episodes available',
|
||||
'newEp.next': 'Next: ep. {ep} {when}',
|
||||
'newEp.resume': 'Resume',
|
||||
|
||||
'top.pick': 'Pick #{rank}',
|
||||
'top.shareTitle': 'My Top 5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': 'Add {title} to watch',
|
||||
'reco.addedShort': 'Added',
|
||||
|
||||
'search.moviesSeries': 'Movies & series',
|
||||
'search.offline': 'No internet connection: search needs the network.',
|
||||
'search.fillFrom': 'Fill in from a database',
|
||||
'search.needKey': 'To search movies, series and dramas, add your free TMDB key in Settings.',
|
||||
'search.openSettings': 'Open Settings',
|
||||
'search.already': 'already added',
|
||||
'search.noResults': 'No results. You can fill in the entry by hand below.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1 episode',
|
||||
'form.total': 'Total',
|
||||
'form.season': 'Season',
|
||||
'form.minPerEp': 'Min / ep.',
|
||||
'form.duration': 'Runtime',
|
||||
'form.durationMin': 'Runtime (minutes)',
|
||||
'form.info': 'Info',
|
||||
'form.start': 'Started / watched on',
|
||||
'form.end': 'Finished',
|
||||
'form.year': 'Year',
|
||||
'form.platform': 'Platform',
|
||||
'form.genres': 'Genres / tags',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '“{title}” will be permanently deleted.',
|
||||
'form.removeRewatch': 'Remove this rewatch',
|
||||
'form.rewatchDate': 'Rewatch date',
|
||||
'form.reviewPublic': 'Show this review on my profile',
|
||||
'form.reviewPublicHint': 'Otherwise, only you can see it.',
|
||||
|
||||
'journal.rewatched': 'Rewatched',
|
||||
'journal.started': 'Started',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': 'What you love to watch, your favorite genres…',
|
||||
'social.privateAccount': 'Private account',
|
||||
'social.privateHint': 'Only followers you approve can see what you watch.',
|
||||
'social.publicHint': 'Your name, username, photo, banner and bio are visible to all members. Your written reviews stay private, except the ones you choose to show on your profile.',
|
||||
'social.publicHint': 'Your name, username, photo, banner, bio, ratings and reviews are visible to members. Make your account private to choose who can see them.',
|
||||
'social.requestsTab_one': 'Request',
|
||||
'social.requestsTab_other': 'Requests ({count})',
|
||||
'social.noFollowing': 'Not following anyone yet.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "Later",
|
||||
'social.watching': "Watching",
|
||||
'social.watchlist': "Wants to watch",
|
||||
'form.infoHint': "Dates, year, platform and genres — filled in automatically",
|
||||
'search.allKinds': "Movies, series and anime",
|
||||
'search.animeOnly': "Without a TMDB key, only anime can be found.",
|
||||
'search.alreadySeries': "already in your library — open",
|
||||
'form.startShort': "Started",
|
||||
'form.endShort': "Finished",
|
||||
'hero.allSeen': "All watched",
|
||||
'hero.nextOn': 'Next episode on {date}',
|
||||
'hero.upToDate': 'Up to date',
|
||||
'hero.seenEp': "Watched {ep}",
|
||||
'hero.seen': "Watched",
|
||||
'hero.markSeen': "Mark as watched",
|
||||
'hero.edit': "Edit details",
|
||||
'hero.more': "Read more",
|
||||
'hero.less': "Show less",
|
||||
'episodes.seasonOption_one': "Season {season} · {count} episode",
|
||||
'episodes.seasonOption_other': "Season {season} · {count} episodes",
|
||||
'episodes.seen': "{done}/{total} watched",
|
||||
'episodes.short': "E{n}",
|
||||
'episodes.upcoming': "on {date}",
|
||||
'episodes.nameless': "Episode {n}",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "Currently watching",
|
||||
'homeHero.next': "Up next",
|
||||
'homeHero.details': "Details",
|
||||
'homeHero.continueRow': "Continue watching",
|
||||
'homeHero.nextUp': "Next: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': 'Añadir',
|
||||
'common.delete': 'Eliminar',
|
||||
'common.all': 'Todo',
|
||||
'common.none': 'Ninguno',
|
||||
'common.noData': 'Aún no hay datos.',
|
||||
'common.retry': 'Reintentar',
|
||||
'common.back': 'Volver',
|
||||
'common.offline': 'Sin conexión a internet.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} h',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': 'Espectáculo',
|
||||
'subtype.miniseries': 'Miniserie',
|
||||
|
||||
'platform.cinema': 'Cine',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Acción',
|
||||
'genre.adventure': 'Aventura',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': 'Abrir {title}',
|
||||
|
||||
'rating.outOf10': 'Nota sobre 10',
|
||||
'rating.outOf5': 'Nota sobre 5',
|
||||
'rating.stars_one': '{count} estrella',
|
||||
'rating.stars_other': '{count} estrellas',
|
||||
'rating.clear': 'Borrar la nota',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'Enviar el enlace',
|
||||
'auth.forgot': '¿Olvidaste tu contraseña?',
|
||||
'auth.backToLogin': 'Volver a iniciar sesión',
|
||||
'auth.privacy': 'Tus datos están vinculados a tu cuenta y solo tú puedes verlos. También se quedan en tu dispositivo para funcionar sin internet.',
|
||||
'auth.privacy': 'Tu cuenta guarda tu biblioteca de forma segura. Tu perfil (títulos, notas y opiniones) es visible para los miembros salvo que lo hagas privado; tus listas y ajustes siguen siendo privados. Todo se queda también en tu dispositivo para funcionar sin internet.',
|
||||
'auth.newPasswordTitle': 'Elige tu nueva contraseña.',
|
||||
'auth.newPassword': 'Nueva contraseña',
|
||||
'auth.err.credentials': 'Correo o contraseña incorrectos.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'Este enlace no es válido.',
|
||||
|
||||
'settings.language': 'Idioma',
|
||||
'settings.langAuto': 'Automático ({lang})',
|
||||
'settings.backupShared': 'Copia de seguridad compartida.',
|
||||
'settings.backupDownloaded': 'Copia de seguridad descargada.',
|
||||
'settings.exportFailed': 'La exportación falló.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': 'Sobre 10',
|
||||
'settings.ratingHint': 'Medias estrellas sobre 5, o pasos de 0,5 sobre 10. Las notas existentes se convierten automáticamente.',
|
||||
'settings.theme': 'Tema',
|
||||
'settings.appearance': 'Apariencia',
|
||||
'settings.appearanceHint': '«Auto» sigue tu navegador (claro u oscuro).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Claro',
|
||||
'theme.modeDark': 'Oscuro',
|
||||
'theme.modeNight': 'Noche',
|
||||
'theme.modeStarfield': 'Estrellado',
|
||||
'settings.accentColor': 'Color de acento',
|
||||
'settings.installApp': 'Instalar la aplicación',
|
||||
'settings.installHint': 'Añade AzuuCine a tu pantalla de inicio o escritorio.',
|
||||
'settings.installed': 'Aplicación instalada',
|
||||
'settings.notifs': 'Notificaciones',
|
||||
'settings.notifsHint': 'Elige qué activa la campana.',
|
||||
'settings.notifEpisodes': 'Nuevos episodios',
|
||||
'settings.notifFollows': 'Nuevos seguidores',
|
||||
'settings.notifAccepted': 'Solicitudes aceptadas',
|
||||
'settings.notifReactions': 'Reacciones a mis opiniones',
|
||||
'notif.new_episode': 'Nuevo episodio de {title}',
|
||||
'notif.new_season': 'Nueva temporada de {title}',
|
||||
'reviews.title': 'Opiniones',
|
||||
'reviews.friends': 'Tus amigos',
|
||||
'reviews.others': 'Otros miembros',
|
||||
'reviews.noneFriends': 'Ningún opinión de tus amigos',
|
||||
'reviews.noneOthers': 'Ninguna otra opinión',
|
||||
'reviews.none': 'Aún no hay opiniones',
|
||||
'reviews.seeAll': 'Ver todas las opiniones',
|
||||
'reviews.react': 'Reaccionar',
|
||||
'notif.title': 'Notificaciones',
|
||||
'notif.empty': 'Sin notificaciones',
|
||||
'notif.someone': 'Alguien',
|
||||
'notif.follow_request': 'quiere seguirte',
|
||||
'notif.follow_accepted': 'aceptó tu solicitud',
|
||||
'notif.new_follower': 'empezó a seguirte',
|
||||
'notif.reaction': 'reaccionó a tu opinión',
|
||||
'notif.on': 'en {title}',
|
||||
'home.notifications': 'Notificaciones',
|
||||
'home.notificationsN': '{count} notificaciones',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Instalar AzuuCine',
|
||||
'install.ios': 'Abre AzuuCine en Safari.\nToca el botón Compartir (el cuadrado con una flecha hacia arriba).\nElige «Añadir a inicio» y luego «Añadir».',
|
||||
'install.android': 'Abre AzuuCine en Chrome.\nToca el menú ⋮ arriba a la derecha.\nElige «Añadir a la pantalla de inicio» (o «Instalar aplicación»).',
|
||||
'install.desktop': 'En la barra de direcciones, haz clic en el icono de instalación a la derecha (una pantalla con una flecha).\nO: menú ⋮ del navegador → «Instalar AzuuCine».\nConfirma con «Instalar».',
|
||||
'install.other': 'Abre el menú de tu navegador.\nBusca «Instalar aplicación» o «Añadir a la pantalla de inicio».',
|
||||
'install.gotIt': 'Entendido',
|
||||
'settings.themeX': 'Tema {name}',
|
||||
'settings.pickColor': 'Elegir un color libre',
|
||||
'settings.freeColor': 'Color libre',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': 'Ver la ficha completa',
|
||||
'roulette.watchIt': 'Lo veo',
|
||||
|
||||
'newEp.check': 'Comprobar',
|
||||
'newEp.title': 'Novedades',
|
||||
'newEp.checking': 'Mirando qué ha salido…',
|
||||
'newEp.needKey': 'Añade tu clave de TMDB en Ajustes para enterarte de los nuevos episodios y temporadas.',
|
||||
'newEp.nothing_one': 'Nada nuevo para tu serie o anime en seguimiento.',
|
||||
'newEp.nothing_other': 'Nada nuevo para tus {count} series y animes en seguimiento.',
|
||||
'newEp.needKeyAlso': '(Añade tu clave de TMDB en Ajustes para seguir también series y dramas.)',
|
||||
'newEp.newSeason': 'Nueva temporada',
|
||||
'newEp.catchUp': 'Por ponerte al día',
|
||||
'newEp.soon': 'Próximamente',
|
||||
'newEp.epWhen': 'Ep. {ep} {when}',
|
||||
'newEp.available_one': '{count} episodio disponible',
|
||||
'newEp.available_other': '{count} episodios disponibles',
|
||||
'newEp.next': 'Siguiente: ep. {ep} {when}',
|
||||
'newEp.resume': 'Continuar',
|
||||
|
||||
'top.pick': 'Elegir el n.º {rank}',
|
||||
'top.shareTitle': 'Mi Top 5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': 'Añadir {title} a por ver',
|
||||
'reco.addedShort': 'Añadido',
|
||||
|
||||
'search.moviesSeries': 'Películas y series',
|
||||
'search.offline': 'Sin conexión a internet: la búsqueda necesita red.',
|
||||
'search.fillFrom': 'Rellenar desde una base de datos',
|
||||
'search.needKey': 'Para buscar películas, series y dramas, añade tu clave gratuita de TMDB en Ajustes.',
|
||||
'search.openSettings': 'Abrir Ajustes',
|
||||
'search.already': 'ya añadido',
|
||||
'search.noResults': 'Sin resultados. Puedes rellenar la ficha a mano abajo.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1 episodio',
|
||||
'form.total': 'Total',
|
||||
'form.season': 'Temporada',
|
||||
'form.minPerEp': 'Min / ep.',
|
||||
'form.duration': 'Duración',
|
||||
'form.durationMin': 'Duración (minutos)',
|
||||
'form.info': 'Información',
|
||||
'form.start': 'Inicio / visto el',
|
||||
'form.end': 'Fin',
|
||||
'form.year': 'Año',
|
||||
'form.platform': 'Plataforma',
|
||||
'form.genres': 'Géneros / etiquetas',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '«{title}» se eliminará para siempre.',
|
||||
'form.removeRewatch': 'Quitar este revisionado',
|
||||
'form.rewatchDate': 'Fecha del revisionado',
|
||||
'form.reviewPublic': 'Mostrar esta opinión en mi perfil',
|
||||
'form.reviewPublicHint': 'Si no, solo la verás tú.',
|
||||
|
||||
'journal.rewatched': 'Vuelto a ver',
|
||||
'journal.started': 'Empezado',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': 'Lo que te gusta ver, tus géneros favoritos…',
|
||||
'social.privateAccount': 'Cuenta privada',
|
||||
'social.privateHint': 'Solo los seguidores que aceptes ven lo que ves.',
|
||||
'social.publicHint': 'Tu nombre, tu nombre de usuario, tu foto, tu banner y tu bio son visibles para todos los miembros. Tus opiniones escritas siguen siendo privadas, salvo las que decidas mostrar en tu perfil.',
|
||||
'social.publicHint': 'Tu nombre, nombre de usuario, foto, banner, bio, notas y opiniones son visibles para los miembros. Haz tu cuenta privada para elegir quién puede verlos.',
|
||||
'social.requestsTab_one': 'Solicitud',
|
||||
'social.requestsTab_other': 'Solicitudes ({count})',
|
||||
'social.noFollowing': 'Todavía no sigues a nadie.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "Más tarde",
|
||||
'social.watching': "Viendo",
|
||||
'social.watchlist': "Quiere ver",
|
||||
'form.infoHint': "Fechas, año, plataforma y géneros — se rellenan solos",
|
||||
'search.allKinds': "Películas, series y anime",
|
||||
'search.animeOnly': "Sin clave de TMDB solo se encuentran animes.",
|
||||
'search.alreadySeries': "ya está en tu biblioteca — abrir",
|
||||
'form.startShort': "Empezado",
|
||||
'form.endShort': "Terminado",
|
||||
'hero.allSeen': "Todo visto",
|
||||
'hero.nextOn': 'Próximo episodio el {date}',
|
||||
'hero.upToDate': 'Al día',
|
||||
'hero.seenEp': "He visto {ep}",
|
||||
'hero.seen': "Visto",
|
||||
'hero.markSeen': "Marcar como visto",
|
||||
'hero.edit': "Editar datos",
|
||||
'hero.more': "Leer más",
|
||||
'hero.less': "Ver menos",
|
||||
'episodes.seasonOption_one': "Temporada {season} · {count} episodio",
|
||||
'episodes.seasonOption_other': "Temporada {season} · {count} episodios",
|
||||
'episodes.seen': "{done}/{total} vistos",
|
||||
'episodes.short': "E{n}",
|
||||
'episodes.upcoming': "el {date}",
|
||||
'episodes.nameless': "Episodio {n}",
|
||||
'episodes.seasonShort': 'T{n}',
|
||||
'homeHero.continue': "Estoy viendo",
|
||||
'homeHero.next': "Para ver después",
|
||||
'homeHero.details': "Ficha",
|
||||
'homeHero.continueRow': "Seguir viendo",
|
||||
'homeHero.nextUp': "Siguiente: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -11,10 +11,6 @@ const dict = {
|
||||
'common.add': 'Ajouter',
|
||||
'common.delete': 'Supprimer',
|
||||
'common.all': 'Tout',
|
||||
'common.none': 'Aucun',
|
||||
'common.noData': 'Pas encore de données.',
|
||||
'common.retry': 'Réessayer',
|
||||
'common.back': 'Retour',
|
||||
'common.offline': 'Pas de connexion internet.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} h',
|
||||
@@ -65,9 +61,6 @@ const dict = {
|
||||
'subtype.stage': 'Spectacle',
|
||||
'subtype.miniseries': 'Mini-série',
|
||||
|
||||
'platform.cinema': 'Cinéma',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Action',
|
||||
'genre.adventure': 'Aventure',
|
||||
@@ -150,6 +143,7 @@ const dict = {
|
||||
'card.open': 'Ouvrir {title}',
|
||||
|
||||
'rating.outOf10': 'Note sur 10',
|
||||
'rating.outOf5': 'Note sur 5',
|
||||
'rating.stars_one': '{count} étoile',
|
||||
'rating.stars_other': '{count} étoiles',
|
||||
'rating.clear': 'Effacer la note',
|
||||
@@ -187,7 +181,7 @@ const dict = {
|
||||
'auth.sendLink': 'Envoyer le lien',
|
||||
'auth.forgot': 'Mot de passe oublié ?',
|
||||
'auth.backToLogin': 'Retour à la connexion',
|
||||
'auth.privacy': 'Tes données sont liées à ton compte et visibles uniquement par toi. Elles restent aussi sur ton appareil pour fonctionner sans internet.',
|
||||
'auth.privacy': 'Ton compte garde ta bibliothèque en sécurité. Ton profil (titres vus, notes et avis) est visible par les membres, sauf si tu le passes en privé ; tes listes et réglages restent privés. Tout reste aussi sur ton appareil pour fonctionner sans internet.',
|
||||
'auth.newPasswordTitle': 'Choisis ton nouveau mot de passe.',
|
||||
'auth.newPassword': 'Nouveau mot de passe',
|
||||
'auth.err.credentials': 'Email ou mot de passe incorrect.',
|
||||
@@ -208,6 +202,7 @@ const dict = {
|
||||
'auth.err.linkInvalid': 'Ce lien est invalide.',
|
||||
|
||||
'settings.language': 'Langue',
|
||||
'settings.langAuto': 'Automatique ({lang})',
|
||||
'settings.backupShared': 'Sauvegarde partagée.',
|
||||
'settings.backupDownloaded': 'Sauvegarde téléchargée.',
|
||||
'settings.exportFailed': 'L\'export a échoué.',
|
||||
@@ -224,6 +219,94 @@ const dict = {
|
||||
'settings.scale10': 'Sur 10',
|
||||
'settings.ratingHint': 'Demi-étoiles sur 5, ou pas de 0,5 sur 10. Les notes existantes sont converties automatiquement.',
|
||||
'settings.theme': 'Thème',
|
||||
'settings.appearance': 'Apparence',
|
||||
'settings.appearanceHint': '« Auto » suit ton navigateur (clair ou sombre).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Clair',
|
||||
'theme.modeDark': 'Sombre',
|
||||
'theme.modeNight': 'Nuit',
|
||||
'theme.modeStarfield': 'Étoilé',
|
||||
'settings.accentColor': 'Couleur d\'accent',
|
||||
'settings.installApp': 'Installer l\'application',
|
||||
'settings.installHint': 'Ajoute AzuuCine à ton écran d\'accueil ou ton bureau.',
|
||||
'settings.installed': 'Application installée',
|
||||
'settings.notifs': 'Notifications',
|
||||
'settings.notifsHint': 'Choisis ce qui déclenche la cloche.',
|
||||
'settings.notifEpisodes': 'Nouveaux épisodes',
|
||||
'settings.notifFollows': 'Nouveaux abonnés',
|
||||
'settings.notifAccepted': 'Demandes acceptées',
|
||||
'settings.notifReactions': 'Réactions à mes avis',
|
||||
'notif.new_episode': 'Nouvel épisode de {title}',
|
||||
'notif.new_season': 'Nouvelle saison de {title}',
|
||||
'reviews.title': 'Avis',
|
||||
'reviews.friends': 'Tes amis',
|
||||
'reviews.others': 'Autres membres',
|
||||
'reviews.noneFriends': 'Aucun avis de tes amis',
|
||||
'reviews.noneOthers': 'Aucun autre avis',
|
||||
'reviews.none': 'Aucun avis pour le moment',
|
||||
'reviews.seeAll': 'Voir tous les avis',
|
||||
'reviews.react': 'Réagir',
|
||||
'notif.title': 'Notifications',
|
||||
'notif.empty': 'Aucune notification',
|
||||
'notif.someone': 'Quelqu’un',
|
||||
'notif.follow_request': 'veut s’abonner à toi',
|
||||
'notif.follow_accepted': 'a accepté ta demande',
|
||||
'notif.new_follower': 's’est abonné à toi',
|
||||
'notif.reaction': 'a réagi à ton avis',
|
||||
'notif.on': 'sur {title}',
|
||||
'home.notifications': 'Notifications',
|
||||
'home.notificationsN': '{count} notifications',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Vue d\'ensemble',
|
||||
'admin.tabUsers': 'Utilisateurs',
|
||||
'admin.tabReviews': 'Avis',
|
||||
'admin.users': 'Utilisateurs',
|
||||
'admin.public': 'Publics',
|
||||
'admin.private': 'Privés',
|
||||
'admin.suspended': 'Suspendus',
|
||||
'admin.items': 'Titres',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Séries',
|
||||
'admin.reviews': 'Avis',
|
||||
'admin.follows': 'Abonnements',
|
||||
'admin.pending': 'Demandes',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Inscriptions (7 j)',
|
||||
'admin.signups30': 'Inscriptions (30 j)',
|
||||
'admin.active7': 'Actifs (7 j)',
|
||||
'admin.newItems7': 'Ajouts (7 j)',
|
||||
'admin.signupsChart': 'Inscriptions — 14 derniers jours',
|
||||
'admin.searchUsers': 'Rechercher un compte…',
|
||||
'admin.joined': 'Inscrit le {date}',
|
||||
'admin.lastSeen': 'Vu {ago}',
|
||||
'admin.never': 'jamais',
|
||||
'admin.suspend': 'Suspendre',
|
||||
'admin.unsuspend': 'Réactiver',
|
||||
'admin.suspendedBadge': 'Suspendu',
|
||||
'admin.noUsers': 'Aucun compte',
|
||||
'admin.anon': '(sans profil)',
|
||||
'admin.statItems': 'titres',
|
||||
'admin.statReviews': 'avis',
|
||||
'admin.statFollowers': 'abonnés',
|
||||
'admin.clearReview': 'Effacer l\'avis',
|
||||
'admin.reviewCleared': 'Avis effacé',
|
||||
'admin.noReviews': 'Aucun avis',
|
||||
'admin.confirmClearTitle': 'Effacer cet avis ?',
|
||||
'admin.confirmClearMsg': 'L\'avis sera retiré du profil du membre à sa prochaine synchronisation.',
|
||||
'admin.confirmSuspendTitle': 'Suspendre ce compte ?',
|
||||
'admin.confirmSuspendMsg': 'Son profil sera masqué pour les autres membres. Réversible à tout moment.',
|
||||
'admin.confirmUnsuspendTitle': 'Réactiver ce compte ?',
|
||||
'admin.confirmUnsuspendMsg': 'Son profil redeviendra visible.',
|
||||
'admin.suspendedDone': 'Compte suspendu',
|
||||
'admin.reactivatedDone': 'Compte réactivé',
|
||||
'admin.loadError': 'Impossible de charger les données.',
|
||||
'install.title': 'Installer AzuuCine',
|
||||
'install.ios': 'Ouvre AzuuCine dans Safari.\nAppuie sur le bouton Partager (le carré avec une flèche vers le haut).\nChoisis « Sur l\'écran d\'accueil », puis « Ajouter ».',
|
||||
'install.android': 'Ouvre AzuuCine dans Chrome.\nAppuie sur le menu ⋮ en haut à droite.\nChoisis « Ajouter à l\'écran d\'accueil » (ou « Installer l\'application »).',
|
||||
'install.desktop': 'Dans la barre d\'adresse, clique sur l\'icône d\'installation à droite (un écran avec une flèche).\nOu : menu ⋮ du navigateur → « Installer AzuuCine ».\nConfirme avec « Installer ».',
|
||||
'install.other': 'Ouvre le menu de ton navigateur.\nCherche « Installer l\'application » ou « Ajouter à l\'écran d\'accueil ».',
|
||||
'install.gotIt': 'Compris',
|
||||
'settings.themeX': 'Thème {name}',
|
||||
'settings.pickColor': 'Choisir une couleur libre',
|
||||
'settings.freeColor': 'Couleur libre',
|
||||
@@ -438,21 +521,6 @@ const dict = {
|
||||
'roulette.seeItem': 'Voir la fiche complète',
|
||||
'roulette.watchIt': 'Je le regarde',
|
||||
|
||||
'newEp.check': 'Vérifier',
|
||||
'newEp.title': 'Nouveautés',
|
||||
'newEp.checking': 'Je regarde ce qui est sorti…',
|
||||
'newEp.needKey': 'Ajoute ta clé TMDB dans les Réglages pour être prévenu des nouveaux épisodes et des nouvelles saisons.',
|
||||
'newEp.nothing_one': 'Rien de neuf pour ta série ou ton anime suivi.',
|
||||
'newEp.nothing_other': 'Rien de neuf pour tes {count} séries et animes suivis.',
|
||||
'newEp.needKeyAlso': '(Ajoute ta clé TMDB dans les Réglages pour suivre aussi les séries et dramas.)',
|
||||
'newEp.newSeason': 'Nouvelle saison',
|
||||
'newEp.catchUp': 'À rattraper',
|
||||
'newEp.soon': 'Bientôt',
|
||||
'newEp.epWhen': 'Ép. {ep} {when}',
|
||||
'newEp.available_one': '{count} épisode dispo',
|
||||
'newEp.available_other': '{count} épisodes dispos',
|
||||
'newEp.next': 'Prochain : ép. {ep} {when}',
|
||||
'newEp.resume': 'Reprendre',
|
||||
|
||||
'top.pick': 'Choisir le n°{rank}',
|
||||
'top.shareTitle': 'Mon Top 5 {category}',
|
||||
@@ -479,10 +547,8 @@ const dict = {
|
||||
'reco.addLabel': 'Ajouter {title} à voir',
|
||||
'reco.addedShort': 'Ajouté',
|
||||
|
||||
'search.moviesSeries': 'Films & séries',
|
||||
'search.offline': 'Pas de connexion Internet : la recherche nécessite le réseau.',
|
||||
'search.fillFrom': 'Remplir depuis une base',
|
||||
'search.needKey': 'Pour chercher films, séries et dramas, ajoute ta clé TMDB gratuite dans les Réglages.',
|
||||
'search.openSettings': 'Ouvrir les Réglages',
|
||||
'search.already': 'déjà ajouté',
|
||||
'search.noResults': 'Aucun résultat. Tu peux remplir la fiche à la main ci-dessous.',
|
||||
@@ -572,12 +638,8 @@ const dict = {
|
||||
'form.plusEp': '+1 épisode',
|
||||
'form.total': 'Total',
|
||||
'form.season': 'Saison',
|
||||
'form.minPerEp': 'Min / ép.',
|
||||
'form.duration': 'Durée',
|
||||
'form.durationMin': 'Durée (minutes)',
|
||||
'form.info': 'Informations',
|
||||
'form.start': 'Début / vu le',
|
||||
'form.end': 'Fin',
|
||||
'form.year': 'Année',
|
||||
'form.platform': 'Plateforme',
|
||||
'form.genres': 'Genres / tags',
|
||||
@@ -592,8 +654,6 @@ const dict = {
|
||||
'form.deleteConfirm': '« {title} » sera supprimé définitivement.',
|
||||
'form.removeRewatch': 'Retirer ce revisionnage',
|
||||
'form.rewatchDate': 'Date du revisionnage',
|
||||
'form.reviewPublic': 'Afficher cet avis sur mon profil',
|
||||
'form.reviewPublicHint': 'Sinon, il reste visible par toi seul.',
|
||||
|
||||
'journal.rewatched': 'Revu',
|
||||
'journal.started': 'Commencé',
|
||||
@@ -724,7 +784,7 @@ const dict = {
|
||||
'social.bioPh': 'Ce que tu aimes regarder, tes genres préférés…',
|
||||
'social.privateAccount': 'Compte privé',
|
||||
'social.privateHint': 'Seuls les abonnés que tu acceptes voient tes visionnages.',
|
||||
'social.publicHint': 'Ton nom, ton pseudo, ta photo, ta bannière et ta bio sont visibles par tous les membres. Tes avis écrits restent privés, sauf ceux que tu choisis d\'afficher sur ton profil.',
|
||||
'social.publicHint': 'Ton nom, ton pseudo, ta photo, ta bannière, ta bio, tes notes et tes avis sont visibles par les membres. Passe ton compte en privé pour choisir qui peut les voir.',
|
||||
'social.requestsTab_one': 'Demande',
|
||||
'social.requestsTab_other': 'Demandes ({count})',
|
||||
'social.noFollowing': 'Aucun abonnement pour l\'instant.',
|
||||
@@ -762,7 +822,32 @@ const dict = {
|
||||
'welcome.later': "Plus tard",
|
||||
'social.watching': "En cours",
|
||||
'social.watchlist': "Envie de voir",
|
||||
'form.infoHint': "Dates, année, plateforme et genres — remplis automatiquement",
|
||||
'search.allKinds': "Films, séries et animes",
|
||||
'search.animeOnly': "Sans clé TMDB, seuls les animes sont trouvés.",
|
||||
'search.alreadySeries': "déjà dans ta bibliothèque — ouvrir",
|
||||
'form.startShort': "Commencé le",
|
||||
'form.endShort': "Fini le",
|
||||
'hero.allSeen': "Tout vu",
|
||||
'hero.nextOn': 'Prochain épisode le {date}',
|
||||
'hero.upToDate': 'À jour',
|
||||
'hero.seenEp': "J'ai vu {ep}",
|
||||
'hero.seen': "Vu",
|
||||
'hero.markSeen': "Marquer comme vu",
|
||||
'hero.edit': "Modifier les infos",
|
||||
'hero.more': "Lire la suite",
|
||||
'hero.less': "Réduire",
|
||||
'episodes.seasonOption_one': "Saison {season} · {count} épisode",
|
||||
'episodes.seasonOption_other': "Saison {season} · {count} épisodes",
|
||||
'episodes.seen': "{done}/{total} vus",
|
||||
'episodes.short': "É{n}",
|
||||
'episodes.upcoming': "le {date}",
|
||||
'episodes.nameless': "Épisode {n}",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "Je regarde",
|
||||
'homeHero.next': "À voir ensuite",
|
||||
'homeHero.details': "Fiche",
|
||||
'homeHero.continueRow': "Reprendre",
|
||||
'homeHero.nextUp': "Prochain : {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** हिन्दी */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'रद्द करें',
|
||||
'common.confirm': 'कन्फ़र्म करें',
|
||||
'common.close': 'बंद करें',
|
||||
'common.save': 'सेव करें',
|
||||
'common.add': 'जोड़ें',
|
||||
'common.delete': 'डिलीट करें',
|
||||
'common.all': 'सभी',
|
||||
'common.offline': 'इंटरनेट कनेक्शन नहीं है।',
|
||||
'common.minutes': '{n} मिनट',
|
||||
'common.hours': '{h} घं',
|
||||
'common.hoursMinutes': '{h} घं {m}',
|
||||
'common.daysHours': '{d} दिन {h} घं',
|
||||
'common.decimalSep': '.',
|
||||
'common.removeX': '{name} हटाएँ',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'एडिट करें',
|
||||
'common.moveUp': 'ऊपर ले जाएँ',
|
||||
'common.moveDown': 'नीचे ले जाएँ',
|
||||
|
||||
'nav.home': 'होम',
|
||||
'nav.catalog': 'कैटलॉग',
|
||||
'nav.stats': 'आँकड़े',
|
||||
'nav.settings': 'सेटिंग्स',
|
||||
'nav.addTitle': 'टाइटल जोड़ें',
|
||||
|
||||
'type.film': 'फ़िल्म',
|
||||
'type.serie': 'सीरीज़',
|
||||
'type.anime': 'एनिमे',
|
||||
'type.kdrama': 'K-ड्रामा',
|
||||
'type.cdrama': 'C-ड्रामा',
|
||||
'type.autre': 'अन्य',
|
||||
|
||||
'typePlural.film': 'फ़िल्में',
|
||||
'typePlural.serie': 'सीरीज़',
|
||||
'typePlural.anime': 'एनिमे',
|
||||
'typePlural.kdrama': 'K-ड्रामा',
|
||||
'typePlural.cdrama': 'C-ड्रामा',
|
||||
|
||||
'status.a_voir': 'देखना है',
|
||||
'status.en_cours': 'देख रहे हैं',
|
||||
'status.termine': 'पूरा हुआ',
|
||||
'status.pause': 'रुका हुआ',
|
||||
'status.abandonne': 'छोड़ दिया',
|
||||
|
||||
'criteria.story': 'कहानी / प्लॉट',
|
||||
'criteria.cast': 'किरदार / कास्ट',
|
||||
'criteria.direction': 'निर्देशन / एनिमेशन',
|
||||
'criteria.ost': 'साउंडट्रैक (OST)',
|
||||
|
||||
'subtype.documentary': 'डॉक्यूमेंट्री',
|
||||
'subtype.reality': 'रियलिटी शो',
|
||||
'subtype.show': 'टीवी शो',
|
||||
'subtype.short': 'शॉर्ट फ़िल्म',
|
||||
'subtype.stage': 'स्टेज शो',
|
||||
'subtype.miniseries': 'मिनी-सीरीज़',
|
||||
|
||||
|
||||
'genre.action': 'एक्शन',
|
||||
'genre.adventure': 'एडवेंचर',
|
||||
'genre.comedy': 'कॉमेडी',
|
||||
'genre.drama': 'ड्रामा',
|
||||
'genre.romance': 'रोमांस',
|
||||
'genre.romcom': 'रोम-कॉम',
|
||||
'genre.thriller': 'थ्रिलर',
|
||||
'genre.horror': 'हॉरर',
|
||||
'genre.mystery': 'मिस्ट्री',
|
||||
'genre.crime': 'क्राइम',
|
||||
'genre.scifi': 'साइंस-फ़िक्शन',
|
||||
'genre.fantasy': 'फ़ैंटेसी',
|
||||
'genre.historical': 'ऐतिहासिक',
|
||||
'genre.sliceOfLife': 'स्लाइस ऑफ़ लाइफ़',
|
||||
'genre.shonen': 'शोनेन',
|
||||
'genre.shojo': 'शोजो',
|
||||
'genre.seinen': 'सेनेन',
|
||||
'genre.isekai': 'इसेकाई',
|
||||
'genre.mecha': 'मेका',
|
||||
'genre.sports': 'स्पोर्ट्स',
|
||||
'genre.musical': 'म्यूज़िकल',
|
||||
'genre.medical': 'मेडिकल',
|
||||
'genre.legal': 'लीगल',
|
||||
'genre.wuxia': 'वूशिया',
|
||||
'genre.xianxia': 'शियानशिया',
|
||||
'genre.family': 'फ़ैमिली',
|
||||
'genre.animation': 'एनिमेशन',
|
||||
'genre.psychological': 'साइकोलॉजिकल',
|
||||
'genre.supernatural': 'अलौकिक',
|
||||
'genre.romanticComedy': 'रोमांटिक कॉमेडी',
|
||||
'genre.documentary': 'डॉक्यूमेंट्री',
|
||||
'genre.war': 'युद्ध',
|
||||
'genre.western': 'वेस्टर्न',
|
||||
'genre.music': 'संगीत',
|
||||
'genre.ecchi': 'एच्ची',
|
||||
'genre.kids': 'बच्चों के लिए',
|
||||
'genre.news': 'न्यूज़',
|
||||
'genre.reality': 'रियलिटी',
|
||||
'genre.talk': 'टॉक शो',
|
||||
'genre.soap': 'सोप ओपेरा',
|
||||
'genre.politics': 'राजनीति',
|
||||
'genre.tvMovie': 'टीवी फ़िल्म',
|
||||
'genre.anime': 'एनिमे',
|
||||
'genre.magicalGirl': 'मैजिकल गर्ल',
|
||||
|
||||
'confirm.title': 'क्या आप पक्का करना चाहते हैं?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB ने रिक्वेस्ट अस्वीकार कर दी।',
|
||||
'err.tmdbKeyRefused': 'TMDB की अस्वीकार हुई। सेटिंग्स में इसे जाँचें।',
|
||||
'err.tmdbStatus': 'TMDB का जवाब: {status}।',
|
||||
'err.tmdbRef': 'अमान्य TMDB रेफ़रेंस।',
|
||||
'err.anilistRate': 'AniList रिक्वेस्ट सीमित कर रहा है, एक मिनट बाद फिर कोशिश करें।',
|
||||
'err.anilistStatus': 'AniList का जवाब: {status}।',
|
||||
'err.searchRate': 'बहुत ज़्यादा सर्च, कुछ मिनट बाद फिर कोशिश करें।',
|
||||
|
||||
'anilist.short': 'शॉर्ट एनिमे',
|
||||
'anilist.movie': 'एनिमेटेड फ़िल्म',
|
||||
'anilist.special': 'स्पेशल',
|
||||
'anilist.music': 'म्यूज़िक वीडियो',
|
||||
|
||||
'release.cinema': 'सिनेमाघरों में',
|
||||
'release.online': 'VOD / स्ट्रीमिंग पर',
|
||||
'release.release': 'रिलीज़',
|
||||
'release.season': 'सीज़न {season}',
|
||||
'release.episode': 'एपिसोड {ep}',
|
||||
'release.newEpisode': 'नया एपिसोड',
|
||||
'release.firstEpisode': 'पहला एपिसोड',
|
||||
'release.newSeriesN': 'नई सीरीज़ · {count} एपिसोड',
|
||||
'release.seasonN': 'सीज़न {season} · {count} एपिसोड',
|
||||
'release.seasonEp1': 'सीज़न {season} · एपिसोड 1',
|
||||
'release.episodes': 'एपिसोड {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · एपिसोड {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · एपिसोड {ep}',
|
||||
'release.episodeFinal': 'एपिसोड {ep} · फ़िनाले',
|
||||
'release.filmJapan': 'जापान में फ़िल्म',
|
||||
|
||||
'card.ep': 'एपि. {n}',
|
||||
'card.plusOne': '{title} के लिए +1 एपिसोड',
|
||||
'card.open': '{title} खोलें',
|
||||
|
||||
'rating.outOf10': '10 में से रेटिंग',
|
||||
'rating.outOf5': '5 में से रेटिंग',
|
||||
'rating.stars_one': '{count} स्टार',
|
||||
'rating.stars_other': '{count} स्टार',
|
||||
'rating.clear': 'रेटिंग हटाएँ',
|
||||
|
||||
'share.previewLabel': 'इमेज प्रीव्यू',
|
||||
'share.preview': 'प्रीव्यू',
|
||||
'share.posterAlt': '{title} का पोस्टर',
|
||||
'share.share': 'शेयर करें',
|
||||
'share.saveImage': 'इमेज सेव करें',
|
||||
'share.err.create': 'इमेज नहीं बन सकी',
|
||||
'share.minutesLong': '{n} मिनट',
|
||||
'share.createdBy': 'निर्माता',
|
||||
'share.directedBy': 'निर्देशक',
|
||||
'share.producedBy': 'प्रोड्यूसर',
|
||||
'share.starring': 'कलाकार',
|
||||
'share.genres': 'जॉनर',
|
||||
'share.myRating': 'मेरी रेटिंग',
|
||||
'share.myTop': 'मेरे टॉप',
|
||||
|
||||
'auth.hidePassword': 'पासवर्ड छिपाएँ',
|
||||
'auth.showPassword': 'पासवर्ड दिखाएँ',
|
||||
'auth.mismatch': 'दोनों पासवर्ड मेल नहीं खाते।',
|
||||
'auth.created': 'अकाउंट बन गया! इसे एक्टिवेट करने के लिए {email} पर भेजा गया लिंक खोलें, फिर लॉग इन करें।',
|
||||
'auth.resetSent': 'अगर इस ईमेल से कोई अकाउंट है, तो नया पासवर्ड सेट करने का लिंक भेज दिया गया है।',
|
||||
'auth.tagline': 'फ़िल्मों, सीरीज़, एनिमे और ड्रामा की आपकी डायरी।',
|
||||
'auth.loginTab': 'लॉग इन',
|
||||
'auth.signupTab': 'साइन अप',
|
||||
'auth.forgotTitle': 'पासवर्ड भूल गए',
|
||||
'auth.email': 'ईमेल पता',
|
||||
'auth.password': 'पासवर्ड',
|
||||
'auth.confirmPassword': 'पासवर्ड कन्फ़र्म करें',
|
||||
'auth.minChars': 'कम से कम {n} कैरेक्टर।',
|
||||
'auth.login': 'लॉग इन करें',
|
||||
'auth.signup': 'मेरा अकाउंट बनाएँ',
|
||||
'auth.sendLink': 'लिंक भेजें',
|
||||
'auth.forgot': 'पासवर्ड भूल गए?',
|
||||
'auth.backToLogin': 'लॉग इन पर वापस जाएँ',
|
||||
'auth.privacy': 'आपका अकाउंट आपकी लाइब्रेरी को सुरक्षित रखता है। आपकी प्रोफ़ाइल (देखे गए टाइटल, रेटिंग और रिव्यू) सदस्यों को दिखती है, जब तक आप उसे प्राइवेट न करें; आपकी लिस्ट और सेटिंग्स प्राइवेट रहती हैं। सब कुछ आपके डिवाइस पर भी रहता है ताकि ऐप बिना इंटरनेट के चले।',
|
||||
'auth.newPasswordTitle': 'अपना नया पासवर्ड चुनें।',
|
||||
'auth.newPassword': 'नया पासवर्ड',
|
||||
'auth.err.credentials': 'ईमेल या पासवर्ड गलत है।',
|
||||
'auth.err.notConfirmed': 'पहले ईमेल में मिले लिंक से अपना पता कन्फ़र्म करें।',
|
||||
'auth.err.exists': 'इस ईमेल से पहले से एक अकाउंट मौजूद है।',
|
||||
'auth.err.weak': 'पासवर्ड बहुत कमज़ोर है (कम से कम {n} कैरेक्टर, अक्षर और अंक मिलाकर)।',
|
||||
'auth.err.samePassword': 'नया पासवर्ड पुराने से अलग होना चाहिए।',
|
||||
'auth.err.emailRate': 'बहुत ज़्यादा रिक्वेस्ट। कुछ मिनट बाद फिर कोशिश करें।',
|
||||
'auth.err.rate': 'बहुत ज़्यादा कोशिशें। कुछ मिनट बाद फिर कोशिश करें।',
|
||||
'auth.err.signupDisabled': 'साइन अप फ़िलहाल बंद हैं।',
|
||||
'auth.err.emailInvalid': 'अमान्य ईमेल पता।',
|
||||
'auth.err.invalid': 'अमान्य ईमेल पता या पासवर्ड।',
|
||||
'auth.err.session': 'सेशन खत्म हो गया, कृपया फिर से लॉग इन करें।',
|
||||
'auth.err.status': 'सर्वर ने रिक्वेस्ट अस्वीकार कर दी ({status})।',
|
||||
'auth.err.response': 'सर्वर से अमान्य जवाब।',
|
||||
'auth.err.linkExpired': 'इस लिंक की समय-सीमा खत्म हो गई है। नया लिंक मँगाएँ।',
|
||||
'auth.err.linkUsed': 'यह लिंक अमान्य है या पहले ही इस्तेमाल हो चुका है।',
|
||||
'auth.err.linkInvalid': 'यह लिंक अमान्य है।',
|
||||
|
||||
'settings.language': 'भाषा',
|
||||
'settings.langAuto': 'स्वचालित ({lang})',
|
||||
'settings.backupShared': 'बैकअप शेयर हो गया।',
|
||||
'settings.backupDownloaded': 'बैकअप डाउनलोड हो गया।',
|
||||
'settings.exportFailed': 'एक्सपोर्ट नहीं हो सका।',
|
||||
'settings.noValidItems': 'फ़ाइल में कोई मान्य एंट्री नहीं है।',
|
||||
'settings.imported_one': '{count} एंट्री इम्पोर्ट हुई।',
|
||||
'settings.imported_other': '{count} एंट्री इम्पोर्ट हुईं।',
|
||||
'settings.importedSkipped': '{n} एंट्री इम्पोर्ट हुईं, {skipped} छोड़ी गईं।',
|
||||
'settings.cleared': 'लाइब्रेरी खाली कर दी गई।',
|
||||
'settings.pageTitle': 'मेरी ',
|
||||
'settings.pageAccent': 'सेटिंग्स',
|
||||
'settings.languageHint': 'ऐप, तारीखों और TMDB से ली गई जानकारी (टाइटल, सारांश) की भाषा।',
|
||||
'settings.rating': 'रेटिंग',
|
||||
'settings.scale5': '5 में से ★',
|
||||
'settings.scale10': '10 में से',
|
||||
'settings.ratingHint': '5 में से आधे स्टार, या 10 में से 0.5 के स्टेप। मौजूदा रेटिंग अपने-आप बदल जाती हैं।',
|
||||
'settings.theme': 'थीम',
|
||||
'settings.appearance': 'दिखावट',
|
||||
'settings.appearanceHint': '“ऑटो” आपके ब्राउज़र का अनुसरण करता है (हल्का या गहरा)।',
|
||||
'theme.modeAuto': 'ऑटो',
|
||||
'theme.modeLight': 'हल्का',
|
||||
'theme.modeDark': 'गहरा',
|
||||
'theme.modeNight': 'रात',
|
||||
'theme.modeStarfield': 'तारों भरा',
|
||||
'settings.accentColor': 'एक्सेंट रंग',
|
||||
'settings.installApp': 'ऐप इंस्टॉल करें',
|
||||
'settings.installHint': 'AzuuCine को अपनी होम स्क्रीन या डेस्कटॉप पर जोड़ें।',
|
||||
'settings.installed': 'ऐप इंस्टॉल हो गया',
|
||||
'settings.notifs': 'सूचनाएँ',
|
||||
'settings.notifsHint': 'चुनो कि घंटी किससे बजे।',
|
||||
'settings.notifEpisodes': 'नए एपिसोड',
|
||||
'settings.notifFollows': 'नए फ़ॉलोअर',
|
||||
'settings.notifAccepted': 'स्वीकृत अनुरोध',
|
||||
'settings.notifReactions': 'मेरी समीक्षाओं पर प्रतिक्रियाएँ',
|
||||
'notif.new_episode': '{title} का नया एपिसोड',
|
||||
'notif.new_season': '{title} का नया सीज़न',
|
||||
'reviews.title': 'समीक्षाएँ',
|
||||
'reviews.friends': 'तुम्हारे दोस्त',
|
||||
'reviews.others': 'अन्य सदस्य',
|
||||
'reviews.noneFriends': 'तुम्हारे दोस्तों की कोई समीक्षा नहीं',
|
||||
'reviews.noneOthers': 'कोई अन्य समीक्षा नहीं',
|
||||
'reviews.none': 'अभी कोई समीक्षा नहीं',
|
||||
'reviews.seeAll': 'सभी समीक्षाएँ देखें',
|
||||
'reviews.react': 'प्रतिक्रिया दें',
|
||||
'notif.title': 'सूचनाएँ',
|
||||
'notif.empty': 'कोई सूचना नहीं',
|
||||
'notif.someone': 'किसी ने',
|
||||
'notif.follow_request': 'तुम्हें फ़ॉलो करना चाहता है',
|
||||
'notif.follow_accepted': 'तुम्हारा अनुरोध स्वीकार किया',
|
||||
'notif.new_follower': 'तुम्हें फ़ॉलो करने लगा',
|
||||
'notif.reaction': 'तुम्हारी समीक्षा पर प्रतिक्रिया दी',
|
||||
'notif.on': '{title} पर',
|
||||
'home.notifications': 'सूचनाएँ',
|
||||
'home.notificationsN': '{count} सूचनाएँ',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine इंस्टॉल करें',
|
||||
'install.ios': 'AzuuCine को Safari में खोलें।\nShare बटन दबाएँ (ऊपर तीर वाला वर्ग)।\n“Add to Home Screen” चुनें, फिर “Add”।',
|
||||
'install.android': 'AzuuCine को Chrome में खोलें।\nऊपर दाईं ओर ⋮ मेनू दबाएँ।\n“होम स्क्रीन में जोड़ें” (या “ऐप इंस्टॉल करें”) चुनें।',
|
||||
'install.desktop': 'एड्रेस बार में दाईं ओर इंस्टॉल आइकन पर क्लिक करें (तीर वाली स्क्रीन)।\nया: ब्राउज़र का ⋮ मेनू → “AzuuCine इंस्टॉल करें”।\n“Install” से पुष्टि करें।',
|
||||
'install.other': 'अपने ब्राउज़र का मेनू खोलें।\n“ऐप इंस्टॉल करें” या “होम स्क्रीन में जोड़ें” खोजें।',
|
||||
'install.gotIt': 'समझ गया',
|
||||
'settings.themeX': '{name} थीम',
|
||||
'settings.pickColor': 'अपना रंग चुनें',
|
||||
'settings.freeColor': 'कस्टम रंग',
|
||||
'settings.freeColorHint': 'कोई भी रंग चलेगा: टेक्स्ट पढ़ने लायक बने रहने के लिए अपने-आप एडजस्ट होता है।',
|
||||
'settings.databases': 'फ़िल्म डेटाबेस',
|
||||
'settings.anilistActive': 'एनिमे · चालू',
|
||||
'settings.noConfig': 'कोई सेटअप ज़रूरी नहीं।',
|
||||
'settings.tmdbActive': 'फ़िल्में और सीरीज़ · चालू',
|
||||
'settings.checking': 'जाँच हो रही है…',
|
||||
'settings.offline': 'ऑफ़लाइन',
|
||||
'settings.proxyMissingKey': 'TMDB की नहीं मिली',
|
||||
'settings.proxyNotDeployed': 'सर्वर सेट नहीं है',
|
||||
'settings.unavailable': 'उपलब्ध नहीं',
|
||||
'settings.proxyMissingKeyHint': 'सर्वर फ़ंक्शन मौजूद है, लेकिन आपकी TMDB की सेव नहीं है (Supabase में TMDB_API_KEY सीक्रेट), या TMDB उसे अस्वीकार कर रहा है।',
|
||||
'settings.proxyNotDeployedHint': '“tmdb” फ़ंक्शन अभी Supabase पर डिप्लॉय नहीं हुआ है (README → Accounts, स्टेप 5 देखें)।',
|
||||
'settings.proxyErrorHint': 'सर्वर अभी ठीक से जवाब नहीं दे रहा है।',
|
||||
'settings.proxyOkHint': 'ऐप के सर्वर से उपलब्ध: कोई की डालने की ज़रूरत नहीं।',
|
||||
'settings.recheck': 'फिर से जाँचें',
|
||||
'settings.keyRefused': 'की अस्वीकार हुई',
|
||||
'settings.notConfigured': 'सेट नहीं है',
|
||||
'settings.tmdbHelp': 'फ़िल्में, सीरीज़, K-ड्रामा, C-ड्रामा। themoviedb.org पर मुफ़्त अकाउंट बनाएँ, फिर Settings → API में जाकर अपनी “API Key” या “API Read Access Token” पेस्ट करें।',
|
||||
'settings.tmdbKey': 'TMDB की',
|
||||
'settings.hideKey': 'की छिपाएँ',
|
||||
'settings.showKey': 'की दिखाएँ',
|
||||
'settings.validate': 'सेव करें',
|
||||
'settings.remove': 'हटाएँ',
|
||||
'settings.keyLocal': 'की सिर्फ़ इसी डिवाइस पर रहती है और कभी बैकअप में शामिल नहीं होती।',
|
||||
'settings.topHint': 'होम स्क्रीन पर दिखने वाली कैटेगरी।',
|
||||
'settings.topNone': 'कोई कैटेगरी नहीं: टॉप 5 सेक्शन छिपा हुआ है।',
|
||||
'settings.backup': 'बैकअप',
|
||||
'settings.export': 'मेरा डेटा एक्सपोर्ट करें',
|
||||
'settings.exportHint_one': '{count} एंट्री · JSON फ़ाइल, इसे नियमित रूप से करें',
|
||||
'settings.exportHint_other': '{count} एंट्री · JSON फ़ाइल, इसे नियमित रूप से करें',
|
||||
'settings.import': 'बैकअप इम्पोर्ट करें',
|
||||
'settings.importHint': '.json फ़ाइल से रीस्टोर करें',
|
||||
'settings.legacyDetected': 'पुराने ऐप का बैकअप मिला',
|
||||
'settings.found_one': '{count} एंट्री मिली। इसे कैसे इम्पोर्ट करना है?',
|
||||
'settings.found_other': '{count} एंट्री मिलीं। इन्हें कैसे इम्पोर्ट करना है?',
|
||||
'settings.foundSkipped': '{n} एंट्री मिलीं ({skipped} अमान्य छोड़ी गईं)। इन्हें कैसे इम्पोर्ट करना है?',
|
||||
'settings.merge': 'मर्ज करें',
|
||||
'settings.replaceAll': 'सब बदलें',
|
||||
'settings.mergeHint': '“मर्ज करें” नई एंट्री जोड़ता है और पहले से मौजूद एंट्री (एक ही ID) को अपडेट करता है।',
|
||||
'settings.storage': 'स्टोरेज',
|
||||
'settings.used': 'इस्तेमाल हुई जगह',
|
||||
'settings.storageCloud': 'आपका डेटा आपके अकाउंट में सेव होता है और इस डिवाइस पर भी रहता है ताकि ऐप बिना इंटरनेट के चले। ऑनलाइन होते ही यह अपने-आप सिंक हो जाता है।',
|
||||
'settings.storageLocal': 'आपका डेटा सिर्फ़ इसी ब्राउज़र में, इसी डिवाइस पर सेव है। अगर आप ब्राउज़र डेटा मिटाते हैं या ऐप अनइंस्टॉल करते हैं, तो यह मिट जाएगा: नियमित रूप से बैकअप एक्सपोर्ट करें।',
|
||||
'settings.danger': 'खतरनाक ज़ोन',
|
||||
'settings.clearAll': 'पूरी लाइब्रेरी मिटाएँ',
|
||||
'settings.clearAllHint_one': '{count} टाइटल',
|
||||
'settings.clearAllHint_other': '{count} टाइटल',
|
||||
'settings.clearAllHintCloud_one': '{count} टाइटल · आपके सभी डिवाइस पर',
|
||||
'settings.clearAllHintCloud_other': '{count} टाइटल · आपके सभी डिवाइस पर',
|
||||
'settings.deleting': 'डिलीट हो रहा है…',
|
||||
'settings.deleteAccount': 'मेरा अकाउंट डिलीट करें',
|
||||
'settings.deleteAccountHint': 'अकाउंट और डेटा हमेशा के लिए मिट जाएगा',
|
||||
'settings.footerCloud': 'सिंक किया गया अकाउंट',
|
||||
'settings.footerLocal': '100% लोकल',
|
||||
'settings.clearConfirm_one': '{count} टाइटल हमेशा के लिए मिट जाएगा। पहले बैकअप एक्सपोर्ट करना न भूलें।',
|
||||
'settings.clearConfirm_other': 'आपके {count} टाइटल हमेशा के लिए मिट जाएँगे। पहले बैकअप एक्सपोर्ट करना न भूलें।',
|
||||
'settings.clearConfirmCloud_one': '{count} टाइटल आपके सभी डिवाइस से हमेशा के लिए मिट जाएगा। पहले बैकअप एक्सपोर्ट करना न भूलें।',
|
||||
'settings.clearConfirmCloud_other': 'आपके {count} टाइटल आपके सभी डिवाइस से हमेशा के लिए मिट जाएँगे। पहले बैकअप एक्सपोर्ट करना न भूलें।',
|
||||
'settings.clearAllConfirm': 'सब कुछ मिटाएँ',
|
||||
'settings.deleteAccountTitle': 'अपना अकाउंट डिलीट करें?',
|
||||
'settings.deleteAccountMessage': 'आपका अकाउंट और आपका सारा डेटा (टाइटल, लिस्ट, सेटिंग्स) सर्वर और इस डिवाइस से हमेशा के लिए मिट जाएगा। पहले बैकअप एक्सपोर्ट करना न भूलें। इसे वापस नहीं किया जा सकता।',
|
||||
'settings.deleteForever': 'हमेशा के लिए डिलीट करें',
|
||||
'settings.replaceConfirm': 'आपकी पूरी मौजूदा लाइब्रेरी इस फ़ाइल के कंटेंट से बदल दी जाएगी।',
|
||||
'settings.replace': 'बदलें',
|
||||
|
||||
'sync.err.push': 'अपलोड अस्वीकार हुआ ({status})',
|
||||
'sync.err.pull': 'डाउनलोड अस्वीकार हुआ ({status})',
|
||||
|
||||
'store.dbError': 'लोकल डेटाबेस नहीं खुल सका: {error}',
|
||||
'store.invalidItem': 'अमान्य एंट्री',
|
||||
|
||||
'lists.newList': 'नई लिस्ट',
|
||||
'lists.newListPh': 'नई लिस्ट…',
|
||||
'lists.myLists': 'मेरी लिस्ट',
|
||||
'lists.rename': 'नाम बदलें',
|
||||
'lists.delete': 'लिस्ट डिलीट करें',
|
||||
'lists.done': 'हो गया',
|
||||
'lists.addRemove': 'टाइटल जोड़ें / हटाएँ',
|
||||
'lists.searchLibrary': 'मेरी लाइब्रेरी में खोजें…',
|
||||
'lists.emptyTitle': 'खाली लिस्ट',
|
||||
'lists.emptyText': 'ऊपर दिए बटन से या किसी टाइटल के पेज से टाइटल जोड़ें।',
|
||||
'lists.deleteConfirm': 'लिस्ट “{name}” डिलीट हो जाएगी। टाइटल आपकी लाइब्रेरी में बने रहेंगे।',
|
||||
'lists.noneTitle': 'अभी कोई लिस्ट नहीं',
|
||||
'lists.noneText': 'अपने तरीके से लिस्ट बनाएँ: “दोस्तों के साथ देखना है”, “अक्टूबर की हॉरर फ़िल्में”, “सुकून देने वाले ड्रामा”…',
|
||||
'lists.create': 'बनाएँ',
|
||||
|
||||
'account.err.deleteRate': 'बहुत ज़्यादा कोशिशें, एक मिनट बाद फिर कोशिश करें।',
|
||||
'account.err.delete': 'डिलीट नहीं हो सका। बाद में फिर कोशिश करें।',
|
||||
'account.title': 'मेरा अकाउंट',
|
||||
'account.syncing': 'सिंक हो रहा है…',
|
||||
'account.offline': 'ऑफ़लाइन — सब कुछ इस डिवाइस पर सुरक्षित है',
|
||||
'account.syncError': 'अभी सिंक नहीं हो पा रहा',
|
||||
'account.synced': 'सिंक हुआ {when}',
|
||||
'account.passwordChanged': 'पासवर्ड बदल गया।',
|
||||
'account.imported_one': '{count} टाइटल आपके अकाउंट में जोड़ा गया।',
|
||||
'account.imported_other': '{count} टाइटल आपके अकाउंट में जोड़े गए।',
|
||||
'account.importFailed': 'इम्पोर्ट नहीं हो सका।',
|
||||
'account.pending_one': '{count} बाकी',
|
||||
'account.pending_other': '{count} बाकी',
|
||||
'account.syncNow': 'अभी सिंक करें',
|
||||
'account.newPasswordPh': 'नया पासवर्ड (कम से कम {n} कैरेक्टर)',
|
||||
'account.changePassword': 'पासवर्ड बदलें',
|
||||
'account.logout': 'लॉग आउट',
|
||||
'account.logoutHint': 'आपका डेटा आपके अकाउंट में रहेगा और इस डिवाइस से हटा दिया जाएगा।',
|
||||
'account.ignore': 'नज़रअंदाज़ करें',
|
||||
'account.deviceHint': 'इन्हें आपके अकाउंट में ले जाया जाएगा और आपके सभी डिवाइस पर सिंक किया जाएगा।',
|
||||
'account.unsentTitle': 'बदलाव नहीं भेजे गए',
|
||||
'account.logoutAnyway': 'फिर भी लॉग आउट करें',
|
||||
'account.unsentMessage_one': '{count} बदलाव अभी तक नहीं भेजा गया (कनेक्शन नहीं है?)। अगर आप अभी लॉग आउट करते हैं, तो यह खो जाएगा।',
|
||||
'account.unsentMessage_other': '{count} बदलाव अभी तक नहीं भेजे गए (कनेक्शन नहीं है?)। अगर आप अभी लॉग आउट करते हैं, तो ये खो जाएँगे।',
|
||||
'account.nTitles_one': '{count} टाइटल',
|
||||
'account.nTitles_other': '{count} टाइटल',
|
||||
'account.nLists_one': '{count} लिस्ट',
|
||||
'account.nLists_other': '{count} लिस्ट',
|
||||
'account.deviceData': 'इस डिवाइस पर आपके अकाउंट से पहले बनाए गए {titles} हैं। इन्हें अपने अकाउंट में जोड़ें?',
|
||||
'account.deviceDataWithLists': 'इस डिवाइस पर आपके अकाउंट से पहले बनाए गए {titles} और {lists} हैं। इन्हें अपने अकाउंट में जोड़ें?',
|
||||
|
||||
'time.never': 'कभी नहीं',
|
||||
'time.justNow': 'अभी-अभी',
|
||||
'time.minutesAgo': '{n} मिनट पहले',
|
||||
'time.hoursAgo': '{n} घं पहले',
|
||||
'time.onDate': '{date} को',
|
||||
'time.today': 'आज',
|
||||
'time.tomorrow': 'कल',
|
||||
'time.daysAgo': '{n} दिन पहले',
|
||||
|
||||
'theme.red': 'लाल',
|
||||
'theme.orange': 'नारंगी',
|
||||
'theme.yellow': 'पीला',
|
||||
'theme.lime': 'नींबू हरा',
|
||||
'theme.green': 'हरा',
|
||||
'theme.mint': 'मिंट',
|
||||
'theme.cyan': 'सियान',
|
||||
'theme.blue': 'नीला',
|
||||
'theme.indigo': 'इंडिगो',
|
||||
'theme.violet': 'बैंगनी',
|
||||
'theme.pink': 'गुलाबी',
|
||||
'theme.white': 'सफ़ेद',
|
||||
|
||||
'home.seeAll': 'सभी देखें',
|
||||
'home.subtitle': 'मेरी वॉच डायरी',
|
||||
'home.calendarSoon_one': 'रिलीज़ कैलेंडर: इस हफ़्ते {count}',
|
||||
'home.calendarSoon_other': 'रिलीज़ कैलेंडर: इस हफ़्ते {count}',
|
||||
'home.emptyTitle': 'आपकी लाइब्रेरी खाली है',
|
||||
'home.emptyCloud': 'अपनी पहली फ़िल्म, एनिमे या ड्रामा जोड़ें। यह आपके अकाउंट में सेव होगा।',
|
||||
'home.emptyLocal': 'अपनी पहली फ़िल्म, एनिमे या ड्रामा जोड़ें। सब कुछ सिर्फ़ इसी फ़ोन पर सेव रहेगा।',
|
||||
'home.completed': 'पूरे हुए',
|
||||
'home.thisYear_one': 'इस साल {count}',
|
||||
'home.thisYear_other': 'इस साल {count}',
|
||||
'home.toWatchN_one': '{count} देखना है',
|
||||
'home.toWatchN_other': '{count} देखने हैं',
|
||||
'home.screenTime': 'स्क्रीन टाइम',
|
||||
'home.estimate': 'अनुमान',
|
||||
'home.episodesSeen': 'देखे गए एपिसोड',
|
||||
'home.noIdea': 'तय नहीं कर पा रहे?',
|
||||
'home.rouletteHint_one': 'देखने वाले आपके टाइटल में से रैंडम चुनाव',
|
||||
'home.rouletteHint_other': 'देखने वाले आपके {count} टाइटल में से रैंडम चुनाव',
|
||||
'home.rouletteHintAll': 'आपकी लाइब्रेरी में से रैंडम चुनाव',
|
||||
'home.recentlyFinished': 'हाल ही में पूरे किए',
|
||||
|
||||
'calendar.title': 'रिलीज़ कैलेंडर',
|
||||
'calendar.inMyList': 'मेरी लिस्ट में',
|
||||
'calendar.inMyListLegend': 'मेरी लिस्ट में',
|
||||
'calendar.seeMore_one': 'दूसरा भी देखें',
|
||||
'calendar.seeMore_other': 'बाकी {count} देखें',
|
||||
'calendar.heading': 'रिलीज़ ',
|
||||
'calendar.headingAccent': 'कैलेंडर',
|
||||
'calendar.refresh': 'रिफ़्रेश करें',
|
||||
'calendar.all': 'सभी रिलीज़',
|
||||
'calendar.mine': 'मेरे टाइटल',
|
||||
'calendar.prevMonth': 'पिछला महीना',
|
||||
'calendar.nextMonth': 'अगला महीना',
|
||||
'calendar.releases_one': '{count} रिलीज़',
|
||||
'calendar.releases_other': '{count} रिलीज़',
|
||||
'calendar.others': 'अन्य रिलीज़',
|
||||
'calendar.needKey': 'TMDB की के बिना सिर्फ़ एनिमे दिखते हैं। फ़िल्में, सीरीज़ और ड्रामा भी देखने के लिए सेटिंग्स में अपनी की जोड़ें।',
|
||||
'calendar.range': 'पिछले महीने से लेकर अगले 6 महीनों तक की रिलीज़ उपलब्ध हैं।',
|
||||
'calendar.failed': 'कुछ रिलीज़ लोड नहीं हो सकीं। ↻ से फिर कोशिश करें।',
|
||||
'calendar.nothingThatDay': 'उस दिन कुछ भी तय नहीं है।',
|
||||
'calendar.next14': 'अगले 14 दिन',
|
||||
'calendar.loading': 'रिलीज़ खोजी जा रही हैं…',
|
||||
'calendar.noneMine14': 'अगले 14 दिनों में आपके टाइटल की कोई रिलीज़ घोषित नहीं हुई है।',
|
||||
'calendar.noneMineMonth': 'इस महीने आपके टाइटल की कोई रिलीज़ घोषित नहीं हुई है।',
|
||||
'calendar.none14': 'अगले 14 दिनों में कोई रिलीज़ नहीं।',
|
||||
'calendar.noneMonth': 'इस महीने कोई रिलीज़ नहीं मिली।',
|
||||
'calendar.footer': 'आपके देश के सिनेमाघरों में फ़िल्में, सबसे ज़्यादा फ़ॉलो की जाने वाली सीरीज़ और ड्रामा के एपिसोड (TMDB) और जापान में प्रसारित सभी एनिमे के एपिसोड (AniList)। आपकी लाइब्रेरी के टाइटल हाइलाइट होते हैं; किसी रिलीज़ को अपनी लिस्ट में जोड़ने के लिए “देखना है” पर टैप करें।',
|
||||
|
||||
'roulette.name': 'रूलेट',
|
||||
'roulette.rewatch': 'दोबारा देखना है',
|
||||
'roulette.anyTime': 'कोई भी',
|
||||
'roulette.heading': 'किस्मत की ',
|
||||
'roulette.headingAccent': 'रूलेट',
|
||||
'roulette.tonight': 'आज रात देखेंगे…',
|
||||
'roulette.nEps': '{n} एपि.',
|
||||
'roulette.perEp': '{duration} / एपि.',
|
||||
'roulette.stoppedAt': 'आपने एपिसोड {ep} पर छोड़ा था।',
|
||||
'roulette.stoppedAtOf': 'आपने {total} में से एपिसोड {ep} पर छोड़ा था।',
|
||||
'roulette.enjoy': 'मज़े से देखिए!',
|
||||
'roulette.again': 'फिर से घुमाएँ',
|
||||
'roulette.spinning': 'घूम रहा है…',
|
||||
'roulette.spin': 'रूलेट घुमाएँ',
|
||||
'roulette.poolSize_one': '{count} टाइटल में से चुनाव',
|
||||
'roulette.poolSize_other': '{count} टाइटल में से चुनाव',
|
||||
'roulette.empty': 'कोई टाइटल मेल नहीं खाता: नीचे फ़िल्टर बढ़ाएँ।',
|
||||
'roulette.inside': 'रूलेट में',
|
||||
'roulette.pickFrom': 'इनमें से चुनें',
|
||||
'roulette.rewatchHint': '“दोबारा देखना है” = आपके पूरे किए गए टाइटल जिन्हें 4/5 या उससे ज़्यादा रेटिंग मिली, फ़ेवरेट और टॉप 5।',
|
||||
'roulette.time': 'उपलब्ध समय (फ़िल्म या 1 एपिसोड)',
|
||||
'roulette.seeItem': 'पूरी जानकारी देखें',
|
||||
'roulette.watchIt': 'मैं इसे देखूँगा',
|
||||
|
||||
|
||||
'top.pick': '#{rank} चुनें',
|
||||
'top.shareTitle': 'मेरे टॉप 5 {category}',
|
||||
'top.shareLabel': 'इस टॉप 5 को इमेज के रूप में शेयर करें',
|
||||
'top.title': 'मेरे टॉप',
|
||||
'top.number': '#{rank}',
|
||||
'top.pickFirst': 'अपना #1 चुनें।',
|
||||
'top.editLabel': 'टॉप 5 एडिट करें',
|
||||
'top.freeSlot': 'खाली जगह — नीचे से एक टाइटल चुनें',
|
||||
'top.addFromLibrary': 'मेरी लाइब्रेरी से जोड़ें',
|
||||
'top.allTypes': 'सभी टाइप',
|
||||
'top.searchTitle': 'टाइटल खोजें…',
|
||||
'top.full': 'आपका टॉप 5 भर गया है: दूसरा जोड़ने के लिए एक टाइटल हटाएँ।',
|
||||
'top.noCandidates': 'कोई टाइटल नहीं। “सभी टाइप” या कोई दूसरी खोज आज़माएँ।',
|
||||
|
||||
'reco.error': 'अभी सुझाव लोड नहीं हो पा रहे।',
|
||||
'reco.title': 'सुझाव',
|
||||
'reco.needKey': 'अपने पसंदीदा टाइटल के आधार पर सुझाव पाने के लिए सेटिंग्स में अपनी TMDB की जोड़ें।',
|
||||
'reco.other': 'दूसरा टाइटल',
|
||||
'reco.ifYouLiked': 'अगर आपको पसंद आया',
|
||||
'reco.loading': 'सुझाव खोजे जा रहे हैं…',
|
||||
'reco.none': 'इस टाइटल जैसा सब कुछ आपके पास पहले से है। “दूसरा टाइटल” आज़माएँ।',
|
||||
'reco.added': '{title} जोड़ा गया',
|
||||
'reco.addLabel': '{title} को देखना है में जोड़ें',
|
||||
'reco.addedShort': 'जोड़ा गया',
|
||||
|
||||
'search.offline': 'इंटरनेट कनेक्शन नहीं है: खोज के लिए नेटवर्क ज़रूरी है।',
|
||||
'search.fillFrom': 'डेटाबेस से भरें',
|
||||
'search.openSettings': 'सेटिंग्स खोलें',
|
||||
'search.already': 'पहले से जोड़ा गया',
|
||||
'search.noResults': 'कोई नतीजा नहीं। आप नीचे एंट्री खुद भर सकते हैं।',
|
||||
'search.privacy': 'सिर्फ़ खोजा गया टाइटल {source} को भेजा जाता है। आपकी लाइब्रेरी आपके फ़ोन पर ही रहती है।',
|
||||
|
||||
'catalog.sortRecent': 'हाल ही में एडिट किए',
|
||||
'catalog.sortWatched': 'देखने की तारीख',
|
||||
'catalog.sortRating': 'सबसे ज़्यादा रेटिंग',
|
||||
'catalog.sortTitle': 'टाइटल (A→Z)',
|
||||
'catalog.pageTitle': 'मेरा ',
|
||||
'catalog.pageAccent': 'कैटलॉग',
|
||||
'catalog.journalSubtitle': 'आपकी वॉच हिस्ट्री',
|
||||
'catalog.filteredCount_one': '{count} टाइटल (फ़िल्टर किया गया)',
|
||||
'catalog.filteredCount_other': '{count} टाइटल (फ़िल्टर किए गए)',
|
||||
'catalog.titles': 'टाइटल',
|
||||
'catalog.journal': 'डायरी',
|
||||
'catalog.lists': 'लिस्ट',
|
||||
'catalog.searchPh': 'टाइटल, जॉनर, प्लेटफ़ॉर्म…',
|
||||
'catalog.moreFilters': 'और फ़िल्टर',
|
||||
'catalog.all': 'सभी',
|
||||
'catalog.genre': 'जॉनर',
|
||||
'catalog.minRating': 'न्यूनतम रेटिंग',
|
||||
'catalog.allRatings': 'कोई भी',
|
||||
'catalog.sortBy': 'इसके अनुसार क्रम',
|
||||
'catalog.favorites': 'फ़ेवरेट',
|
||||
'catalog.reset': 'रीसेट करें',
|
||||
'catalog.noResults': 'कोई नतीजा नहीं',
|
||||
'catalog.nothingYet': 'अभी यहाँ कुछ नहीं है',
|
||||
'catalog.noResultsHint': 'कोई दूसरी खोज आज़माएँ या कुछ फ़िल्टर हटाएँ।',
|
||||
'catalog.nothingYetHint': '+ बटन से अपना पहला टाइटल जोड़ें।',
|
||||
'catalog.clearFilters': 'फ़िल्टर हटाएँ',
|
||||
|
||||
'public.agree': 'बिल्कुल दर्शकों जैसी राय',
|
||||
'public.more': 'दर्शकों से +{gap} ज़्यादा',
|
||||
'public.less': 'दर्शकों से −{gap} कम',
|
||||
'public.label': 'दर्शक',
|
||||
'public.me': 'मैं',
|
||||
'public.added_one': '{count} दर्शक रेटिंग जोड़ी गई।',
|
||||
'public.added_other': '{count} दर्शक रेटिंग जोड़ी गईं।',
|
||||
'public.noneFound': 'कोई नई रेटिंग नहीं मिली।',
|
||||
'public.fetch': 'लाएँ ({n})',
|
||||
'public.title': 'मैं बनाम दर्शक',
|
||||
'public.hintFetch': 'अपने रेट किए गए टाइटल की औसत TMDB / AniList रेटिंग लाएँ और देखें कि आपकी राय दर्शकों से कहाँ अलग है।',
|
||||
'public.hintNone': 'इस अवधि में आपके रेट किए गए टाइटल के लिए कोई दर्शक रेटिंग उपलब्ध नहीं है।',
|
||||
'public.hintKey': 'दर्शकों से अपनी तुलना करने के लिए सेटिंग्स में अपनी TMDB की जोड़ें (या एनिमे को AniList से लिंक करें)।',
|
||||
'public.avgGap': 'औसत अंतर',
|
||||
'public.average': 'बिल्कुल औसत',
|
||||
'public.generous': 'दर्शकों से ज़्यादा उदार',
|
||||
'public.harsh': 'दर्शकों से ज़्यादा सख़्त',
|
||||
'public.agreeTitle': 'एक जैसी राय',
|
||||
'public.within5_one': '½ स्टार के अंदर, {count} टाइटल पर',
|
||||
'public.within5_other': '½ स्टार के अंदर, {count} टाइटल पर',
|
||||
'public.within10_one': '1 पॉइंट के अंदर, {count} टाइटल पर',
|
||||
'public.within10_other': '1 पॉइंट के अंदर, {count} टाइटल पर',
|
||||
'public.lovedPre': 'मुझे दर्शकों से ',
|
||||
'public.lovedAccent': 'ज़्यादा पसंद',
|
||||
'public.lovedPost': ' आए',
|
||||
'public.hatedPre': 'मुझे दर्शकों से ',
|
||||
'public.hatedAccent': 'कम पसंद',
|
||||
'public.hatedPost': ' आए',
|
||||
'public.allAgree': 'आपके सभी टाइटल पर आपकी राय दर्शकों जैसी है। कमाल है!',
|
||||
|
||||
'form.rewatchHint': 'दोबारा देखा? हर बार दोबारा देखने को दर्ज करें, यह आपकी डायरी में दिखेगा।',
|
||||
'form.editTitle': 'एंट्री ',
|
||||
'form.editAccent': 'एडिट करें',
|
||||
'form.newTitle': 'नया ',
|
||||
'form.newAccent': 'टाइटल',
|
||||
'form.filledFrom': 'यहाँ से भरा गया',
|
||||
'form.canEdit': 'आप सब कुछ एडिट कर सकते हैं',
|
||||
'form.fillFromDb': 'TMDB / AniList से भरें',
|
||||
'form.pickPoster': 'पोस्टर चुनें',
|
||||
'form.removeImage': 'इमेज हटाएँ',
|
||||
'form.title': 'टाइटल *',
|
||||
'form.titlePh': 'जैसे Your Name',
|
||||
'form.originalTitle': 'मूल टाइटल',
|
||||
'form.originalTitlePh': 'जैसे 君の名は。',
|
||||
'form.synopsis': 'सारांश',
|
||||
'form.type': 'टाइप',
|
||||
'form.subtype': 'प्रकार',
|
||||
'form.subtypePh': 'डॉक्यूमेंट्री, रियलिटी शो…',
|
||||
'form.status': 'स्टेटस',
|
||||
'form.myRating': 'मेरी रेटिंग',
|
||||
'form.favorite': 'फ़ेवरेट',
|
||||
'form.criteria': 'विस्तृत मापदंड (वैकल्पिक)',
|
||||
'form.episodes': 'एपिसोड',
|
||||
'form.minusEp': '-1 एपिसोड',
|
||||
'form.plusEp': '+1 एपिसोड',
|
||||
'form.total': 'कुल',
|
||||
'form.season': 'सीज़न',
|
||||
'form.duration': 'अवधि',
|
||||
'form.durationMin': 'अवधि (मिनट)',
|
||||
'form.year': 'साल',
|
||||
'form.platform': 'प्लेटफ़ॉर्म',
|
||||
'form.genres': 'जॉनर / टैग',
|
||||
'form.genresPh': 'रोमांस, साइंस-फ़िक्शन…',
|
||||
'form.rewatches': 'दोबारा देखे',
|
||||
'form.review': 'मेरा रिव्यू',
|
||||
'form.reviewPh': 'मुझे कैसा लगा, यादगार सीन…',
|
||||
'form.saveChanges': 'बदलाव सेव करें',
|
||||
'form.addToLibrary': 'मेरी लाइब्रेरी में जोड़ें',
|
||||
'form.shareImage': 'इमेज के रूप में शेयर करें',
|
||||
'form.delete': 'यह टाइटल डिलीट करें',
|
||||
'form.deleteConfirm': '“{title}” हमेशा के लिए डिलीट हो जाएगा।',
|
||||
'form.removeRewatch': 'यह दोबारा देखना हटाएँ',
|
||||
'form.rewatchDate': 'दोबारा देखने की तारीख',
|
||||
|
||||
'journal.rewatched': 'दोबारा देखा',
|
||||
'journal.started': 'शुरू किया',
|
||||
'journal.emptyTitle': 'खाली डायरी',
|
||||
'journal.emptyText': 'जैसे ही आपकी एंट्री में शुरू या खत्म करने की तारीख होगी, आपका देखा हुआ यहाँ दिखेगा।',
|
||||
'journal.seen_one': '{count} देखा',
|
||||
'journal.seen_other': '{count} देखे',
|
||||
'journal.more': 'पिछले महीने दिखाएँ',
|
||||
|
||||
'stats.overview': 'ओवरव्यू',
|
||||
'stats.habits': 'आदतें',
|
||||
'stats.tastes': 'पसंद',
|
||||
'stats.pageTitle': 'मेरे ',
|
||||
'stats.pageAccent': 'आँकड़े',
|
||||
'stats.emptyTitle': 'अभी कोई आँकड़े नहीं',
|
||||
'stats.emptyText': 'कुछ टाइटल जोड़ते ही ये यहाँ दिखेंगे।',
|
||||
'stats.sinceStart': 'शुरू से अब तक',
|
||||
'stats.subtitle_one': 'मेरी लाइब्रेरी में {count} टाइटल',
|
||||
'stats.subtitle_other': 'मेरी लाइब्रेरी में {count} टाइटल',
|
||||
'stats.subtitleYear_one': '{year} में {count} टाइटल',
|
||||
'stats.subtitleYear_other': '{year} में {count} टाइटल',
|
||||
'stats.hours_one': 'घंटा',
|
||||
'stats.hours_other': 'घंटे',
|
||||
'stats.nonStopPre': 'यानी ',
|
||||
'stats.nonStopPost': ' लगातार',
|
||||
'stats.days_one': '{count} दिन',
|
||||
'stats.days_other': '{count} दिन',
|
||||
'stats.finishedN_one': '{count} पूरा हुआ',
|
||||
'stats.finishedN_other': '{count} पूरे हुए',
|
||||
'stats.episodesN_one': '{count} एपिसोड',
|
||||
'stats.episodesN_other': '{count} एपिसोड',
|
||||
'stats.timeByType': 'टाइप के अनुसार समय',
|
||||
'stats.noTime': 'इस अवधि में अभी तक कोई समय दर्ज नहीं हुआ।',
|
||||
'stats.avgRating': 'औसत रेटिंग',
|
||||
'stats.rated_one': '{count} टाइटल रेट किया',
|
||||
'stats.rated_other': '{count} टाइटल रेट किए',
|
||||
'stats.inYear': '{year} में',
|
||||
'stats.statuses': 'स्टेटस',
|
||||
'stats.hoursTab': 'घंटे',
|
||||
'stats.monthByMonth': 'महीने-दर-महीने · {year}',
|
||||
'stats.last12': 'पिछले 12 महीने',
|
||||
'stats.monthFinished_one': '{count} टाइटल पूरा किया',
|
||||
'stats.monthFinished_other': '{count} टाइटल पूरे किए',
|
||||
'stats.busiest': 'सबसे व्यस्त महीना:',
|
||||
'stats.records': 'रिकॉर्ड',
|
||||
'stats.marathon': 'सबसे बड़ी मैराथन',
|
||||
'stats.longestFilm': 'सबसे लंबी फ़िल्म',
|
||||
'stats.noRecords': 'इस अवधि में अभी कोई रिकॉर्ड नहीं।',
|
||||
'stats.platforms': 'प्लेटफ़ॉर्म',
|
||||
'stats.bestRated': 'मेरे टॉप रेटेड',
|
||||
'stats.myRatings': 'मेरी रेटिंग',
|
||||
'stats.noRatings': 'इस अवधि में कोई रेटिंग नहीं।',
|
||||
'stats.favGenres': 'पसंदीदा जॉनर',
|
||||
'stats.noGenres': 'अभी कोई जॉनर नहीं।',
|
||||
'stats.countries': 'देश',
|
||||
'stats.noCountry_one': '{count} टाइटल में देश नहीं है: उसके पेज पर “TMDB / AniList से भरें” से इसे भरें।',
|
||||
'stats.noCountry_other': '{count} टाइटल में देश नहीं है: उनके पेज पर “TMDB / AniList से भरें” से इन्हें भरें।',
|
||||
'stats.noCountryLegacy_one': '{count} टाइटल में देश नहीं है: उसके पेज पर “TMDB / AniList से भरें” से इसे भरें, या अपने पुराने ऐप का बैकअप फिर से इम्पोर्ट करें (“मर्ज करें”)।',
|
||||
'stats.noCountryLegacy_other': '{count} टाइटल में देश नहीं है: उनके पेज पर “TMDB / AniList से भरें” से इन्हें भरें, या अपने पुराने ऐप का बैकअप फिर से इम्पोर्ट करें (“मर्ज करें”)।',
|
||||
'stats.byType': 'टाइप के अनुसार',
|
||||
'stats.footnote': 'समय का अनुमान देखे गए एपिसोड और दर्ज अवधि से लगाया गया है (नहीं तो: फ़िल्म 1 घं 50, एनिमे एपिसोड 24 मिनट, सीरीज़ 45 मिनट, K-ड्रामा 1 घं, C-ड्रामा 45 मिनट)। कोई टाइटल उस साल में गिना जाता है जिसमें मैंने उसे पूरा किया।',
|
||||
'stats.ratedAs_one': '{rating} रेटिंग',
|
||||
'stats.ratedAs_other': '{rating} रेटिंग',
|
||||
|
||||
'backup.shareTitle': 'AzuuCine बैकअप',
|
||||
'backup.tooBig': 'फ़ाइल बहुत बड़ी है (अधिकतम 30 MB)।',
|
||||
'backup.notJson': 'यह फ़ाइल मान्य JSON नहीं है।',
|
||||
'backup.noItems': 'इस फ़ाइल में कोई एंट्री नहीं मिली।',
|
||||
'backup.tooMany': 'बहुत ज़्यादा एंट्री (अधिकतम {n})।',
|
||||
|
||||
'image.canvas': 'Canvas उपलब्ध नहीं',
|
||||
'image.unreadable': 'इमेज पढ़ी नहीं जा सकी',
|
||||
'image.notImage': 'यह फ़ाइल इमेज नहीं है।',
|
||||
'image.tooBig': 'इमेज बहुत बड़ी है (अधिकतम 25 MB)।',
|
||||
|
||||
'social.err.server': 'सर्वर का जवाब: {status}।',
|
||||
'social.err.usernameTaken': 'यह यूज़रनेम पहले से लिया जा चुका है।',
|
||||
'social.err.usernameReserved': 'यह यूज़रनेम उपलब्ध नहीं है।',
|
||||
'social.err.invalid': 'कोई एक वैल्यू मान्य नहीं है।',
|
||||
'social.inLibrary': 'मेरी लाइब्रेरी में',
|
||||
'social.addToWatch': 'देखना है में जोड़ें',
|
||||
'social.linkCopied': 'लिंक कॉपी हो गया!',
|
||||
'social.profile': 'प्रोफ़ाइल',
|
||||
'social.shareProfile': 'प्रोफ़ाइल शेयर करें',
|
||||
'social.loading': 'लोड हो रहा है…',
|
||||
'social.loadError': 'प्रोफ़ाइल लोड नहीं हो सकी।',
|
||||
'social.notFound': 'प्रोफ़ाइल नहीं मिली',
|
||||
'social.notFoundHint': '@{username} नाम की कोई प्रोफ़ाइल नहीं है।',
|
||||
'social.editProfile': 'प्रोफ़ाइल एडिट करें',
|
||||
'social.following': 'फ़ॉलो कर रहे हैं',
|
||||
'social.requested': 'रिक्वेस्ट भेजी गई',
|
||||
'social.followBack': 'वापस फ़ॉलो करें',
|
||||
'social.follow': 'फ़ॉलो करें',
|
||||
'social.private': 'प्राइवेट अकाउंट',
|
||||
'social.followsYou': 'आपको फ़ॉलो करते हैं',
|
||||
'social.seen': 'देखे',
|
||||
'social.followers_one': 'फ़ॉलोअर',
|
||||
'social.followers_other': 'फ़ॉलोअर्स',
|
||||
'social.followingCount_one': 'फ़ॉलोइंग',
|
||||
'social.followingCount_other': 'फ़ॉलोइंग',
|
||||
'social.requests_one': '{count} फ़ॉलो रिक्वेस्ट',
|
||||
'social.requests_other': '{count} फ़ॉलो रिक्वेस्ट',
|
||||
'social.privateTitle': 'यह अकाउंट प्राइवेट है',
|
||||
'social.privateText': 'उनका देखा हुआ, रेटिंग और टॉप 5 देखने के लिए उन्हें फ़ॉलो करें।',
|
||||
'social.tabProfile': 'प्रोफ़ाइल',
|
||||
'social.tabLibrary': 'लाइब्रेरी',
|
||||
'social.cancelRequestTitle': 'फ़ॉलो रिक्वेस्ट रद्द करें?',
|
||||
'social.unfollowTitle': '{name} को अनफ़ॉलो करें?',
|
||||
'social.unfollowPrivate': 'यह अकाउंट प्राइवेट है: उनकी प्रोफ़ाइल फिर से देखने के लिए आपको नई रिक्वेस्ट भेजनी होगी।',
|
||||
'social.cancelRequest': 'रिक्वेस्ट रद्द करें',
|
||||
'social.unfollow': 'अनफ़ॉलो करें',
|
||||
'social.top5': 'टॉप 5',
|
||||
'social.recent': 'हाल ही में देखे',
|
||||
'social.noRecent': 'अभी तक कुछ पूरा नहीं किया।',
|
||||
'social.statYear': 'इस साल देखे',
|
||||
'social.statFilms': 'देखी गई फ़िल्में',
|
||||
'social.statSeries': 'देखी गई सीरीज़ और एनिमे',
|
||||
'social.emptyLibrary': 'यहाँ कोई टाइटल नहीं।',
|
||||
'social.loadMore': 'और दिखाएँ',
|
||||
'social.changeBanner': 'बैनर बदलें',
|
||||
'social.changeAvatar': 'फ़ोटो बदलें',
|
||||
'social.removeAvatar': 'फ़ोटो हटाएँ',
|
||||
'social.removeBanner': 'बैनर हटाएँ',
|
||||
'social.displayName': 'दिखने वाला नाम',
|
||||
'social.username': 'यूज़रनेम',
|
||||
'social.usernameRule': '3–20 कैरेक्टर: छोटे अक्षर (a–z), अंक या _',
|
||||
'social.bio': 'बायो',
|
||||
'social.bioPh': 'आपको क्या देखना पसंद है, आपके पसंदीदा जॉनर…',
|
||||
'social.privateAccount': 'प्राइवेट अकाउंट',
|
||||
'social.privateHint': 'सिर्फ़ वही फ़ॉलोअर्स आपका देखा हुआ देख सकते हैं जिन्हें आप मंज़ूरी दें।',
|
||||
'social.publicHint': 'आपका नाम, यूज़रनेम, फ़ोटो, बैनर, बायो, रेटिंग और रिव्यू सदस्यों को दिखते हैं। कौन इन्हें देख सकता है, यह चुनने के लिए अपना अकाउंट प्राइवेट करें।',
|
||||
'social.requestsTab_one': 'रिक्वेस्ट',
|
||||
'social.requestsTab_other': 'रिक्वेस्ट ({count})',
|
||||
'social.noFollowing': 'अभी आप किसी को फ़ॉलो नहीं कर रहे।',
|
||||
'social.noFollowers': 'अभी कोई फ़ॉलोअर नहीं।',
|
||||
'social.accept': 'स्वीकार करें',
|
||||
'social.decline': 'अस्वीकार करें',
|
||||
'social.removeFollower': 'हटाएँ',
|
||||
'social.findFriends': 'दोस्त खोजें',
|
||||
'social.searchPh': 'यूज़रनेम या नाम…',
|
||||
'social.noResults': 'कोई मेल नहीं मिला।',
|
||||
'social.inviteHint': 'आपके दोस्त अभी AzuuCine पर नहीं हैं? उन्हें अपनी प्रोफ़ाइल का लिंक भेजें।',
|
||||
'social.shareMyProfile': 'मेरी प्रोफ़ाइल शेयर करें',
|
||||
'social.inviteText': 'AzuuCine पर मुझे फ़ॉलो करें!',
|
||||
'social.myProfile': 'मेरी प्रोफ़ाइल',
|
||||
|
||||
'feed.title': 'फ़ॉलोइंग',
|
||||
'feed.empty': 'दोस्तों को फ़ॉलो करें और यहाँ देखें कि वे क्या देख रहे हैं और उन्हें कैसा लगा।',
|
||||
'feed.finished': 'ने देखा',
|
||||
'feed.started': 'ने शुरू किया',
|
||||
'feed.rewatched': 'ने दोबारा देखा',
|
||||
'feed.added': 'देखना चाहते हैं',
|
||||
'feed.review': 'रिव्यू',
|
||||
'auth.google': 'Google के साथ जारी रखें',
|
||||
'auth.or': 'या',
|
||||
'auth.err.google': 'Google से साइन इन नहीं हो सका। कृपया फिर कोशिश करें।',
|
||||
'auth.err.storage': 'आपका ब्राउज़र स्टोरेज ब्लॉक कर रहा है: साइन इन नहीं हो सकता।',
|
||||
'welcome.title': 'अपना यूज़रनेम चुनें',
|
||||
'welcome.titleA': 'स्वागत है',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'एक यूज़रनेम चुनें: इसी से आपके दोस्त आपको ढूँढकर फ़ॉलो कर पाएँगे।',
|
||||
'welcome.usernamePh': 'your_username',
|
||||
'welcome.namePh': 'आपका नाम',
|
||||
'welcome.nameHint': 'वैकल्पिक — आपकी प्रोफ़ाइल पर दिखेगा। आप बाद में सब कुछ बदल सकते हैं।',
|
||||
'welcome.go': 'चलिए शुरू करें',
|
||||
'welcome.later': 'बाद में',
|
||||
'social.watching': 'देख रहे हैं',
|
||||
'social.watchlist': 'देखना चाहते हैं',
|
||||
'search.allKinds': 'फ़िल्में, सीरीज़ और एनिमे',
|
||||
'search.animeOnly': 'TMDB की के बिना सिर्फ़ एनिमे खोजे जा सकते हैं।',
|
||||
'search.alreadySeries': 'पहले से आपकी लाइब्रेरी में — खोलें',
|
||||
'form.startShort': 'शुरू किया',
|
||||
'form.endShort': 'पूरा किया',
|
||||
'hero.allSeen': 'सब देख लिया',
|
||||
'hero.nextOn': 'अगला एपिसोड {date} को',
|
||||
'hero.upToDate': 'अप टू डेट',
|
||||
'hero.seenEp': '{ep} देख लिया',
|
||||
'hero.seen': 'देख लिया',
|
||||
'hero.markSeen': 'देखा हुआ मार्क करें',
|
||||
'hero.edit': 'जानकारी एडिट करें',
|
||||
'hero.more': 'और पढ़ें',
|
||||
'hero.less': 'कम दिखाएँ',
|
||||
'episodes.seasonOption_one': 'सीज़न {season} · {count} एपिसोड',
|
||||
'episodes.seasonOption_other': 'सीज़न {season} · {count} एपिसोड',
|
||||
'episodes.seen': '{done}/{total} देखे',
|
||||
'episodes.short': 'E{n}',
|
||||
'episodes.upcoming': '{date} को',
|
||||
'episodes.nameless': 'एपिसोड {n}',
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': 'अभी देख रहे हैं',
|
||||
'homeHero.next': 'आगे देखें',
|
||||
'homeHero.details': 'जानकारी',
|
||||
'homeHero.continueRow': 'देखना जारी रखें',
|
||||
'homeHero.nextUp': 'अगला: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** Bahasa Indonesia */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'Batal',
|
||||
'common.confirm': 'Konfirmasi',
|
||||
'common.close': 'Tutup',
|
||||
'common.save': 'Simpan',
|
||||
'common.add': 'Tambah',
|
||||
'common.delete': 'Hapus',
|
||||
'common.all': 'Semua',
|
||||
'common.offline': 'Tidak ada koneksi internet.',
|
||||
'common.minutes': '{n} mnt',
|
||||
'common.hours': '{h} j',
|
||||
'common.hoursMinutes': '{h} j {m} mnt',
|
||||
'common.daysHours': '{d} h {h} j',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': 'Hapus {name}',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'Edit',
|
||||
'common.moveUp': 'Naikkan',
|
||||
'common.moveDown': 'Turunkan',
|
||||
|
||||
'nav.home': 'Beranda',
|
||||
'nav.catalog': 'Katalog',
|
||||
'nav.stats': 'Statistik',
|
||||
'nav.settings': 'Pengaturan',
|
||||
'nav.addTitle': 'Tambah judul',
|
||||
|
||||
'type.film': 'Film',
|
||||
'type.serie': 'Serial',
|
||||
'type.anime': 'Anime',
|
||||
'type.kdrama': 'K-Drama',
|
||||
'type.cdrama': 'C-Drama',
|
||||
'type.autre': 'Lainnya',
|
||||
|
||||
'typePlural.film': 'Film',
|
||||
'typePlural.serie': 'Serial',
|
||||
'typePlural.anime': 'Anime',
|
||||
'typePlural.kdrama': 'K-Drama',
|
||||
'typePlural.cdrama': 'C-Drama',
|
||||
|
||||
'status.a_voir': 'Mau ditonton',
|
||||
'status.en_cours': 'Sedang ditonton',
|
||||
'status.termine': 'Selesai',
|
||||
'status.pause': 'Dijeda',
|
||||
'status.abandonne': 'Berhenti',
|
||||
|
||||
'criteria.story': 'Skenario / Cerita',
|
||||
'criteria.cast': 'Karakter / Pemeran',
|
||||
'criteria.direction': 'Penyutradaraan / Animasi',
|
||||
'criteria.ost': 'Soundtrack (OST)',
|
||||
|
||||
'subtype.documentary': 'Dokumenter',
|
||||
'subtype.reality': 'Reality show',
|
||||
'subtype.show': 'Acara TV',
|
||||
'subtype.short': 'Film pendek',
|
||||
'subtype.stage': 'Pertunjukan',
|
||||
'subtype.miniseries': 'Miniseri',
|
||||
|
||||
|
||||
'genre.action': 'Aksi',
|
||||
'genre.adventure': 'Petualangan',
|
||||
'genre.comedy': 'Komedi',
|
||||
'genre.drama': 'Drama',
|
||||
'genre.romance': 'Romansa',
|
||||
'genre.romcom': 'Rom-com',
|
||||
'genre.thriller': 'Thriller',
|
||||
'genre.horror': 'Horor',
|
||||
'genre.mystery': 'Misteri',
|
||||
'genre.crime': 'Kriminal',
|
||||
'genre.scifi': 'Sci-Fi',
|
||||
'genre.fantasy': 'Fantasi',
|
||||
'genre.historical': 'Sejarah',
|
||||
'genre.sliceOfLife': 'Slice of Life',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'Olahraga',
|
||||
'genre.musical': 'Musikal',
|
||||
'genre.medical': 'Medis',
|
||||
'genre.legal': 'Hukum',
|
||||
'genre.wuxia': 'Wuxia',
|
||||
'genre.xianxia': 'Xianxia',
|
||||
'genre.family': 'Keluarga',
|
||||
'genre.animation': 'Animasi',
|
||||
'genre.psychological': 'Psikologis',
|
||||
'genre.supernatural': 'Supernatural',
|
||||
'genre.romanticComedy': 'Komedi romantis',
|
||||
'genre.documentary': 'Dokumenter',
|
||||
'genre.war': 'Perang',
|
||||
'genre.western': 'Western',
|
||||
'genre.music': 'Musik',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'Anak-anak',
|
||||
'genre.news': 'Berita',
|
||||
'genre.reality': 'Reality show',
|
||||
'genre.talk': 'Talk show',
|
||||
'genre.soap': 'Sinetron',
|
||||
'genre.politics': 'Politik',
|
||||
'genre.tvMovie': 'Film TV',
|
||||
'genre.anime': 'Anime',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'Kamu yakin?',
|
||||
|
||||
'err.tmdbRefused': 'Permintaan TMDB ditolak.',
|
||||
'err.tmdbKeyRefused': 'Kunci TMDB ditolak. Cek di Pengaturan.',
|
||||
'err.tmdbStatus': 'TMDB merespons {status}.',
|
||||
'err.tmdbRef': 'Referensi TMDB tidak valid.',
|
||||
'err.anilistRate': 'AniList membatasi permintaan, coba lagi sebentar lagi.',
|
||||
'err.anilistStatus': 'AniList merespons {status}.',
|
||||
'err.searchRate': 'Terlalu banyak pencarian, coba lagi beberapa menit lagi.',
|
||||
|
||||
'anilist.short': 'Anime pendek',
|
||||
'anilist.movie': 'Film animasi',
|
||||
'anilist.special': 'Spesial',
|
||||
'anilist.music': 'Video musik',
|
||||
|
||||
'release.cinema': 'Di bioskop',
|
||||
'release.online': 'Di VOD / streaming',
|
||||
'release.release': 'Rilis',
|
||||
'release.season': 'Musim {season}',
|
||||
'release.episode': 'Episode {ep}',
|
||||
'release.newEpisode': 'Episode baru',
|
||||
'release.firstEpisode': 'Episode pertama',
|
||||
'release.newSeriesN': 'Serial baru · {count} episode',
|
||||
'release.seasonN': 'Musim {season} · {count} episode',
|
||||
'release.seasonEp1': 'Musim {season} · Episode 1',
|
||||
'release.episodes': 'Episode {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · Episode {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · Episode {ep}',
|
||||
'release.episodeFinal': 'Episode {ep} · final',
|
||||
'release.filmJapan': 'Film di Jepang',
|
||||
|
||||
'card.ep': 'Eps. {n}',
|
||||
'card.plusOne': '+1 episode untuk {title}',
|
||||
'card.open': 'Buka {title}',
|
||||
|
||||
'rating.outOf10': 'Nilai dari 10',
|
||||
'rating.outOf5': 'Nilai dari 5',
|
||||
'rating.stars_one': '{count} bintang',
|
||||
'rating.stars_other': '{count} bintang',
|
||||
'rating.clear': 'Hapus nilai',
|
||||
|
||||
'share.previewLabel': 'Pratinjau gambar',
|
||||
'share.preview': 'Pratinjau',
|
||||
'share.posterAlt': 'Poster {title}',
|
||||
'share.share': 'Bagikan',
|
||||
'share.saveImage': 'Simpan gambar',
|
||||
'share.err.create': 'Gambar tidak bisa dibuat',
|
||||
'share.minutesLong': '{n} menit',
|
||||
'share.createdBy': 'Dibuat oleh',
|
||||
'share.directedBy': 'Disutradarai oleh',
|
||||
'share.producedBy': 'Diproduksi oleh',
|
||||
'share.starring': 'Dibintangi',
|
||||
'share.genres': 'Genre',
|
||||
'share.myRating': 'Nilaiku',
|
||||
'share.myTop': 'Top-ku',
|
||||
|
||||
'auth.hidePassword': 'Sembunyikan kata sandi',
|
||||
'auth.showPassword': 'Tampilkan kata sandi',
|
||||
'auth.mismatch': 'Kedua kata sandi tidak sama.',
|
||||
'auth.created': 'Akun dibuat! Buka tautan yang dikirim ke {email} untuk mengaktifkannya, lalu masuk.',
|
||||
'auth.resetSent': 'Kalau ada akun dengan alamat ini, tautan untuk membuat kata sandi baru baru saja dikirim.',
|
||||
'auth.tagline': 'Jurnal film, serial, anime, dan drama kamu.',
|
||||
'auth.loginTab': 'Masuk',
|
||||
'auth.signupTab': 'Buat akun',
|
||||
'auth.forgotTitle': 'Lupa kata sandi',
|
||||
'auth.email': 'Alamat email',
|
||||
'auth.password': 'Kata sandi',
|
||||
'auth.confirmPassword': 'Konfirmasi kata sandi',
|
||||
'auth.minChars': 'Minimal {n} karakter.',
|
||||
'auth.login': 'Masuk',
|
||||
'auth.signup': 'Buat akunku',
|
||||
'auth.sendLink': 'Kirim tautan',
|
||||
'auth.forgot': 'Lupa kata sandi?',
|
||||
'auth.backToLogin': 'Kembali ke halaman masuk',
|
||||
'auth.privacy': 'Akunmu menjaga koleksimu tetap aman. Profilmu (judul yang ditonton, nilai, dan ulasan) bisa dilihat anggota lain, kecuali kamu menjadikannya privat; daftar dan pengaturanmu tetap privat. Semuanya juga tersimpan di perangkatmu supaya bisa dipakai tanpa internet.',
|
||||
'auth.newPasswordTitle': 'Pilih kata sandi barumu.',
|
||||
'auth.newPassword': 'Kata sandi baru',
|
||||
'auth.err.credentials': 'Email atau kata sandi salah.',
|
||||
'auth.err.notConfirmed': 'Konfirmasi dulu alamatmu lewat tautan yang dikirim ke email.',
|
||||
'auth.err.exists': 'Sudah ada akun dengan email ini.',
|
||||
'auth.err.weak': 'Kata sandi terlalu lemah (minimal {n} karakter, campur huruf dan angka).',
|
||||
'auth.err.samePassword': 'Kata sandi baru harus beda dari yang lama.',
|
||||
'auth.err.emailRate': 'Terlalu banyak permintaan. Coba lagi beberapa menit lagi.',
|
||||
'auth.err.rate': 'Terlalu banyak percobaan. Coba lagi beberapa menit lagi.',
|
||||
'auth.err.signupDisabled': 'Pendaftaran sedang ditutup untuk saat ini.',
|
||||
'auth.err.emailInvalid': 'Alamat email tidak valid.',
|
||||
'auth.err.invalid': 'Alamat email atau kata sandi tidak valid.',
|
||||
'auth.err.session': 'Sesi berakhir, silakan masuk lagi.',
|
||||
'auth.err.status': 'Server menolak permintaan ({status}).',
|
||||
'auth.err.response': 'Respons server tidak valid.',
|
||||
'auth.err.linkExpired': 'Tautan ini sudah kedaluwarsa. Minta yang baru.',
|
||||
'auth.err.linkUsed': 'Tautan ini tidak valid atau sudah dipakai.',
|
||||
'auth.err.linkInvalid': 'Tautan ini tidak valid.',
|
||||
|
||||
'settings.language': 'Bahasa',
|
||||
'settings.langAuto': 'Otomatis ({lang})',
|
||||
'settings.backupShared': 'Cadangan dibagikan.',
|
||||
'settings.backupDownloaded': 'Cadangan diunduh.',
|
||||
'settings.exportFailed': 'Ekspor gagal.',
|
||||
'settings.noValidItems': 'File ini tidak berisi entri yang valid.',
|
||||
'settings.imported_one': '{count} entri diimpor.',
|
||||
'settings.imported_other': '{count} entri diimpor.',
|
||||
'settings.importedSkipped': '{n} entri diimpor, {skipped} dilewati.',
|
||||
'settings.cleared': 'Koleksi dihapus.',
|
||||
'settings.pageTitle': '',
|
||||
'settings.pageAccent': 'Pengaturanku',
|
||||
'settings.languageHint': 'Bahasa untuk aplikasi, tanggal, dan info yang diambil dari TMDB (judul, sinopsis).',
|
||||
'settings.rating': 'Penilaian',
|
||||
'settings.scale5': '★ dari 5',
|
||||
'settings.scale10': 'Dari 10',
|
||||
'settings.ratingHint': 'Setengah bintang dari 5, atau kelipatan 0,5 dari 10. Nilai yang sudah ada dikonversi otomatis.',
|
||||
'settings.theme': 'Tema',
|
||||
'settings.appearance': 'Tampilan',
|
||||
'settings.appearanceHint': '“Otomatis” mengikuti browser kamu (terang atau gelap).',
|
||||
'theme.modeAuto': 'Otomatis',
|
||||
'theme.modeLight': 'Terang',
|
||||
'theme.modeDark': 'Gelap',
|
||||
'theme.modeNight': 'Malam',
|
||||
'theme.modeStarfield': 'Berbintang',
|
||||
'settings.accentColor': 'Warna aksen',
|
||||
'settings.installApp': 'Pasang aplikasi',
|
||||
'settings.installHint': 'Tambahkan AzuuCine ke layar utama atau desktop kamu.',
|
||||
'settings.installed': 'Aplikasi terpasang',
|
||||
'settings.notifs': 'Notifikasi',
|
||||
'settings.notifsHint': 'Pilih apa yang memicu lonceng.',
|
||||
'settings.notifEpisodes': 'Episode baru',
|
||||
'settings.notifFollows': 'Pengikut baru',
|
||||
'settings.notifAccepted': 'Permintaan diterima',
|
||||
'settings.notifReactions': 'Reaksi pada ulasanku',
|
||||
'notif.new_episode': 'Episode baru {title}',
|
||||
'notif.new_season': 'Musim baru {title}',
|
||||
'reviews.title': 'Ulasan',
|
||||
'reviews.friends': 'Teman kamu',
|
||||
'reviews.others': 'Anggota lain',
|
||||
'reviews.noneFriends': 'Tidak ada ulasan dari temanmu',
|
||||
'reviews.noneOthers': 'Tidak ada ulasan lain',
|
||||
'reviews.none': 'Belum ada ulasan',
|
||||
'reviews.seeAll': 'Lihat semua ulasan',
|
||||
'reviews.react': 'Reaksi',
|
||||
'notif.title': 'Notifikasi',
|
||||
'notif.empty': 'Tidak ada notifikasi',
|
||||
'notif.someone': 'Seseorang',
|
||||
'notif.follow_request': 'ingin mengikutimu',
|
||||
'notif.follow_accepted': 'menerima permintaanmu',
|
||||
'notif.new_follower': 'mulai mengikutimu',
|
||||
'notif.reaction': 'bereaksi pada ulasanmu',
|
||||
'notif.on': 'di {title}',
|
||||
'home.notifications': 'Notifikasi',
|
||||
'home.notificationsN': '{count} notifikasi',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Pasang AzuuCine',
|
||||
'install.ios': 'Buka AzuuCine di Safari.\nKetuk tombol Bagikan (kotak dengan panah ke atas).\nPilih “Ke Layar Utama”, lalu “Tambah”.',
|
||||
'install.android': 'Buka AzuuCine di Chrome.\nKetuk menu ⋮ di kanan atas.\nPilih “Tambahkan ke layar utama” (atau “Pasang aplikasi”).',
|
||||
'install.desktop': 'Di bilah alamat, klik ikon pasang di sebelah kanan (layar dengan panah).\nAtau: menu ⋮ browser → “Pasang AzuuCine”.\nKonfirmasi dengan “Pasang”.',
|
||||
'install.other': 'Buka menu browser kamu.\nCari “Pasang aplikasi” atau “Tambahkan ke layar utama”.',
|
||||
'install.gotIt': 'Mengerti',
|
||||
'settings.themeX': 'Tema {name}',
|
||||
'settings.pickColor': 'Pilih warna bebas',
|
||||
'settings.freeColor': 'Warna bebas',
|
||||
'settings.freeColorHint': 'Warna apa pun bisa: teks menyesuaikan supaya tetap terbaca.',
|
||||
'settings.databases': 'Database film',
|
||||
'settings.anilistActive': 'Anime · aktif',
|
||||
'settings.noConfig': 'Tidak perlu pengaturan.',
|
||||
'settings.tmdbActive': 'Film & serial · aktif',
|
||||
'settings.checking': 'Memeriksa…',
|
||||
'settings.offline': 'Offline',
|
||||
'settings.proxyMissingKey': 'Kunci TMDB tidak ada',
|
||||
'settings.proxyNotDeployed': 'Server belum dipasang',
|
||||
'settings.unavailable': 'Tidak tersedia',
|
||||
'settings.proxyMissingKeyHint': 'Fungsi server sudah ada, tapi kunci TMDB kamu belum disimpan (secret TMDB_API_KEY di Supabase), atau ditolak oleh TMDB.',
|
||||
'settings.proxyNotDeployedHint': 'Fungsi “tmdb” belum di-deploy di Supabase (lihat README → Akun, langkah 5).',
|
||||
'settings.proxyErrorHint': 'Server sedang tidak merespons dengan benar.',
|
||||
'settings.proxyOkHint': 'Disediakan oleh server aplikasi: tidak perlu memasukkan kunci.',
|
||||
'settings.recheck': 'Periksa lagi',
|
||||
'settings.keyRefused': 'Kunci ditolak',
|
||||
'settings.notConfigured': 'Belum diatur',
|
||||
'settings.tmdbHelp': 'Film, serial, K-drama, C-drama. Buat akun gratis di themoviedb.org, lalu buka Settings → API, dan tempel “API Key” atau “API Read Access Token” kamu.',
|
||||
'settings.tmdbKey': 'Kunci TMDB',
|
||||
'settings.hideKey': 'Sembunyikan kunci',
|
||||
'settings.showKey': 'Tampilkan kunci',
|
||||
'settings.validate': 'Simpan',
|
||||
'settings.remove': 'Hapus',
|
||||
'settings.keyLocal': 'Kunci tetap di perangkat ini dan tidak pernah ikut dalam cadangan.',
|
||||
'settings.topHint': 'Kategori yang tampil di beranda.',
|
||||
'settings.topNone': 'Tidak ada kategori: bagian Top 5 disembunyikan.',
|
||||
'settings.backup': 'Cadangan',
|
||||
'settings.export': 'Ekspor dataku',
|
||||
'settings.exportHint_one': '{count} entri · file JSON, lakukan secara rutin',
|
||||
'settings.exportHint_other': '{count} entri · file JSON, lakukan secara rutin',
|
||||
'settings.import': 'Impor cadangan',
|
||||
'settings.importHint': 'Pulihkan dari file .json',
|
||||
'settings.legacyDetected': 'Cadangan dari aplikasi lama terdeteksi',
|
||||
'settings.found_one': '{count} entri ditemukan. Mau diimpor dengan cara apa?',
|
||||
'settings.found_other': '{count} entri ditemukan. Mau diimpor dengan cara apa?',
|
||||
'settings.foundSkipped': '{n} entri ditemukan ({skipped} tidak valid dilewati). Mau diimpor dengan cara apa?',
|
||||
'settings.merge': 'Gabungkan',
|
||||
'settings.replaceAll': 'Ganti semua',
|
||||
'settings.mergeHint': '“Gabungkan” menambahkan entri dan memperbarui yang sudah ada (ID sama).',
|
||||
'settings.storage': 'Penyimpanan',
|
||||
'settings.used': 'Ruang terpakai',
|
||||
'settings.storageCloud': 'Datamu disimpan di akunmu dan juga di perangkat ini supaya bisa dipakai tanpa internet. Data tersinkron otomatis begitu kamu online.',
|
||||
'settings.storageLocal': 'Datamu hanya disimpan di browser ini, di perangkat ini. Kalau kamu menghapus data browser atau mencopot aplikasi, datanya hilang: ekspor cadangan secara rutin.',
|
||||
'settings.danger': 'Zona berbahaya',
|
||||
'settings.clearAll': 'Hapus seluruh koleksi',
|
||||
'settings.clearAllHint_one': '{count} judul',
|
||||
'settings.clearAllHint_other': '{count} judul',
|
||||
'settings.clearAllHintCloud_one': '{count} judul · di semua perangkatmu',
|
||||
'settings.clearAllHintCloud_other': '{count} judul · di semua perangkatmu',
|
||||
'settings.deleting': 'Menghapus…',
|
||||
'settings.deleteAccount': 'Hapus akunku',
|
||||
'settings.deleteAccountHint': 'Akun dan data dihapus permanen',
|
||||
'settings.footerCloud': 'akun tersinkron',
|
||||
'settings.footerLocal': '100% lokal',
|
||||
'settings.clearConfirm_one': '{count} judul akan dihapus permanen. Sebaiknya ekspor cadangan dulu.',
|
||||
'settings.clearConfirm_other': '{count} judulmu akan dihapus permanen. Sebaiknya ekspor cadangan dulu.',
|
||||
'settings.clearConfirmCloud_one': '{count} judul akan dihapus permanen di semua perangkatmu. Sebaiknya ekspor cadangan dulu.',
|
||||
'settings.clearConfirmCloud_other': '{count} judulmu akan dihapus permanen di semua perangkatmu. Sebaiknya ekspor cadangan dulu.',
|
||||
'settings.clearAllConfirm': 'Hapus semua',
|
||||
'settings.deleteAccountTitle': 'Hapus akunmu?',
|
||||
'settings.deleteAccountMessage': 'Akunmu dan semua datamu (judul, daftar, pengaturan) akan dihapus permanen dari server dan perangkat ini. Sebaiknya ekspor cadangan dulu. Tindakan ini tidak bisa dibatalkan.',
|
||||
'settings.deleteForever': 'Hapus permanen',
|
||||
'settings.replaceConfirm': 'Seluruh koleksimu saat ini akan diganti dengan isi file ini.',
|
||||
'settings.replace': 'Ganti',
|
||||
|
||||
'sync.err.push': 'Pengiriman ditolak ({status})',
|
||||
'sync.err.pull': 'Pengambilan ditolak ({status})',
|
||||
|
||||
'store.dbError': 'Database lokal tidak bisa dibuka: {error}',
|
||||
'store.invalidItem': 'Entri tidak valid',
|
||||
|
||||
'lists.newList': 'Daftar baru',
|
||||
'lists.newListPh': 'Daftar baru…',
|
||||
'lists.myLists': 'Daftarku',
|
||||
'lists.rename': 'Ganti nama',
|
||||
'lists.delete': 'Hapus daftar',
|
||||
'lists.done': 'Selesai',
|
||||
'lists.addRemove': 'Tambah / hapus judul',
|
||||
'lists.searchLibrary': 'Cari di koleksiku…',
|
||||
'lists.emptyTitle': 'Daftar kosong',
|
||||
'lists.emptyText': 'Tambahkan judul lewat tombol di atas, atau dari halaman sebuah judul.',
|
||||
'lists.deleteConfirm': 'Daftar “{name}” akan dihapus. Judul-judulnya tetap ada di koleksimu.',
|
||||
'lists.noneTitle': 'Belum ada daftar',
|
||||
'lists.noneText': 'Buat daftar sesukamu: “Nonton bareng teman”, “Film horor Oktober”, “Drama penghibur hati”…',
|
||||
'lists.create': 'Buat',
|
||||
|
||||
'account.err.deleteRate': 'Terlalu banyak percobaan, coba lagi sebentar lagi.',
|
||||
'account.err.delete': 'Penghapusan gagal. Coba lagi nanti.',
|
||||
'account.title': 'Akunku',
|
||||
'account.syncing': 'Menyinkronkan…',
|
||||
'account.offline': 'Offline — semuanya tersimpan di perangkat ini',
|
||||
'account.syncError': 'Belum bisa sinkron saat ini',
|
||||
'account.synced': 'Tersinkron {when}',
|
||||
'account.passwordChanged': 'Kata sandi diubah.',
|
||||
'account.imported_one': '{count} judul ditambahkan ke akunmu.',
|
||||
'account.imported_other': '{count} judul ditambahkan ke akunmu.',
|
||||
'account.importFailed': 'Impor gagal.',
|
||||
'account.pending_one': '{count} menunggu',
|
||||
'account.pending_other': '{count} menunggu',
|
||||
'account.syncNow': 'Sinkronkan sekarang',
|
||||
'account.newPasswordPh': 'Kata sandi baru (min. {n} karakter)',
|
||||
'account.changePassword': 'Ganti kata sandi',
|
||||
'account.logout': 'Keluar',
|
||||
'account.logoutHint': 'Datamu tetap ada di akunmu dan dihapus dari perangkat ini.',
|
||||
'account.ignore': 'Abaikan',
|
||||
'account.deviceHint': 'Semuanya akan dipindahkan ke akunmu dan disinkronkan ke semua perangkatmu.',
|
||||
'account.unsentTitle': 'Perubahan belum terkirim',
|
||||
'account.logoutAnyway': 'Tetap keluar',
|
||||
'account.unsentMessage_one': '{count} perubahan belum terkirim (tidak ada koneksi?). Kalau kamu keluar sekarang, perubahan itu akan hilang.',
|
||||
'account.unsentMessage_other': '{count} perubahan belum terkirim (tidak ada koneksi?). Kalau kamu keluar sekarang, perubahan itu akan hilang.',
|
||||
'account.nTitles_one': '{count} judul',
|
||||
'account.nTitles_other': '{count} judul',
|
||||
'account.nLists_one': '{count} daftar',
|
||||
'account.nLists_other': '{count} daftar',
|
||||
'account.deviceData': 'Perangkat ini berisi {titles} yang dibuat sebelum akunmu. Tambahkan ke akunmu?',
|
||||
'account.deviceDataWithLists': 'Perangkat ini berisi {titles} dan {lists} yang dibuat sebelum akunmu. Tambahkan ke akunmu?',
|
||||
|
||||
'time.never': 'belum pernah',
|
||||
'time.justNow': 'baru saja',
|
||||
'time.minutesAgo': '{n} mnt lalu',
|
||||
'time.hoursAgo': '{n} j lalu',
|
||||
'time.onDate': 'pada {date}',
|
||||
'time.today': 'hari ini',
|
||||
'time.tomorrow': 'besok',
|
||||
'time.daysAgo': '{n} h lalu',
|
||||
|
||||
'theme.red': 'Merah',
|
||||
'theme.orange': 'Oranye',
|
||||
'theme.yellow': 'Kuning',
|
||||
'theme.lime': 'Limau',
|
||||
'theme.green': 'Hijau',
|
||||
'theme.mint': 'Mint',
|
||||
'theme.cyan': 'Sian',
|
||||
'theme.blue': 'Biru',
|
||||
'theme.indigo': 'Nila',
|
||||
'theme.violet': 'Ungu',
|
||||
'theme.pink': 'Merah muda',
|
||||
'theme.white': 'Putih',
|
||||
|
||||
'home.seeAll': 'Lihat semua',
|
||||
'home.subtitle': 'Jurnal tontonanku',
|
||||
'home.calendarSoon_one': 'Kalender rilis: {count} minggu ini',
|
||||
'home.calendarSoon_other': 'Kalender rilis: {count} minggu ini',
|
||||
'home.emptyTitle': 'Koleksimu masih kosong',
|
||||
'home.emptyCloud': 'Tambahkan film, anime, atau drama pertamamu. Semuanya akan disimpan di akunmu.',
|
||||
'home.emptyLocal': 'Tambahkan film, anime, atau drama pertamamu. Semuanya hanya disimpan di ponsel ini.',
|
||||
'home.completed': 'Selesai',
|
||||
'home.thisYear_one': '{count} tahun ini',
|
||||
'home.thisYear_other': '{count} tahun ini',
|
||||
'home.toWatchN_one': '{count} mau ditonton',
|
||||
'home.toWatchN_other': '{count} mau ditonton',
|
||||
'home.screenTime': 'Waktu menonton',
|
||||
'home.estimate': 'perkiraan',
|
||||
'home.episodesSeen': 'Episode ditonton',
|
||||
'home.noIdea': 'Bingung mau nonton apa?',
|
||||
'home.rouletteHint_one': 'Undian dari judul yang mau kamu tonton',
|
||||
'home.rouletteHint_other': 'Undian dari {count} judul yang mau kamu tonton',
|
||||
'home.rouletteHintAll': 'Undian dari koleksimu',
|
||||
'home.recentlyFinished': 'Baru selesai',
|
||||
|
||||
'calendar.title': 'Kalender rilis',
|
||||
'calendar.inMyList': 'Di daftarku',
|
||||
'calendar.inMyListLegend': 'Di daftarku',
|
||||
'calendar.seeMore_one': 'Lihat yang lain',
|
||||
'calendar.seeMore_other': 'Lihat {count} lainnya',
|
||||
'calendar.heading': 'Kalender ',
|
||||
'calendar.headingAccent': 'rilis',
|
||||
'calendar.refresh': 'Muat ulang',
|
||||
'calendar.all': 'Semua rilis',
|
||||
'calendar.mine': 'Judulku',
|
||||
'calendar.prevMonth': 'Bulan sebelumnya',
|
||||
'calendar.nextMonth': 'Bulan berikutnya',
|
||||
'calendar.releases_one': '{count} rilis',
|
||||
'calendar.releases_other': '{count} rilis',
|
||||
'calendar.others': 'Rilis lainnya',
|
||||
'calendar.needKey': 'Tanpa kunci TMDB, hanya anime yang ditampilkan. Tambahkan kuncimu di Pengaturan untuk melihat film, serial, dan drama juga.',
|
||||
'calendar.range': 'Rilis tersedia dari bulan lalu hingga 6 bulan ke depan.',
|
||||
'calendar.failed': 'Beberapa rilis gagal dimuat. Coba lagi dengan ↻.',
|
||||
'calendar.nothingThatDay': 'Tidak ada jadwal hari itu.',
|
||||
'calendar.next14': '14 hari ke depan',
|
||||
'calendar.loading': 'Mencari rilis…',
|
||||
'calendar.noneMine14': 'Belum ada rilis yang diumumkan untuk judulmu dalam 14 hari ke depan.',
|
||||
'calendar.noneMineMonth': 'Belum ada rilis yang diumumkan untuk judulmu bulan ini.',
|
||||
'calendar.none14': 'Tidak ada rilis dalam 14 hari ke depan.',
|
||||
'calendar.noneMonth': 'Tidak ada rilis bulan ini.',
|
||||
'calendar.footer': 'Film yang tayang di bioskop negaramu, episode serial dan drama paling populer (TMDB), serta semua anime yang tayang di Jepang (AniList). Judul di koleksimu diberi warna; ketuk “Mau ditonton” untuk menambahkan rilis ke daftarmu.',
|
||||
|
||||
'roulette.name': 'Roulette',
|
||||
'roulette.rewatch': 'Tonton ulang',
|
||||
'roulette.anyTime': 'Bebas',
|
||||
'roulette.heading': '',
|
||||
'roulette.headingAccent': 'Roulette',
|
||||
'roulette.tonight': 'Malam ini, kita nonton…',
|
||||
'roulette.nEps': '{n} eps.',
|
||||
'roulette.perEp': '{duration} / eps.',
|
||||
'roulette.stoppedAt': 'Terakhir kamu berhenti di episode {ep}.',
|
||||
'roulette.stoppedAtOf': 'Terakhir kamu berhenti di episode {ep} dari {total}.',
|
||||
'roulette.enjoy': 'Selamat menonton!',
|
||||
'roulette.again': 'Putar lagi',
|
||||
'roulette.spinning': 'Lagi berputar…',
|
||||
'roulette.spin': 'Putar roulette',
|
||||
'roulette.poolSize_one': 'Undian dari {count} judul',
|
||||
'roulette.poolSize_other': 'Undian dari {count} judul',
|
||||
'roulette.empty': 'Tidak ada judul yang cocok: longgarkan filter di bawah.',
|
||||
'roulette.inside': 'Isi roulette',
|
||||
'roulette.pickFrom': 'Ambil dari',
|
||||
'roulette.rewatchHint': '“Tonton ulang” = judul yang sudah selesai dengan nilai 4/5 ke atas, favorit, dan Top 5.',
|
||||
'roulette.time': 'Waktu luang (film atau 1 episode)',
|
||||
'roulette.seeItem': 'Lihat detail lengkap',
|
||||
'roulette.watchIt': 'Aku tonton ini',
|
||||
|
||||
|
||||
'top.pick': 'Pilih #{rank}',
|
||||
'top.shareTitle': 'Top 5 {category}-ku',
|
||||
'top.shareLabel': 'Bagikan Top 5 ini sebagai gambar',
|
||||
'top.title': 'Top-ku',
|
||||
'top.number': '#{rank}',
|
||||
'top.pickFirst': 'Pilih #1 kamu.',
|
||||
'top.editLabel': 'Edit Top 5',
|
||||
'top.freeSlot': 'Slot kosong — pilih judul di bawah',
|
||||
'top.addFromLibrary': 'Tambah dari koleksiku',
|
||||
'top.allTypes': 'Semua jenis',
|
||||
'top.searchTitle': 'Cari judul…',
|
||||
'top.full': 'Top 5 kamu sudah penuh: hapus satu judul untuk menambah yang lain.',
|
||||
'top.noCandidates': 'Tidak ada judul. Coba “Semua jenis” atau pencarian lain.',
|
||||
|
||||
'reco.error': 'Rekomendasi belum bisa dimuat saat ini.',
|
||||
'reco.title': 'Rekomendasi',
|
||||
'reco.needKey': 'Tambahkan kunci TMDB kamu di Pengaturan untuk dapat rekomendasi berdasarkan judul favoritmu.',
|
||||
'reco.other': 'Judul lain',
|
||||
'reco.ifYouLiked': 'Kalau kamu suka',
|
||||
'reco.loading': 'Mencari rekomendasi…',
|
||||
'reco.none': 'Kamu sudah punya semua yang mirip dengan judul ini. Coba “Judul lain”.',
|
||||
'reco.added': '{title} ditambahkan',
|
||||
'reco.addLabel': 'Tambahkan {title} ke Mau ditonton',
|
||||
'reco.addedShort': 'Ditambahkan',
|
||||
|
||||
'search.offline': 'Tidak ada koneksi internet: pencarian butuh jaringan.',
|
||||
'search.fillFrom': 'Isi dari database',
|
||||
'search.openSettings': 'Buka Pengaturan',
|
||||
'search.already': 'sudah ditambahkan',
|
||||
'search.noResults': 'Tidak ada hasil. Kamu bisa mengisi entri secara manual di bawah.',
|
||||
'search.privacy': 'Hanya judul yang kamu cari yang dikirim ke {source}. Koleksimu tetap di ponselmu.',
|
||||
|
||||
'catalog.sortRecent': 'Baru diubah',
|
||||
'catalog.sortWatched': 'Tanggal ditonton',
|
||||
'catalog.sortRating': 'Nilai tertinggi',
|
||||
'catalog.sortTitle': 'Judul (A→Z)',
|
||||
'catalog.pageTitle': '',
|
||||
'catalog.pageAccent': 'Katalogku',
|
||||
'catalog.journalSubtitle': 'Riwayat tontonanmu',
|
||||
'catalog.filteredCount_one': '{count} judul (difilter)',
|
||||
'catalog.filteredCount_other': '{count} judul (difilter)',
|
||||
'catalog.titles': 'Judul',
|
||||
'catalog.journal': 'Jurnal',
|
||||
'catalog.lists': 'Daftar',
|
||||
'catalog.searchPh': 'Judul, genre, platform…',
|
||||
'catalog.moreFilters': 'Filter lainnya',
|
||||
'catalog.all': 'Semua',
|
||||
'catalog.genre': 'Genre',
|
||||
'catalog.minRating': 'Nilai minimum',
|
||||
'catalog.allRatings': 'Semua',
|
||||
'catalog.sortBy': 'Urutkan',
|
||||
'catalog.favorites': 'Favorit',
|
||||
'catalog.reset': 'Reset',
|
||||
'catalog.noResults': 'Tidak ada hasil',
|
||||
'catalog.nothingYet': 'Belum ada apa-apa',
|
||||
'catalog.noResultsHint': 'Coba pencarian lain atau hapus beberapa filter.',
|
||||
'catalog.nothingYetHint': 'Tambahkan judul pertamamu dengan tombol +.',
|
||||
'catalog.clearFilters': 'Hapus filter',
|
||||
|
||||
'public.agree': 'Pas dengan penilaian penonton',
|
||||
'public.more': '+{gap} lebih tinggi dari penonton',
|
||||
'public.less': '−{gap} lebih rendah dari penonton',
|
||||
'public.label': 'Penonton',
|
||||
'public.me': 'Aku',
|
||||
'public.added_one': '{count} nilai penonton ditambahkan.',
|
||||
'public.added_other': '{count} nilai penonton ditambahkan.',
|
||||
'public.noneFound': 'Tidak ada nilai baru yang ditemukan.',
|
||||
'public.fetch': 'Ambil ({n})',
|
||||
'public.title': 'Aku vs penonton',
|
||||
'public.hintFetch': 'Ambil nilai rata-rata TMDB / AniList untuk judul yang sudah kamu nilai, dan lihat di mana seleramu beda dari penonton.',
|
||||
'public.hintNone': 'Belum ada nilai penonton untuk judul yang kamu nilai di periode ini.',
|
||||
'public.hintKey': 'Tambahkan kunci TMDB kamu di Pengaturan (atau anime yang terhubung ke AniList) untuk membandingkan dirimu dengan penonton.',
|
||||
'public.avgGap': 'Selisih rata-rata',
|
||||
'public.average': 'Sesuai rata-rata',
|
||||
'public.generous': 'Lebih murah hati dari penonton',
|
||||
'public.harsh': 'Lebih kritis dari penonton',
|
||||
'public.agreeTitle': 'Sepakat',
|
||||
'public.within5_one': 'selisih maks. ½ bintang, pada {count} judul',
|
||||
'public.within5_other': 'selisih maks. ½ bintang, pada {count} judul',
|
||||
'public.within10_one': 'selisih maks. 1 poin, pada {count} judul',
|
||||
'public.within10_other': 'selisih maks. 1 poin, pada {count} judul',
|
||||
'public.lovedPre': 'Aku ',
|
||||
'public.lovedAccent': 'lebih suka',
|
||||
'public.lovedPost': ' dibanding penonton',
|
||||
'public.hatedPre': 'Aku ',
|
||||
'public.hatedAccent': 'kurang suka',
|
||||
'public.hatedPost': ' dibanding penonton',
|
||||
'public.allAgree': 'Kamu sepakat dengan penonton di semua judulmu. Langka!',
|
||||
|
||||
'form.rewatchHint': 'Nonton lagi? Catat setiap tontonan ulang, nanti muncul di jurnalmu.',
|
||||
'form.editTitle': 'Edit ',
|
||||
'form.editAccent': 'entri',
|
||||
'form.newTitle': 'Judul ',
|
||||
'form.newAccent': 'baru',
|
||||
'form.filledFrom': 'Diisi dari',
|
||||
'form.canEdit': 'kamu bisa mengubah semuanya',
|
||||
'form.fillFromDb': 'Lengkapi dari TMDB / AniList',
|
||||
'form.pickPoster': 'Pilih poster',
|
||||
'form.removeImage': 'Hapus gambar',
|
||||
'form.title': 'Judul *',
|
||||
'form.titlePh': 'mis. Your Name',
|
||||
'form.originalTitle': 'Judul asli',
|
||||
'form.originalTitlePh': 'mis. 君の名は。',
|
||||
'form.synopsis': 'Sinopsis',
|
||||
'form.type': 'Jenis',
|
||||
'form.subtype': 'Keterangan',
|
||||
'form.subtypePh': 'Dokumenter, Reality show…',
|
||||
'form.status': 'Status',
|
||||
'form.myRating': 'Nilaiku',
|
||||
'form.favorite': 'Favorit',
|
||||
'form.criteria': 'Kriteria detail (opsional)',
|
||||
'form.episodes': 'Episode',
|
||||
'form.minusEp': '-1 episode',
|
||||
'form.plusEp': '+1 episode',
|
||||
'form.total': 'Total',
|
||||
'form.season': 'Musim',
|
||||
'form.duration': 'Durasi',
|
||||
'form.durationMin': 'Durasi (menit)',
|
||||
'form.year': 'Tahun',
|
||||
'form.platform': 'Platform',
|
||||
'form.genres': 'Genre / tag',
|
||||
'form.genresPh': 'Romansa, Sci-Fi…',
|
||||
'form.rewatches': 'Tontonan ulang',
|
||||
'form.review': 'Ulasanku',
|
||||
'form.reviewPh': 'Pendapatku, adegan yang berkesan…',
|
||||
'form.saveChanges': 'Simpan perubahan',
|
||||
'form.addToLibrary': 'Tambahkan ke koleksiku',
|
||||
'form.shareImage': 'Bagikan sebagai gambar',
|
||||
'form.delete': 'Hapus judul ini',
|
||||
'form.deleteConfirm': '“{title}” akan dihapus permanen.',
|
||||
'form.removeRewatch': 'Hapus tontonan ulang ini',
|
||||
'form.rewatchDate': 'Tanggal tonton ulang',
|
||||
|
||||
'journal.rewatched': 'Ditonton ulang',
|
||||
'journal.started': 'Dimulai',
|
||||
'journal.emptyTitle': 'Jurnal kosong',
|
||||
'journal.emptyText': 'Tontonanmu akan muncul di sini begitu entrimu punya tanggal mulai atau selesai.',
|
||||
'journal.seen_one': '{count} ditonton',
|
||||
'journal.seen_other': '{count} ditonton',
|
||||
'journal.more': 'Tampilkan bulan sebelumnya',
|
||||
|
||||
'stats.overview': 'Ringkasan',
|
||||
'stats.habits': 'Kebiasaan',
|
||||
'stats.tastes': 'Selera',
|
||||
'stats.pageTitle': '',
|
||||
'stats.pageAccent': 'Statistikku',
|
||||
'stats.emptyTitle': 'Belum ada statistik',
|
||||
'stats.emptyText': 'Statistik akan muncul setelah kamu menambahkan judul.',
|
||||
'stats.sinceStart': 'sejak awal',
|
||||
'stats.subtitle_one': '{count} judul di koleksiku',
|
||||
'stats.subtitle_other': '{count} judul di koleksiku',
|
||||
'stats.subtitleYear_one': '{count} judul di {year}',
|
||||
'stats.subtitleYear_other': '{count} judul di {year}',
|
||||
'stats.hours_one': 'jam',
|
||||
'stats.hours_other': 'jam',
|
||||
'stats.nonStopPre': 'atau ',
|
||||
'stats.nonStopPost': ' nonstop',
|
||||
'stats.days_one': '{count} hari',
|
||||
'stats.days_other': '{count} hari',
|
||||
'stats.finishedN_one': '{count} selesai',
|
||||
'stats.finishedN_other': '{count} selesai',
|
||||
'stats.episodesN_one': '{count} episode',
|
||||
'stats.episodesN_other': '{count} episode',
|
||||
'stats.timeByType': 'Waktu per jenis',
|
||||
'stats.noTime': 'Belum ada waktu tercatat di periode ini.',
|
||||
'stats.avgRating': 'Nilai rata-rata',
|
||||
'stats.rated_one': '{count} judul dinilai',
|
||||
'stats.rated_other': '{count} judul dinilai',
|
||||
'stats.inYear': 'di {year}',
|
||||
'stats.statuses': 'Status',
|
||||
'stats.hoursTab': 'Jam',
|
||||
'stats.monthByMonth': 'Per bulan · {year}',
|
||||
'stats.last12': '12 bulan terakhir',
|
||||
'stats.monthFinished_one': '{count} judul selesai',
|
||||
'stats.monthFinished_other': '{count} judul selesai',
|
||||
'stats.busiest': 'Bulan tersibuk:',
|
||||
'stats.records': 'Rekor',
|
||||
'stats.marathon': 'Maraton terbesar',
|
||||
'stats.longestFilm': 'Film terpanjang',
|
||||
'stats.noRecords': 'Belum ada rekor di periode ini.',
|
||||
'stats.platforms': 'Platform',
|
||||
'stats.bestRated': 'Nilai tertinggiku',
|
||||
'stats.myRatings': 'Nilaiku',
|
||||
'stats.noRatings': 'Tidak ada nilai di periode ini.',
|
||||
'stats.favGenres': 'Genre favorit',
|
||||
'stats.noGenres': 'Belum ada genre.',
|
||||
'stats.countries': 'Negara',
|
||||
'stats.noCountry_one': '{count} judul belum punya negara: lengkapi lewat “Lengkapi dari TMDB / AniList” di halamannya.',
|
||||
'stats.noCountry_other': '{count} judul belum punya negara: lengkapi lewat “Lengkapi dari TMDB / AniList” di halamannya.',
|
||||
'stats.noCountryLegacy_one': '{count} judul belum punya negara: lengkapi lewat “Lengkapi dari TMDB / AniList” di halamannya, atau impor ulang cadangan dari aplikasi lamamu (“Gabungkan”).',
|
||||
'stats.noCountryLegacy_other': '{count} judul belum punya negara: lengkapi lewat “Lengkapi dari TMDB / AniList” di halamannya, atau impor ulang cadangan dari aplikasi lamamu (“Gabungkan”).',
|
||||
'stats.byType': 'Per jenis',
|
||||
'stats.footnote': 'Waktu diperkirakan dari episode yang ditonton dan durasi yang diisi (jika kosong: film 1 j 50, episode anime 24 mnt, serial 45 mnt, K-drama 1 j, C-drama 45 mnt). Sebuah judul dihitung di tahun aku menyelesaikannya.',
|
||||
'stats.ratedAs_one': 'dinilai {rating}',
|
||||
'stats.ratedAs_other': 'dinilai {rating}',
|
||||
|
||||
'backup.shareTitle': 'Cadangan AzuuCine',
|
||||
'backup.tooBig': 'File terlalu besar (maks. 30 MB).',
|
||||
'backup.notJson': 'File ini bukan JSON yang valid.',
|
||||
'backup.noItems': 'Tidak ada entri di file ini.',
|
||||
'backup.tooMany': 'Terlalu banyak entri (maks. {n}).',
|
||||
|
||||
'image.canvas': 'Canvas tidak tersedia',
|
||||
'image.unreadable': 'Gambar tidak terbaca',
|
||||
'image.notImage': 'File ini bukan gambar.',
|
||||
'image.tooBig': 'Gambar terlalu besar (maks. 25 MB).',
|
||||
|
||||
'social.err.server': 'Server merespons {status}.',
|
||||
'social.err.usernameTaken': 'Username ini sudah dipakai.',
|
||||
'social.err.usernameReserved': 'Username ini tidak tersedia.',
|
||||
'social.err.invalid': 'Salah satu nilai tidak valid.',
|
||||
'social.inLibrary': 'Di koleksiku',
|
||||
'social.addToWatch': 'Tambah ke Mau ditonton',
|
||||
'social.linkCopied': 'Tautan disalin!',
|
||||
'social.profile': 'Profil',
|
||||
'social.shareProfile': 'Bagikan profil',
|
||||
'social.loading': 'Memuat…',
|
||||
'social.loadError': 'Profil gagal dimuat.',
|
||||
'social.notFound': 'Profil tidak ditemukan',
|
||||
'social.notFoundHint': 'Tidak ada profil bernama @{username}.',
|
||||
'social.editProfile': 'Edit profil',
|
||||
'social.following': 'Mengikuti',
|
||||
'social.requested': 'Permintaan terkirim',
|
||||
'social.followBack': 'Ikuti balik',
|
||||
'social.follow': 'Ikuti',
|
||||
'social.private': 'Akun privat',
|
||||
'social.followsYou': 'Mengikutimu',
|
||||
'social.seen': 'Ditonton',
|
||||
'social.followers_one': 'Pengikut',
|
||||
'social.followers_other': 'Pengikut',
|
||||
'social.followingCount_one': 'Mengikuti',
|
||||
'social.followingCount_other': 'Mengikuti',
|
||||
'social.requests_one': '{count} permintaan mengikuti',
|
||||
'social.requests_other': '{count} permintaan mengikuti',
|
||||
'social.privateTitle': 'Akun ini privat',
|
||||
'social.privateText': 'Ikuti untuk melihat tontonan, nilai, dan Top 5-nya.',
|
||||
'social.tabProfile': 'Profil',
|
||||
'social.tabLibrary': 'Koleksi',
|
||||
'social.cancelRequestTitle': 'Batalkan permintaan mengikuti?',
|
||||
'social.unfollowTitle': 'Berhenti mengikuti {name}?',
|
||||
'social.unfollowPrivate': 'Akun ini privat: kamu harus mengirim permintaan lagi untuk melihat profilnya.',
|
||||
'social.cancelRequest': 'Batalkan permintaan',
|
||||
'social.unfollow': 'Berhenti mengikuti',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'Baru ditonton',
|
||||
'social.noRecent': 'Belum ada yang selesai.',
|
||||
'social.statYear': 'Ditonton tahun ini',
|
||||
'social.statFilms': 'Film ditonton',
|
||||
'social.statSeries': 'Serial & anime ditonton',
|
||||
'social.emptyLibrary': 'Tidak ada judul di sini.',
|
||||
'social.loadMore': 'Lihat lebih banyak',
|
||||
'social.changeBanner': 'Ganti banner',
|
||||
'social.changeAvatar': 'Ganti foto',
|
||||
'social.removeAvatar': 'Hapus foto',
|
||||
'social.removeBanner': 'Hapus banner',
|
||||
'social.displayName': 'Nama tampilan',
|
||||
'social.username': 'Username',
|
||||
'social.usernameRule': '3–20 karakter: huruf kecil, angka, atau _',
|
||||
'social.bio': 'Bio',
|
||||
'social.bioPh': 'Apa yang suka kamu tonton, genre favoritmu…',
|
||||
'social.privateAccount': 'Akun privat',
|
||||
'social.privateHint': 'Hanya pengikut yang kamu setujui yang bisa melihat tontonanmu.',
|
||||
'social.publicHint': 'Nama, username, foto, banner, bio, nilai, dan ulasanmu bisa dilihat anggota lain. Jadikan akunmu privat untuk memilih siapa yang bisa melihatnya.',
|
||||
'social.requestsTab_one': 'Permintaan',
|
||||
'social.requestsTab_other': 'Permintaan ({count})',
|
||||
'social.noFollowing': 'Belum mengikuti siapa pun.',
|
||||
'social.noFollowers': 'Belum ada pengikut.',
|
||||
'social.accept': 'Terima',
|
||||
'social.decline': 'Tolak',
|
||||
'social.removeFollower': 'Hapus',
|
||||
'social.findFriends': 'Cari teman',
|
||||
'social.searchPh': 'Username atau nama…',
|
||||
'social.noResults': 'Tidak ada yang cocok.',
|
||||
'social.inviteHint': 'Temanmu belum ada di AzuuCine? Kirimi mereka tautan profilmu.',
|
||||
'social.shareMyProfile': 'Bagikan profilku',
|
||||
'social.inviteText': 'Ikuti aku di AzuuCine!',
|
||||
'social.myProfile': 'Profilku',
|
||||
|
||||
'feed.title': 'Yang kuikuti',
|
||||
'feed.empty': 'Ikuti teman-temanmu untuk melihat di sini apa yang mereka tonton dan pendapat mereka.',
|
||||
'feed.finished': 'menonton',
|
||||
'feed.started': 'mulai menonton',
|
||||
'feed.rewatched': 'menonton ulang',
|
||||
'feed.added': 'mau menonton',
|
||||
'feed.review': 'ulasan',
|
||||
'auth.google': 'Lanjutkan dengan Google',
|
||||
'auth.or': 'atau',
|
||||
'auth.err.google': 'Gagal masuk dengan Google. Coba lagi.',
|
||||
'auth.err.storage': 'Browser kamu memblokir penyimpanan: tidak bisa masuk.',
|
||||
'welcome.title': 'Pilih username-mu',
|
||||
'welcome.titleA': 'Selamat datang di',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'Pilih username: lewat username inilah teman-temanmu bisa menemukan dan mengikutimu.',
|
||||
'welcome.usernamePh': 'username_kamu',
|
||||
'welcome.namePh': 'Namamu',
|
||||
'welcome.nameHint': 'Opsional — tampil di profilmu. Semuanya bisa kamu ubah nanti.',
|
||||
'welcome.go': 'Ayo mulai',
|
||||
'welcome.later': 'Nanti saja',
|
||||
'social.watching': 'Sedang ditonton',
|
||||
'social.watchlist': 'Mau ditonton',
|
||||
'search.allKinds': 'Film, serial, dan anime',
|
||||
'search.animeOnly': 'Tanpa kunci TMDB, hanya anime yang bisa ditemukan.',
|
||||
'search.alreadySeries': 'sudah ada di koleksimu — buka',
|
||||
'form.startShort': 'Mulai',
|
||||
'form.endShort': 'Selesai',
|
||||
'hero.allSeen': 'Semua sudah ditonton',
|
||||
'hero.nextOn': 'Episode berikutnya pada {date}',
|
||||
'hero.upToDate': 'Sudah terkejar',
|
||||
'hero.seenEp': 'Sudah nonton {ep}',
|
||||
'hero.seen': 'Sudah ditonton',
|
||||
'hero.markSeen': 'Tandai sudah ditonton',
|
||||
'hero.edit': 'Edit info',
|
||||
'hero.more': 'Selengkapnya',
|
||||
'hero.less': 'Ciutkan',
|
||||
'episodes.seasonOption_one': 'Musim {season} · {count} episode',
|
||||
'episodes.seasonOption_other': 'Musim {season} · {count} episode',
|
||||
'episodes.seen': '{done}/{total} ditonton',
|
||||
'episodes.short': 'E{n}',
|
||||
'episodes.upcoming': 'pada {date}',
|
||||
'episodes.nameless': 'Episode {n}',
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': 'Sedang ditonton',
|
||||
'homeHero.next': 'Tonton berikutnya',
|
||||
'homeHero.details': 'Detail',
|
||||
'homeHero.continueRow': 'Lanjutkan nonton',
|
||||
'homeHero.nextUp': 'Berikutnya: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': 'Aggiungi',
|
||||
'common.delete': 'Elimina',
|
||||
'common.all': 'Tutto',
|
||||
'common.none': 'Nessuno',
|
||||
'common.noData': 'Ancora nessun dato.',
|
||||
'common.retry': 'Riprova',
|
||||
'common.back': 'Indietro',
|
||||
'common.offline': 'Nessuna connessione internet.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} h',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': 'Spettacolo',
|
||||
'subtype.miniseries': 'Miniserie',
|
||||
|
||||
'platform.cinema': 'Cinema',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Azione',
|
||||
'genre.adventure': 'Avventura',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': 'Apri {title}',
|
||||
|
||||
'rating.outOf10': 'Voto su 10',
|
||||
'rating.outOf5': 'Voto su 5',
|
||||
'rating.stars_one': '{count} stella',
|
||||
'rating.stars_other': '{count} stelle',
|
||||
'rating.clear': 'Cancella il voto',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'Invia il link',
|
||||
'auth.forgot': 'Password dimenticata?',
|
||||
'auth.backToLogin': 'Torna all’accesso',
|
||||
'auth.privacy': 'I tuoi dati sono collegati al tuo account e visibili solo a te. Restano anche sul tuo dispositivo per funzionare senza internet.',
|
||||
'auth.privacy': 'Il tuo account tiene al sicuro la tua libreria. Il tuo profilo (titoli, voti e opinioni) è visibile ai membri, a meno che tu non lo renda privato; liste e impostazioni restano private. Tutto resta anche sul tuo dispositivo per funzionare senza internet.',
|
||||
'auth.newPasswordTitle': 'Scegli la tua nuova password.',
|
||||
'auth.newPassword': 'Nuova password',
|
||||
'auth.err.credentials': 'Email o password errata.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'Questo link non è valido.',
|
||||
|
||||
'settings.language': 'Lingua',
|
||||
'settings.langAuto': 'Automatica ({lang})',
|
||||
'settings.backupShared': 'Backup condiviso.',
|
||||
'settings.backupDownloaded': 'Backup scaricato.',
|
||||
'settings.exportFailed': 'L’esportazione non è riuscita.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': 'Su 10',
|
||||
'settings.ratingHint': 'Mezze stelle su 5, o passi di 0,5 su 10. I voti esistenti vengono convertiti automaticamente.',
|
||||
'settings.theme': 'Tema',
|
||||
'settings.appearance': 'Aspetto',
|
||||
'settings.appearanceHint': '«Auto» segue il browser (chiaro o scuro).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Chiaro',
|
||||
'theme.modeDark': 'Scuro',
|
||||
'theme.modeNight': 'Notte',
|
||||
'theme.modeStarfield': 'Stellato',
|
||||
'settings.accentColor': 'Colore accento',
|
||||
'settings.installApp': 'Installa l\'app',
|
||||
'settings.installHint': 'Aggiungi AzuuCine alla schermata home o al desktop.',
|
||||
'settings.installed': 'App installata',
|
||||
'settings.notifs': 'Notifiche',
|
||||
'settings.notifsHint': 'Scegli cosa attiva la campana.',
|
||||
'settings.notifEpisodes': 'Nuovi episodi',
|
||||
'settings.notifFollows': 'Nuovi follower',
|
||||
'settings.notifAccepted': 'Richieste accettate',
|
||||
'settings.notifReactions': 'Reazioni alle mie recensioni',
|
||||
'notif.new_episode': 'Nuovo episodio di {title}',
|
||||
'notif.new_season': 'Nuova stagione di {title}',
|
||||
'reviews.title': 'Recensioni',
|
||||
'reviews.friends': 'I tuoi amici',
|
||||
'reviews.others': 'Altri membri',
|
||||
'reviews.noneFriends': 'Nessuna recensione dei tuoi amici',
|
||||
'reviews.noneOthers': 'Nessun’altra recensione',
|
||||
'reviews.none': 'Ancora nessuna recensione',
|
||||
'reviews.seeAll': 'Vedi tutte le recensioni',
|
||||
'reviews.react': 'Reagisci',
|
||||
'notif.title': 'Notifiche',
|
||||
'notif.empty': 'Nessuna notifica',
|
||||
'notif.someone': 'Qualcuno',
|
||||
'notif.follow_request': 'vuole seguirti',
|
||||
'notif.follow_accepted': 'ha accettato la tua richiesta',
|
||||
'notif.new_follower': 'ha iniziato a seguirti',
|
||||
'notif.reaction': 'ha reagito alla tua recensione',
|
||||
'notif.on': 'su {title}',
|
||||
'home.notifications': 'Notifiche',
|
||||
'home.notificationsN': '{count} notifiche',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Installa AzuuCine',
|
||||
'install.ios': 'Apri AzuuCine in Safari.\nTocca il pulsante Condividi (il quadrato con la freccia in su).\nScegli «Aggiungi a Home», poi «Aggiungi».',
|
||||
'install.android': 'Apri AzuuCine in Chrome.\nTocca il menu ⋮ in alto a destra.\nScegli «Aggiungi a schermata Home» (o «Installa app»).',
|
||||
'install.desktop': 'Nella barra degli indirizzi, clicca sull\'icona di installazione a destra (uno schermo con una freccia).\nOppure: menu ⋮ del browser → «Installa AzuuCine».\nConferma con «Installa».',
|
||||
'install.other': 'Apri il menu del browser.\nCerca «Installa app» o «Aggiungi a schermata Home».',
|
||||
'install.gotIt': 'Ho capito',
|
||||
'settings.themeX': 'Tema {name}',
|
||||
'settings.pickColor': 'Scegli un colore libero',
|
||||
'settings.freeColor': 'Colore libero',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': 'Vedi la scheda completa',
|
||||
'roulette.watchIt': 'Lo guardo',
|
||||
|
||||
'newEp.check': 'Controlla',
|
||||
'newEp.title': 'Novità',
|
||||
'newEp.checking': 'Controllo cosa è uscito…',
|
||||
'newEp.needKey': 'Aggiungi la tua chiave TMDB nelle Impostazioni per essere avvisato di nuovi episodi e nuove stagioni.',
|
||||
'newEp.nothing_one': 'Niente di nuovo per la serie o l’anime che segui.',
|
||||
'newEp.nothing_other': 'Niente di nuovo per le {count} serie e anime che segui.',
|
||||
'newEp.needKeyAlso': '(Aggiungi la tua chiave TMDB nelle Impostazioni per seguire anche serie e drama.)',
|
||||
'newEp.newSeason': 'Nuova stagione',
|
||||
'newEp.catchUp': 'Da recuperare',
|
||||
'newEp.soon': 'A breve',
|
||||
'newEp.epWhen': 'Ep. {ep} {when}',
|
||||
'newEp.available_one': '{count} episodio disponibile',
|
||||
'newEp.available_other': '{count} episodi disponibili',
|
||||
'newEp.next': 'Prossimo: ep. {ep} {when}',
|
||||
'newEp.resume': 'Riprendi',
|
||||
|
||||
'top.pick': 'Scegli il n°{rank}',
|
||||
'top.shareTitle': 'La mia Top 5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': 'Aggiungi {title} a da vedere',
|
||||
'reco.addedShort': 'Aggiunto',
|
||||
|
||||
'search.moviesSeries': 'Film e serie',
|
||||
'search.offline': 'Nessuna connessione internet: la ricerca ha bisogno della rete.',
|
||||
'search.fillFrom': 'Compila da un database',
|
||||
'search.needKey': 'Per cercare film, serie e drama, aggiungi la tua chiave TMDB gratuita nelle Impostazioni.',
|
||||
'search.openSettings': 'Apri le Impostazioni',
|
||||
'search.already': 'già aggiunto',
|
||||
'search.noResults': 'Nessun risultato. Puoi compilare la scheda a mano qui sotto.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1 episodio',
|
||||
'form.total': 'Totale',
|
||||
'form.season': 'Stagione',
|
||||
'form.minPerEp': 'Min / ep.',
|
||||
'form.duration': 'Durata',
|
||||
'form.durationMin': 'Durata (minuti)',
|
||||
'form.info': 'Informazioni',
|
||||
'form.start': 'Inizio / visto il',
|
||||
'form.end': 'Fine',
|
||||
'form.year': 'Anno',
|
||||
'form.platform': 'Piattaforma',
|
||||
'form.genres': 'Generi / tag',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '«{title}» verrà eliminato per sempre.',
|
||||
'form.removeRewatch': 'Rimuovi questa visione',
|
||||
'form.rewatchDate': 'Data della nuova visione',
|
||||
'form.reviewPublic': 'Mostra questa opinione sul mio profilo',
|
||||
'form.reviewPublicHint': 'Altrimenti resta visibile solo a te.',
|
||||
|
||||
'journal.rewatched': 'Rivisto',
|
||||
'journal.started': 'Iniziato',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': 'Cosa ti piace guardare, i tuoi generi preferiti…',
|
||||
'social.privateAccount': 'Account privato',
|
||||
'social.privateHint': 'Solo i follower che accetti vedono le tue visioni.',
|
||||
'social.publicHint': 'Il tuo nome, username, foto, banner e bio sono visibili a tutti gli utenti. Le tue opinioni scritte restano private, tranne quelle che scegli di mostrare sul tuo profilo.',
|
||||
'social.publicHint': 'Nome, username, foto, banner, bio, voti e opinioni sono visibili ai membri. Rendi privato il tuo account per scegliere chi può vederli.',
|
||||
'social.requestsTab_one': 'Richiesta',
|
||||
'social.requestsTab_other': 'Richieste ({count})',
|
||||
'social.noFollowing': 'Non segui ancora nessuno.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "Più tardi",
|
||||
'social.watching': "In corso",
|
||||
'social.watchlist': "Vuole vedere",
|
||||
'form.infoHint': "Date, anno, piattaforma e generi — compilati automaticamente",
|
||||
'search.allKinds': "Film, serie e anime",
|
||||
'search.animeOnly': "Senza chiave TMDB si trovano solo gli anime.",
|
||||
'search.alreadySeries': "già nella tua libreria — apri",
|
||||
'form.startShort': "Iniziato",
|
||||
'form.endShort': "Finito",
|
||||
'hero.allSeen': "Tutto visto",
|
||||
'hero.nextOn': 'Prossimo episodio il {date}',
|
||||
'hero.upToDate': 'In pari',
|
||||
'hero.seenEp': "Ho visto {ep}",
|
||||
'hero.seen': "Visto",
|
||||
'hero.markSeen': "Segna come visto",
|
||||
'hero.edit': "Modifica i dati",
|
||||
'hero.more': "Leggi tutto",
|
||||
'hero.less': "Riduci",
|
||||
'episodes.seasonOption_one': "Stagione {season} · {count} episodio",
|
||||
'episodes.seasonOption_other': "Stagione {season} · {count} episodi",
|
||||
'episodes.seen': "{done}/{total} visti",
|
||||
'episodes.short': "E{n}",
|
||||
'episodes.upcoming': "il {date}",
|
||||
'episodes.nameless': "Episodio {n}",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "Sto guardando",
|
||||
'homeHero.next': "Da vedere",
|
||||
'homeHero.details': "Scheda",
|
||||
'homeHero.continueRow': "Riprendi",
|
||||
'homeHero.nextUp': "Prossimo: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': '追加',
|
||||
'common.delete': '削除',
|
||||
'common.all': 'すべて',
|
||||
'common.none': 'なし',
|
||||
'common.noData': 'まだデータがありません。',
|
||||
'common.retry': '再試行',
|
||||
'common.back': '戻る',
|
||||
'common.offline': 'インターネットに接続されていません。',
|
||||
'common.minutes': '{n}分',
|
||||
'common.hours': '{h}時間',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': '舞台',
|
||||
'subtype.miniseries': 'ミニシリーズ',
|
||||
|
||||
'platform.cinema': '映画館',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'テレビ',
|
||||
|
||||
'genre.action': 'アクション',
|
||||
'genre.adventure': 'アドベンチャー',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': '{title}を開く',
|
||||
|
||||
'rating.outOf10': '10点満点で評価',
|
||||
'rating.outOf5': '5点満点の評価',
|
||||
'rating.stars_one': '星{count}つ',
|
||||
'rating.stars_other': '星{count}つ',
|
||||
'rating.clear': '評価を消す',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'リンクを送信',
|
||||
'auth.forgot': 'パスワードをお忘れですか?',
|
||||
'auth.backToLogin': 'ログインに戻る',
|
||||
'auth.privacy': 'データはあなたのアカウントに紐づき、あなただけが見られます。オフラインでも使えるよう、端末にも保存されます。',
|
||||
'auth.privacy': 'アカウントがライブラリを安全に守ります。プロフィール(作品・評価・レビュー)は非公開にしない限りメンバーに公開されます。リストと設定は非公開のままです。オフラインでも使えるよう、端末にも保存されます。',
|
||||
'auth.newPasswordTitle': '新しいパスワードを設定してください。',
|
||||
'auth.newPassword': '新しいパスワード',
|
||||
'auth.err.credentials': 'メールアドレスまたはパスワードが違います。',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'このリンクは無効です。',
|
||||
|
||||
'settings.language': '言語',
|
||||
'settings.langAuto': '自動({lang})',
|
||||
'settings.backupShared': 'バックアップを共有しました。',
|
||||
'settings.backupDownloaded': 'バックアップをダウンロードしました。',
|
||||
'settings.exportFailed': 'エクスポートに失敗しました。',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': '10点満点',
|
||||
'settings.ratingHint': '5段階は星半分刻み、10点満点は0.5刻みです。既存の評価は自動で変換されます。',
|
||||
'settings.theme': 'テーマ',
|
||||
'settings.appearance': '外観',
|
||||
'settings.appearanceHint': '「自動」はブラウザに合わせます(ライトまたはダーク)。',
|
||||
'theme.modeAuto': '自動',
|
||||
'theme.modeLight': 'ライト',
|
||||
'theme.modeDark': 'ダーク',
|
||||
'theme.modeNight': 'ナイト',
|
||||
'theme.modeStarfield': '星空',
|
||||
'settings.accentColor': 'アクセントカラー',
|
||||
'settings.installApp': 'アプリをインストール',
|
||||
'settings.installHint': 'AzuuCine をホーム画面やデスクトップに追加します。',
|
||||
'settings.installed': 'アプリをインストール済み',
|
||||
'settings.notifs': '通知',
|
||||
'settings.notifsHint': 'ベルを鳴らす項目を選びます。',
|
||||
'settings.notifEpisodes': '新しいエピソード',
|
||||
'settings.notifFollows': '新しいフォロワー',
|
||||
'settings.notifAccepted': '承認されたリクエスト',
|
||||
'settings.notifReactions': '自分のレビューへのリアクション',
|
||||
'notif.new_episode': '「{title}」の新エピソード',
|
||||
'notif.new_season': '「{title}」の新シーズン',
|
||||
'reviews.title': 'レビュー',
|
||||
'reviews.friends': '友だち',
|
||||
'reviews.others': 'ほかのメンバー',
|
||||
'reviews.noneFriends': '友だちのレビューはありません',
|
||||
'reviews.noneOthers': 'ほかのレビューはありません',
|
||||
'reviews.none': 'まだレビューがありません',
|
||||
'reviews.seeAll': 'すべてのレビューを見る',
|
||||
'reviews.react': 'リアクション',
|
||||
'notif.title': '通知',
|
||||
'notif.empty': '通知はありません',
|
||||
'notif.someone': '誰か',
|
||||
'notif.follow_request': 'があなたをフォローしたがっています',
|
||||
'notif.follow_accepted': 'があなたのリクエストを承認しました',
|
||||
'notif.new_follower': 'があなたをフォローしました',
|
||||
'notif.reaction': 'があなたのレビューにリアクションしました',
|
||||
'notif.on': '「{title}」に',
|
||||
'home.notifications': '通知',
|
||||
'home.notificationsN': '{count}件の通知',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine をインストール',
|
||||
'install.ios': 'Safari で AzuuCine を開きます。\n共有ボタン(上矢印付きの四角)をタップします。\n「ホーム画面に追加」を選び、「追加」をタップします。',
|
||||
'install.android': 'Chrome で AzuuCine を開きます。\n右上の ⋮ メニューをタップします。\n「ホーム画面に追加」(または「アプリをインストール」)を選びます。',
|
||||
'install.desktop': 'アドレスバー右側のインストールアイコン(矢印付きの画面)をクリックします。\nまたは:ブラウザの ⋮ メニュー →「AzuuCine をインストール」。\n「インストール」で確定します。',
|
||||
'install.other': 'ブラウザのメニューを開きます。\n「アプリをインストール」または「ホーム画面に追加」を探します。',
|
||||
'install.gotIt': 'わかりました',
|
||||
'settings.themeX': '{name}テーマ',
|
||||
'settings.pickColor': '好きな色を選ぶ',
|
||||
'settings.freeColor': 'カスタムカラー',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': '詳細を見る',
|
||||
'roulette.watchIt': 'これを見る',
|
||||
|
||||
'newEp.check': 'チェック',
|
||||
'newEp.title': '新着',
|
||||
'newEp.checking': '新着をチェック中…',
|
||||
'newEp.needKey': '設定でTMDBキーを追加すると、新しいエピソードやシーズンをお知らせします。',
|
||||
'newEp.nothing_one': 'フォロー中のドラマ・アニメに新着はありません。',
|
||||
'newEp.nothing_other': 'フォロー中の{count}作品に新着はありません。',
|
||||
'newEp.needKeyAlso': '(設定でTMDBキーを追加すると、ドラマもフォローできます。)',
|
||||
'newEp.newSeason': '新シーズン',
|
||||
'newEp.catchUp': '未視聴あり',
|
||||
'newEp.soon': '近日公開',
|
||||
'newEp.epWhen': '第{ep}話・{when}',
|
||||
'newEp.available_one': '{count}話配信中',
|
||||
'newEp.available_other': '{count}話配信中',
|
||||
'newEp.next': '次回:第{ep}話・{when}',
|
||||
'newEp.resume': '続きを見る',
|
||||
|
||||
'top.pick': '{rank}位を選ぶ',
|
||||
'top.shareTitle': 'マイトップ5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': '{title}を見たいに追加',
|
||||
'reco.addedShort': '追加済み',
|
||||
|
||||
'search.moviesSeries': '映画・ドラマ',
|
||||
'search.offline': 'インターネットに接続されていません。検索にはネット接続が必要です。',
|
||||
'search.fillFrom': 'データベースから入力',
|
||||
'search.needKey': '映画やドラマを検索するには、設定で無料のTMDBキーを追加してください。',
|
||||
'search.openSettings': '設定を開く',
|
||||
'search.already': '追加済み',
|
||||
'search.noResults': '結果がありません。下から手動で入力できます。',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1話',
|
||||
'form.total': '全話数',
|
||||
'form.season': 'シーズン',
|
||||
'form.minPerEp': '分/話',
|
||||
'form.duration': '時間',
|
||||
'form.durationMin': '上映時間(分)',
|
||||
'form.info': '情報',
|
||||
'form.start': '開始日・視聴日',
|
||||
'form.end': '終了日',
|
||||
'form.year': '年',
|
||||
'form.platform': '配信サービス',
|
||||
'form.genres': 'ジャンル・タグ',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '「{title}」を完全に削除します。',
|
||||
'form.removeRewatch': 'この再視聴を削除',
|
||||
'form.rewatchDate': '再視聴日',
|
||||
'form.reviewPublic': 'このレビューをプロフィールに表示',
|
||||
'form.reviewPublicHint': '表示しない場合は、あなただけが見られます。',
|
||||
|
||||
'journal.rewatched': '再視聴',
|
||||
'journal.started': '視聴開始',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': '好きな作品や好きなジャンルなど…',
|
||||
'social.privateAccount': '非公開アカウント',
|
||||
'social.privateHint': 'あなたが承認したフォロワーだけが視聴記録を見られます。',
|
||||
'social.publicHint': '名前、ユーザー名、写真、バナー、自己紹介はすべてのメンバーに公開されます。書いたレビューは非公開のままです(プロフィールに表示すると選んだものを除く)。',
|
||||
'social.publicHint': '名前、ユーザー名、写真、バナー、自己紹介、評価、レビューはメンバーに公開されます。見せる相手を選ぶには、アカウントを非公開にしてください。',
|
||||
'social.requestsTab_one': 'リクエスト',
|
||||
'social.requestsTab_other': 'リクエスト({count})',
|
||||
'social.noFollowing': 'まだ誰もフォローしていません。',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "あとで",
|
||||
'social.watching': "視聴中",
|
||||
'social.watchlist': "見たい",
|
||||
'form.infoHint': "日付・年・配信サービス・ジャンル — 自動で入力されます",
|
||||
'search.allKinds': "映画・ドラマ・アニメ",
|
||||
'search.animeOnly': "TMDB キーがない場合はアニメのみ検索できます。",
|
||||
'search.alreadySeries': "ライブラリにあります — 開く",
|
||||
'form.startShort': "開始日",
|
||||
'form.endShort': "完了日",
|
||||
'hero.allSeen': "すべて視聴済み",
|
||||
'hero.nextOn': '次のエピソード:{date}',
|
||||
'hero.upToDate': '最新話まで視聴済み',
|
||||
'hero.seenEp': "{ep}を見た",
|
||||
'hero.seen': "視聴済み",
|
||||
'hero.markSeen': "視聴済みにする",
|
||||
'hero.edit': "情報を編集",
|
||||
'hero.more': "続きを読む",
|
||||
'hero.less': "閉じる",
|
||||
'episodes.seasonOption_one': "シーズン{season}・全{count}話",
|
||||
'episodes.seasonOption_other': "シーズン{season}・全{count}話",
|
||||
'episodes.seen': "{done}/{total}話視聴",
|
||||
'episodes.short': "第{n}話",
|
||||
'episodes.upcoming': "{date}",
|
||||
'episodes.nameless': "第{n}話",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "視聴中",
|
||||
'homeHero.next': "次に見る",
|
||||
'homeHero.details': "詳細",
|
||||
'homeHero.continueRow': "続きを見る",
|
||||
'homeHero.nextUp': "次:{ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': '추가',
|
||||
'common.delete': '삭제',
|
||||
'common.all': '전체',
|
||||
'common.none': '없음',
|
||||
'common.noData': '아직 데이터가 없어요.',
|
||||
'common.retry': '다시 시도',
|
||||
'common.back': '뒤로',
|
||||
'common.offline': '인터넷에 연결되어 있지 않아요.',
|
||||
'common.minutes': '{n}분',
|
||||
'common.hours': '{h}시간',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': '공연',
|
||||
'subtype.miniseries': '미니시리즈',
|
||||
|
||||
'platform.cinema': '극장',
|
||||
'platform.dvd': 'DVD / 블루레이',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': '액션',
|
||||
'genre.adventure': '어드벤처',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': '{title} 열기',
|
||||
|
||||
'rating.outOf10': '10점 만점 평점',
|
||||
'rating.outOf5': '5점 만점 평점',
|
||||
'rating.stars_one': '별 {count}개',
|
||||
'rating.stars_other': '별 {count}개',
|
||||
'rating.clear': '평점 지우기',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': '링크 보내기',
|
||||
'auth.forgot': '비밀번호를 잊으셨나요?',
|
||||
'auth.backToLogin': '로그인으로 돌아가기',
|
||||
'auth.privacy': '데이터는 내 계정에 연결되며 나만 볼 수 있어요. 인터넷 없이도 쓸 수 있도록 기기에도 저장돼요.',
|
||||
'auth.privacy': '계정이 내 라이브러리를 안전하게 지켜줘요. 프로필(작품, 평점, 감상)은 비공개로 바꾸지 않으면 회원들이 볼 수 있고, 리스트와 설정은 비공개예요. 인터넷 없이도 쓸 수 있도록 기기에도 저장돼요.',
|
||||
'auth.newPasswordTitle': '새 비밀번호를 정해 주세요.',
|
||||
'auth.newPassword': '새 비밀번호',
|
||||
'auth.err.credentials': '이메일 또는 비밀번호가 올바르지 않아요.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': '유효하지 않은 링크예요.',
|
||||
|
||||
'settings.language': '언어',
|
||||
'settings.langAuto': '자동 ({lang})',
|
||||
'settings.backupShared': '백업을 공유했어요.',
|
||||
'settings.backupDownloaded': '백업을 다운로드했어요.',
|
||||
'settings.exportFailed': '내보내기에 실패했어요.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': '10점 만점',
|
||||
'settings.ratingHint': '5점 만점은 별 반 개 단위, 10점 만점은 0.5점 단위예요. 기존 평점은 자동으로 변환돼요.',
|
||||
'settings.theme': '테마',
|
||||
'settings.appearance': '화면',
|
||||
'settings.appearanceHint': '‘자동’은 브라우저를 따릅니다(밝게 또는 어둡게).',
|
||||
'theme.modeAuto': '자동',
|
||||
'theme.modeLight': '밝게',
|
||||
'theme.modeDark': '어둡게',
|
||||
'theme.modeNight': '야간',
|
||||
'theme.modeStarfield': '별',
|
||||
'settings.accentColor': '강조 색상',
|
||||
'settings.installApp': '앱 설치',
|
||||
'settings.installHint': 'AzuuCine을 홈 화면이나 바탕화면에 추가하세요.',
|
||||
'settings.installed': '앱 설치됨',
|
||||
'settings.notifs': '알림',
|
||||
'settings.notifsHint': '벨을 울릴 항목을 선택하세요.',
|
||||
'settings.notifEpisodes': '새 에피소드',
|
||||
'settings.notifFollows': '새 팔로워',
|
||||
'settings.notifAccepted': '수락된 요청',
|
||||
'settings.notifReactions': '내 리뷰에 대한 반응',
|
||||
'notif.new_episode': '{title} 새 에피소드',
|
||||
'notif.new_season': '{title} 새 시즌',
|
||||
'reviews.title': '리뷰',
|
||||
'reviews.friends': '내 친구',
|
||||
'reviews.others': '다른 회원',
|
||||
'reviews.noneFriends': '친구의 리뷰가 없어요',
|
||||
'reviews.noneOthers': '다른 리뷰가 없어요',
|
||||
'reviews.none': '아직 리뷰가 없어요',
|
||||
'reviews.seeAll': '리뷰 모두 보기',
|
||||
'reviews.react': '반응하기',
|
||||
'notif.title': '알림',
|
||||
'notif.empty': '알림이 없어요',
|
||||
'notif.someone': '누군가',
|
||||
'notif.follow_request': '님이 당신을 팔로우하고 싶어 해요',
|
||||
'notif.follow_accepted': '님이 요청을 수락했어요',
|
||||
'notif.new_follower': '님이 당신을 팔로우했어요',
|
||||
'notif.reaction': '님이 당신의 리뷰에 반응했어요',
|
||||
'notif.on': '{title}에',
|
||||
'home.notifications': '알림',
|
||||
'home.notificationsN': '알림 {count}개',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine 설치',
|
||||
'install.ios': 'Safari에서 AzuuCine을 엽니다.\n공유 버튼(위쪽 화살표가 있는 사각형)을 누릅니다.\n“홈 화면에 추가”를 선택한 뒤 “추가”를 누릅니다.',
|
||||
'install.android': 'Chrome에서 AzuuCine을 엽니다.\n오른쪽 위 ⋮ 메뉴를 누릅니다.\n“홈 화면에 추가”(또는 “앱 설치”)를 선택합니다.',
|
||||
'install.desktop': '주소창 오른쪽의 설치 아이콘(화살표가 있는 화면)을 클릭합니다.\n또는: 브라우저 ⋮ 메뉴 → “AzuuCine 설치”.\n“설치”로 확인합니다.',
|
||||
'install.other': '브라우저 메뉴를 엽니다.\n“앱 설치” 또는 “홈 화면에 추가”를 찾습니다.',
|
||||
'install.gotIt': '확인',
|
||||
'settings.themeX': '{name} 테마',
|
||||
'settings.pickColor': '원하는 색 고르기',
|
||||
'settings.freeColor': '사용자 지정 색',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': '작품 정보 전체 보기',
|
||||
'roulette.watchIt': '이거 볼래요',
|
||||
|
||||
'newEp.check': '확인',
|
||||
'newEp.title': '새 소식',
|
||||
'newEp.checking': '새로 나온 게 있는지 보는 중…',
|
||||
'newEp.needKey': '설정에서 TMDB 키를 추가하면 새 에피소드와 새 시즌 소식을 받을 수 있어요.',
|
||||
'newEp.nothing_one': '보고 있는 시리즈나 애니에 새 소식이 없어요.',
|
||||
'newEp.nothing_other': '보고 있는 시리즈와 애니 {count}개에 새 소식이 없어요.',
|
||||
'newEp.needKeyAlso': '(설정에서 TMDB 키를 추가하면 시리즈와 드라마도 챙겨 볼 수 있어요.)',
|
||||
'newEp.newSeason': '새 시즌',
|
||||
'newEp.catchUp': '따라잡기',
|
||||
'newEp.soon': '곧 공개',
|
||||
'newEp.epWhen': '{ep}화 {when}',
|
||||
'newEp.available_one': '{count}화 시청 가능',
|
||||
'newEp.available_other': '{count}화 시청 가능',
|
||||
'newEp.next': '다음: {ep}화 {when}',
|
||||
'newEp.resume': '이어 보기',
|
||||
|
||||
'top.pick': '{rank}위 고르기',
|
||||
'top.shareTitle': '나의 {category} TOP 5',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': '{title}을(를) 볼 예정에 추가',
|
||||
'reco.addedShort': '추가됨',
|
||||
|
||||
'search.moviesSeries': '영화 & 시리즈',
|
||||
'search.offline': '인터넷에 연결되어 있지 않아요. 검색하려면 네트워크가 필요해요.',
|
||||
'search.fillFrom': '데이터베이스에서 채우기',
|
||||
'search.needKey': '영화, 시리즈, 드라마를 검색하려면 설정에서 무료 TMDB 키를 추가해 주세요.',
|
||||
'search.openSettings': '설정 열기',
|
||||
'search.already': '이미 추가됨',
|
||||
'search.noResults': '결과가 없어요. 아래에서 직접 입력할 수 있어요.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1화',
|
||||
'form.total': '전체',
|
||||
'form.season': '시즌',
|
||||
'form.minPerEp': '화당 분',
|
||||
'form.duration': '러닝타임',
|
||||
'form.durationMin': '러닝타임 (분)',
|
||||
'form.info': '정보',
|
||||
'form.start': '시작 / 본 날짜',
|
||||
'form.end': '종료',
|
||||
'form.year': '연도',
|
||||
'form.platform': '플랫폼',
|
||||
'form.genres': '장르 / 태그',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '‘{title}’이(가) 영구적으로 삭제돼요.',
|
||||
'form.removeRewatch': '이 기록 삭제',
|
||||
'form.rewatchDate': '다시 본 날짜',
|
||||
'form.reviewPublic': '이 감상을 내 프로필에 표시',
|
||||
'form.reviewPublicHint': '표시하지 않으면 나만 볼 수 있어요.',
|
||||
|
||||
'journal.rewatched': '다시 봄',
|
||||
'journal.started': '시작',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': '즐겨 보는 것, 좋아하는 장르…',
|
||||
'social.privateAccount': '비공개 계정',
|
||||
'social.privateHint': '내가 수락한 팔로워만 내 시청 기록을 볼 수 있어요.',
|
||||
'social.publicHint': '이름, 아이디, 사진, 배너, 소개는 모든 회원이 볼 수 있어요. 작성한 감상은 비공개로 유지되고, 프로필에 표시하기로 한 감상만 공개돼요.',
|
||||
'social.publicHint': '이름, 아이디, 사진, 배너, 소개, 평점과 감상은 회원들이 볼 수 있어요. 볼 수 있는 사람을 고르려면 계정을 비공개로 바꾸세요.',
|
||||
'social.requestsTab_one': '요청',
|
||||
'social.requestsTab_other': '요청 ({count})',
|
||||
'social.noFollowing': '아직 팔로우한 사람이 없어요.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "나중에",
|
||||
'social.watching': "보는 중",
|
||||
'social.watchlist': "보고 싶어요",
|
||||
'form.infoHint': "날짜, 연도, 플랫폼, 장르 — 자동으로 채워져요",
|
||||
'search.allKinds': "영화, 시리즈, 애니",
|
||||
'search.animeOnly': "TMDB 키가 없으면 애니만 찾을 수 있어요.",
|
||||
'search.alreadySeries': "이미 라이브러리에 있어요 — 열기",
|
||||
'form.startShort': "시작일",
|
||||
'form.endShort': "완료일",
|
||||
'hero.allSeen': "모두 시청함",
|
||||
'hero.nextOn': '다음 에피소드: {date}',
|
||||
'hero.upToDate': '최신 화까지 봤어요',
|
||||
'hero.seenEp': "{ep} 봤어요",
|
||||
'hero.seen': "봤어요",
|
||||
'hero.markSeen': "본 것으로 표시",
|
||||
'hero.edit': "정보 수정",
|
||||
'hero.more': "더 보기",
|
||||
'hero.less': "접기",
|
||||
'episodes.seasonOption_one': "시즌 {season} · {count}화",
|
||||
'episodes.seasonOption_other': "시즌 {season} · {count}화",
|
||||
'episodes.seen': "{done}/{total}화 시청",
|
||||
'episodes.short': "{n}화",
|
||||
'episodes.upcoming': "{date}",
|
||||
'episodes.nameless': "{n}화",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "보는 중",
|
||||
'homeHero.next': "다음에 볼 작품",
|
||||
'homeHero.details': "상세",
|
||||
'homeHero.continueRow': "이어 보기",
|
||||
'homeHero.nextUp': "다음: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** Nederlands */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'Annuleren',
|
||||
'common.confirm': 'Bevestigen',
|
||||
'common.close': 'Sluiten',
|
||||
'common.save': 'Opslaan',
|
||||
'common.add': 'Toevoegen',
|
||||
'common.delete': 'Verwijderen',
|
||||
'common.all': 'Alles',
|
||||
'common.offline': 'Geen internetverbinding.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} u',
|
||||
'common.hoursMinutes': '{h} u {m}',
|
||||
'common.daysHours': '{d} d {h} u',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': '{name} verwijderen',
|
||||
'common.kb': '{n} kB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'Bewerken',
|
||||
'common.moveUp': 'Omhoog',
|
||||
'common.moveDown': 'Omlaag',
|
||||
|
||||
'nav.home': 'Home',
|
||||
'nav.catalog': 'Catalogus',
|
||||
'nav.stats': 'Stats',
|
||||
'nav.settings': 'Instellingen',
|
||||
'nav.addTitle': 'Titel toevoegen',
|
||||
|
||||
'type.film': 'Film',
|
||||
'type.serie': 'Serie',
|
||||
'type.anime': 'Anime',
|
||||
'type.kdrama': 'K-Drama',
|
||||
'type.cdrama': 'C-Drama',
|
||||
'type.autre': 'Overig',
|
||||
|
||||
'typePlural.film': 'Films',
|
||||
'typePlural.serie': 'Series',
|
||||
'typePlural.anime': 'Anime',
|
||||
'typePlural.kdrama': 'K-Drama’s',
|
||||
'typePlural.cdrama': 'C-Drama’s',
|
||||
|
||||
'status.a_voir': 'Nog kijken',
|
||||
'status.en_cours': 'Bezig',
|
||||
'status.termine': 'Gezien',
|
||||
'status.pause': 'Gepauzeerd',
|
||||
'status.abandonne': 'Gestopt',
|
||||
|
||||
'criteria.story': 'Scenario / Verhaal',
|
||||
'criteria.cast': 'Personages / Cast',
|
||||
'criteria.direction': 'Regie / Animatie',
|
||||
'criteria.ost': 'Soundtrack (OST)',
|
||||
|
||||
'subtype.documentary': 'Documentaire',
|
||||
'subtype.reality': 'Realityserie',
|
||||
'subtype.show': 'Tv-programma',
|
||||
'subtype.short': 'Korte film',
|
||||
'subtype.stage': 'Voorstelling',
|
||||
'subtype.miniseries': 'Miniserie',
|
||||
|
||||
|
||||
'genre.action': 'Actie',
|
||||
'genre.adventure': 'Avontuur',
|
||||
'genre.comedy': 'Komedie',
|
||||
'genre.drama': 'Drama',
|
||||
'genre.romance': 'Romantiek',
|
||||
'genre.romcom': 'Romcom',
|
||||
'genre.thriller': 'Thriller',
|
||||
'genre.horror': 'Horror',
|
||||
'genre.mystery': 'Mysterie',
|
||||
'genre.crime': 'Misdaad',
|
||||
'genre.scifi': 'Sci-Fi',
|
||||
'genre.fantasy': 'Fantasy',
|
||||
'genre.historical': 'Historisch',
|
||||
'genre.sliceOfLife': 'Slice of Life',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'Sport',
|
||||
'genre.musical': 'Musical',
|
||||
'genre.medical': 'Medisch',
|
||||
'genre.legal': 'Juridisch',
|
||||
'genre.wuxia': 'Wuxia',
|
||||
'genre.xianxia': 'Xianxia',
|
||||
'genre.family': 'Familie',
|
||||
'genre.animation': 'Animatie',
|
||||
'genre.psychological': 'Psychologisch',
|
||||
'genre.supernatural': 'Bovennatuurlijk',
|
||||
'genre.romanticComedy': 'Romantische komedie',
|
||||
'genre.documentary': 'Documentaire',
|
||||
'genre.war': 'Oorlog',
|
||||
'genre.western': 'Western',
|
||||
'genre.music': 'Muziek',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'Kinderen',
|
||||
'genre.news': 'Nieuws',
|
||||
'genre.reality': 'Reality',
|
||||
'genre.talk': 'Talkshow',
|
||||
'genre.soap': 'Soap',
|
||||
'genre.politics': 'Politiek',
|
||||
'genre.tvMovie': 'Tv-film',
|
||||
'genre.anime': 'Anime',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'Weet je het zeker?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB-verzoek geweigerd.',
|
||||
'err.tmdbKeyRefused': 'TMDB-sleutel geweigerd. Controleer hem in Instellingen.',
|
||||
'err.tmdbStatus': 'TMDB antwoordde {status}.',
|
||||
'err.tmdbRef': 'Ongeldige TMDB-referentie.',
|
||||
'err.anilistRate': 'AniList beperkt het aantal verzoeken, probeer het over een minuut opnieuw.',
|
||||
'err.anilistStatus': 'AniList antwoordde {status}.',
|
||||
'err.searchRate': 'Te veel zoekopdrachten, probeer het over een paar minuten opnieuw.',
|
||||
|
||||
'anilist.short': 'Korte anime',
|
||||
'anilist.movie': 'Animatiefilm',
|
||||
'anilist.special': 'Special',
|
||||
'anilist.music': 'Videoclip',
|
||||
|
||||
'release.cinema': 'In de bioscoop',
|
||||
'release.online': 'Op VOD / streaming',
|
||||
'release.release': 'Release',
|
||||
'release.season': 'Seizoen {season}',
|
||||
'release.episode': 'Aflevering {ep}',
|
||||
'release.newEpisode': 'Nieuwe aflevering',
|
||||
'release.firstEpisode': 'Eerste aflevering',
|
||||
'release.newSeriesN': 'Nieuwe serie · {count} afleveringen',
|
||||
'release.seasonN': 'Seizoen {season} · {count} afleveringen',
|
||||
'release.seasonEp1': 'Seizoen {season} · Aflevering 1',
|
||||
'release.episodes': 'Afleveringen {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · Afleveringen {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · Aflevering {ep}',
|
||||
'release.episodeFinal': 'Aflevering {ep} · finale',
|
||||
'release.filmJapan': 'Film in Japan',
|
||||
|
||||
'card.ep': 'Afl. {n}',
|
||||
'card.plusOne': '+1 aflevering voor {title}',
|
||||
'card.open': '{title} openen',
|
||||
|
||||
'rating.outOf10': 'Score op 10',
|
||||
'rating.outOf5': 'Score op 5',
|
||||
'rating.stars_one': '{count} ster',
|
||||
'rating.stars_other': '{count} sterren',
|
||||
'rating.clear': 'Score wissen',
|
||||
|
||||
'share.previewLabel': 'Voorbeeld van de afbeelding',
|
||||
'share.preview': 'Voorbeeld',
|
||||
'share.posterAlt': 'Poster van {title}',
|
||||
'share.share': 'Delen',
|
||||
'share.saveImage': 'Afbeelding opslaan',
|
||||
'share.err.create': 'Kan de afbeelding niet maken',
|
||||
'share.minutesLong': '{n} minuten',
|
||||
'share.createdBy': 'Gemaakt door',
|
||||
'share.directedBy': 'Geregisseerd door',
|
||||
'share.producedBy': 'Geproduceerd door',
|
||||
'share.starring': 'Met',
|
||||
'share.genres': 'Genres',
|
||||
'share.myRating': 'Mijn score',
|
||||
'share.myTop': 'Mijn Top',
|
||||
|
||||
'auth.hidePassword': 'Wachtwoord verbergen',
|
||||
'auth.showPassword': 'Wachtwoord tonen',
|
||||
'auth.mismatch': 'De wachtwoorden komen niet overeen.',
|
||||
'auth.created': 'Account aangemaakt! Open de link die naar {email} is gestuurd om hem te activeren en log daarna in.',
|
||||
'auth.resetSent': 'Als er een account met dit adres bestaat, is er zojuist een link gestuurd om een nieuw wachtwoord te kiezen.',
|
||||
'auth.tagline': 'Je dagboek voor films, series, anime en drama’s.',
|
||||
'auth.loginTab': 'Inloggen',
|
||||
'auth.signupTab': 'Account maken',
|
||||
'auth.forgotTitle': 'Wachtwoord vergeten',
|
||||
'auth.email': 'E-mailadres',
|
||||
'auth.password': 'Wachtwoord',
|
||||
'auth.confirmPassword': 'Bevestig je wachtwoord',
|
||||
'auth.minChars': 'Minstens {n} tekens.',
|
||||
'auth.login': 'Inloggen',
|
||||
'auth.signup': 'Mijn account maken',
|
||||
'auth.sendLink': 'Link versturen',
|
||||
'auth.forgot': 'Wachtwoord vergeten?',
|
||||
'auth.backToLogin': 'Terug naar inloggen',
|
||||
'auth.privacy': 'Je account houdt je bibliotheek veilig. Je profiel (geziene titels, scores en reviews) is zichtbaar voor leden, tenzij je het privé maakt; je lijsten en instellingen blijven privé. Alles blijft ook op je apparaat staan, zodat de app zonder internet werkt.',
|
||||
'auth.newPasswordTitle': 'Kies je nieuwe wachtwoord.',
|
||||
'auth.newPassword': 'Nieuw wachtwoord',
|
||||
'auth.err.credentials': 'Onjuist e-mailadres of wachtwoord.',
|
||||
'auth.err.notConfirmed': 'Bevestig eerst je adres via de link in je e-mail.',
|
||||
'auth.err.exists': 'Er bestaat al een account met dit e-mailadres.',
|
||||
'auth.err.weak': 'Wachtwoord te zwak (minstens {n} tekens, mix van letters en cijfers).',
|
||||
'auth.err.samePassword': 'Je nieuwe wachtwoord moet anders zijn dan het oude.',
|
||||
'auth.err.emailRate': 'Te veel verzoeken. Probeer het over een paar minuten opnieuw.',
|
||||
'auth.err.rate': 'Te veel pogingen. Probeer het over een paar minuten opnieuw.',
|
||||
'auth.err.signupDisabled': 'Registreren is momenteel niet mogelijk.',
|
||||
'auth.err.emailInvalid': 'Ongeldig e-mailadres.',
|
||||
'auth.err.invalid': 'Ongeldig e-mailadres of wachtwoord.',
|
||||
'auth.err.session': 'Sessie verlopen, log opnieuw in.',
|
||||
'auth.err.status': 'De server heeft het verzoek geweigerd ({status}).',
|
||||
'auth.err.response': 'Ongeldig antwoord van de server.',
|
||||
'auth.err.linkExpired': 'Deze link is verlopen. Vraag een nieuwe aan.',
|
||||
'auth.err.linkUsed': 'Deze link is ongeldig of al gebruikt.',
|
||||
'auth.err.linkInvalid': 'Deze link is ongeldig.',
|
||||
|
||||
'settings.language': 'Taal',
|
||||
'settings.langAuto': 'Automatisch ({lang})',
|
||||
'settings.backupShared': 'Back-up gedeeld.',
|
||||
'settings.backupDownloaded': 'Back-up gedownload.',
|
||||
'settings.exportFailed': 'Exporteren mislukt.',
|
||||
'settings.noValidItems': 'Het bestand bevat geen geldige items.',
|
||||
'settings.imported_one': '{count} item geïmporteerd.',
|
||||
'settings.imported_other': '{count} items geïmporteerd.',
|
||||
'settings.importedSkipped': '{n} item(s) geïmporteerd, {skipped} overgeslagen.',
|
||||
'settings.cleared': 'Bibliotheek gewist.',
|
||||
'settings.pageTitle': 'Mijn ',
|
||||
'settings.pageAccent': 'instellingen',
|
||||
'settings.languageHint': 'Taal van de app, datums en info van TMDB (titels, samenvattingen).',
|
||||
'settings.rating': 'Scores',
|
||||
'settings.scale5': '★ op 5',
|
||||
'settings.scale10': 'Op 10',
|
||||
'settings.ratingHint': 'Halve sterren op 5, of stappen van 0,5 op 10. Bestaande scores worden automatisch omgerekend.',
|
||||
'settings.theme': 'Thema',
|
||||
'settings.appearance': 'Weergave',
|
||||
'settings.appearanceHint': '“Auto” volgt je browser (licht of donker).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Licht',
|
||||
'theme.modeDark': 'Donker',
|
||||
'theme.modeNight': 'Nacht',
|
||||
'theme.modeStarfield': 'Sterren',
|
||||
'settings.accentColor': 'Accentkleur',
|
||||
'settings.installApp': 'App installeren',
|
||||
'settings.installHint': 'Voeg AzuuCine toe aan je startscherm of bureaublad.',
|
||||
'settings.installed': 'App geïnstalleerd',
|
||||
'settings.notifs': 'Meldingen',
|
||||
'settings.notifsHint': 'Kies wat de bel activeert.',
|
||||
'settings.notifEpisodes': 'Nieuwe afleveringen',
|
||||
'settings.notifFollows': 'Nieuwe volgers',
|
||||
'settings.notifAccepted': 'Geaccepteerde verzoeken',
|
||||
'settings.notifReactions': 'Reacties op mijn recensies',
|
||||
'notif.new_episode': 'Nieuwe aflevering van {title}',
|
||||
'notif.new_season': 'Nieuw seizoen van {title}',
|
||||
'reviews.title': 'Recensies',
|
||||
'reviews.friends': 'Je vrienden',
|
||||
'reviews.others': 'Andere leden',
|
||||
'reviews.noneFriends': 'Geen recensies van je vrienden',
|
||||
'reviews.noneOthers': 'Geen andere recensies',
|
||||
'reviews.none': 'Nog geen recensies',
|
||||
'reviews.seeAll': 'Alle recensies bekijken',
|
||||
'reviews.react': 'Reageren',
|
||||
'notif.title': 'Meldingen',
|
||||
'notif.empty': 'Geen meldingen',
|
||||
'notif.someone': 'Iemand',
|
||||
'notif.follow_request': 'wil je volgen',
|
||||
'notif.follow_accepted': 'heeft je verzoek geaccepteerd',
|
||||
'notif.new_follower': 'volgt je nu',
|
||||
'notif.reaction': 'heeft op je recensie gereageerd',
|
||||
'notif.on': 'op {title}',
|
||||
'home.notifications': 'Meldingen',
|
||||
'home.notificationsN': '{count} meldingen',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine installeren',
|
||||
'install.ios': 'Open AzuuCine in Safari.\nTik op de deelknop (het vierkant met een pijl omhoog).\nKies “Zet op beginscherm” en daarna “Voeg toe”.',
|
||||
'install.android': 'Open AzuuCine in Chrome.\nTik rechtsboven op het menu ⋮.\nKies “Toevoegen aan startscherm” (of “App installeren”).',
|
||||
'install.desktop': 'Klik in de adresbalk rechts op het installatiepictogram (een scherm met een pijl).\nOf: browsermenu ⋮ → “AzuuCine installeren”.\nBevestig met “Installeren”.',
|
||||
'install.other': 'Open het menu van je browser.\nZoek naar “App installeren” of “Toevoegen aan startscherm”.',
|
||||
'install.gotIt': 'Begrepen',
|
||||
'settings.themeX': 'Thema {name}',
|
||||
'settings.pickColor': 'Kies een eigen kleur',
|
||||
'settings.freeColor': 'Eigen kleur',
|
||||
'settings.freeColorHint': 'Elke kleur kan: de tekst past zich aan om leesbaar te blijven.',
|
||||
'settings.databases': 'Filmdatabases',
|
||||
'settings.anilistActive': 'Anime · actief',
|
||||
'settings.noConfig': 'Geen configuratie nodig.',
|
||||
'settings.tmdbActive': 'Films & series · actief',
|
||||
'settings.checking': 'Controleren…',
|
||||
'settings.offline': 'Offline',
|
||||
'settings.proxyMissingKey': 'TMDB-sleutel ontbreekt',
|
||||
'settings.proxyNotDeployed': 'Server niet ingesteld',
|
||||
'settings.unavailable': 'Niet beschikbaar',
|
||||
'settings.proxyMissingKeyHint': 'De serverfunctie staat klaar, maar je TMDB-sleutel is niet opgeslagen (secret TMDB_API_KEY in Supabase), of TMDB weigert hem.',
|
||||
'settings.proxyNotDeployedHint': 'De functie “tmdb” is nog niet uitgerold op Supabase (zie README → Accounts, stap 5).',
|
||||
'settings.proxyErrorHint': 'De server reageert op dit moment niet goed.',
|
||||
'settings.proxyOkHint': 'Geleverd door de server van de app: je hoeft geen sleutel in te voeren.',
|
||||
'settings.recheck': 'Opnieuw controleren',
|
||||
'settings.keyRefused': 'Sleutel geweigerd',
|
||||
'settings.notConfigured': 'Niet ingesteld',
|
||||
'settings.tmdbHelp': 'Films, series, K-drama’s, C-drama’s. Maak een gratis account aan op themoviedb.org, ga naar Instellingen → API en plak je “API-sleutel” of je “API Read Access Token”.',
|
||||
'settings.tmdbKey': 'TMDB-sleutel',
|
||||
'settings.hideKey': 'Sleutel verbergen',
|
||||
'settings.showKey': 'Sleutel tonen',
|
||||
'settings.validate': 'Opslaan',
|
||||
'settings.remove': 'Verwijderen',
|
||||
'settings.keyLocal': 'De sleutel blijft op dit apparaat en zit nooit in back-ups.',
|
||||
'settings.topHint': 'Categorieën op het startscherm.',
|
||||
'settings.topNone': 'Geen categorieën: de Top 5-sectie is verborgen.',
|
||||
'settings.backup': 'Back-up',
|
||||
'settings.export': 'Mijn gegevens exporteren',
|
||||
'settings.exportHint_one': '{count} item · JSON-bestand, doe dit regelmatig',
|
||||
'settings.exportHint_other': '{count} items · JSON-bestand, doe dit regelmatig',
|
||||
'settings.import': 'Back-up importeren',
|
||||
'settings.importHint': 'Herstellen vanuit een .json-bestand',
|
||||
'settings.legacyDetected': 'Back-up van de oude app herkend',
|
||||
'settings.found_one': '{count} item gevonden. Hoe wil je het importeren?',
|
||||
'settings.found_other': '{count} items gevonden. Hoe wil je ze importeren?',
|
||||
'settings.foundSkipped': '{n} item(s) gevonden ({skipped} ongeldige overgeslagen). Hoe wil je ze importeren?',
|
||||
'settings.merge': 'Samenvoegen',
|
||||
'settings.replaceAll': 'Alles vervangen',
|
||||
'settings.mergeHint': '“Samenvoegen” voegt items toe en werkt bestaande items bij (zelfde ID).',
|
||||
'settings.storage': 'Opslag',
|
||||
'settings.used': 'Gebruikte ruimte',
|
||||
'settings.storageCloud': 'Je gegevens worden in je account opgeslagen en ook op dit apparaat bewaard, zodat de app zonder internet werkt. Ze worden automatisch gesynchroniseerd zodra je online bent.',
|
||||
'settings.storageLocal': 'Je gegevens staan alleen in deze browser, op dit apparaat. Als je je browsergegevens wist of de app verwijdert, zijn ze weg: exporteer regelmatig een back-up.',
|
||||
'settings.danger': 'Gevarenzone',
|
||||
'settings.clearAll': 'Hele bibliotheek wissen',
|
||||
'settings.clearAllHint_one': '{count} titel',
|
||||
'settings.clearAllHint_other': '{count} titels',
|
||||
'settings.clearAllHintCloud_one': '{count} titel · op al je apparaten',
|
||||
'settings.clearAllHintCloud_other': '{count} titels · op al je apparaten',
|
||||
'settings.deleting': 'Verwijderen…',
|
||||
'settings.deleteAccount': 'Mijn account verwijderen',
|
||||
'settings.deleteAccountHint': 'Account en gegevens definitief gewist',
|
||||
'settings.footerCloud': 'gesynchroniseerd account',
|
||||
'settings.footerLocal': '100% lokaal',
|
||||
'settings.clearConfirm_one': '{count} titel wordt definitief gewist. Exporteer eerst een back-up.',
|
||||
'settings.clearConfirm_other': 'Je {count} titels worden definitief gewist. Exporteer eerst een back-up.',
|
||||
'settings.clearConfirmCloud_one': '{count} titel wordt definitief gewist, op al je apparaten. Exporteer eerst een back-up.',
|
||||
'settings.clearConfirmCloud_other': 'Je {count} titels worden definitief gewist, op al je apparaten. Exporteer eerst een back-up.',
|
||||
'settings.clearAllConfirm': 'Alles wissen',
|
||||
'settings.deleteAccountTitle': 'Je account verwijderen?',
|
||||
'settings.deleteAccountMessage': 'Je account en al je gegevens (titels, lijsten, instellingen) worden definitief gewist van de server en van dit apparaat. Exporteer eerst een back-up. Dit kan niet ongedaan worden gemaakt.',
|
||||
'settings.deleteForever': 'Definitief verwijderen',
|
||||
'settings.replaceConfirm': 'Je hele huidige bibliotheek wordt vervangen door de inhoud van dit bestand.',
|
||||
'settings.replace': 'Vervangen',
|
||||
|
||||
'sync.err.push': 'Uploaden geweigerd ({status})',
|
||||
'sync.err.pull': 'Ophalen geweigerd ({status})',
|
||||
|
||||
'store.dbError': 'Kan de lokale database niet openen: {error}',
|
||||
'store.invalidItem': 'Ongeldig item',
|
||||
|
||||
'lists.newList': 'Nieuwe lijst',
|
||||
'lists.newListPh': 'Nieuwe lijst…',
|
||||
'lists.myLists': 'Mijn lijsten',
|
||||
'lists.rename': 'Hernoemen',
|
||||
'lists.delete': 'Lijst verwijderen',
|
||||
'lists.done': 'Klaar',
|
||||
'lists.addRemove': 'Titels toevoegen / verwijderen',
|
||||
'lists.searchLibrary': 'Zoeken in mijn bibliotheek…',
|
||||
'lists.emptyTitle': 'Lege lijst',
|
||||
'lists.emptyText': 'Voeg titels toe met de knop hierboven, of vanaf de pagina van een titel.',
|
||||
'lists.deleteConfirm': 'De lijst “{name}” wordt verwijderd. De titels blijven in je bibliotheek.',
|
||||
'lists.noneTitle': 'Nog geen lijsten',
|
||||
'lists.noneText': 'Maak lijsten zoals jij wilt: “Kijken met vrienden”, “Horrorfilms voor oktober”, “Feelgood-drama’s”…',
|
||||
'lists.create': 'Maken',
|
||||
|
||||
'account.err.deleteRate': 'Te veel pogingen, probeer het over een minuut opnieuw.',
|
||||
'account.err.delete': 'Verwijderen mislukt. Probeer het later opnieuw.',
|
||||
'account.title': 'Mijn account',
|
||||
'account.syncing': 'Synchroniseren…',
|
||||
'account.offline': 'Offline — alles blijft op dit apparaat bewaard',
|
||||
'account.syncError': 'Synchroniseren lukt nu niet',
|
||||
'account.synced': 'Gesynchroniseerd {when}',
|
||||
'account.passwordChanged': 'Wachtwoord gewijzigd.',
|
||||
'account.imported_one': '{count} titel toegevoegd aan je account.',
|
||||
'account.imported_other': '{count} titels toegevoegd aan je account.',
|
||||
'account.importFailed': 'Importeren mislukt.',
|
||||
'account.pending_one': '{count} in de wachtrij',
|
||||
'account.pending_other': '{count} in de wachtrij',
|
||||
'account.syncNow': 'Nu synchroniseren',
|
||||
'account.newPasswordPh': 'Nieuw wachtwoord (min. {n} tekens)',
|
||||
'account.changePassword': 'Wachtwoord wijzigen',
|
||||
'account.logout': 'Uitloggen',
|
||||
'account.logoutHint': 'Je gegevens blijven in je account en worden van dit apparaat verwijderd.',
|
||||
'account.ignore': 'Negeren',
|
||||
'account.deviceHint': 'Ze worden naar je account verplaatst en op al je apparaten gesynchroniseerd.',
|
||||
'account.unsentTitle': 'Niet-verzonden wijzigingen',
|
||||
'account.logoutAnyway': 'Toch uitloggen',
|
||||
'account.unsentMessage_one': '{count} wijziging is nog niet verzonden (geen verbinding?). Als je nu uitlogt, gaat die verloren.',
|
||||
'account.unsentMessage_other': '{count} wijzigingen zijn nog niet verzonden (geen verbinding?). Als je nu uitlogt, gaan ze verloren.',
|
||||
'account.nTitles_one': '{count} titel',
|
||||
'account.nTitles_other': '{count} titels',
|
||||
'account.nLists_one': '{count} lijst',
|
||||
'account.nLists_other': '{count} lijsten',
|
||||
'account.deviceData': 'Op dit apparaat staan {titles} die zijn gemaakt vóór je account. Toevoegen aan je account?',
|
||||
'account.deviceDataWithLists': 'Op dit apparaat staan {titles} en {lists} die zijn gemaakt vóór je account. Toevoegen aan je account?',
|
||||
|
||||
'time.never': 'nooit',
|
||||
'time.justNow': 'zojuist',
|
||||
'time.minutesAgo': '{n} min geleden',
|
||||
'time.hoursAgo': '{n} u geleden',
|
||||
'time.onDate': 'op {date}',
|
||||
'time.today': 'vandaag',
|
||||
'time.tomorrow': 'morgen',
|
||||
'time.daysAgo': '{n} d geleden',
|
||||
|
||||
'theme.red': 'Rood',
|
||||
'theme.orange': 'Oranje',
|
||||
'theme.yellow': 'Geel',
|
||||
'theme.lime': 'Limoen',
|
||||
'theme.green': 'Groen',
|
||||
'theme.mint': 'Mint',
|
||||
'theme.cyan': 'Cyaan',
|
||||
'theme.blue': 'Blauw',
|
||||
'theme.indigo': 'Indigo',
|
||||
'theme.violet': 'Violet',
|
||||
'theme.pink': 'Roze',
|
||||
'theme.white': 'Wit',
|
||||
|
||||
'home.seeAll': 'Alles bekijken',
|
||||
'home.subtitle': 'Mijn kijkdagboek',
|
||||
'home.calendarSoon_one': 'Releasekalender: {count} deze week',
|
||||
'home.calendarSoon_other': 'Releasekalender: {count} deze week',
|
||||
'home.emptyTitle': 'Je bibliotheek is leeg',
|
||||
'home.emptyCloud': 'Voeg je eerste film, anime of drama toe. Hij wordt in je account opgeslagen.',
|
||||
'home.emptyLocal': 'Voeg je eerste film, anime of drama toe. Alles blijft alleen op deze telefoon staan.',
|
||||
'home.completed': 'Gezien',
|
||||
'home.thisYear_one': '{count} dit jaar',
|
||||
'home.thisYear_other': '{count} dit jaar',
|
||||
'home.toWatchN_one': '{count} nog te kijken',
|
||||
'home.toWatchN_other': '{count} nog te kijken',
|
||||
'home.screenTime': 'Schermtijd',
|
||||
'home.estimate': 'schatting',
|
||||
'home.episodesSeen': 'Afleveringen gezien',
|
||||
'home.noIdea': 'Geen idee?',
|
||||
'home.rouletteHint_one': 'Willekeurige keuze uit je titel om te kijken',
|
||||
'home.rouletteHint_other': 'Willekeurige keuze uit je {count} titels om te kijken',
|
||||
'home.rouletteHintAll': 'Willekeurige keuze uit je bibliotheek',
|
||||
'home.recentlyFinished': 'Onlangs uitgekeken',
|
||||
|
||||
'calendar.title': 'Releasekalender',
|
||||
'calendar.inMyList': 'In mijn lijst',
|
||||
'calendar.inMyListLegend': 'In mijn lijst',
|
||||
'calendar.seeMore_one': 'Bekijk de andere',
|
||||
'calendar.seeMore_other': 'Bekijk de {count} andere',
|
||||
'calendar.heading': 'Release',
|
||||
'calendar.headingAccent': 'kalender',
|
||||
'calendar.refresh': 'Vernieuwen',
|
||||
'calendar.all': 'Alle releases',
|
||||
'calendar.mine': 'Mijn titels',
|
||||
'calendar.prevMonth': 'Vorige maand',
|
||||
'calendar.nextMonth': 'Volgende maand',
|
||||
'calendar.releases_one': '{count} release',
|
||||
'calendar.releases_other': '{count} releases',
|
||||
'calendar.others': 'Andere releases',
|
||||
'calendar.needKey': 'Zonder TMDB-sleutel zie je alleen anime. Voeg je sleutel toe in Instellingen om ook films, series en drama’s te zien.',
|
||||
'calendar.range': 'Releases zijn beschikbaar vanaf vorige maand tot 6 maanden vooruit.',
|
||||
'calendar.failed': 'Sommige releases konden niet worden geladen. Probeer het opnieuw met ↻.',
|
||||
'calendar.nothingThatDay': 'Niets gepland op die dag.',
|
||||
'calendar.next14': 'De komende 14 dagen',
|
||||
'calendar.loading': 'Releases zoeken…',
|
||||
'calendar.noneMine14': 'Geen releases aangekondigd voor je titels in de komende 14 dagen.',
|
||||
'calendar.noneMineMonth': 'Geen releases aangekondigd voor je titels deze maand.',
|
||||
'calendar.none14': 'Geen releases in de komende 14 dagen.',
|
||||
'calendar.noneMonth': 'Geen releases gevonden voor deze maand.',
|
||||
'calendar.footer': 'Films in de bioscoop in jouw land, afleveringen van de meest gevolgde series en drama’s (TMDB) en van alle anime die in Japan worden uitgezonden (AniList). Titels uit je bibliotheek zijn gemarkeerd; tik op “Nog kijken” om een release aan je lijst toe te voegen.',
|
||||
|
||||
'roulette.name': 'Roulette',
|
||||
'roulette.rewatch': 'Opnieuw kijken',
|
||||
'roulette.anyTime': 'Maakt niet uit',
|
||||
'roulette.heading': 'De ',
|
||||
'roulette.headingAccent': 'roulette',
|
||||
'roulette.tonight': 'Vanavond wordt het…',
|
||||
'roulette.nEps': '{n} afl.',
|
||||
'roulette.perEp': '{duration} / afl.',
|
||||
'roulette.stoppedAt': 'Je was gebleven bij aflevering {ep}.',
|
||||
'roulette.stoppedAtOf': 'Je was gebleven bij aflevering {ep} van {total}.',
|
||||
'roulette.enjoy': 'Veel kijkplezier!',
|
||||
'roulette.again': 'Opnieuw draaien',
|
||||
'roulette.spinning': 'Draaien…',
|
||||
'roulette.spin': 'Draai aan de roulette',
|
||||
'roulette.poolSize_one': 'Keuze uit {count} titel',
|
||||
'roulette.poolSize_other': 'Keuze uit {count} titels',
|
||||
'roulette.empty': 'Geen titels gevonden: verruim de filters hieronder.',
|
||||
'roulette.inside': 'In de roulette',
|
||||
'roulette.pickFrom': 'Kiezen uit',
|
||||
'roulette.rewatchHint': '“Opnieuw kijken” = je geziene titels met 4/5 of hoger, favorieten en Top 5.',
|
||||
'roulette.time': 'Beschikbare tijd (film of 1 aflevering)',
|
||||
'roulette.seeItem': 'Alle details bekijken',
|
||||
'roulette.watchIt': 'Deze ga ik kijken',
|
||||
|
||||
|
||||
'top.pick': 'Kies nr. {rank}',
|
||||
'top.shareTitle': 'Mijn Top 5 {category}',
|
||||
'top.shareLabel': 'Deel deze Top 5 als afbeelding',
|
||||
'top.title': 'Mijn Top',
|
||||
'top.number': 'Nr. {rank}',
|
||||
'top.pickFirst': 'Kies je nr. 1.',
|
||||
'top.editLabel': 'Top 5 bewerken',
|
||||
'top.freeSlot': 'Vrije plek — kies hieronder een titel',
|
||||
'top.addFromLibrary': 'Toevoegen uit mijn bibliotheek',
|
||||
'top.allTypes': 'Alle types',
|
||||
'top.searchTitle': 'Zoek een titel…',
|
||||
'top.full': 'Je Top 5 is vol: verwijder een titel om een andere toe te voegen.',
|
||||
'top.noCandidates': 'Geen titels. Probeer “Alle types” of een andere zoekopdracht.',
|
||||
|
||||
'reco.error': 'Kan de suggesties nu niet laden.',
|
||||
'reco.title': 'Suggesties',
|
||||
'reco.needKey': 'Voeg je TMDB-sleutel toe in Instellingen om suggesties te krijgen op basis van je favoriete titels.',
|
||||
'reco.other': 'Andere titel',
|
||||
'reco.ifYouLiked': 'Als je dit leuk vond',
|
||||
'reco.loading': 'Suggesties zoeken…',
|
||||
'reco.none': 'Je hebt alles wat op deze titel lijkt al. Probeer “Andere titel”.',
|
||||
'reco.added': '{title} toegevoegd',
|
||||
'reco.addLabel': '{title} toevoegen aan Nog kijken',
|
||||
'reco.addedShort': 'Toegevoegd',
|
||||
|
||||
'search.offline': 'Geen internetverbinding: zoeken werkt alleen online.',
|
||||
'search.fillFrom': 'Invullen vanuit een database',
|
||||
'search.openSettings': 'Instellingen openen',
|
||||
'search.already': 'al toegevoegd',
|
||||
'search.noResults': 'Geen resultaten. Je kunt het item hieronder handmatig invullen.',
|
||||
'search.privacy': 'Alleen de gezochte titel wordt naar {source} gestuurd. Je bibliotheek blijft op je telefoon.',
|
||||
|
||||
'catalog.sortRecent': 'Recent bewerkt',
|
||||
'catalog.sortWatched': 'Kijkdatum',
|
||||
'catalog.sortRating': 'Hoogste score',
|
||||
'catalog.sortTitle': 'Titel (A→Z)',
|
||||
'catalog.pageTitle': 'Mijn ',
|
||||
'catalog.pageAccent': 'catalogus',
|
||||
'catalog.journalSubtitle': 'Je kijkgeschiedenis',
|
||||
'catalog.filteredCount_one': '{count} titel (gefilterd)',
|
||||
'catalog.filteredCount_other': '{count} titels (gefilterd)',
|
||||
'catalog.titles': 'Titels',
|
||||
'catalog.journal': 'Dagboek',
|
||||
'catalog.lists': 'Lijsten',
|
||||
'catalog.searchPh': 'Titel, genre, platform…',
|
||||
'catalog.moreFilters': 'Meer filters',
|
||||
'catalog.all': 'Alle',
|
||||
'catalog.genre': 'Genre',
|
||||
'catalog.minRating': 'Minimale score',
|
||||
'catalog.allRatings': 'Alle',
|
||||
'catalog.sortBy': 'Sorteren op',
|
||||
'catalog.favorites': 'Favorieten',
|
||||
'catalog.reset': 'Resetten',
|
||||
'catalog.noResults': 'Geen resultaten',
|
||||
'catalog.nothingYet': 'Nog niets hier',
|
||||
'catalog.noResultsHint': 'Probeer een andere zoekopdracht of verwijder wat filters.',
|
||||
'catalog.nothingYetHint': 'Voeg je eerste titel toe met de knop +.',
|
||||
'catalog.clearFilters': 'Filters wissen',
|
||||
|
||||
'public.agree': 'Helemaal eens met het publiek',
|
||||
'public.more': '+{gap} hoger dan het publiek',
|
||||
'public.less': '−{gap} lager dan het publiek',
|
||||
'public.label': 'Publiek',
|
||||
'public.me': 'Ik',
|
||||
'public.added_one': '{count} publieksscore toegevoegd.',
|
||||
'public.added_other': '{count} publieksscores toegevoegd.',
|
||||
'public.noneFound': 'Geen nieuwe scores gevonden.',
|
||||
'public.fetch': 'Ophalen ({n})',
|
||||
'public.title': 'Ik vs het publiek',
|
||||
'public.hintFetch': 'Haal de gemiddelde TMDB- / AniList-score van je beoordeelde titels op om te zien waar je afwijkt van het publiek.',
|
||||
'public.hintNone': 'Geen publieksscores beschikbaar voor je beoordeelde titels in deze periode.',
|
||||
'public.hintKey': 'Voeg je TMDB-sleutel toe in Instellingen (of koppel anime aan AniList) om jezelf met het publiek te vergelijken.',
|
||||
'public.avgGap': 'Gemiddeld verschil',
|
||||
'public.average': 'Precies gemiddeld',
|
||||
'public.generous': 'Gulder dan het publiek',
|
||||
'public.harsh': 'Strenger dan het publiek',
|
||||
'public.agreeTitle': 'Mee eens',
|
||||
'public.within5_one': 'binnen ½ ster, bij {count} titel',
|
||||
'public.within5_other': 'binnen ½ ster, bij {count} titels',
|
||||
'public.within10_one': 'binnen 1 punt, bij {count} titel',
|
||||
'public.within10_other': 'binnen 1 punt, bij {count} titels',
|
||||
'public.lovedPre': 'Ik vond ',
|
||||
'public.lovedAccent': 'leuker',
|
||||
'public.lovedPost': ' dan het publiek',
|
||||
'public.hatedPre': 'Ik vond ',
|
||||
'public.hatedAccent': 'minder leuk',
|
||||
'public.hatedPost': ' dan het publiek',
|
||||
'public.allAgree': 'Je bent het bij al je titels eens met het publiek. Zeldzaam!',
|
||||
|
||||
'form.rewatchHint': 'Opnieuw gekeken? Log elke herhaling, dan verschijnt die in je dagboek.',
|
||||
'form.editTitle': 'Item ',
|
||||
'form.editAccent': 'bewerken',
|
||||
'form.newTitle': 'Nieuwe ',
|
||||
'form.newAccent': 'titel',
|
||||
'form.filledFrom': 'Ingevuld vanuit',
|
||||
'form.canEdit': 'je kunt alles aanpassen',
|
||||
'form.fillFromDb': 'Aanvullen vanuit TMDB / AniList',
|
||||
'form.pickPoster': 'Kies een poster',
|
||||
'form.removeImage': 'Afbeelding verwijderen',
|
||||
'form.title': 'Titel *',
|
||||
'form.titlePh': 'bijv. Your Name',
|
||||
'form.originalTitle': 'Originele titel',
|
||||
'form.originalTitlePh': 'bijv. 君の名は。',
|
||||
'form.synopsis': 'Samenvatting',
|
||||
'form.type': 'Type',
|
||||
'form.subtype': 'Soort',
|
||||
'form.subtypePh': 'Documentaire, Realityserie…',
|
||||
'form.status': 'Status',
|
||||
'form.myRating': 'Mijn score',
|
||||
'form.favorite': 'Favoriet',
|
||||
'form.criteria': 'Gedetailleerde criteria (optioneel)',
|
||||
'form.episodes': 'Afleveringen',
|
||||
'form.minusEp': '-1 aflevering',
|
||||
'form.plusEp': '+1 aflevering',
|
||||
'form.total': 'Totaal',
|
||||
'form.season': 'Seizoen',
|
||||
'form.duration': 'Duur',
|
||||
'form.durationMin': 'Duur (minuten)',
|
||||
'form.year': 'Jaar',
|
||||
'form.platform': 'Platform',
|
||||
'form.genres': 'Genres / tags',
|
||||
'form.genresPh': 'Romantiek, Sci-Fi…',
|
||||
'form.rewatches': 'Herhalingen',
|
||||
'form.review': 'Mijn review',
|
||||
'form.reviewPh': 'Wat ik ervan vond, memorabele scènes…',
|
||||
'form.saveChanges': 'Wijzigingen opslaan',
|
||||
'form.addToLibrary': 'Toevoegen aan mijn bibliotheek',
|
||||
'form.shareImage': 'Delen als afbeelding',
|
||||
'form.delete': 'Deze titel verwijderen',
|
||||
'form.deleteConfirm': '“{title}” wordt definitief verwijderd.',
|
||||
'form.removeRewatch': 'Deze herhaling verwijderen',
|
||||
'form.rewatchDate': 'Datum van herhaling',
|
||||
|
||||
'journal.rewatched': 'Opnieuw gekeken',
|
||||
'journal.started': 'Begonnen',
|
||||
'journal.emptyTitle': 'Leeg dagboek',
|
||||
'journal.emptyText': 'Je kijkmomenten verschijnen hier zodra je items een start- of einddatum hebben.',
|
||||
'journal.seen_one': '{count} gezien',
|
||||
'journal.seen_other': '{count} gezien',
|
||||
'journal.more': 'Eerdere maanden tonen',
|
||||
|
||||
'stats.overview': 'Overzicht',
|
||||
'stats.habits': 'Gewoontes',
|
||||
'stats.tastes': 'Smaak',
|
||||
'stats.pageTitle': 'Mijn ',
|
||||
'stats.pageAccent': 'stats',
|
||||
'stats.emptyTitle': 'Nog geen statistieken',
|
||||
'stats.emptyText': 'Ze verschijnen zodra je titels hebt toegevoegd.',
|
||||
'stats.sinceStart': 'sinds het begin',
|
||||
'stats.subtitle_one': '{count} titel in mijn bibliotheek',
|
||||
'stats.subtitle_other': '{count} titels in mijn bibliotheek',
|
||||
'stats.subtitleYear_one': '{count} titel in {year}',
|
||||
'stats.subtitleYear_other': '{count} titels in {year}',
|
||||
'stats.hours_one': 'uur',
|
||||
'stats.hours_other': 'uur',
|
||||
'stats.nonStopPre': 'oftewel ',
|
||||
'stats.nonStopPost': ' non-stop',
|
||||
'stats.days_one': '{count} dag',
|
||||
'stats.days_other': '{count} dagen',
|
||||
'stats.finishedN_one': '{count} uitgekeken',
|
||||
'stats.finishedN_other': '{count} uitgekeken',
|
||||
'stats.episodesN_one': '{count} aflevering',
|
||||
'stats.episodesN_other': '{count} afleveringen',
|
||||
'stats.timeByType': 'Tijd per type',
|
||||
'stats.noTime': 'Nog geen tijd geregistreerd in deze periode.',
|
||||
'stats.avgRating': 'Gemiddelde score',
|
||||
'stats.rated_one': '{count} titel beoordeeld',
|
||||
'stats.rated_other': '{count} titels beoordeeld',
|
||||
'stats.inYear': 'in {year}',
|
||||
'stats.statuses': 'Statussen',
|
||||
'stats.hoursTab': 'Uren',
|
||||
'stats.monthByMonth': 'Per maand · {year}',
|
||||
'stats.last12': 'Afgelopen 12 maanden',
|
||||
'stats.monthFinished_one': '{count} titel uitgekeken',
|
||||
'stats.monthFinished_other': '{count} titels uitgekeken',
|
||||
'stats.busiest': 'Drukste maand:',
|
||||
'stats.records': 'Records',
|
||||
'stats.marathon': 'Grootste marathon',
|
||||
'stats.longestFilm': 'Langste film',
|
||||
'stats.noRecords': 'Nog geen records in deze periode.',
|
||||
'stats.platforms': 'Platforms',
|
||||
'stats.bestRated': 'Mijn hoogst beoordeelde',
|
||||
'stats.myRatings': 'Mijn scores',
|
||||
'stats.noRatings': 'Geen scores in deze periode.',
|
||||
'stats.favGenres': 'Favoriete genres',
|
||||
'stats.noGenres': 'Nog geen genres.',
|
||||
'stats.countries': 'Landen',
|
||||
'stats.noCountry_one': '{count} titel zonder land: vul het aan via “Aanvullen vanuit TMDB / AniList” op de pagina van de titel.',
|
||||
'stats.noCountry_other': '{count} titels zonder land: vul ze aan via “Aanvullen vanuit TMDB / AniList” op de pagina van de titel.',
|
||||
'stats.noCountryLegacy_one': '{count} titel zonder land: vul het aan via “Aanvullen vanuit TMDB / AniList” op de pagina van de titel, of importeer de back-up van je oude app opnieuw (“Samenvoegen”).',
|
||||
'stats.noCountryLegacy_other': '{count} titels zonder land: vul ze aan via “Aanvullen vanuit TMDB / AniList” op de pagina van de titel, of importeer de back-up van je oude app opnieuw (“Samenvoegen”).',
|
||||
'stats.byType': 'Per type',
|
||||
'stats.footnote': 'Tijd geschat op basis van geziene afleveringen en ingevulde duur (anders: film 1 u 50, anime-aflevering 24 min, serie 45 min, K-drama 1 u, C-drama 45 min). Een titel telt mee voor het jaar waarin ik hem heb uitgekeken.',
|
||||
'stats.ratedAs_one': 'beoordeeld met {rating}',
|
||||
'stats.ratedAs_other': 'beoordeeld met {rating}',
|
||||
|
||||
'backup.shareTitle': 'AzuuCine-back-up',
|
||||
'backup.tooBig': 'Bestand te groot (max. 30 MB).',
|
||||
'backup.notJson': 'Dit bestand is geen geldige JSON.',
|
||||
'backup.noItems': 'Geen items gevonden in dit bestand.',
|
||||
'backup.tooMany': 'Te veel items (max. {n}).',
|
||||
|
||||
'image.canvas': 'Canvas niet beschikbaar',
|
||||
'image.unreadable': 'Onleesbare afbeelding',
|
||||
'image.notImage': 'Dit bestand is geen afbeelding.',
|
||||
'image.tooBig': 'Afbeelding te groot (max. 25 MB).',
|
||||
|
||||
'social.err.server': 'De server antwoordde {status}.',
|
||||
'social.err.usernameTaken': 'Deze gebruikersnaam is al bezet.',
|
||||
'social.err.usernameReserved': 'Deze gebruikersnaam is niet beschikbaar.',
|
||||
'social.err.invalid': 'Een van de waarden is ongeldig.',
|
||||
'social.inLibrary': 'In mijn bibliotheek',
|
||||
'social.addToWatch': 'Toevoegen aan Nog kijken',
|
||||
'social.linkCopied': 'Link gekopieerd!',
|
||||
'social.profile': 'Profiel',
|
||||
'social.shareProfile': 'Profiel delen',
|
||||
'social.loading': 'Laden…',
|
||||
'social.loadError': 'Kan het profiel niet laden.',
|
||||
'social.notFound': 'Profiel niet gevonden',
|
||||
'social.notFoundHint': 'Er is geen profiel met de naam @{username}.',
|
||||
'social.editProfile': 'Profiel bewerken',
|
||||
'social.following': 'Volgend',
|
||||
'social.requested': 'Verzoek verstuurd',
|
||||
'social.followBack': 'Terugvolgen',
|
||||
'social.follow': 'Volgen',
|
||||
'social.private': 'Privéaccount',
|
||||
'social.followsYou': 'Volgt jou',
|
||||
'social.seen': 'Gezien',
|
||||
'social.followers_one': 'Volger',
|
||||
'social.followers_other': 'Volgers',
|
||||
'social.followingCount_one': 'Volgend',
|
||||
'social.followingCount_other': 'Volgend',
|
||||
'social.requests_one': '{count} volgverzoek',
|
||||
'social.requests_other': '{count} volgverzoeken',
|
||||
'social.privateTitle': 'Dit account is privé',
|
||||
'social.privateText': 'Volg dit account om de kijkmomenten, scores en Top 5 te zien.',
|
||||
'social.tabProfile': 'Profiel',
|
||||
'social.tabLibrary': 'Bibliotheek',
|
||||
'social.cancelRequestTitle': 'Volgverzoek annuleren?',
|
||||
'social.unfollowTitle': '{name} ontvolgen?',
|
||||
'social.unfollowPrivate': 'Dit account is privé: je moet opnieuw een verzoek sturen om het profiel weer te zien.',
|
||||
'social.cancelRequest': 'Verzoek annuleren',
|
||||
'social.unfollow': 'Ontvolgen',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'Onlangs gezien',
|
||||
'social.noRecent': 'Nog niets uitgekeken.',
|
||||
'social.statYear': 'Gezien dit jaar',
|
||||
'social.statFilms': 'Films gezien',
|
||||
'social.statSeries': 'Series & anime gezien',
|
||||
'social.emptyLibrary': 'Geen titels hier.',
|
||||
'social.loadMore': 'Meer tonen',
|
||||
'social.changeBanner': 'Banner wijzigen',
|
||||
'social.changeAvatar': 'Foto wijzigen',
|
||||
'social.removeAvatar': 'Foto verwijderen',
|
||||
'social.removeBanner': 'Banner verwijderen',
|
||||
'social.displayName': 'Weergavenaam',
|
||||
'social.username': 'Gebruikersnaam',
|
||||
'social.usernameRule': '3 tot 20 tekens: kleine letters, cijfers of _',
|
||||
'social.bio': 'Bio',
|
||||
'social.bioPh': 'Wat je graag kijkt, je favoriete genres…',
|
||||
'social.privateAccount': 'Privéaccount',
|
||||
'social.privateHint': 'Alleen volgers die jij accepteert zien wat je kijkt.',
|
||||
'social.publicHint': 'Je naam, gebruikersnaam, foto, banner, bio, scores en reviews zijn zichtbaar voor leden. Maak je account privé om te kiezen wie ze kan zien.',
|
||||
'social.requestsTab_one': 'Verzoek',
|
||||
'social.requestsTab_other': 'Verzoeken ({count})',
|
||||
'social.noFollowing': 'Je volgt nog niemand.',
|
||||
'social.noFollowers': 'Nog geen volgers.',
|
||||
'social.accept': 'Accepteren',
|
||||
'social.decline': 'Weigeren',
|
||||
'social.removeFollower': 'Verwijderen',
|
||||
'social.findFriends': 'Vrienden zoeken',
|
||||
'social.searchPh': 'Gebruikersnaam of naam…',
|
||||
'social.noResults': 'Niemand gevonden.',
|
||||
'social.inviteHint': 'Zitten je vrienden nog niet op AzuuCine? Stuur ze de link naar je profiel.',
|
||||
'social.shareMyProfile': 'Mijn profiel delen',
|
||||
'social.inviteText': 'Volg me op AzuuCine!',
|
||||
'social.myProfile': 'Mijn profiel',
|
||||
|
||||
'feed.title': 'Volgend',
|
||||
'feed.empty': 'Volg vrienden om hier te zien wat ze kijken en wat ze ervan vinden.',
|
||||
'feed.finished': 'heeft gezien',
|
||||
'feed.started': 'is begonnen met',
|
||||
'feed.rewatched': 'heeft opnieuw gekeken',
|
||||
'feed.added': 'wil kijken',
|
||||
'feed.review': 'review',
|
||||
'auth.google': "Doorgaan met Google",
|
||||
'auth.or': "of",
|
||||
'auth.err.google': "Inloggen met Google is mislukt. Probeer het opnieuw.",
|
||||
'auth.err.storage': "Je browser blokkeert opslag: inloggen is niet mogelijk.",
|
||||
'welcome.title': "Kies je gebruikersnaam",
|
||||
'welcome.titleA': "Welkom bij",
|
||||
'welcome.titleB': "AzuuCine",
|
||||
'welcome.text': "Kies je gebruikersnaam: zo vinden je vrienden je en kunnen ze je volgen.",
|
||||
'welcome.usernamePh': "jouw_naam",
|
||||
'welcome.namePh': "Je naam",
|
||||
'welcome.nameHint': "Optioneel — zichtbaar op je profiel. Je kunt alles later nog wijzigen.",
|
||||
'welcome.go': "Aan de slag",
|
||||
'welcome.later': "Later",
|
||||
'social.watching': "Bezig",
|
||||
'social.watchlist': "Wil ik zien",
|
||||
'search.allKinds': "Films, series en anime",
|
||||
'search.animeOnly': "Zonder TMDB-sleutel worden alleen anime gevonden.",
|
||||
'search.alreadySeries': "al in je bibliotheek — openen",
|
||||
'form.startShort': "Begonnen op",
|
||||
'form.endShort': "Uitgekeken op",
|
||||
'hero.allSeen': "Alles gezien",
|
||||
'hero.nextOn': 'Volgende aflevering op {date}',
|
||||
'hero.upToDate': 'Bijgewerkt',
|
||||
'hero.seenEp': "{ep} gezien",
|
||||
'hero.seen': "Gezien",
|
||||
'hero.markSeen': "Markeren als gezien",
|
||||
'hero.edit': "Info bewerken",
|
||||
'hero.more': "Lees meer",
|
||||
'hero.less': "Minder tonen",
|
||||
'episodes.seasonOption_one': "Seizoen {season} · {count} aflevering",
|
||||
'episodes.seasonOption_other': "Seizoen {season} · {count} afleveringen",
|
||||
'episodes.seen': "{done}/{total} gezien",
|
||||
'episodes.short': "A{n}",
|
||||
'episodes.upcoming': "op {date}",
|
||||
'episodes.nameless': "Aflevering {n}",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "Ik kijk nu",
|
||||
'homeHero.next': "Hierna kijken",
|
||||
'homeHero.details': "Details",
|
||||
'homeHero.continueRow': "Verder kijken",
|
||||
'homeHero.nextUp': "Volgende: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,933 @@
|
||||
/** Polski */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'Anuluj',
|
||||
'common.confirm': 'Potwierdź',
|
||||
'common.close': 'Zamknij',
|
||||
'common.save': 'Zapisz',
|
||||
'common.add': 'Dodaj',
|
||||
'common.delete': 'Usuń',
|
||||
'common.all': 'Wszystko',
|
||||
'common.offline': 'Brak połączenia z internetem.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} godz.',
|
||||
'common.hoursMinutes': '{h} godz. {m} min',
|
||||
'common.daysHours': '{d} d {h} godz.',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': 'Usuń {name}',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'Edytuj',
|
||||
'common.moveUp': 'Przesuń w górę',
|
||||
'common.moveDown': 'Przesuń w dół',
|
||||
|
||||
'nav.home': 'Start',
|
||||
'nav.catalog': 'Katalog',
|
||||
'nav.stats': 'Statystyki',
|
||||
'nav.settings': 'Ustawienia',
|
||||
'nav.addTitle': 'Dodaj tytuł',
|
||||
|
||||
'type.film': 'Film',
|
||||
'type.serie': 'Serial',
|
||||
'type.anime': 'Anime',
|
||||
'type.kdrama': 'K-drama',
|
||||
'type.cdrama': 'C-drama',
|
||||
'type.autre': 'Inne',
|
||||
|
||||
'typePlural.film': 'Filmy',
|
||||
'typePlural.serie': 'Seriale',
|
||||
'typePlural.anime': 'Anime',
|
||||
'typePlural.kdrama': 'K-dramy',
|
||||
'typePlural.cdrama': 'C-dramy',
|
||||
|
||||
'status.a_voir': 'Do obejrzenia',
|
||||
'status.en_cours': 'W trakcie',
|
||||
'status.termine': 'Ukończone',
|
||||
'status.pause': 'Wstrzymane',
|
||||
'status.abandonne': 'Porzucone',
|
||||
|
||||
'criteria.story': 'Scenariusz / Fabuła',
|
||||
'criteria.cast': 'Postacie / Obsada',
|
||||
'criteria.direction': 'Reżyseria / Animacja',
|
||||
'criteria.ost': 'Ścieżka dźwiękowa (OST)',
|
||||
|
||||
'subtype.documentary': 'Dokument',
|
||||
'subtype.reality': 'Reality show',
|
||||
'subtype.show': 'Program TV',
|
||||
'subtype.short': 'Krótki metraż',
|
||||
'subtype.stage': 'Spektakl',
|
||||
'subtype.miniseries': 'Miniserial',
|
||||
|
||||
|
||||
'genre.action': 'Akcja',
|
||||
'genre.adventure': 'Przygodowy',
|
||||
'genre.comedy': 'Komedia',
|
||||
'genre.drama': 'Dramat',
|
||||
'genre.romance': 'Romans',
|
||||
'genre.romcom': 'Rom-com',
|
||||
'genre.thriller': 'Thriller',
|
||||
'genre.horror': 'Horror',
|
||||
'genre.mystery': 'Tajemnica',
|
||||
'genre.crime': 'Kryminał',
|
||||
'genre.scifi': 'Sci-Fi',
|
||||
'genre.fantasy': 'Fantasy',
|
||||
'genre.historical': 'Historyczny',
|
||||
'genre.sliceOfLife': 'Slice of Life',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'Sportowy',
|
||||
'genre.musical': 'Musical',
|
||||
'genre.medical': 'Medyczny',
|
||||
'genre.legal': 'Prawniczy',
|
||||
'genre.wuxia': 'Wuxia',
|
||||
'genre.xianxia': 'Xianxia',
|
||||
'genre.family': 'Familijny',
|
||||
'genre.animation': 'Animacja',
|
||||
'genre.psychological': 'Psychologiczny',
|
||||
'genre.supernatural': 'Nadprzyrodzony',
|
||||
'genre.romanticComedy': 'Komedia romantyczna',
|
||||
'genre.documentary': 'Dokumentalny',
|
||||
'genre.war': 'Wojenny',
|
||||
'genre.western': 'Western',
|
||||
'genre.music': 'Muzyczny',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'Dla dzieci',
|
||||
'genre.news': 'Wiadomości',
|
||||
'genre.reality': 'Reality show',
|
||||
'genre.talk': 'Talk-show',
|
||||
'genre.soap': 'Telenowela',
|
||||
'genre.politics': 'Polityka',
|
||||
'genre.tvMovie': 'Film telewizyjny',
|
||||
'genre.anime': 'Anime',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'Na pewno?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB odrzuciło zapytanie.',
|
||||
'err.tmdbKeyRefused': 'Klucz TMDB odrzucony. Sprawdź go w Ustawieniach.',
|
||||
'err.tmdbStatus': 'TMDB odpowiedziało: {status}.',
|
||||
'err.tmdbRef': 'Nieprawidłowy identyfikator TMDB.',
|
||||
'err.anilistRate': 'AniList ogranicza liczbę zapytań, spróbuj ponownie za minutę.',
|
||||
'err.anilistStatus': 'AniList odpowiedział: {status}.',
|
||||
'err.searchRate': 'Za dużo wyszukiwań, spróbuj ponownie za kilka minut.',
|
||||
|
||||
'anilist.short': 'Krótkie anime',
|
||||
'anilist.movie': 'Film animowany',
|
||||
'anilist.special': 'Odcinek specjalny',
|
||||
'anilist.music': 'Teledysk',
|
||||
|
||||
'release.cinema': 'W kinach',
|
||||
'release.online': 'VOD / streaming',
|
||||
'release.release': 'Premiera',
|
||||
'release.season': 'Sezon {season}',
|
||||
'release.episode': 'Odcinek {ep}',
|
||||
'release.newEpisode': 'Nowy odcinek',
|
||||
'release.firstEpisode': 'Pierwszy odcinek',
|
||||
'release.newSeriesN': 'Nowy serial · {count} odc.',
|
||||
'release.seasonN': 'Sezon {season} · {count} odc.',
|
||||
'release.seasonEp1': 'Sezon {season} · Odcinek 1',
|
||||
'release.episodes': 'Odcinki {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · Odcinki {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · Odcinek {ep}',
|
||||
'release.episodeFinal': 'Odcinek {ep} · finał',
|
||||
'release.filmJapan': 'Film w Japonii',
|
||||
|
||||
'card.ep': 'Odc. {n}',
|
||||
'card.plusOne': '+1 odcinek: {title}',
|
||||
'card.open': 'Otwórz {title}',
|
||||
|
||||
'rating.outOf10': 'Ocena w skali do 10',
|
||||
'rating.outOf5': 'Ocena w skali do 5',
|
||||
'rating.stars_one': '{count} gwiazdka',
|
||||
'rating.stars_few': '{count} gwiazdki',
|
||||
'rating.stars_many': '{count} gwiazdek',
|
||||
'rating.stars_other': '{count} gwiazdki',
|
||||
'rating.clear': 'Wyczyść ocenę',
|
||||
|
||||
'share.previewLabel': 'Podgląd obrazu',
|
||||
'share.preview': 'Podgląd',
|
||||
'share.posterAlt': 'Plakat: {title}',
|
||||
'share.share': 'Udostępnij',
|
||||
'share.saveImage': 'Zapisz obraz',
|
||||
'share.err.create': 'Nie udało się utworzyć obrazu',
|
||||
'share.minutesLong': '{n} min',
|
||||
'share.createdBy': 'Twórcy',
|
||||
'share.directedBy': 'Reżyseria',
|
||||
'share.producedBy': 'Produkcja',
|
||||
'share.starring': 'Występują',
|
||||
'share.genres': 'Gatunki',
|
||||
'share.myRating': 'Moja ocena',
|
||||
'share.myTop': 'Mój Top',
|
||||
|
||||
'auth.hidePassword': 'Ukryj hasło',
|
||||
'auth.showPassword': 'Pokaż hasło',
|
||||
'auth.mismatch': 'Hasła nie są identyczne.',
|
||||
'auth.created': 'Konto utworzone! Otwórz link wysłany na {email}, aby je aktywować, a potem się zaloguj.',
|
||||
'auth.resetSent': 'Jeśli istnieje konto z tym adresem, właśnie wysłaliśmy link do ustawienia nowego hasła.',
|
||||
'auth.tagline': 'Twój dziennik filmów, seriali, anime i dram.',
|
||||
'auth.loginTab': 'Logowanie',
|
||||
'auth.signupTab': 'Załóż konto',
|
||||
'auth.forgotTitle': 'Nie pamiętasz hasła',
|
||||
'auth.email': 'Adres e-mail',
|
||||
'auth.password': 'Hasło',
|
||||
'auth.confirmPassword': 'Potwierdź hasło',
|
||||
'auth.minChars': 'Co najmniej {n} znaków.',
|
||||
'auth.login': 'Zaloguj się',
|
||||
'auth.signup': 'Załóż konto',
|
||||
'auth.sendLink': 'Wyślij link',
|
||||
'auth.forgot': 'Nie pamiętasz hasła?',
|
||||
'auth.backToLogin': 'Wróć do logowania',
|
||||
'auth.privacy': 'Twoje konto chroni twoją bibliotekę. Twój profil (obejrzane tytuły, oceny i recenzje) widzą inni użytkownicy, chyba że ustawisz go jako prywatny; twoje listy i ustawienia pozostają prywatne. Wszystko jest też zapisane na twoim urządzeniu, więc aplikacja działa bez internetu.',
|
||||
'auth.newPasswordTitle': 'Wybierz nowe hasło.',
|
||||
'auth.newPassword': 'Nowe hasło',
|
||||
'auth.err.credentials': 'Nieprawidłowy e-mail lub hasło.',
|
||||
'auth.err.notConfirmed': 'Najpierw potwierdź swój adres linkiem z e-maila.',
|
||||
'auth.err.exists': 'Konto z tym adresem e-mail już istnieje.',
|
||||
'auth.err.weak': 'Hasło jest za słabe (co najmniej {n} znaków, litery i cyfry).',
|
||||
'auth.err.samePassword': 'Nowe hasło musi być inne niż poprzednie.',
|
||||
'auth.err.emailRate': 'Za dużo próśb. Spróbuj ponownie za kilka minut.',
|
||||
'auth.err.rate': 'Za dużo prób. Spróbuj ponownie za kilka minut.',
|
||||
'auth.err.signupDisabled': 'Rejestracja jest obecnie zamknięta.',
|
||||
'auth.err.emailInvalid': 'Nieprawidłowy adres e-mail.',
|
||||
'auth.err.invalid': 'Nieprawidłowy adres e-mail lub hasło.',
|
||||
'auth.err.session': 'Sesja wygasła, zaloguj się ponownie.',
|
||||
'auth.err.status': 'Serwer odrzucił żądanie ({status}).',
|
||||
'auth.err.response': 'Nieprawidłowa odpowiedź serwera.',
|
||||
'auth.err.linkExpired': 'Ten link wygasł. Poproś o nowy.',
|
||||
'auth.err.linkUsed': 'Ten link jest nieprawidłowy lub został już użyty.',
|
||||
'auth.err.linkInvalid': 'Ten link jest nieprawidłowy.',
|
||||
|
||||
'settings.language': 'Język',
|
||||
'settings.langAuto': 'Automatycznie ({lang})',
|
||||
'settings.backupShared': 'Kopia zapasowa udostępniona.',
|
||||
'settings.backupDownloaded': 'Kopia zapasowa pobrana.',
|
||||
'settings.exportFailed': 'Eksport nie powiódł się.',
|
||||
'settings.noValidItems': 'Plik nie zawiera żadnego prawidłowego wpisu.',
|
||||
'settings.imported_one': 'Zaimportowano {count} wpis.',
|
||||
'settings.imported_few': 'Zaimportowano {count} wpisy.',
|
||||
'settings.imported_many': 'Zaimportowano {count} wpisów.',
|
||||
'settings.imported_other': 'Zaimportowano {count} wpisu.',
|
||||
'settings.importedSkipped': 'Zaimportowano: {n}, pominięto: {skipped}.',
|
||||
'settings.cleared': 'Biblioteka wyczyszczona.',
|
||||
'settings.pageTitle': 'Moje ',
|
||||
'settings.pageAccent': 'ustawienia',
|
||||
'settings.languageHint': 'Język aplikacji, dat i informacji pobieranych z TMDB (tytuły, opisy).',
|
||||
'settings.rating': 'Oceny',
|
||||
'settings.scale5': '★ w skali do 5',
|
||||
'settings.scale10': 'W skali do 10',
|
||||
'settings.ratingHint': 'Połówki gwiazdek w skali do 5 lub co 0,5 w skali do 10. Istniejące oceny zostaną przeliczone automatycznie.',
|
||||
'settings.theme': 'Motyw',
|
||||
'settings.appearance': 'Wygląd',
|
||||
'settings.appearanceHint': '„Auto” podąża za przeglądarką (jasny lub ciemny).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Jasny',
|
||||
'theme.modeDark': 'Ciemny',
|
||||
'theme.modeNight': 'Noc',
|
||||
'theme.modeStarfield': 'Gwiazdy',
|
||||
'settings.accentColor': 'Kolor akcentu',
|
||||
'settings.installApp': 'Zainstaluj aplikację',
|
||||
'settings.installHint': 'Dodaj AzuuCine do ekranu głównego lub pulpitu.',
|
||||
'settings.installed': 'Aplikacja zainstalowana',
|
||||
'settings.notifs': 'Powiadomienia',
|
||||
'settings.notifsHint': 'Wybierz, co uruchamia dzwonek.',
|
||||
'settings.notifEpisodes': 'Nowe odcinki',
|
||||
'settings.notifFollows': 'Nowi obserwujący',
|
||||
'settings.notifAccepted': 'Zaakceptowane prośby',
|
||||
'settings.notifReactions': 'Reakcje na moje recenzje',
|
||||
'notif.new_episode': 'Nowy odcinek: {title}',
|
||||
'notif.new_season': 'Nowy sezon: {title}',
|
||||
'reviews.title': 'Recenzje',
|
||||
'reviews.friends': 'Twoi znajomi',
|
||||
'reviews.others': 'Inni użytkownicy',
|
||||
'reviews.noneFriends': 'Brak recenzji od znajomych',
|
||||
'reviews.noneOthers': 'Brak innych recenzji',
|
||||
'reviews.none': 'Jeszcze nie ma recenzji',
|
||||
'reviews.seeAll': 'Zobacz wszystkie recenzje',
|
||||
'reviews.react': 'Zareaguj',
|
||||
'notif.title': 'Powiadomienia',
|
||||
'notif.empty': 'Brak powiadomień',
|
||||
'notif.someone': 'Ktoś',
|
||||
'notif.follow_request': 'chce Cię obserwować',
|
||||
'notif.follow_accepted': 'zaakceptował Twoją prośbę',
|
||||
'notif.new_follower': 'zaczął Cię obserwować',
|
||||
'notif.reaction': 'zareagował na Twoją recenzję',
|
||||
'notif.on': 'w {title}',
|
||||
'home.notifications': 'Powiadomienia',
|
||||
'home.notificationsN': 'Powiadomienia: {count}',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Zainstaluj AzuuCine',
|
||||
'install.ios': 'Otwórz AzuuCine w Safari.\nDotknij przycisku Udostępnij (kwadrat ze strzałką w górę).\nWybierz „Do ekranu początkowego”, a potem „Dodaj”.',
|
||||
'install.android': 'Otwórz AzuuCine w Chrome.\nDotknij menu ⋮ w prawym górnym rogu.\nWybierz „Dodaj do ekranu głównego” (lub „Zainstaluj aplikację”).',
|
||||
'install.desktop': 'Na pasku adresu kliknij ikonę instalacji po prawej (ekran ze strzałką).\nLub: menu ⋮ przeglądarki → „Zainstaluj AzuuCine”.\nPotwierdź przyciskiem „Zainstaluj”.',
|
||||
'install.other': 'Otwórz menu przeglądarki.\nPoszukaj „Zainstaluj aplikację” lub „Dodaj do ekranu głównego”.',
|
||||
'install.gotIt': 'Rozumiem',
|
||||
'settings.themeX': 'Motyw {name}',
|
||||
'settings.pickColor': 'Wybierz własny kolor',
|
||||
'settings.freeColor': 'Własny kolor',
|
||||
'settings.freeColorHint': 'Dowolny kolor: tekst dopasuje się, by pozostać czytelny.',
|
||||
'settings.databases': 'Bazy filmów',
|
||||
'settings.anilistActive': 'Anime · aktywne',
|
||||
'settings.noConfig': 'Nie wymaga konfiguracji.',
|
||||
'settings.tmdbActive': 'Filmy i seriale · aktywne',
|
||||
'settings.checking': 'Sprawdzanie…',
|
||||
'settings.offline': 'Offline',
|
||||
'settings.proxyMissingKey': 'Brak klucza TMDB',
|
||||
'settings.proxyNotDeployed': 'Serwer nieskonfigurowany',
|
||||
'settings.unavailable': 'Niedostępne',
|
||||
'settings.proxyMissingKeyHint': 'Funkcja serwera działa, ale twój klucz TMDB nie jest zapisany (sekret TMDB_API_KEY w Supabase) albo TMDB go odrzuca.',
|
||||
'settings.proxyNotDeployedHint': 'Funkcja „tmdb” nie jest jeszcze wdrożona w Supabase (zobacz README → Konta, krok 5).',
|
||||
'settings.proxyErrorHint': 'Serwer obecnie nie odpowiada prawidłowo.',
|
||||
'settings.proxyOkHint': 'Zapewniane przez serwer aplikacji: nie musisz podawać klucza.',
|
||||
'settings.recheck': 'Sprawdź ponownie',
|
||||
'settings.keyRefused': 'Klucz odrzucony',
|
||||
'settings.notConfigured': 'Nieskonfigurowane',
|
||||
'settings.tmdbHelp': 'Filmy, seriale, K-dramy, C-dramy. Załóż darmowe konto na themoviedb.org, potem przejdź do Ustawienia → API i wklej swój „Klucz API” lub „Token dostępu do odczytu API”.',
|
||||
'settings.tmdbKey': 'Klucz TMDB',
|
||||
'settings.hideKey': 'Ukryj klucz',
|
||||
'settings.showKey': 'Pokaż klucz',
|
||||
'settings.validate': 'Zapisz',
|
||||
'settings.remove': 'Usuń',
|
||||
'settings.keyLocal': 'Klucz zostaje na tym urządzeniu i nigdy nie trafia do kopii zapasowych.',
|
||||
'settings.topHint': 'Kategorie wyświetlane na ekranie startowym.',
|
||||
'settings.topNone': 'Brak kategorii: sekcja Top 5 jest ukryta.',
|
||||
'settings.backup': 'Kopia zapasowa',
|
||||
'settings.export': 'Eksportuj moje dane',
|
||||
'settings.exportHint_one': '{count} wpis · plik JSON, rób to regularnie',
|
||||
'settings.exportHint_few': '{count} wpisy · plik JSON, rób to regularnie',
|
||||
'settings.exportHint_many': '{count} wpisów · plik JSON, rób to regularnie',
|
||||
'settings.exportHint_other': '{count} wpisu · plik JSON, rób to regularnie',
|
||||
'settings.import': 'Importuj kopię zapasową',
|
||||
'settings.importHint': 'Przywróć z pliku .json',
|
||||
'settings.legacyDetected': 'Wykryto kopię zapasową ze starej aplikacji',
|
||||
'settings.found_one': 'Znaleziono {count} wpis. Jak go zaimportować?',
|
||||
'settings.found_few': 'Znaleziono {count} wpisy. Jak je zaimportować?',
|
||||
'settings.found_many': 'Znaleziono {count} wpisów. Jak je zaimportować?',
|
||||
'settings.found_other': 'Znaleziono {count} wpisu. Jak je zaimportować?',
|
||||
'settings.foundSkipped': 'Znaleziono: {n} (pominięto nieprawidłowe: {skipped}). Jak je zaimportować?',
|
||||
'settings.merge': 'Scal',
|
||||
'settings.replaceAll': 'Zastąp wszystko',
|
||||
'settings.mergeHint': '„Scal” dodaje wpisy i aktualizuje te, które już istnieją (ten sam identyfikator).',
|
||||
'settings.storage': 'Pamięć',
|
||||
'settings.used': 'Zajęte miejsce',
|
||||
'settings.storageCloud': 'Twoje dane są zapisane na twoim koncie, a także na tym urządzeniu, więc aplikacja działa bez internetu. Synchronizują się automatycznie, gdy tylko masz połączenie.',
|
||||
'settings.storageLocal': 'Twoje dane są przechowywane tylko w tej przeglądarce, na tym urządzeniu. Jeśli wyczyścisz dane przeglądarki lub odinstalujesz aplikację, znikną: regularnie eksportuj kopię zapasową.',
|
||||
'settings.danger': 'Strefa zagrożenia',
|
||||
'settings.clearAll': 'Wyczyść całą bibliotekę',
|
||||
'settings.clearAllHint_one': '{count} tytuł',
|
||||
'settings.clearAllHint_few': '{count} tytuły',
|
||||
'settings.clearAllHint_many': '{count} tytułów',
|
||||
'settings.clearAllHint_other': '{count} tytułu',
|
||||
'settings.clearAllHintCloud_one': '{count} tytuł · na wszystkich twoich urządzeniach',
|
||||
'settings.clearAllHintCloud_few': '{count} tytuły · na wszystkich twoich urządzeniach',
|
||||
'settings.clearAllHintCloud_many': '{count} tytułów · na wszystkich twoich urządzeniach',
|
||||
'settings.clearAllHintCloud_other': '{count} tytułu · na wszystkich twoich urządzeniach',
|
||||
'settings.deleting': 'Usuwanie…',
|
||||
'settings.deleteAccount': 'Usuń moje konto',
|
||||
'settings.deleteAccountHint': 'Konto i dane zostaną trwale usunięte',
|
||||
'settings.footerCloud': 'konto zsynchronizowane',
|
||||
'settings.footerLocal': '100% lokalnie',
|
||||
'settings.clearConfirm_one': '{count} tytuł zostanie trwale usunięty. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirm_few': 'Twoje {count} tytuły zostaną trwale usunięte. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirm_many': 'Twoich {count} tytułów zostanie trwale usuniętych. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirm_other': 'Twoje tytuły ({count}) zostaną trwale usunięte. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirmCloud_one': '{count} tytuł zostanie trwale usunięty na wszystkich twoich urządzeniach. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirmCloud_few': 'Twoje {count} tytuły zostaną trwale usunięte na wszystkich twoich urządzeniach. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirmCloud_many': 'Twoich {count} tytułów zostanie trwale usuniętych na wszystkich twoich urządzeniach. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearConfirmCloud_other': 'Twoje tytuły ({count}) zostaną trwale usunięte na wszystkich twoich urządzeniach. Najpierw warto wyeksportować kopię zapasową.',
|
||||
'settings.clearAllConfirm': 'Wyczyść wszystko',
|
||||
'settings.deleteAccountTitle': 'Usunąć twoje konto?',
|
||||
'settings.deleteAccountMessage': 'Twoje konto i wszystkie dane (tytuły, listy, ustawienia) zostaną trwale usunięte z serwera i z tego urządzenia. Najpierw warto wyeksportować kopię zapasową. Tej operacji nie można cofnąć.',
|
||||
'settings.deleteForever': 'Usuń na zawsze',
|
||||
'settings.replaceConfirm': 'Cała twoja obecna biblioteka zostanie zastąpiona zawartością tego pliku.',
|
||||
'settings.replace': 'Zastąp',
|
||||
|
||||
'sync.err.push': 'Wysyłanie odrzucone ({status})',
|
||||
'sync.err.pull': 'Pobieranie odrzucone ({status})',
|
||||
|
||||
'store.dbError': 'Nie udało się otworzyć lokalnej bazy: {error}',
|
||||
'store.invalidItem': 'Nieprawidłowy wpis',
|
||||
|
||||
'lists.newList': 'Nowa lista',
|
||||
'lists.newListPh': 'Nowa lista…',
|
||||
'lists.myLists': 'Moje listy',
|
||||
'lists.rename': 'Zmień nazwę',
|
||||
'lists.delete': 'Usuń listę',
|
||||
'lists.done': 'Gotowe',
|
||||
'lists.addRemove': 'Dodaj / usuń tytuły',
|
||||
'lists.searchLibrary': 'Szukaj w mojej bibliotece…',
|
||||
'lists.emptyTitle': 'Pusta lista',
|
||||
'lists.emptyText': 'Dodaj tytuły przyciskiem powyżej albo z karty tytułu.',
|
||||
'lists.deleteConfirm': 'Lista „{name}” zostanie usunięta. Tytuły zostaną w twojej bibliotece.',
|
||||
'lists.noneTitle': 'Na razie brak list',
|
||||
'lists.noneText': 'Twórz listy po swojemu: „Do obejrzenia ze znajomymi”, „Październikowe horrory”, „Dramy na poprawę humoru”…',
|
||||
'lists.create': 'Utwórz',
|
||||
|
||||
'account.err.deleteRate': 'Za dużo prób, spróbuj ponownie za minutę.',
|
||||
'account.err.delete': 'Usuwanie nie powiodło się. Spróbuj później.',
|
||||
'account.title': 'Moje konto',
|
||||
'account.syncing': 'Synchronizacja…',
|
||||
'account.offline': 'Offline — wszystko jest zapisane na tym urządzeniu',
|
||||
'account.syncError': 'Synchronizacja chwilowo niemożliwa',
|
||||
'account.synced': 'Zsynchronizowano {when}',
|
||||
'account.passwordChanged': 'Hasło zmienione.',
|
||||
'account.imported_one': 'Dodano {count} tytuł do twojego konta.',
|
||||
'account.imported_few': 'Dodano {count} tytuły do twojego konta.',
|
||||
'account.imported_many': 'Dodano {count} tytułów do twojego konta.',
|
||||
'account.imported_other': 'Dodano {count} tytułu do twojego konta.',
|
||||
'account.importFailed': 'Import nie powiódł się.',
|
||||
'account.pending_one': 'Oczekujące: {count}',
|
||||
'account.pending_few': 'Oczekujące: {count}',
|
||||
'account.pending_many': 'Oczekujące: {count}',
|
||||
'account.pending_other': 'Oczekujące: {count}',
|
||||
'account.syncNow': 'Synchronizuj teraz',
|
||||
'account.newPasswordPh': 'Nowe hasło (min. {n} znaków)',
|
||||
'account.changePassword': 'Zmień hasło',
|
||||
'account.logout': 'Wyloguj się',
|
||||
'account.logoutHint': 'Twoje dane zostają na koncie i zostaną usunięte z tego urządzenia.',
|
||||
'account.ignore': 'Pomiń',
|
||||
'account.deviceHint': 'Zostaną przeniesione na twoje konto i zsynchronizowane na wszystkich twoich urządzeniach.',
|
||||
'account.unsentTitle': 'Niewysłane zmiany',
|
||||
'account.logoutAnyway': 'Wyloguj mimo to',
|
||||
'account.unsentMessage_one': '{count} zmiana nie została jeszcze wysłana (brak połączenia?). Jeśli teraz się wylogujesz, przepadnie.',
|
||||
'account.unsentMessage_few': '{count} zmiany nie zostały jeszcze wysłane (brak połączenia?). Jeśli teraz się wylogujesz, przepadną.',
|
||||
'account.unsentMessage_many': '{count} zmian nie zostało jeszcze wysłanych (brak połączenia?). Jeśli teraz się wylogujesz, przepadną.',
|
||||
'account.unsentMessage_other': 'Niewysłane zmiany: {count} (brak połączenia?). Jeśli teraz się wylogujesz, przepadną.',
|
||||
'account.nTitles_one': '{count} tytuł',
|
||||
'account.nTitles_few': '{count} tytuły',
|
||||
'account.nTitles_many': '{count} tytułów',
|
||||
'account.nTitles_other': '{count} tytułu',
|
||||
'account.nLists_one': '{count} lista',
|
||||
'account.nLists_few': '{count} listy',
|
||||
'account.nLists_many': '{count} list',
|
||||
'account.nLists_other': '{count} listy',
|
||||
'account.deviceData': 'Na tym urządzeniu są dane utworzone przed założeniem konta: {titles}. Dodać je do twojego konta?',
|
||||
'account.deviceDataWithLists': 'Na tym urządzeniu są dane utworzone przed założeniem konta: {titles} i {lists}. Dodać je do twojego konta?',
|
||||
|
||||
'time.never': 'nigdy',
|
||||
'time.justNow': 'przed chwilą',
|
||||
'time.minutesAgo': '{n} min temu',
|
||||
'time.hoursAgo': '{n} godz. temu',
|
||||
'time.onDate': '{date}',
|
||||
'time.today': 'dzisiaj',
|
||||
'time.tomorrow': 'jutro',
|
||||
'time.daysAgo': '{n} d temu',
|
||||
|
||||
'theme.red': 'Czerwony',
|
||||
'theme.orange': 'Pomarańczowy',
|
||||
'theme.yellow': 'Żółty',
|
||||
'theme.lime': 'Limonkowy',
|
||||
'theme.green': 'Zielony',
|
||||
'theme.mint': 'Miętowy',
|
||||
'theme.cyan': 'Cyjan',
|
||||
'theme.blue': 'Niebieski',
|
||||
'theme.indigo': 'Indygo',
|
||||
'theme.violet': 'Fioletowy',
|
||||
'theme.pink': 'Różowy',
|
||||
'theme.white': 'Biały',
|
||||
|
||||
'home.seeAll': 'Zobacz wszystko',
|
||||
'home.subtitle': 'Mój dziennik oglądania',
|
||||
'home.calendarSoon_one': 'Kalendarz premier: {count} w tym tygodniu',
|
||||
'home.calendarSoon_few': 'Kalendarz premier: {count} w tym tygodniu',
|
||||
'home.calendarSoon_many': 'Kalendarz premier: {count} w tym tygodniu',
|
||||
'home.calendarSoon_other': 'Kalendarz premier: {count} w tym tygodniu',
|
||||
'home.emptyTitle': 'Twoja biblioteka jest pusta',
|
||||
'home.emptyCloud': 'Dodaj swój pierwszy film, anime lub dramę. Zostanie zapisany na twoim koncie.',
|
||||
'home.emptyLocal': 'Dodaj swój pierwszy film, anime lub dramę. Wszystko jest przechowywane tylko na tym telefonie.',
|
||||
'home.completed': 'Ukończone',
|
||||
'home.thisYear_one': '{count} w tym roku',
|
||||
'home.thisYear_few': '{count} w tym roku',
|
||||
'home.thisYear_many': '{count} w tym roku',
|
||||
'home.thisYear_other': '{count} w tym roku',
|
||||
'home.toWatchN_one': '{count} do obejrzenia',
|
||||
'home.toWatchN_few': '{count} do obejrzenia',
|
||||
'home.toWatchN_many': '{count} do obejrzenia',
|
||||
'home.toWatchN_other': '{count} do obejrzenia',
|
||||
'home.screenTime': 'Czas przed ekranem',
|
||||
'home.estimate': 'szacunkowo',
|
||||
'home.episodesSeen': 'Obejrzane odcinki',
|
||||
'home.noIdea': 'Nie wiesz, co obejrzeć?',
|
||||
'home.rouletteHint_one': 'Losowanie z twojego jedynego tytułu do obejrzenia',
|
||||
'home.rouletteHint_few': 'Losowanie spośród twoich {count} tytułów do obejrzenia',
|
||||
'home.rouletteHint_many': 'Losowanie spośród twoich {count} tytułów do obejrzenia',
|
||||
'home.rouletteHint_other': 'Losowanie spośród twoich {count} tytułów do obejrzenia',
|
||||
'home.rouletteHintAll': 'Losowanie z twojej biblioteki',
|
||||
'home.recentlyFinished': 'Ostatnio ukończone',
|
||||
|
||||
'calendar.title': 'Kalendarz premier',
|
||||
'calendar.inMyList': 'Na mojej liście',
|
||||
'calendar.inMyListLegend': 'Na mojej liście',
|
||||
'calendar.seeMore_one': 'Zobacz pozostałą',
|
||||
'calendar.seeMore_few': 'Zobacz {count} pozostałe',
|
||||
'calendar.seeMore_many': 'Zobacz {count} pozostałych',
|
||||
'calendar.seeMore_other': 'Zobacz pozostałe ({count})',
|
||||
'calendar.heading': 'Kalendarz ',
|
||||
'calendar.headingAccent': 'premier',
|
||||
'calendar.refresh': 'Odśwież',
|
||||
'calendar.all': 'Wszystkie premiery',
|
||||
'calendar.mine': 'Moje tytuły',
|
||||
'calendar.prevMonth': 'Poprzedni miesiąc',
|
||||
'calendar.nextMonth': 'Następny miesiąc',
|
||||
'calendar.releases_one': '{count} premiera',
|
||||
'calendar.releases_few': '{count} premiery',
|
||||
'calendar.releases_many': '{count} premier',
|
||||
'calendar.releases_other': '{count} premiery',
|
||||
'calendar.others': 'Inne premiery',
|
||||
'calendar.needKey': 'Bez klucza TMDB widać tylko anime. Dodaj klucz w Ustawieniach, aby zobaczyć też filmy, seriale i dramy.',
|
||||
'calendar.range': 'Premiery są dostępne od zeszłego miesiąca do 6 miesięcy naprzód.',
|
||||
'calendar.failed': 'Nie udało się wczytać części premier. Spróbuj ponownie przyciskiem ↻.',
|
||||
'calendar.nothingThatDay': 'Nic nie zaplanowano na ten dzień.',
|
||||
'calendar.next14': 'Najbliższe 14 dni',
|
||||
'calendar.loading': 'Szukanie premier…',
|
||||
'calendar.noneMine14': 'Brak zapowiedzianych premier twoich tytułów w ciągu najbliższych 14 dni.',
|
||||
'calendar.noneMineMonth': 'Brak zapowiedzianych premier twoich tytułów w tym miesiącu.',
|
||||
'calendar.none14': 'Brak premier w ciągu najbliższych 14 dni.',
|
||||
'calendar.noneMonth': 'Nie znaleziono premier w tym miesiącu.',
|
||||
'calendar.footer': 'Filmy w kinach w twoim kraju, odcinki najpopularniejszych seriali i dram (TMDB) oraz wszystkich anime emitowanych w Japonii (AniList). Tytuły z twojej biblioteki są wyróżnione kolorem; kliknij „Do obejrzenia”, aby dodać premierę do swojej listy.',
|
||||
|
||||
'roulette.name': 'Ruletka',
|
||||
'roulette.rewatch': 'Do powtórki',
|
||||
'roulette.anyTime': 'Obojętnie',
|
||||
'roulette.heading': 'Twoja ',
|
||||
'roulette.headingAccent': 'ruletka',
|
||||
'roulette.tonight': 'Dziś wieczorem będzie…',
|
||||
'roulette.nEps': '{n} odc.',
|
||||
'roulette.perEp': '{duration} / odc.',
|
||||
'roulette.stoppedAt': 'Ostatnio: odcinek {ep}.',
|
||||
'roulette.stoppedAtOf': 'Ostatnio: odcinek {ep} z {total}.',
|
||||
'roulette.enjoy': 'Miłego oglądania!',
|
||||
'roulette.again': 'Losuj ponownie',
|
||||
'roulette.spinning': 'Kręci się…',
|
||||
'roulette.spin': 'Zakręć ruletką',
|
||||
'roulette.poolSize_one': 'Losowanie spośród {count} tytułu',
|
||||
'roulette.poolSize_few': 'Losowanie spośród {count} tytułów',
|
||||
'roulette.poolSize_many': 'Losowanie spośród {count} tytułów',
|
||||
'roulette.poolSize_other': 'Losowanie spośród {count} tytułu',
|
||||
'roulette.empty': 'Żaden tytuł nie pasuje: poszerz filtry poniżej.',
|
||||
'roulette.inside': 'W ruletce',
|
||||
'roulette.pickFrom': 'Losuj z',
|
||||
'roulette.rewatchHint': '„Do powtórki” = twoje ukończone tytuły z oceną 4/5 lub wyższą, ulubione i Top 5.',
|
||||
'roulette.time': 'Dostępny czas (film lub 1 odcinek)',
|
||||
'roulette.seeItem': 'Zobacz pełną kartę',
|
||||
'roulette.watchIt': 'Oglądam!',
|
||||
|
||||
|
||||
'top.pick': 'Wybierz nr {rank}',
|
||||
'top.shareTitle': 'Mój Top 5 {category}',
|
||||
'top.shareLabel': 'Udostępnij ten Top 5 jako obraz',
|
||||
'top.title': 'Moje Top',
|
||||
'top.number': 'Nr {rank}',
|
||||
'top.pickFirst': 'Wybierz swój nr 1.',
|
||||
'top.editLabel': 'Edytuj Top 5',
|
||||
'top.freeSlot': 'Wolne miejsce — wybierz tytuł poniżej',
|
||||
'top.addFromLibrary': 'Dodaj z mojej biblioteki',
|
||||
'top.allTypes': 'Wszystkie typy',
|
||||
'top.searchTitle': 'Szukaj tytułu…',
|
||||
'top.full': 'Twój Top 5 jest pełny: usuń tytuł, aby dodać inny.',
|
||||
'top.noCandidates': 'Brak tytułów. Spróbuj „Wszystkie typy” lub innego wyszukiwania.',
|
||||
|
||||
'reco.error': 'Nie można teraz wczytać propozycji.',
|
||||
'reco.title': 'Propozycje',
|
||||
'reco.needKey': 'Dodaj klucz TMDB w Ustawieniach, aby dostawać propozycje na podstawie ulubionych tytułów.',
|
||||
'reco.other': 'Inny tytuł',
|
||||
'reco.ifYouLiked': 'Jeśli podobało ci się',
|
||||
'reco.loading': 'Szukanie propozycji…',
|
||||
'reco.none': 'Masz już wszystko, co przypomina ten tytuł. Spróbuj „Inny tytuł”.',
|
||||
'reco.added': 'Dodano {title}',
|
||||
'reco.addLabel': 'Dodaj {title} do obejrzenia',
|
||||
'reco.addedShort': 'Dodano',
|
||||
|
||||
'search.offline': 'Brak połączenia z internetem: wyszukiwanie wymaga sieci.',
|
||||
'search.fillFrom': 'Uzupełnij z bazy',
|
||||
'search.openSettings': 'Otwórz Ustawienia',
|
||||
'search.already': 'już dodane',
|
||||
'search.noResults': 'Brak wyników. Możesz wypełnić kartę ręcznie poniżej.',
|
||||
'search.privacy': 'Do {source} wysyłany jest tylko wyszukiwany tytuł. Twoja biblioteka zostaje na twoim telefonie.',
|
||||
|
||||
'catalog.sortRecent': 'Ostatnio edytowane',
|
||||
'catalog.sortWatched': 'Data obejrzenia',
|
||||
'catalog.sortRating': 'Najwyżej oceniane',
|
||||
'catalog.sortTitle': 'Tytuł (A→Z)',
|
||||
'catalog.pageTitle': 'Mój ',
|
||||
'catalog.pageAccent': 'katalog',
|
||||
'catalog.journalSubtitle': 'Twoja historia oglądania',
|
||||
'catalog.filteredCount_one': '{count} tytuł (po filtrowaniu)',
|
||||
'catalog.filteredCount_few': '{count} tytuły (po filtrowaniu)',
|
||||
'catalog.filteredCount_many': '{count} tytułów (po filtrowaniu)',
|
||||
'catalog.filteredCount_other': '{count} tytułu (po filtrowaniu)',
|
||||
'catalog.titles': 'Tytuły',
|
||||
'catalog.journal': 'Dziennik',
|
||||
'catalog.lists': 'Listy',
|
||||
'catalog.searchPh': 'Tytuł, gatunek, platforma…',
|
||||
'catalog.moreFilters': 'Więcej filtrów',
|
||||
'catalog.all': 'Wszystkie',
|
||||
'catalog.genre': 'Gatunek',
|
||||
'catalog.minRating': 'Minimalna ocena',
|
||||
'catalog.allRatings': 'Dowolna',
|
||||
'catalog.sortBy': 'Sortuj według',
|
||||
'catalog.favorites': 'Ulubione',
|
||||
'catalog.reset': 'Resetuj',
|
||||
'catalog.noResults': 'Brak wyników',
|
||||
'catalog.nothingYet': 'Na razie nic tu nie ma',
|
||||
'catalog.noResultsHint': 'Spróbuj innego wyszukiwania lub usuń filtry.',
|
||||
'catalog.nothingYetHint': 'Dodaj swój pierwszy tytuł przyciskiem +.',
|
||||
'catalog.clearFilters': 'Wyczyść filtry',
|
||||
|
||||
'public.agree': 'Dokładnie jak widzowie',
|
||||
'public.more': '+{gap} wyżej niż widzowie',
|
||||
'public.less': '−{gap} niżej niż widzowie',
|
||||
'public.label': 'Widzowie',
|
||||
'public.me': 'Ja',
|
||||
'public.added_one': 'Dodano {count} ocenę widzów.',
|
||||
'public.added_few': 'Dodano {count} oceny widzów.',
|
||||
'public.added_many': 'Dodano {count} ocen widzów.',
|
||||
'public.added_other': 'Dodano {count} oceny widzów.',
|
||||
'public.noneFound': 'Nie znaleziono nowych ocen.',
|
||||
'public.fetch': 'Pobierz ({n})',
|
||||
'public.title': 'Ja kontra widzowie',
|
||||
'public.hintFetch': 'Pobierz średnią ocenę z TMDB / AniList dla swoich ocenionych tytułów i zobacz, czym się wyróżniasz na tle widzów.',
|
||||
'public.hintNone': 'Brak ocen widzów dla twoich ocenionych tytułów w tym okresie.',
|
||||
'public.hintKey': 'Dodaj klucz TMDB w Ustawieniach (lub połącz anime z AniList), aby porównać się z widzami.',
|
||||
'public.avgGap': 'Średnia różnica',
|
||||
'public.average': 'W normie',
|
||||
'public.generous': 'Hojniej niż widzowie',
|
||||
'public.harsh': 'Surowiej niż widzowie',
|
||||
'public.agreeTitle': 'Zgodność',
|
||||
'public.within5_one': 'z dokładnością do ½ gwiazdki, dla {count} tytułu',
|
||||
'public.within5_few': 'z dokładnością do ½ gwiazdki, dla {count} tytułów',
|
||||
'public.within5_many': 'z dokładnością do ½ gwiazdki, dla {count} tytułów',
|
||||
'public.within5_other': 'z dokładnością do ½ gwiazdki, dla {count} tytułu',
|
||||
'public.within10_one': 'z dokładnością do 1 punktu, dla {count} tytułu',
|
||||
'public.within10_few': 'z dokładnością do 1 punktu, dla {count} tytułów',
|
||||
'public.within10_many': 'z dokładnością do 1 punktu, dla {count} tytułów',
|
||||
'public.within10_other': 'z dokładnością do 1 punktu, dla {count} tytułu',
|
||||
'public.lovedPre': 'Tytuły, które ',
|
||||
'public.lovedAccent': 'bardziej mi się podobały',
|
||||
'public.lovedPost': ' niż widzom',
|
||||
'public.hatedPre': 'Tytuły, które ',
|
||||
'public.hatedAccent': 'mniej mi się podobały',
|
||||
'public.hatedPost': ' niż widzom',
|
||||
'public.allAgree': 'Zgadzasz się z widzami co do wszystkich swoich tytułów. Rzadkość!',
|
||||
|
||||
'form.rewatchHint': 'Obejrzane ponownie? Zapisz każdą powtórkę, a pojawi się w twoim dzienniku.',
|
||||
'form.editTitle': 'Edytuj ',
|
||||
'form.editAccent': 'kartę',
|
||||
'form.newTitle': 'Nowy ',
|
||||
'form.newAccent': 'tytuł',
|
||||
'form.filledFrom': 'Uzupełniono z',
|
||||
'form.canEdit': 'możesz wszystko zmienić',
|
||||
'form.fillFromDb': 'Uzupełnij z TMDB / AniList',
|
||||
'form.pickPoster': 'Wybierz plakat',
|
||||
'form.removeImage': 'Usuń obraz',
|
||||
'form.title': 'Tytuł *',
|
||||
'form.titlePh': 'np. Your Name',
|
||||
'form.originalTitle': 'Tytuł oryginalny',
|
||||
'form.originalTitlePh': 'np. 君の名は。',
|
||||
'form.synopsis': 'Opis',
|
||||
'form.type': 'Typ',
|
||||
'form.subtype': 'Rodzaj',
|
||||
'form.subtypePh': 'Dokument, Reality show…',
|
||||
'form.status': 'Status',
|
||||
'form.myRating': 'Moja ocena',
|
||||
'form.favorite': 'Ulubione',
|
||||
'form.criteria': 'Szczegółowe kryteria (opcjonalnie)',
|
||||
'form.episodes': 'Odcinki',
|
||||
'form.minusEp': '-1 odcinek',
|
||||
'form.plusEp': '+1 odcinek',
|
||||
'form.total': 'Łącznie',
|
||||
'form.season': 'Sezon',
|
||||
'form.duration': 'Czas trwania',
|
||||
'form.durationMin': 'Czas trwania (minuty)',
|
||||
'form.year': 'Rok',
|
||||
'form.platform': 'Platforma',
|
||||
'form.genres': 'Gatunki / tagi',
|
||||
'form.genresPh': 'Romans, Sci-Fi…',
|
||||
'form.rewatches': 'Powtórki',
|
||||
'form.review': 'Moja recenzja',
|
||||
'form.reviewPh': 'Co o tym myślę, zapadające w pamięć sceny…',
|
||||
'form.saveChanges': 'Zapisz zmiany',
|
||||
'form.addToLibrary': 'Dodaj do mojej biblioteki',
|
||||
'form.shareImage': 'Udostępnij jako obraz',
|
||||
'form.delete': 'Usuń ten tytuł',
|
||||
'form.deleteConfirm': '„{title}” zostanie trwale usunięty.',
|
||||
'form.removeRewatch': 'Usuń tę powtórkę',
|
||||
'form.rewatchDate': 'Data powtórki',
|
||||
|
||||
'journal.rewatched': 'Powtórka',
|
||||
'journal.started': 'Rozpoczęto',
|
||||
'journal.emptyTitle': 'Pusty dziennik',
|
||||
'journal.emptyText': 'Twoje seanse pojawią się tutaj, gdy tylko dodasz daty rozpoczęcia lub ukończenia na kartach tytułów.',
|
||||
'journal.seen_one': 'Obejrzane: {count}',
|
||||
'journal.seen_few': 'Obejrzane: {count}',
|
||||
'journal.seen_many': 'Obejrzane: {count}',
|
||||
'journal.seen_other': 'Obejrzane: {count}',
|
||||
'journal.more': 'Pokaż wcześniejsze miesiące',
|
||||
|
||||
'stats.overview': 'Przegląd',
|
||||
'stats.habits': 'Nawyki',
|
||||
'stats.tastes': 'Gusta',
|
||||
'stats.pageTitle': 'Moje ',
|
||||
'stats.pageAccent': 'statystyki',
|
||||
'stats.emptyTitle': 'Na razie brak statystyk',
|
||||
'stats.emptyText': 'Pojawią się, gdy tylko dodasz jakieś tytuły.',
|
||||
'stats.sinceStart': 'od początku',
|
||||
'stats.subtitle_one': '{count} tytuł w mojej bibliotece',
|
||||
'stats.subtitle_few': '{count} tytuły w mojej bibliotece',
|
||||
'stats.subtitle_many': '{count} tytułów w mojej bibliotece',
|
||||
'stats.subtitle_other': '{count} tytułu w mojej bibliotece',
|
||||
'stats.subtitleYear_one': '{count} tytuł w roku {year}',
|
||||
'stats.subtitleYear_few': '{count} tytuły w roku {year}',
|
||||
'stats.subtitleYear_many': '{count} tytułów w roku {year}',
|
||||
'stats.subtitleYear_other': '{count} tytułu w roku {year}',
|
||||
'stats.hours_one': 'godzina',
|
||||
'stats.hours_few': 'godziny',
|
||||
'stats.hours_many': 'godzin',
|
||||
'stats.hours_other': 'godziny',
|
||||
'stats.nonStopPre': 'czyli ',
|
||||
'stats.nonStopPost': ' non stop',
|
||||
'stats.days_one': '{count} dzień',
|
||||
'stats.days_few': '{count} dni',
|
||||
'stats.days_many': '{count} dni',
|
||||
'stats.days_other': '{count} dnia',
|
||||
'stats.finishedN_one': 'Ukończone: {count}',
|
||||
'stats.finishedN_few': 'Ukończone: {count}',
|
||||
'stats.finishedN_many': 'Ukończone: {count}',
|
||||
'stats.finishedN_other': 'Ukończone: {count}',
|
||||
'stats.episodesN_one': '{count} odcinek',
|
||||
'stats.episodesN_few': '{count} odcinki',
|
||||
'stats.episodesN_many': '{count} odcinków',
|
||||
'stats.episodesN_other': '{count} odcinka',
|
||||
'stats.timeByType': 'Czas według typu',
|
||||
'stats.noTime': 'Brak zapisanego czasu w tym okresie.',
|
||||
'stats.avgRating': 'Średnia ocena',
|
||||
'stats.rated_one': '{count} oceniony tytuł',
|
||||
'stats.rated_few': '{count} ocenione tytuły',
|
||||
'stats.rated_many': '{count} ocenionych tytułów',
|
||||
'stats.rated_other': '{count} ocenionego tytułu',
|
||||
'stats.inYear': 'w roku {year}',
|
||||
'stats.statuses': 'Statusy',
|
||||
'stats.hoursTab': 'Godziny',
|
||||
'stats.monthByMonth': 'Miesiąc po miesiącu · {year}',
|
||||
'stats.last12': 'Ostatnie 12 miesięcy',
|
||||
'stats.monthFinished_one': '{count} ukończony tytuł',
|
||||
'stats.monthFinished_few': '{count} ukończone tytuły',
|
||||
'stats.monthFinished_many': '{count} ukończonych tytułów',
|
||||
'stats.monthFinished_other': '{count} ukończonego tytułu',
|
||||
'stats.busiest': 'Najbardziej pracowity miesiąc:',
|
||||
'stats.records': 'Rekordy',
|
||||
'stats.marathon': 'Największy maraton',
|
||||
'stats.longestFilm': 'Najdłuższy film',
|
||||
'stats.noRecords': 'Brak rekordów w tym okresie.',
|
||||
'stats.platforms': 'Platformy',
|
||||
'stats.bestRated': 'Moje najwyżej oceniane',
|
||||
'stats.myRatings': 'Moje oceny',
|
||||
'stats.noRatings': 'Brak ocen w tym okresie.',
|
||||
'stats.favGenres': 'Ulubione gatunki',
|
||||
'stats.noGenres': 'Na razie brak gatunków.',
|
||||
'stats.countries': 'Kraje',
|
||||
'stats.noCountry_one': '{count} tytuł bez kraju: uzupełnij go przyciskiem „Uzupełnij z TMDB / AniList” na jego karcie.',
|
||||
'stats.noCountry_few': '{count} tytuły bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach.',
|
||||
'stats.noCountry_many': '{count} tytułów bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach.',
|
||||
'stats.noCountry_other': '{count} tytułu bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach.',
|
||||
'stats.noCountryLegacy_one': '{count} tytuł bez kraju: uzupełnij go przyciskiem „Uzupełnij z TMDB / AniList” na jego karcie albo ponownie zaimportuj kopię zapasową ze starej aplikacji („Scal”).',
|
||||
'stats.noCountryLegacy_few': '{count} tytuły bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach albo ponownie zaimportuj kopię zapasową ze starej aplikacji („Scal”).',
|
||||
'stats.noCountryLegacy_many': '{count} tytułów bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach albo ponownie zaimportuj kopię zapasową ze starej aplikacji („Scal”).',
|
||||
'stats.noCountryLegacy_other': '{count} tytułu bez kraju: uzupełnij je przyciskiem „Uzupełnij z TMDB / AniList” na ich kartach albo ponownie zaimportuj kopię zapasową ze starej aplikacji („Scal”).',
|
||||
'stats.byType': 'Według typu',
|
||||
'stats.footnote': 'Czas szacowany na podstawie obejrzanych odcinków i podanych czasów trwania (w przeciwnym razie: film 1 godz. 50 min, odcinek anime 24 min, serial 45 min, K-drama 1 godz., C-drama 45 min). Tytuł liczy się do roku, w którym został ukończony.',
|
||||
'stats.ratedAs_one': 'oceniony na {rating}',
|
||||
'stats.ratedAs_few': 'ocenione na {rating}',
|
||||
'stats.ratedAs_many': 'ocenionych na {rating}',
|
||||
'stats.ratedAs_other': 'ocenione na {rating}',
|
||||
|
||||
'backup.shareTitle': 'Kopia zapasowa AzuuCine',
|
||||
'backup.tooBig': 'Plik jest za duży (maks. 30 MB).',
|
||||
'backup.notJson': 'Ten plik nie jest prawidłowym plikiem JSON.',
|
||||
'backup.noItems': 'W tym pliku nie znaleziono żadnych wpisów.',
|
||||
'backup.tooMany': 'Za dużo wpisów (maks. {n}).',
|
||||
|
||||
'image.canvas': 'Canvas niedostępny',
|
||||
'image.unreadable': 'Nie można odczytać obrazu',
|
||||
'image.notImage': 'Ten plik nie jest obrazem.',
|
||||
'image.tooBig': 'Obraz jest za duży (maks. 25 MB).',
|
||||
|
||||
'social.err.server': 'Serwer odpowiedział: {status}.',
|
||||
'social.err.usernameTaken': 'Ta nazwa użytkownika jest już zajęta.',
|
||||
'social.err.usernameReserved': 'Ta nazwa użytkownika jest niedostępna.',
|
||||
'social.err.invalid': 'Jedna z wartości jest nieprawidłowa.',
|
||||
'social.inLibrary': 'W mojej bibliotece',
|
||||
'social.addToWatch': 'Dodaj do obejrzenia',
|
||||
'social.linkCopied': 'Link skopiowany!',
|
||||
'social.profile': 'Profil',
|
||||
'social.shareProfile': 'Udostępnij profil',
|
||||
'social.loading': 'Wczytywanie…',
|
||||
'social.loadError': 'Nie udało się wczytać profilu.',
|
||||
'social.notFound': 'Nie znaleziono profilu',
|
||||
'social.notFoundHint': 'Nie ma profilu o nazwie @{username}.',
|
||||
'social.editProfile': 'Edytuj profil',
|
||||
'social.following': 'Obserwujesz',
|
||||
'social.requested': 'Wysłano prośbę',
|
||||
'social.followBack': 'Obserwuj również',
|
||||
'social.follow': 'Obserwuj',
|
||||
'social.private': 'Konto prywatne',
|
||||
'social.followsYou': 'Obserwuje cię',
|
||||
'social.seen': 'Obejrzane',
|
||||
'social.followers_one': 'Obserwujący',
|
||||
'social.followers_few': 'Obserwujących',
|
||||
'social.followers_many': 'Obserwujących',
|
||||
'social.followers_other': 'Obserwujących',
|
||||
'social.followingCount_one': 'Obserwowany',
|
||||
'social.followingCount_few': 'Obserwowani',
|
||||
'social.followingCount_many': 'Obserwowanych',
|
||||
'social.followingCount_other': 'Obserwowanych',
|
||||
'social.requests_one': '{count} prośba o obserwowanie',
|
||||
'social.requests_few': '{count} prośby o obserwowanie',
|
||||
'social.requests_many': '{count} próśb o obserwowanie',
|
||||
'social.requests_other': '{count} prośby o obserwowanie',
|
||||
'social.privateTitle': 'To konto jest prywatne',
|
||||
'social.privateText': 'Zacznij obserwować, aby zobaczyć seanse, oceny i Top 5 tej osoby.',
|
||||
'social.tabProfile': 'Profil',
|
||||
'social.tabLibrary': 'Biblioteka',
|
||||
'social.cancelRequestTitle': 'Anulować prośbę o obserwowanie?',
|
||||
'social.unfollowTitle': 'Przestać obserwować {name}?',
|
||||
'social.unfollowPrivate': 'To konto jest prywatne: aby znów zobaczyć profil, trzeba będzie wysłać nową prośbę.',
|
||||
'social.cancelRequest': 'Anuluj prośbę',
|
||||
'social.unfollow': 'Przestań obserwować',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'Ostatnio obejrzane',
|
||||
'social.noRecent': 'Na razie nic nie zostało ukończone.',
|
||||
'social.statYear': 'Obejrzane w tym roku',
|
||||
'social.statFilms': 'Obejrzane filmy',
|
||||
'social.statSeries': 'Obejrzane seriale i anime',
|
||||
'social.emptyLibrary': 'Brak tytułów.',
|
||||
'social.loadMore': 'Pokaż więcej',
|
||||
'social.changeBanner': 'Zmień baner',
|
||||
'social.changeAvatar': 'Zmień zdjęcie',
|
||||
'social.removeAvatar': 'Usuń zdjęcie',
|
||||
'social.removeBanner': 'Usuń baner',
|
||||
'social.displayName': 'Wyświetlana nazwa',
|
||||
'social.username': 'Nazwa użytkownika',
|
||||
'social.usernameRule': '3–20 znaków: małe litery, cyfry lub _',
|
||||
'social.bio': 'Bio',
|
||||
'social.bioPh': 'Co lubisz oglądać, twoje ulubione gatunki…',
|
||||
'social.privateAccount': 'Konto prywatne',
|
||||
'social.privateHint': 'Tylko zaakceptowani obserwujący widzą, co oglądasz.',
|
||||
'social.publicHint': 'Twoje imię, nazwa użytkownika, zdjęcie, baner, bio, oceny i recenzje są widoczne dla innych użytkowników. Ustaw konto jako prywatne, aby wybrać, kto może je zobaczyć.',
|
||||
'social.requestsTab_one': 'Prośba',
|
||||
'social.requestsTab_few': 'Prośby ({count})',
|
||||
'social.requestsTab_many': 'Prośby ({count})',
|
||||
'social.requestsTab_other': 'Prośby ({count})',
|
||||
'social.noFollowing': 'Na razie nikogo nie obserwujesz.',
|
||||
'social.noFollowers': 'Na razie brak obserwujących.',
|
||||
'social.accept': 'Akceptuj',
|
||||
'social.decline': 'Odrzuć',
|
||||
'social.removeFollower': 'Usuń',
|
||||
'social.findFriends': 'Znajdź znajomych',
|
||||
'social.searchPh': 'Nazwa użytkownika lub imię…',
|
||||
'social.noResults': 'Nikt nie pasuje.',
|
||||
'social.inviteHint': 'Twoich znajomych nie ma jeszcze w AzuuCine? Wyślij im link do swojego profilu.',
|
||||
'social.shareMyProfile': 'Udostępnij mój profil',
|
||||
'social.inviteText': 'Obserwuj mnie w AzuuCine!',
|
||||
'social.myProfile': 'Mój profil',
|
||||
|
||||
'feed.title': 'Obserwowani',
|
||||
'feed.empty': 'Obserwuj znajomych, aby widzieć tutaj, co oglądają i co o tym myślą.',
|
||||
'feed.finished': 'obejrzał(a)',
|
||||
'feed.started': 'zaczął(-ęła) oglądać',
|
||||
'feed.rewatched': 'obejrzał(a) ponownie',
|
||||
'feed.added': 'chce obejrzeć',
|
||||
'feed.review': 'recenzja',
|
||||
'auth.google': 'Kontynuuj z Google',
|
||||
'auth.or': 'lub',
|
||||
'auth.err.google': 'Logowanie przez Google nie powiodło się. Spróbuj ponownie.',
|
||||
'auth.err.storage': 'Twoja przeglądarka blokuje pamięć: nie można się zalogować.',
|
||||
'welcome.title': 'Wybierz nazwę użytkownika',
|
||||
'welcome.titleA': 'Witaj w',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'Wybierz nazwę użytkownika: dzięki niej znajomi cię znajdą i będą mogli cię obserwować.',
|
||||
'welcome.usernamePh': 'twoja_nazwa',
|
||||
'welcome.namePh': 'Twoje imię',
|
||||
'welcome.nameHint': 'Opcjonalne — widoczne na twoim profilu. Wszystko możesz zmienić później.',
|
||||
'welcome.go': 'Zaczynamy',
|
||||
'welcome.later': 'Później',
|
||||
'social.watching': 'W trakcie',
|
||||
'social.watchlist': 'Chce obejrzeć',
|
||||
'search.allKinds': 'Filmy, seriale i anime',
|
||||
'search.animeOnly': 'Bez klucza TMDB można znaleźć tylko anime.',
|
||||
'search.alreadySeries': 'już w twojej bibliotece — otwórz',
|
||||
'form.startShort': 'Rozpoczęto',
|
||||
'form.endShort': 'Ukończono',
|
||||
'hero.allSeen': 'Wszystko obejrzane',
|
||||
'hero.nextOn': 'Następny odcinek: {date}',
|
||||
'hero.upToDate': 'Na bieżąco',
|
||||
'hero.seenEp': 'Obejrzane: {ep}',
|
||||
'hero.seen': 'Obejrzane',
|
||||
'hero.markSeen': 'Oznacz jako obejrzane',
|
||||
'hero.edit': 'Edytuj informacje',
|
||||
'hero.more': 'Czytaj dalej',
|
||||
'hero.less': 'Zwiń',
|
||||
'episodes.seasonOption_one': 'Sezon {season} · {count} odcinek',
|
||||
'episodes.seasonOption_few': 'Sezon {season} · {count} odcinki',
|
||||
'episodes.seasonOption_many': 'Sezon {season} · {count} odcinków',
|
||||
'episodes.seasonOption_other': 'Sezon {season} · {count} odcinka',
|
||||
'episodes.seen': '{done}/{total} obejrzanych',
|
||||
'episodes.short': 'O{n}',
|
||||
'episodes.upcoming': '{date}',
|
||||
'episodes.nameless': 'Odcinek {n}',
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': 'Oglądam',
|
||||
'homeHero.next': 'Następne w kolejce',
|
||||
'homeHero.details': 'Karta',
|
||||
'homeHero.continueRow': 'Oglądaj dalej',
|
||||
'homeHero.nextUp': 'Następny: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': 'Adicionar',
|
||||
'common.delete': 'Excluir',
|
||||
'common.all': 'Tudo',
|
||||
'common.none': 'Nenhum',
|
||||
'common.noData': 'Ainda não há dados.',
|
||||
'common.retry': 'Tentar de novo',
|
||||
'common.back': 'Voltar',
|
||||
'common.offline': 'Sem conexão com a internet.',
|
||||
'common.minutes': '{n} min',
|
||||
'common.hours': '{h} h',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': 'Espetáculo',
|
||||
'subtype.miniseries': 'Minissérie',
|
||||
|
||||
'platform.cinema': 'Cinema',
|
||||
'platform.dvd': 'DVD / Blu-ray',
|
||||
'platform.tv': 'TV',
|
||||
|
||||
'genre.action': 'Ação',
|
||||
'genre.adventure': 'Aventura',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': 'Abrir {title}',
|
||||
|
||||
'rating.outOf10': 'Nota de 0 a 10',
|
||||
'rating.outOf5': 'Nota de 0 a 5',
|
||||
'rating.stars_one': '{count} estrela',
|
||||
'rating.stars_other': '{count} estrelas',
|
||||
'rating.clear': 'Apagar a nota',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': 'Enviar o link',
|
||||
'auth.forgot': 'Esqueceu a senha?',
|
||||
'auth.backToLogin': 'Voltar para o login',
|
||||
'auth.privacy': 'Seus dados ficam vinculados à sua conta e só você pode vê-los. Eles também ficam no seu aparelho para funcionar sem internet.',
|
||||
'auth.privacy': 'Sua conta guarda sua biblioteca com segurança. Seu perfil (títulos, notas e opiniões) fica visível para os membros, a menos que você o torne privado; suas listas e configurações continuam privadas. Tudo também fica no seu aparelho para funcionar sem internet.',
|
||||
'auth.newPasswordTitle': 'Escolha sua nova senha.',
|
||||
'auth.newPassword': 'Nova senha',
|
||||
'auth.err.credentials': 'E-mail ou senha incorretos.',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': 'Este link é inválido.',
|
||||
|
||||
'settings.language': 'Idioma',
|
||||
'settings.langAuto': 'Automático ({lang})',
|
||||
'settings.backupShared': 'Backup compartilhado.',
|
||||
'settings.backupDownloaded': 'Backup baixado.',
|
||||
'settings.exportFailed': 'A exportação falhou.',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': 'De 0 a 10',
|
||||
'settings.ratingHint': 'Meias estrelas de 0 a 5, ou passos de 0,5 de 0 a 10. As notas existentes são convertidas automaticamente.',
|
||||
'settings.theme': 'Tema',
|
||||
'settings.appearance': 'Aparência',
|
||||
'settings.appearanceHint': '“Auto” segue o seu navegador (claro ou escuro).',
|
||||
'theme.modeAuto': 'Auto',
|
||||
'theme.modeLight': 'Claro',
|
||||
'theme.modeDark': 'Escuro',
|
||||
'theme.modeNight': 'Noite',
|
||||
'theme.modeStarfield': 'Estrelado',
|
||||
'settings.accentColor': 'Cor de destaque',
|
||||
'settings.installApp': 'Instalar o app',
|
||||
'settings.installHint': 'Adicione o AzuuCine à tela inicial ou à área de trabalho.',
|
||||
'settings.installed': 'App instalado',
|
||||
'settings.notifs': 'Notificações',
|
||||
'settings.notifsHint': 'Escolhe o que aciona o sino.',
|
||||
'settings.notifEpisodes': 'Novos episódios',
|
||||
'settings.notifFollows': 'Novos seguidores',
|
||||
'settings.notifAccepted': 'Pedidos aceites',
|
||||
'settings.notifReactions': 'Reações às minhas avaliações',
|
||||
'notif.new_episode': 'Novo episódio de {title}',
|
||||
'notif.new_season': 'Nova temporada de {title}',
|
||||
'reviews.title': 'Avaliações',
|
||||
'reviews.friends': 'Teus amigos',
|
||||
'reviews.others': 'Outros membros',
|
||||
'reviews.noneFriends': 'Nenhuma avaliação dos teus amigos',
|
||||
'reviews.noneOthers': 'Nenhuma outra avaliação',
|
||||
'reviews.none': 'Ainda sem avaliações',
|
||||
'reviews.seeAll': 'Ver todas as avaliações',
|
||||
'reviews.react': 'Reagir',
|
||||
'notif.title': 'Notificações',
|
||||
'notif.empty': 'Sem notificações',
|
||||
'notif.someone': 'Alguém',
|
||||
'notif.follow_request': 'quer te seguir',
|
||||
'notif.follow_accepted': 'aceitou teu pedido',
|
||||
'notif.new_follower': 'começou a te seguir',
|
||||
'notif.reaction': 'reagiu à tua avaliação',
|
||||
'notif.on': 'em {title}',
|
||||
'home.notifications': 'Notificações',
|
||||
'home.notificationsN': '{count} notificações',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Instalar o AzuuCine',
|
||||
'install.ios': 'Abra o AzuuCine no Safari.\nToque no botão Compartilhar (o quadrado com uma seta para cima).\nEscolha “Adicionar à Tela de Início” e depois “Adicionar”.',
|
||||
'install.android': 'Abra o AzuuCine no Chrome.\nToque no menu ⋮ no canto superior direito.\nEscolha “Adicionar à tela inicial” (ou “Instalar app”).',
|
||||
'install.desktop': 'Na barra de endereço, clique no ícone de instalação à direita (uma tela com uma seta).\nOu: menu ⋮ do navegador → “Instalar AzuuCine”.\nConfirme com “Instalar”.',
|
||||
'install.other': 'Abra o menu do seu navegador.\nProcure por “Instalar app” ou “Adicionar à tela inicial”.',
|
||||
'install.gotIt': 'Entendi',
|
||||
'settings.themeX': 'Tema {name}',
|
||||
'settings.pickColor': 'Escolher uma cor livre',
|
||||
'settings.freeColor': 'Cor livre',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': 'Ver a ficha completa',
|
||||
'roulette.watchIt': 'Vou assistir',
|
||||
|
||||
'newEp.check': 'Verificar',
|
||||
'newEp.title': 'Novidades',
|
||||
'newEp.checking': 'Vendo o que saiu…',
|
||||
'newEp.needKey': 'Adicione sua chave do TMDB em Ajustes para ser avisado de novos episódios e novas temporadas.',
|
||||
'newEp.nothing_one': 'Nada de novo na sua série ou anime acompanhado.',
|
||||
'newEp.nothing_other': 'Nada de novo nas suas {count} séries e animes acompanhados.',
|
||||
'newEp.needKeyAlso': '(Adicione sua chave do TMDB em Ajustes para acompanhar também séries e doramas.)',
|
||||
'newEp.newSeason': 'Nova temporada',
|
||||
'newEp.catchUp': 'Para colocar em dia',
|
||||
'newEp.soon': 'Em breve',
|
||||
'newEp.epWhen': 'Ep. {ep} {when}',
|
||||
'newEp.available_one': '{count} episódio disponível',
|
||||
'newEp.available_other': '{count} episódios disponíveis',
|
||||
'newEp.next': 'Próximo: ep. {ep} {when}',
|
||||
'newEp.resume': 'Continuar',
|
||||
|
||||
'top.pick': 'Escolher o nº {rank}',
|
||||
'top.shareTitle': 'Meu Top 5 {category}',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': 'Adicionar {title} a “Quero ver”',
|
||||
'reco.addedShort': 'Adicionado',
|
||||
|
||||
'search.moviesSeries': 'Filmes e séries',
|
||||
'search.offline': 'Sem conexão com a internet: a busca precisa de rede.',
|
||||
'search.fillFrom': 'Preencher a partir de uma base',
|
||||
'search.needKey': 'Para buscar filmes, séries e doramas, adicione sua chave grátis do TMDB em Ajustes.',
|
||||
'search.openSettings': 'Abrir Ajustes',
|
||||
'search.already': 'já adicionado',
|
||||
'search.noResults': 'Nenhum resultado. Você pode preencher a ficha à mão abaixo.',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1 episódio',
|
||||
'form.total': 'Total',
|
||||
'form.season': 'Temporada',
|
||||
'form.minPerEp': 'Min / ep.',
|
||||
'form.duration': 'Duração',
|
||||
'form.durationMin': 'Duração (minutos)',
|
||||
'form.info': 'Informações',
|
||||
'form.start': 'Início / visto em',
|
||||
'form.end': 'Fim',
|
||||
'form.year': 'Ano',
|
||||
'form.platform': 'Plataforma',
|
||||
'form.genres': 'Gêneros / tags',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '“{title}” será excluído para sempre.',
|
||||
'form.removeRewatch': 'Remover esta revisão',
|
||||
'form.rewatchDate': 'Data da revisão',
|
||||
'form.reviewPublic': 'Mostrar esta opinião no meu perfil',
|
||||
'form.reviewPublicHint': 'Se não, ela fica visível só para você.',
|
||||
|
||||
'journal.rewatched': 'Revisto',
|
||||
'journal.started': 'Começado',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': 'O que você gosta de assistir, seus gêneros favoritos…',
|
||||
'social.privateAccount': 'Conta privada',
|
||||
'social.privateHint': 'Só os seguidores que você aceitar veem o que você assiste.',
|
||||
'social.publicHint': 'Seu nome, nome de usuário, foto, banner e bio ficam visíveis para todos os membros. Suas opiniões escritas continuam privadas, exceto as que você escolher mostrar no seu perfil.',
|
||||
'social.publicHint': 'Seu nome, nome de usuário, foto, banner, bio, notas e opiniões ficam visíveis para os membros. Torne sua conta privada para escolher quem pode vê-los.',
|
||||
'social.requestsTab_one': 'Solicitação',
|
||||
'social.requestsTab_other': 'Solicitações ({count})',
|
||||
'social.noFollowing': 'Você ainda não segue ninguém.',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "Depois",
|
||||
'social.watching': "Assistindo",
|
||||
'social.watchlist': "Quer assistir",
|
||||
'form.infoHint': "Datas, ano, plataforma e gêneros — preenchidos automaticamente",
|
||||
'search.allKinds': "Filmes, séries e animes",
|
||||
'search.animeOnly': "Sem chave do TMDB, só animes são encontrados.",
|
||||
'search.alreadySeries': "já está na sua biblioteca — abrir",
|
||||
'form.startShort': "Começou",
|
||||
'form.endShort': "Terminou",
|
||||
'hero.allSeen': "Tudo visto",
|
||||
'hero.nextOn': 'Próximo episódio em {date}',
|
||||
'hero.upToDate': 'Em dia',
|
||||
'hero.seenEp': "Vi {ep}",
|
||||
'hero.seen': "Visto",
|
||||
'hero.markSeen': "Marcar como visto",
|
||||
'hero.edit': "Editar dados",
|
||||
'hero.more': "Ler mais",
|
||||
'hero.less': "Ver menos",
|
||||
'episodes.seasonOption_one': "Temporada {season} · {count} episódio",
|
||||
'episodes.seasonOption_other': "Temporada {season} · {count} episódios",
|
||||
'episodes.seen': "{done}/{total} vistos",
|
||||
'episodes.short': "E{n}",
|
||||
'episodes.upcoming': "em {date}",
|
||||
'episodes.nameless': "Episódio {n}",
|
||||
'episodes.seasonShort': 'T{n}',
|
||||
'homeHero.continue': "Assistindo agora",
|
||||
'homeHero.next': "Para ver depois",
|
||||
'homeHero.details': "Detalhes",
|
||||
'homeHero.continueRow': "Continuar assistindo",
|
||||
'homeHero.nextUp': "Próximo: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,933 @@
|
||||
/** Русский */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'Отмена',
|
||||
'common.confirm': 'Подтвердить',
|
||||
'common.close': 'Закрыть',
|
||||
'common.save': 'Сохранить',
|
||||
'common.add': 'Добавить',
|
||||
'common.delete': 'Удалить',
|
||||
'common.all': 'Все',
|
||||
'common.offline': 'Нет подключения к интернету.',
|
||||
'common.minutes': '{n} мин',
|
||||
'common.hours': '{h} ч',
|
||||
'common.hoursMinutes': '{h} ч {m}',
|
||||
'common.daysHours': '{d} д {h} ч',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': 'Убрать {name}',
|
||||
'common.kb': '{n} КБ',
|
||||
'common.mb': '{n} МБ',
|
||||
'common.edit': 'Изменить',
|
||||
'common.moveUp': 'Выше',
|
||||
'common.moveDown': 'Ниже',
|
||||
|
||||
'nav.home': 'Главная',
|
||||
'nav.catalog': 'Каталог',
|
||||
'nav.stats': 'Статистика',
|
||||
'nav.settings': 'Настройки',
|
||||
'nav.addTitle': 'Добавить тайтл',
|
||||
|
||||
'type.film': 'Фильм',
|
||||
'type.serie': 'Сериал',
|
||||
'type.anime': 'Аниме',
|
||||
'type.kdrama': 'K-дорама',
|
||||
'type.cdrama': 'C-дорама',
|
||||
'type.autre': 'Другое',
|
||||
|
||||
'typePlural.film': 'Фильмы',
|
||||
'typePlural.serie': 'Сериалы',
|
||||
'typePlural.anime': 'Аниме',
|
||||
'typePlural.kdrama': 'K-дорамы',
|
||||
'typePlural.cdrama': 'C-дорамы',
|
||||
|
||||
'status.a_voir': 'В планах',
|
||||
'status.en_cours': 'Смотрю',
|
||||
'status.termine': 'Просмотрено',
|
||||
'status.pause': 'Отложено',
|
||||
'status.abandonne': 'Брошено',
|
||||
|
||||
'criteria.story': 'Сюжет / История',
|
||||
'criteria.cast': 'Персонажи / Актёры',
|
||||
'criteria.direction': 'Режиссура / Анимация',
|
||||
'criteria.ost': 'Саундтрек (OST)',
|
||||
|
||||
'subtype.documentary': 'Документальный',
|
||||
'subtype.reality': 'Реалити-шоу',
|
||||
'subtype.show': 'Телешоу',
|
||||
'subtype.short': 'Короткометражка',
|
||||
'subtype.stage': 'Спектакль',
|
||||
'subtype.miniseries': 'Мини-сериал',
|
||||
|
||||
|
||||
'genre.action': 'Боевик',
|
||||
'genre.adventure': 'Приключения',
|
||||
'genre.comedy': 'Комедия',
|
||||
'genre.drama': 'Драма',
|
||||
'genre.romance': 'Романтика',
|
||||
'genre.romcom': 'Ромком',
|
||||
'genre.thriller': 'Триллер',
|
||||
'genre.horror': 'Ужасы',
|
||||
'genre.mystery': 'Детектив',
|
||||
'genre.crime': 'Криминал',
|
||||
'genre.scifi': 'Фантастика',
|
||||
'genre.fantasy': 'Фэнтези',
|
||||
'genre.historical': 'Исторический',
|
||||
'genre.sliceOfLife': 'Повседневность',
|
||||
'genre.shonen': 'Сёнэн',
|
||||
'genre.shojo': 'Сёдзё',
|
||||
'genre.seinen': 'Сэйнэн',
|
||||
'genre.isekai': 'Исекай',
|
||||
'genre.mecha': 'Меха',
|
||||
'genre.sports': 'Спорт',
|
||||
'genre.musical': 'Мюзикл',
|
||||
'genre.medical': 'Медицина',
|
||||
'genre.legal': 'Юридический',
|
||||
'genre.wuxia': 'Уся',
|
||||
'genre.xianxia': 'Сянься',
|
||||
'genre.family': 'Семейный',
|
||||
'genre.animation': 'Мультфильм',
|
||||
'genre.psychological': 'Психологический',
|
||||
'genre.supernatural': 'Сверхъестественное',
|
||||
'genre.romanticComedy': 'Романтическая комедия',
|
||||
'genre.documentary': 'Документальный',
|
||||
'genre.war': 'Военный',
|
||||
'genre.western': 'Вестерн',
|
||||
'genre.music': 'Музыка',
|
||||
'genre.ecchi': 'Этти',
|
||||
'genre.kids': 'Детский',
|
||||
'genre.news': 'Новости',
|
||||
'genre.reality': 'Реалити',
|
||||
'genre.talk': 'Ток-шоу',
|
||||
'genre.soap': 'Мыльная опера',
|
||||
'genre.politics': 'Политика',
|
||||
'genre.tvMovie': 'Телефильм',
|
||||
'genre.anime': 'Аниме',
|
||||
'genre.magicalGirl': 'Махо-сёдзё',
|
||||
|
||||
'confirm.title': 'Уверен?',
|
||||
|
||||
'err.tmdbRefused': 'Запрос к TMDB отклонён.',
|
||||
'err.tmdbKeyRefused': 'Ключ TMDB отклонён. Проверь его в настройках.',
|
||||
'err.tmdbStatus': 'TMDB ответил {status}.',
|
||||
'err.tmdbRef': 'Неверная ссылка TMDB.',
|
||||
'err.anilistRate': 'AniList ограничивает запросы, попробуй через минуту.',
|
||||
'err.anilistStatus': 'AniList ответил {status}.',
|
||||
'err.searchRate': 'Слишком много поисковых запросов, попробуй через несколько минут.',
|
||||
|
||||
'anilist.short': 'Короткое аниме',
|
||||
'anilist.movie': 'Анимационный фильм',
|
||||
'anilist.special': 'Спешл',
|
||||
'anilist.music': 'Клип',
|
||||
|
||||
'release.cinema': 'В кино',
|
||||
'release.online': 'Онлайн / стриминг',
|
||||
'release.release': 'Релиз',
|
||||
'release.season': 'Сезон {season}',
|
||||
'release.episode': 'Серия {ep}',
|
||||
'release.newEpisode': 'Новая серия',
|
||||
'release.firstEpisode': 'Первая серия',
|
||||
'release.newSeriesN': 'Новый сериал · серий: {count}',
|
||||
'release.seasonN': 'Сезон {season} · серий: {count}',
|
||||
'release.seasonEp1': 'Сезон {season} · Серия 1',
|
||||
'release.episodes': 'Серии {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · Серии {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · Серия {ep}',
|
||||
'release.episodeFinal': 'Серия {ep} · финал',
|
||||
'release.filmJapan': 'Фильм в Японии',
|
||||
|
||||
'card.ep': 'Сер. {n}',
|
||||
'card.plusOne': '+1 серия для {title}',
|
||||
'card.open': 'Открыть {title}',
|
||||
|
||||
'rating.outOf10': 'Оценка из 10',
|
||||
'rating.outOf5': 'Оценка из 5',
|
||||
'rating.stars_one': '{count} звезда',
|
||||
'rating.stars_few': '{count} звезды',
|
||||
'rating.stars_many': '{count} звёзд',
|
||||
'rating.stars_other': '{count} звезды',
|
||||
'rating.clear': 'Сбросить оценку',
|
||||
|
||||
'share.previewLabel': 'Превью изображения',
|
||||
'share.preview': 'Превью',
|
||||
'share.posterAlt': 'Постер {title}',
|
||||
'share.share': 'Поделиться',
|
||||
'share.saveImage': 'Сохранить изображение',
|
||||
'share.err.create': 'Не удалось создать изображение',
|
||||
'share.minutesLong': '{n} минут',
|
||||
'share.createdBy': 'Создатель',
|
||||
'share.directedBy': 'Режиссёр',
|
||||
'share.producedBy': 'Продюсер',
|
||||
'share.starring': 'В ролях',
|
||||
'share.genres': 'Жанры',
|
||||
'share.myRating': 'Моя оценка',
|
||||
'share.myTop': 'Мой топ',
|
||||
|
||||
'auth.hidePassword': 'Скрыть пароль',
|
||||
'auth.showPassword': 'Показать пароль',
|
||||
'auth.mismatch': 'Пароли не совпадают.',
|
||||
'auth.created': 'Аккаунт создан! Открой ссылку, отправленную на {email}, чтобы активировать его, а затем войди.',
|
||||
'auth.resetSent': 'Если аккаунт с этим адресом существует, мы отправили ссылку для смены пароля.',
|
||||
'auth.tagline': 'Твой дневник фильмов, сериалов, аниме и дорам.',
|
||||
'auth.loginTab': 'Вход',
|
||||
'auth.signupTab': 'Регистрация',
|
||||
'auth.forgotTitle': 'Забыли пароль',
|
||||
'auth.email': 'Электронная почта',
|
||||
'auth.password': 'Пароль',
|
||||
'auth.confirmPassword': 'Повтори пароль',
|
||||
'auth.minChars': 'Минимум {n} символов.',
|
||||
'auth.login': 'Войти',
|
||||
'auth.signup': 'Создать аккаунт',
|
||||
'auth.sendLink': 'Отправить ссылку',
|
||||
'auth.forgot': 'Забыл пароль?',
|
||||
'auth.backToLogin': 'Назад ко входу',
|
||||
'auth.privacy': 'Аккаунт надёжно хранит твою библиотеку. Твой профиль (тайтлы, оценки и отзывы) виден участникам, если ты не сделаешь его закрытым; списки и настройки остаются приватными. Всё также хранится на устройстве, чтобы приложение работало офлайн.',
|
||||
'auth.newPasswordTitle': 'Придумай новый пароль.',
|
||||
'auth.newPassword': 'Новый пароль',
|
||||
'auth.err.credentials': 'Неверная почта или пароль.',
|
||||
'auth.err.notConfirmed': 'Сначала подтверди адрес по ссылке из письма.',
|
||||
'auth.err.exists': 'Аккаунт с этой почтой уже существует.',
|
||||
'auth.err.weak': 'Слишком простой пароль (минимум {n} символов, буквы и цифры).',
|
||||
'auth.err.samePassword': 'Новый пароль должен отличаться от старого.',
|
||||
'auth.err.emailRate': 'Слишком много запросов. Попробуй через несколько минут.',
|
||||
'auth.err.rate': 'Слишком много попыток. Попробуй через несколько минут.',
|
||||
'auth.err.signupDisabled': 'Регистрация сейчас закрыта.',
|
||||
'auth.err.emailInvalid': 'Неверный адрес почты.',
|
||||
'auth.err.invalid': 'Неверный адрес почты или пароль.',
|
||||
'auth.err.session': 'Сессия истекла, войди снова.',
|
||||
'auth.err.status': 'Сервер отклонил запрос ({status}).',
|
||||
'auth.err.response': 'Некорректный ответ сервера.',
|
||||
'auth.err.linkExpired': 'Срок действия ссылки истёк. Запроси новую.',
|
||||
'auth.err.linkUsed': 'Ссылка недействительна или уже использована.',
|
||||
'auth.err.linkInvalid': 'Ссылка недействительна.',
|
||||
|
||||
'settings.language': 'Язык',
|
||||
'settings.langAuto': 'Автоматически ({lang})',
|
||||
'settings.backupShared': 'Резервная копия отправлена.',
|
||||
'settings.backupDownloaded': 'Резервная копия скачана.',
|
||||
'settings.exportFailed': 'Не удалось экспортировать.',
|
||||
'settings.noValidItems': 'В файле нет корректных записей.',
|
||||
'settings.imported_one': '{count} запись импортирована.',
|
||||
'settings.imported_few': '{count} записи импортированы.',
|
||||
'settings.imported_many': '{count} записей импортировано.',
|
||||
'settings.imported_other': '{count} записи импортировано.',
|
||||
'settings.importedSkipped': 'Импортировано записей: {n}, пропущено: {skipped}.',
|
||||
'settings.cleared': 'Библиотека очищена.',
|
||||
'settings.pageTitle': 'Мои ',
|
||||
'settings.pageAccent': 'настройки',
|
||||
'settings.languageHint': 'Язык приложения, дат и данных из TMDB (названия, описания).',
|
||||
'settings.rating': 'Оценки',
|
||||
'settings.scale5': '★ из 5',
|
||||
'settings.scale10': 'Из 10',
|
||||
'settings.ratingHint': 'Половинки звёзд из 5 или шаг 0,5 из 10. Существующие оценки пересчитаются автоматически.',
|
||||
'settings.theme': 'Тема',
|
||||
'settings.appearance': 'Оформление',
|
||||
'settings.appearanceHint': '«Авто» следует за браузером (светлая или тёмная).',
|
||||
'theme.modeAuto': 'Авто',
|
||||
'theme.modeLight': 'Светлая',
|
||||
'theme.modeDark': 'Тёмная',
|
||||
'theme.modeNight': 'Ночь',
|
||||
'theme.modeStarfield': 'Звёзды',
|
||||
'settings.accentColor': 'Цвет акцента',
|
||||
'settings.installApp': 'Установить приложение',
|
||||
'settings.installHint': 'Добавь AzuuCine на главный экран или рабочий стол.',
|
||||
'settings.installed': 'Приложение установлено',
|
||||
'settings.notifs': 'Уведомления',
|
||||
'settings.notifsHint': 'Выбери, что включает колокольчик.',
|
||||
'settings.notifEpisodes': 'Новые серии',
|
||||
'settings.notifFollows': 'Новые подписчики',
|
||||
'settings.notifAccepted': 'Принятые заявки',
|
||||
'settings.notifReactions': 'Реакции на мои отзывы',
|
||||
'notif.new_episode': 'Новая серия «{title}»',
|
||||
'notif.new_season': 'Новый сезон «{title}»',
|
||||
'reviews.title': 'Отзывы',
|
||||
'reviews.friends': 'Твои друзья',
|
||||
'reviews.others': 'Другие участники',
|
||||
'reviews.noneFriends': 'Нет отзывов от друзей',
|
||||
'reviews.noneOthers': 'Других отзывов нет',
|
||||
'reviews.none': 'Пока нет отзывов',
|
||||
'reviews.seeAll': 'Смотреть все отзывы',
|
||||
'reviews.react': 'Отреагировать',
|
||||
'notif.title': 'Уведомления',
|
||||
'notif.empty': 'Нет уведомлений',
|
||||
'notif.someone': 'Кто-то',
|
||||
'notif.follow_request': 'хочет подписаться на тебя',
|
||||
'notif.follow_accepted': 'принял(а) твою заявку',
|
||||
'notif.new_follower': 'подписался(ась) на тебя',
|
||||
'notif.reaction': 'отреагировал(а) на твой отзыв',
|
||||
'notif.on': 'к «{title}»',
|
||||
'home.notifications': 'Уведомления',
|
||||
'home.notificationsN': 'Уведомлений: {count}',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Установить AzuuCine',
|
||||
'install.ios': 'Открой AzuuCine в Safari.\nНажми кнопку «Поделиться» (квадрат со стрелкой вверх).\nВыбери «На экран «Домой»», затем «Добавить».',
|
||||
'install.android': 'Открой AzuuCine в Chrome.\nНажми меню ⋮ в правом верхнем углу.\nВыбери «Добавить на главный экран» (или «Установить приложение»).',
|
||||
'install.desktop': 'В адресной строке нажми значок установки справа (экран со стрелкой).\nИли: меню ⋮ браузера → «Установить AzuuCine».\nПодтверди кнопкой «Установить».',
|
||||
'install.other': 'Открой меню браузера.\nНайди «Установить приложение» или «Добавить на главный экран».',
|
||||
'install.gotIt': 'Понятно',
|
||||
'settings.themeX': 'Тема «{name}»',
|
||||
'settings.pickColor': 'Выбрать свой цвет',
|
||||
'settings.freeColor': 'Свой цвет',
|
||||
'settings.freeColorHint': 'Подойдёт любой цвет: текст подстроится, чтобы оставаться читаемым.',
|
||||
'settings.databases': 'Базы фильмов',
|
||||
'settings.anilistActive': 'Аниме · активно',
|
||||
'settings.noConfig': 'Настройка не нужна.',
|
||||
'settings.tmdbActive': 'Фильмы и сериалы · активно',
|
||||
'settings.checking': 'Проверка…',
|
||||
'settings.offline': 'Офлайн',
|
||||
'settings.proxyMissingKey': 'Нет ключа TMDB',
|
||||
'settings.proxyNotDeployed': 'Сервер не настроен',
|
||||
'settings.unavailable': 'Недоступно',
|
||||
'settings.proxyMissingKeyHint': 'Серверная функция на месте, но твой ключ TMDB не сохранён (секрет TMDB_API_KEY в Supabase), или TMDB его отклоняет.',
|
||||
'settings.proxyNotDeployedHint': 'Функция «tmdb» ещё не развёрнута в Supabase (см. README → Аккаунты, шаг 5).',
|
||||
'settings.proxyErrorHint': 'Сервер сейчас отвечает некорректно.',
|
||||
'settings.proxyOkHint': 'Предоставляется сервером приложения: ключ не нужен.',
|
||||
'settings.recheck': 'Проверить снова',
|
||||
'settings.keyRefused': 'Ключ отклонён',
|
||||
'settings.notConfigured': 'Не настроено',
|
||||
'settings.tmdbHelp': 'Фильмы, сериалы, K-дорамы, C-дорамы. Создай бесплатный аккаунт на themoviedb.org, затем открой Настройки → API и вставь «Ключ API» или «Токен доступа на чтение».',
|
||||
'settings.tmdbKey': 'Ключ TMDB',
|
||||
'settings.hideKey': 'Скрыть ключ',
|
||||
'settings.showKey': 'Показать ключ',
|
||||
'settings.validate': 'Сохранить',
|
||||
'settings.remove': 'Убрать',
|
||||
'settings.keyLocal': 'Ключ хранится только на этом устройстве и никогда не попадает в резервные копии.',
|
||||
'settings.topHint': 'Категории на главном экране.',
|
||||
'settings.topNone': 'Нет категорий: раздел «Топ 5» скрыт.',
|
||||
'settings.backup': 'Резервная копия',
|
||||
'settings.export': 'Экспортировать данные',
|
||||
'settings.exportHint_one': '{count} запись · файл JSON, делай регулярно',
|
||||
'settings.exportHint_few': '{count} записи · файл JSON, делай регулярно',
|
||||
'settings.exportHint_many': '{count} записей · файл JSON, делай регулярно',
|
||||
'settings.exportHint_other': '{count} записи · файл JSON, делай регулярно',
|
||||
'settings.import': 'Импортировать копию',
|
||||
'settings.importHint': 'Восстановить из файла .json',
|
||||
'settings.legacyDetected': 'Найдена резервная копия из старого приложения',
|
||||
'settings.found_one': 'Найдена {count} запись. Как её импортировать?',
|
||||
'settings.found_few': 'Найдено {count} записи. Как их импортировать?',
|
||||
'settings.found_many': 'Найдено {count} записей. Как их импортировать?',
|
||||
'settings.found_other': 'Найдено {count} записи. Как их импортировать?',
|
||||
'settings.foundSkipped': 'Найдено записей: {n} (пропущено некорректных: {skipped}). Как их импортировать?',
|
||||
'settings.merge': 'Объединить',
|
||||
'settings.replaceAll': 'Заменить всё',
|
||||
'settings.mergeHint': '«Объединить» добавляет записи и обновляет уже существующие (тот же ID).',
|
||||
'settings.storage': 'Хранилище',
|
||||
'settings.used': 'Занято',
|
||||
'settings.storageCloud': 'Твои данные сохраняются в аккаунте и на этом устройстве, чтобы приложение работало офлайн. Синхронизация происходит автоматически, когда есть сеть.',
|
||||
'settings.storageLocal': 'Твои данные хранятся только в этом браузере на этом устройстве. Если очистить данные браузера или удалить приложение, они пропадут: регулярно делай резервную копию.',
|
||||
'settings.danger': 'Опасная зона',
|
||||
'settings.clearAll': 'Очистить всю библиотеку',
|
||||
'settings.clearAllHint_one': '{count} тайтл',
|
||||
'settings.clearAllHint_few': '{count} тайтла',
|
||||
'settings.clearAllHint_many': '{count} тайтлов',
|
||||
'settings.clearAllHint_other': '{count} тайтла',
|
||||
'settings.clearAllHintCloud_one': '{count} тайтл · на всех твоих устройствах',
|
||||
'settings.clearAllHintCloud_few': '{count} тайтла · на всех твоих устройствах',
|
||||
'settings.clearAllHintCloud_many': '{count} тайтлов · на всех твоих устройствах',
|
||||
'settings.clearAllHintCloud_other': '{count} тайтла · на всех твоих устройствах',
|
||||
'settings.deleting': 'Удаление…',
|
||||
'settings.deleteAccount': 'Удалить аккаунт',
|
||||
'settings.deleteAccountHint': 'Аккаунт и данные будут удалены навсегда',
|
||||
'settings.footerCloud': 'аккаунт синхронизирован',
|
||||
'settings.footerLocal': '100% локально',
|
||||
'settings.clearConfirm_one': '{count} тайтл будет удалён навсегда. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirm_few': '{count} тайтла будут удалены навсегда. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirm_many': '{count} тайтлов будут удалены навсегда. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirm_other': '{count} тайтла будут удалены навсегда. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirmCloud_one': '{count} тайтл будет удалён навсегда на всех твоих устройствах. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirmCloud_few': '{count} тайтла будут удалены навсегда на всех твоих устройствах. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirmCloud_many': '{count} тайтлов будут удалены навсегда на всех твоих устройствах. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearConfirmCloud_other': '{count} тайтла будут удалены навсегда на всех твоих устройствах. Сначала лучше сделай резервную копию.',
|
||||
'settings.clearAllConfirm': 'Очистить всё',
|
||||
'settings.deleteAccountTitle': 'Удалить аккаунт?',
|
||||
'settings.deleteAccountMessage': 'Твой аккаунт и все данные (тайтлы, списки, настройки) будут навсегда удалены с сервера и с этого устройства. Сначала лучше сделай резервную копию. Это действие нельзя отменить.',
|
||||
'settings.deleteForever': 'Удалить навсегда',
|
||||
'settings.replaceConfirm': 'Вся текущая библиотека будет заменена содержимым этого файла.',
|
||||
'settings.replace': 'Заменить',
|
||||
|
||||
'sync.err.push': 'Отправка отклонена ({status})',
|
||||
'sync.err.pull': 'Загрузка отклонена ({status})',
|
||||
|
||||
'store.dbError': 'Не удалось открыть локальную базу: {error}',
|
||||
'store.invalidItem': 'Некорректная запись',
|
||||
|
||||
'lists.newList': 'Новый список',
|
||||
'lists.newListPh': 'Новый список…',
|
||||
'lists.myLists': 'Мои списки',
|
||||
'lists.rename': 'Переименовать',
|
||||
'lists.delete': 'Удалить список',
|
||||
'lists.done': 'Готово',
|
||||
'lists.addRemove': 'Добавить / убрать тайтлы',
|
||||
'lists.searchLibrary': 'Поиск в моей библиотеке…',
|
||||
'lists.emptyTitle': 'Список пуст',
|
||||
'lists.emptyText': 'Добавляй тайтлы кнопкой выше или со страницы тайтла.',
|
||||
'lists.deleteConfirm': 'Список «{name}» будет удалён. Тайтлы останутся в библиотеке.',
|
||||
'lists.noneTitle': 'Списков пока нет',
|
||||
'lists.noneText': 'Создавай списки как хочешь: «Посмотреть с друзьями», «Ужастики на октябрь», «Уютные дорамы»…',
|
||||
'lists.create': 'Создать',
|
||||
|
||||
'account.err.deleteRate': 'Слишком много попыток, попробуй через минуту.',
|
||||
'account.err.delete': 'Не удалось удалить. Попробуй позже.',
|
||||
'account.title': 'Мой аккаунт',
|
||||
'account.syncing': 'Синхронизация…',
|
||||
'account.offline': 'Офлайн — всё сохранено на этом устройстве',
|
||||
'account.syncError': 'Синхронизация сейчас недоступна',
|
||||
'account.synced': 'Синхронизировано {when}',
|
||||
'account.passwordChanged': 'Пароль изменён.',
|
||||
'account.imported_one': '{count} тайтл добавлен в аккаунт.',
|
||||
'account.imported_few': '{count} тайтла добавлены в аккаунт.',
|
||||
'account.imported_many': '{count} тайтлов добавлено в аккаунт.',
|
||||
'account.imported_other': '{count} тайтла добавлено в аккаунт.',
|
||||
'account.importFailed': 'Не удалось импортировать.',
|
||||
'account.pending_one': 'В очереди: {count}',
|
||||
'account.pending_few': 'В очереди: {count}',
|
||||
'account.pending_many': 'В очереди: {count}',
|
||||
'account.pending_other': 'В очереди: {count}',
|
||||
'account.syncNow': 'Синхронизировать',
|
||||
'account.newPasswordPh': 'Новый пароль (мин. {n} символов)',
|
||||
'account.changePassword': 'Сменить пароль',
|
||||
'account.logout': 'Выйти',
|
||||
'account.logoutHint': 'Данные останутся в аккаунте и будут удалены с этого устройства.',
|
||||
'account.ignore': 'Пропустить',
|
||||
'account.deviceHint': 'Они будут перенесены в аккаунт и синхронизированы на всех твоих устройствах.',
|
||||
'account.unsentTitle': 'Неотправленные изменения',
|
||||
'account.logoutAnyway': 'Всё равно выйти',
|
||||
'account.unsentMessage_one': '{count} изменение ещё не отправлено (нет связи?). Если выйти сейчас, оно потеряется.',
|
||||
'account.unsentMessage_few': '{count} изменения ещё не отправлены (нет связи?). Если выйти сейчас, они потеряются.',
|
||||
'account.unsentMessage_many': '{count} изменений ещё не отправлено (нет связи?). Если выйти сейчас, они потеряются.',
|
||||
'account.unsentMessage_other': '{count} изменения ещё не отправлено (нет связи?). Если выйти сейчас, они потеряются.',
|
||||
'account.nTitles_one': '{count} тайтл',
|
||||
'account.nTitles_few': '{count} тайтла',
|
||||
'account.nTitles_many': '{count} тайтлов',
|
||||
'account.nTitles_other': '{count} тайтла',
|
||||
'account.nLists_one': '{count} список',
|
||||
'account.nLists_few': '{count} списка',
|
||||
'account.nLists_many': '{count} списков',
|
||||
'account.nLists_other': '{count} списка',
|
||||
'account.deviceData': 'На этом устройстве есть {titles}, созданные до появления аккаунта. Добавить их в аккаунт?',
|
||||
'account.deviceDataWithLists': 'На этом устройстве есть {titles} и {lists}, созданные до появления аккаунта. Добавить их в аккаунт?',
|
||||
|
||||
'time.never': 'никогда',
|
||||
'time.justNow': 'только что',
|
||||
'time.minutesAgo': '{n} мин назад',
|
||||
'time.hoursAgo': '{n} ч назад',
|
||||
'time.onDate': '{date}',
|
||||
'time.today': 'сегодня',
|
||||
'time.tomorrow': 'завтра',
|
||||
'time.daysAgo': '{n} дн. назад',
|
||||
|
||||
'theme.red': 'Красная',
|
||||
'theme.orange': 'Оранжевая',
|
||||
'theme.yellow': 'Жёлтая',
|
||||
'theme.lime': 'Лаймовая',
|
||||
'theme.green': 'Зелёная',
|
||||
'theme.mint': 'Мятная',
|
||||
'theme.cyan': 'Бирюзовая',
|
||||
'theme.blue': 'Синяя',
|
||||
'theme.indigo': 'Индиго',
|
||||
'theme.violet': 'Фиолетовая',
|
||||
'theme.pink': 'Розовая',
|
||||
'theme.white': 'Белая',
|
||||
|
||||
'home.seeAll': 'Все',
|
||||
'home.subtitle': 'Мой дневник просмотров',
|
||||
'home.calendarSoon_one': 'Календарь релизов: {count} на этой неделе',
|
||||
'home.calendarSoon_few': 'Календарь релизов: {count} на этой неделе',
|
||||
'home.calendarSoon_many': 'Календарь релизов: {count} на этой неделе',
|
||||
'home.calendarSoon_other': 'Календарь релизов: {count} на этой неделе',
|
||||
'home.emptyTitle': 'Твоя библиотека пуста',
|
||||
'home.emptyCloud': 'Добавь свой первый фильм, аниме или дораму. Всё сохранится в аккаунте.',
|
||||
'home.emptyLocal': 'Добавь свой первый фильм, аниме или дораму. Всё хранится только на этом телефоне.',
|
||||
'home.completed': 'Просмотрено',
|
||||
'home.thisYear_one': '{count} в этом году',
|
||||
'home.thisYear_few': '{count} в этом году',
|
||||
'home.thisYear_many': '{count} в этом году',
|
||||
'home.thisYear_other': '{count} в этом году',
|
||||
'home.toWatchN_one': '{count} в планах',
|
||||
'home.toWatchN_few': '{count} в планах',
|
||||
'home.toWatchN_many': '{count} в планах',
|
||||
'home.toWatchN_other': '{count} в планах',
|
||||
'home.screenTime': 'Время у экрана',
|
||||
'home.estimate': 'примерно',
|
||||
'home.episodesSeen': 'Просмотрено серий',
|
||||
'home.noIdea': 'Не знаешь, что посмотреть?',
|
||||
'home.rouletteHint_one': 'Случайный выбор из тайтлов в планах',
|
||||
'home.rouletteHint_few': 'Случайный выбор из {count} тайтлов в планах',
|
||||
'home.rouletteHint_many': 'Случайный выбор из {count} тайтлов в планах',
|
||||
'home.rouletteHint_other': 'Случайный выбор из {count} тайтла в планах',
|
||||
'home.rouletteHintAll': 'Случайный выбор из твоей библиотеки',
|
||||
'home.recentlyFinished': 'Недавно просмотренные',
|
||||
|
||||
'calendar.title': 'Календарь релизов',
|
||||
'calendar.inMyList': 'В моём списке',
|
||||
'calendar.inMyListLegend': 'В моём списке',
|
||||
'calendar.seeMore_one': 'Показать ещё',
|
||||
'calendar.seeMore_few': 'Показать ещё {count}',
|
||||
'calendar.seeMore_many': 'Показать ещё {count}',
|
||||
'calendar.seeMore_other': 'Показать ещё {count}',
|
||||
'calendar.heading': 'Календарь ',
|
||||
'calendar.headingAccent': 'релизов',
|
||||
'calendar.refresh': 'Обновить',
|
||||
'calendar.all': 'Все релизы',
|
||||
'calendar.mine': 'Мои тайтлы',
|
||||
'calendar.prevMonth': 'Предыдущий месяц',
|
||||
'calendar.nextMonth': 'Следующий месяц',
|
||||
'calendar.releases_one': '{count} релиз',
|
||||
'calendar.releases_few': '{count} релиза',
|
||||
'calendar.releases_many': '{count} релизов',
|
||||
'calendar.releases_other': '{count} релиза',
|
||||
'calendar.others': 'Другие релизы',
|
||||
'calendar.needKey': 'Без ключа TMDB показывается только аниме. Добавь ключ в настройках, чтобы видеть также фильмы, сериалы и дорамы.',
|
||||
'calendar.range': 'Релизы доступны с прошлого месяца и на 6 месяцев вперёд.',
|
||||
'calendar.failed': 'Некоторые релизы не загрузились. Попробуй ещё раз через ↻.',
|
||||
'calendar.nothingThatDay': 'На этот день ничего не запланировано.',
|
||||
'calendar.next14': 'Ближайшие 14 дней',
|
||||
'calendar.loading': 'Ищем релизы…',
|
||||
'calendar.noneMine14': 'В ближайшие 14 дней для твоих тайтлов релизов не анонсировано.',
|
||||
'calendar.noneMineMonth': 'В этом месяце для твоих тайтлов релизов не анонсировано.',
|
||||
'calendar.none14': 'В ближайшие 14 дней релизов нет.',
|
||||
'calendar.noneMonth': 'В этом месяце релизов не найдено.',
|
||||
'calendar.footer': 'Фильмы в кино твоей страны, серии самых популярных сериалов и дорам (TMDB) и всех аниме, выходящих в Японии (AniList). Тайтлы из твоей библиотеки выделены цветом; нажми «В планах», чтобы добавить релиз в свой список.',
|
||||
|
||||
'roulette.name': 'Рулетка',
|
||||
'roulette.rewatch': 'Пересмотреть',
|
||||
'roulette.anyTime': 'Любое',
|
||||
'roulette.heading': 'Твоя ',
|
||||
'roulette.headingAccent': 'рулетка',
|
||||
'roulette.tonight': 'Сегодня вечером смотрим…',
|
||||
'roulette.nEps': '{n} сер.',
|
||||
'roulette.perEp': '{duration} / сер.',
|
||||
'roulette.stoppedAt': 'Ты остановился на серии {ep}.',
|
||||
'roulette.stoppedAtOf': 'Ты остановился на серии {ep} из {total}.',
|
||||
'roulette.enjoy': 'Приятного просмотра!',
|
||||
'roulette.again': 'Ещё раз',
|
||||
'roulette.spinning': 'Крутится…',
|
||||
'roulette.spin': 'Крутить рулетку',
|
||||
'roulette.poolSize_one': 'Выбор из {count} тайтла',
|
||||
'roulette.poolSize_few': 'Выбор из {count} тайтлов',
|
||||
'roulette.poolSize_many': 'Выбор из {count} тайтлов',
|
||||
'roulette.poolSize_other': 'Выбор из {count} тайтла',
|
||||
'roulette.empty': 'Ничего не подходит: расширь фильтры ниже.',
|
||||
'roulette.inside': 'В рулетке',
|
||||
'roulette.pickFrom': 'Выбирать из',
|
||||
'roulette.rewatchHint': '«Пересмотреть» = просмотренные тайтлы с оценкой от 4/5, избранное и Топ 5.',
|
||||
'roulette.time': 'Свободное время (фильм или 1 серия)',
|
||||
'roulette.seeItem': 'Открыть карточку',
|
||||
'roulette.watchIt': 'Смотрю!',
|
||||
|
||||
|
||||
'top.pick': 'Выбрать №{rank}',
|
||||
'top.shareTitle': 'Мой Топ 5: {category}',
|
||||
'top.shareLabel': 'Поделиться этим Топ 5 как изображением',
|
||||
'top.title': 'Мой топ',
|
||||
'top.number': '№{rank}',
|
||||
'top.pickFirst': 'Выбери свой №1.',
|
||||
'top.editLabel': 'Изменить Топ 5',
|
||||
'top.freeSlot': 'Свободное место — выбери тайтл ниже',
|
||||
'top.addFromLibrary': 'Добавить из библиотеки',
|
||||
'top.allTypes': 'Все типы',
|
||||
'top.searchTitle': 'Найти тайтл…',
|
||||
'top.full': 'Твой Топ 5 заполнен: убери тайтл, чтобы добавить другой.',
|
||||
'top.noCandidates': 'Нет тайтлов. Попробуй «Все типы» или другой запрос.',
|
||||
|
||||
'reco.error': 'Не удалось загрузить рекомендации.',
|
||||
'reco.title': 'Рекомендации',
|
||||
'reco.needKey': 'Добавь ключ TMDB в настройках, чтобы получать рекомендации на основе любимых тайтлов.',
|
||||
'reco.other': 'Другой тайтл',
|
||||
'reco.ifYouLiked': 'Если тебе понравилось',
|
||||
'reco.loading': 'Ищем рекомендации…',
|
||||
'reco.none': 'У тебя уже есть всё похожее на этот тайтл. Попробуй «Другой тайтл».',
|
||||
'reco.added': '{title} добавлен',
|
||||
'reco.addLabel': 'Добавить {title} в планы',
|
||||
'reco.addedShort': 'Добавлено',
|
||||
|
||||
'search.offline': 'Нет подключения к интернету: для поиска нужна сеть.',
|
||||
'search.fillFrom': 'Заполнить из базы',
|
||||
'search.openSettings': 'Открыть настройки',
|
||||
'search.already': 'уже добавлено',
|
||||
'search.noResults': 'Ничего не найдено. Можно заполнить карточку вручную ниже.',
|
||||
'search.privacy': 'В {source} отправляется только название, которое ты ищешь. Твоя библиотека остаётся на телефоне.',
|
||||
|
||||
'catalog.sortRecent': 'Недавно изменённые',
|
||||
'catalog.sortWatched': 'Дата просмотра',
|
||||
'catalog.sortRating': 'Лучшая оценка',
|
||||
'catalog.sortTitle': 'Название (А→Я)',
|
||||
'catalog.pageTitle': 'Мой ',
|
||||
'catalog.pageAccent': 'каталог',
|
||||
'catalog.journalSubtitle': 'Твоя история просмотров',
|
||||
'catalog.filteredCount_one': '{count} тайтл (с фильтром)',
|
||||
'catalog.filteredCount_few': '{count} тайтла (с фильтром)',
|
||||
'catalog.filteredCount_many': '{count} тайтлов (с фильтром)',
|
||||
'catalog.filteredCount_other': '{count} тайтла (с фильтром)',
|
||||
'catalog.titles': 'Тайтлы',
|
||||
'catalog.journal': 'Дневник',
|
||||
'catalog.lists': 'Списки',
|
||||
'catalog.searchPh': 'Название, жанр, платформа…',
|
||||
'catalog.moreFilters': 'Больше фильтров',
|
||||
'catalog.all': 'Все',
|
||||
'catalog.genre': 'Жанр',
|
||||
'catalog.minRating': 'Минимальная оценка',
|
||||
'catalog.allRatings': 'Любая',
|
||||
'catalog.sortBy': 'Сортировка',
|
||||
'catalog.favorites': 'Избранное',
|
||||
'catalog.reset': 'Сбросить',
|
||||
'catalog.noResults': 'Ничего не найдено',
|
||||
'catalog.nothingYet': 'Пока пусто',
|
||||
'catalog.noResultsHint': 'Попробуй другой запрос или убери фильтры.',
|
||||
'catalog.nothingYetHint': 'Добавь первый тайтл кнопкой +.',
|
||||
'catalog.clearFilters': 'Сбросить фильтры',
|
||||
|
||||
'public.agree': 'Точно как у зрителей',
|
||||
'public.more': '+{gap} выше, чем у зрителей',
|
||||
'public.less': '−{gap} ниже, чем у зрителей',
|
||||
'public.label': 'Зрители',
|
||||
'public.me': 'Я',
|
||||
'public.added_one': 'Добавлена {count} оценка зрителей.',
|
||||
'public.added_few': 'Добавлено {count} оценки зрителей.',
|
||||
'public.added_many': 'Добавлено {count} оценок зрителей.',
|
||||
'public.added_other': 'Добавлено {count} оценки зрителей.',
|
||||
'public.noneFound': 'Новых оценок не найдено.',
|
||||
'public.fetch': 'Загрузить ({n})',
|
||||
'public.title': 'Я vs зрители',
|
||||
'public.hintFetch': 'Загрузи средние оценки TMDB / AniList для своих оценённых тайтлов и посмотри, в чём ты расходишься со зрителями.',
|
||||
'public.hintNone': 'Для твоих оценённых тайтлов за этот период нет оценок зрителей.',
|
||||
'public.hintKey': 'Добавь ключ TMDB в настройках (или привяжи аниме к AniList), чтобы сравнить себя со зрителями.',
|
||||
'public.avgGap': 'Среднее расхождение',
|
||||
'public.average': 'Ровно в среднем',
|
||||
'public.generous': 'Щедрее зрителей',
|
||||
'public.harsh': 'Строже зрителей',
|
||||
'public.agreeTitle': 'Совпадения',
|
||||
'public.within5_one': 'разница до ½ звезды · {count} тайтл',
|
||||
'public.within5_few': 'разница до ½ звезды · {count} тайтла',
|
||||
'public.within5_many': 'разница до ½ звезды · {count} тайтлов',
|
||||
'public.within5_other': 'разница до ½ звезды · {count} тайтла',
|
||||
'public.within10_one': 'разница до 1 балла · {count} тайтл',
|
||||
'public.within10_few': 'разница до 1 балла · {count} тайтла',
|
||||
'public.within10_many': 'разница до 1 балла · {count} тайтлов',
|
||||
'public.within10_other': 'разница до 1 балла · {count} тайтла',
|
||||
'public.lovedPre': 'Мне ',
|
||||
'public.lovedAccent': 'понравилось больше',
|
||||
'public.lovedPost': ', чем зрителям',
|
||||
'public.hatedPre': 'Мне ',
|
||||
'public.hatedAccent': 'понравилось меньше',
|
||||
'public.hatedPost': ', чем зрителям',
|
||||
'public.allAgree': 'Ты согласен со зрителями по всем тайтлам. Редкость!',
|
||||
|
||||
'form.rewatchHint': 'Пересмотрел? Отмечай каждый пересмотр — он появится в дневнике.',
|
||||
'form.editTitle': 'Изменить ',
|
||||
'form.editAccent': 'карточку',
|
||||
'form.newTitle': 'Новый ',
|
||||
'form.newAccent': 'тайтл',
|
||||
'form.filledFrom': 'Заполнено из',
|
||||
'form.canEdit': 'всё можно изменить',
|
||||
'form.fillFromDb': 'Дополнить из TMDB / AniList',
|
||||
'form.pickPoster': 'Выбрать постер',
|
||||
'form.removeImage': 'Убрать изображение',
|
||||
'form.title': 'Название *',
|
||||
'form.titlePh': 'напр. Твоё имя',
|
||||
'form.originalTitle': 'Оригинальное название',
|
||||
'form.originalTitlePh': 'напр. 君の名は。',
|
||||
'form.synopsis': 'Описание',
|
||||
'form.type': 'Тип',
|
||||
'form.subtype': 'Уточнение',
|
||||
'form.subtypePh': 'Документальный, Реалити-шоу…',
|
||||
'form.status': 'Статус',
|
||||
'form.myRating': 'Моя оценка',
|
||||
'form.favorite': 'Избранное',
|
||||
'form.criteria': 'Подробные критерии (необязательно)',
|
||||
'form.episodes': 'Серии',
|
||||
'form.minusEp': '-1 серия',
|
||||
'form.plusEp': '+1 серия',
|
||||
'form.total': 'Всего',
|
||||
'form.season': 'Сезон',
|
||||
'form.duration': 'Длительность',
|
||||
'form.durationMin': 'Длительность (минуты)',
|
||||
'form.year': 'Год',
|
||||
'form.platform': 'Платформа',
|
||||
'form.genres': 'Жанры / теги',
|
||||
'form.genresPh': 'Романтика, Фантастика…',
|
||||
'form.rewatches': 'Пересмотры',
|
||||
'form.review': 'Мой отзыв',
|
||||
'form.reviewPh': 'Что я думаю, запомнившиеся сцены…',
|
||||
'form.saveChanges': 'Сохранить изменения',
|
||||
'form.addToLibrary': 'Добавить в библиотеку',
|
||||
'form.shareImage': 'Поделиться изображением',
|
||||
'form.delete': 'Удалить тайтл',
|
||||
'form.deleteConfirm': '«{title}» будет удалён навсегда.',
|
||||
'form.removeRewatch': 'Удалить пересмотр',
|
||||
'form.rewatchDate': 'Дата пересмотра',
|
||||
|
||||
'journal.rewatched': 'Пересмотрено',
|
||||
'journal.started': 'Начато',
|
||||
'journal.emptyTitle': 'Дневник пуст',
|
||||
'journal.emptyText': 'Твои просмотры появятся здесь, как только в карточках будут даты начала или окончания.',
|
||||
'journal.seen_one': 'Просмотрено: {count}',
|
||||
'journal.seen_few': 'Просмотрено: {count}',
|
||||
'journal.seen_many': 'Просмотрено: {count}',
|
||||
'journal.seen_other': 'Просмотрено: {count}',
|
||||
'journal.more': 'Показать предыдущие месяцы',
|
||||
|
||||
'stats.overview': 'Обзор',
|
||||
'stats.habits': 'Привычки',
|
||||
'stats.tastes': 'Вкусы',
|
||||
'stats.pageTitle': 'Моя ',
|
||||
'stats.pageAccent': 'статистика',
|
||||
'stats.emptyTitle': 'Статистики пока нет',
|
||||
'stats.emptyText': 'Она появится, когда ты добавишь тайтлы.',
|
||||
'stats.sinceStart': 'за всё время',
|
||||
'stats.subtitle_one': '{count} тайтл в моей библиотеке',
|
||||
'stats.subtitle_few': '{count} тайтла в моей библиотеке',
|
||||
'stats.subtitle_many': '{count} тайтлов в моей библиотеке',
|
||||
'stats.subtitle_other': '{count} тайтла в моей библиотеке',
|
||||
'stats.subtitleYear_one': '{count} тайтл в {year}',
|
||||
'stats.subtitleYear_few': '{count} тайтла в {year}',
|
||||
'stats.subtitleYear_many': '{count} тайтлов в {year}',
|
||||
'stats.subtitleYear_other': '{count} тайтла в {year}',
|
||||
'stats.hours_one': 'час',
|
||||
'stats.hours_few': 'часа',
|
||||
'stats.hours_many': 'часов',
|
||||
'stats.hours_other': 'часа',
|
||||
'stats.nonStopPre': 'это ',
|
||||
'stats.nonStopPost': ' без перерыва',
|
||||
'stats.days_one': '{count} день',
|
||||
'stats.days_few': '{count} дня',
|
||||
'stats.days_many': '{count} дней',
|
||||
'stats.days_other': '{count} дня',
|
||||
'stats.finishedN_one': 'Просмотрено: {count}',
|
||||
'stats.finishedN_few': 'Просмотрено: {count}',
|
||||
'stats.finishedN_many': 'Просмотрено: {count}',
|
||||
'stats.finishedN_other': 'Просмотрено: {count}',
|
||||
'stats.episodesN_one': '{count} серия',
|
||||
'stats.episodesN_few': '{count} серии',
|
||||
'stats.episodesN_many': '{count} серий',
|
||||
'stats.episodesN_other': '{count} серии',
|
||||
'stats.timeByType': 'Время по типам',
|
||||
'stats.noTime': 'За этот период время ещё не учтено.',
|
||||
'stats.avgRating': 'Средняя оценка',
|
||||
'stats.rated_one': '{count} тайтл оценён',
|
||||
'stats.rated_few': '{count} тайтла оценено',
|
||||
'stats.rated_many': '{count} тайтлов оценено',
|
||||
'stats.rated_other': '{count} тайтла оценено',
|
||||
'stats.inYear': 'в {year}',
|
||||
'stats.statuses': 'Статусы',
|
||||
'stats.hoursTab': 'Часы',
|
||||
'stats.monthByMonth': 'По месяцам · {year}',
|
||||
'stats.last12': 'Последние 12 месяцев',
|
||||
'stats.monthFinished_one': '{count} тайтл просмотрен',
|
||||
'stats.monthFinished_few': '{count} тайтла просмотрено',
|
||||
'stats.monthFinished_many': '{count} тайтлов просмотрено',
|
||||
'stats.monthFinished_other': '{count} тайтла просмотрено',
|
||||
'stats.busiest': 'Самый насыщенный месяц:',
|
||||
'stats.records': 'Рекорды',
|
||||
'stats.marathon': 'Самый длинный марафон',
|
||||
'stats.longestFilm': 'Самый длинный фильм',
|
||||
'stats.noRecords': 'За этот период рекордов пока нет.',
|
||||
'stats.platforms': 'Платформы',
|
||||
'stats.bestRated': 'Мои лучшие оценки',
|
||||
'stats.myRatings': 'Мои оценки',
|
||||
'stats.noRatings': 'За этот период оценок нет.',
|
||||
'stats.favGenres': 'Любимые жанры',
|
||||
'stats.noGenres': 'Жанров пока нет.',
|
||||
'stats.countries': 'Страны',
|
||||
'stats.noCountry_one': '{count} тайтл без страны: дополни его через «Дополнить из TMDB / AniList» на его странице.',
|
||||
'stats.noCountry_few': '{count} тайтла без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах.',
|
||||
'stats.noCountry_many': '{count} тайтлов без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах.',
|
||||
'stats.noCountry_other': '{count} тайтла без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах.',
|
||||
'stats.noCountryLegacy_one': '{count} тайтл без страны: дополни его через «Дополнить из TMDB / AniList» на его странице или заново импортируй копию из старого приложения («Объединить»).',
|
||||
'stats.noCountryLegacy_few': '{count} тайтла без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах или заново импортируй копию из старого приложения («Объединить»).',
|
||||
'stats.noCountryLegacy_many': '{count} тайтлов без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах или заново импортируй копию из старого приложения («Объединить»).',
|
||||
'stats.noCountryLegacy_other': '{count} тайтла без страны: дополни их через «Дополнить из TMDB / AniList» на их страницах или заново импортируй копию из старого приложения («Объединить»).',
|
||||
'stats.byType': 'По типам',
|
||||
'stats.footnote': 'Время рассчитано по просмотренным сериям и указанной длительности (иначе: фильм 1 ч 50, серия аниме 24 мин, сериал 45 мин, K-дорама 1 ч, C-дорама 45 мин). Тайтл учитывается в том году, когда я его досмотрел.',
|
||||
'stats.ratedAs_one': 'с оценкой {rating}',
|
||||
'stats.ratedAs_few': 'с оценкой {rating}',
|
||||
'stats.ratedAs_many': 'с оценкой {rating}',
|
||||
'stats.ratedAs_other': 'с оценкой {rating}',
|
||||
|
||||
'backup.shareTitle': 'Резервная копия AzuuCine',
|
||||
'backup.tooBig': 'Файл слишком большой (максимум 30 МБ).',
|
||||
'backup.notJson': 'Этот файл не является корректным JSON.',
|
||||
'backup.noItems': 'В этом файле нет записей.',
|
||||
'backup.tooMany': 'Слишком много записей (максимум {n}).',
|
||||
|
||||
'image.canvas': 'Canvas недоступен',
|
||||
'image.unreadable': 'Не удалось прочитать изображение',
|
||||
'image.notImage': 'Этот файл не является изображением.',
|
||||
'image.tooBig': 'Изображение слишком большое (максимум 25 МБ).',
|
||||
|
||||
'social.err.server': 'Сервер ответил {status}.',
|
||||
'social.err.usernameTaken': 'Этот ник уже занят.',
|
||||
'social.err.usernameReserved': 'Этот ник недоступен.',
|
||||
'social.err.invalid': 'Одно из значений некорректно.',
|
||||
'social.inLibrary': 'В моей библиотеке',
|
||||
'social.addToWatch': 'Добавить в «В планах»',
|
||||
'social.linkCopied': 'Ссылка скопирована!',
|
||||
'social.profile': 'Профиль',
|
||||
'social.shareProfile': 'Поделиться профилем',
|
||||
'social.loading': 'Загрузка…',
|
||||
'social.loadError': 'Не удалось загрузить профиль.',
|
||||
'social.notFound': 'Профиль не найден',
|
||||
'social.notFoundHint': 'Профиля @{username} не существует.',
|
||||
'social.editProfile': 'Изменить профиль',
|
||||
'social.following': 'Вы подписаны',
|
||||
'social.requested': 'Запрос отправлен',
|
||||
'social.followBack': 'Подписаться в ответ',
|
||||
'social.follow': 'Подписаться',
|
||||
'social.private': 'Закрытый аккаунт',
|
||||
'social.followsYou': 'Подписан на тебя',
|
||||
'social.seen': 'Просмотрено',
|
||||
'social.followers_one': 'Подписчик',
|
||||
'social.followers_few': 'Подписчика',
|
||||
'social.followers_many': 'Подписчиков',
|
||||
'social.followers_other': 'Подписчика',
|
||||
'social.followingCount_one': 'Подписка',
|
||||
'social.followingCount_few': 'Подписки',
|
||||
'social.followingCount_many': 'Подписок',
|
||||
'social.followingCount_other': 'Подписки',
|
||||
'social.requests_one': '{count} запрос на подписку',
|
||||
'social.requests_few': '{count} запроса на подписку',
|
||||
'social.requests_many': '{count} запросов на подписку',
|
||||
'social.requests_other': '{count} запроса на подписку',
|
||||
'social.privateTitle': 'Это закрытый аккаунт',
|
||||
'social.privateText': 'Подпишись, чтобы видеть просмотры, оценки и Топ 5.',
|
||||
'social.tabProfile': 'Профиль',
|
||||
'social.tabLibrary': 'Библиотека',
|
||||
'social.cancelRequestTitle': 'Отменить запрос на подписку?',
|
||||
'social.unfollowTitle': 'Отписаться от {name}?',
|
||||
'social.unfollowPrivate': 'Это закрытый аккаунт: чтобы снова увидеть профиль, придётся отправить новый запрос.',
|
||||
'social.cancelRequest': 'Отменить запрос',
|
||||
'social.unfollow': 'Отписаться',
|
||||
'social.top5': 'Топ 5',
|
||||
'social.recent': 'Недавно просмотренные',
|
||||
'social.noRecent': 'Пока ничего не досмотрено.',
|
||||
'social.statYear': 'Просмотрено в этом году',
|
||||
'social.statFilms': 'Просмотрено фильмов',
|
||||
'social.statSeries': 'Просмотрено сериалов и аниме',
|
||||
'social.emptyLibrary': 'Здесь нет тайтлов.',
|
||||
'social.loadMore': 'Показать ещё',
|
||||
'social.changeBanner': 'Сменить баннер',
|
||||
'social.changeAvatar': 'Сменить фото',
|
||||
'social.removeAvatar': 'Удалить фото',
|
||||
'social.removeBanner': 'Удалить баннер',
|
||||
'social.displayName': 'Отображаемое имя',
|
||||
'social.username': 'Ник',
|
||||
'social.usernameRule': '3–20 символов: строчные латинские буквы, цифры или _',
|
||||
'social.bio': 'О себе',
|
||||
'social.bioPh': 'Что любишь смотреть, любимые жанры…',
|
||||
'social.privateAccount': 'Закрытый аккаунт',
|
||||
'social.privateHint': 'Твои просмотры видят только одобренные тобой подписчики.',
|
||||
'social.publicHint': 'Твоё имя, ник, фото, баннер, описание, оценки и отзывы видны участникам. Сделай аккаунт закрытым, чтобы выбирать, кто их видит.',
|
||||
'social.requestsTab_one': 'Запросы',
|
||||
'social.requestsTab_few': 'Запросы ({count})',
|
||||
'social.requestsTab_many': 'Запросы ({count})',
|
||||
'social.requestsTab_other': 'Запросы ({count})',
|
||||
'social.noFollowing': 'Ты пока ни на кого не подписан.',
|
||||
'social.noFollowers': 'Подписчиков пока нет.',
|
||||
'social.accept': 'Принять',
|
||||
'social.decline': 'Отклонить',
|
||||
'social.removeFollower': 'Удалить',
|
||||
'social.findFriends': 'Найти друзей',
|
||||
'social.searchPh': 'Ник или имя…',
|
||||
'social.noResults': 'Никого не найдено.',
|
||||
'social.inviteHint': 'Твоих друзей ещё нет в AzuuCine? Отправь им ссылку на свой профиль.',
|
||||
'social.shareMyProfile': 'Поделиться профилем',
|
||||
'social.inviteText': 'Подписывайся на меня в AzuuCine!',
|
||||
'social.myProfile': 'Мой профиль',
|
||||
|
||||
'feed.title': 'Подписки',
|
||||
'feed.empty': 'Подпишись на друзей, чтобы видеть здесь, что они смотрят и что об этом думают.',
|
||||
'feed.finished': 'посмотрел(а)',
|
||||
'feed.started': 'начал(а) смотреть',
|
||||
'feed.rewatched': 'пересмотрел(а)',
|
||||
'feed.added': 'хочет посмотреть',
|
||||
'feed.review': 'отзыв',
|
||||
'auth.google': 'Продолжить с Google',
|
||||
'auth.or': 'или',
|
||||
'auth.err.google': 'Не удалось войти через Google. Попробуй ещё раз.',
|
||||
'auth.err.storage': 'Браузер блокирует хранилище: войти не получится.',
|
||||
'welcome.title': 'Выбери ник',
|
||||
'welcome.titleA': 'Добро пожаловать в',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'Выбери ник: по нему друзья смогут найти тебя и подписаться.',
|
||||
'welcome.usernamePh': 'tvoy_nik',
|
||||
'welcome.namePh': 'Твоё имя',
|
||||
'welcome.nameHint': 'Необязательно — показывается в профиле. Всё можно изменить позже.',
|
||||
'welcome.go': 'Поехали',
|
||||
'welcome.later': 'Позже',
|
||||
'social.watching': 'Смотрит',
|
||||
'social.watchlist': 'Хочет посмотреть',
|
||||
'search.allKinds': 'Фильмы, сериалы и аниме',
|
||||
'search.animeOnly': 'Без ключа TMDB можно найти только аниме.',
|
||||
'search.alreadySeries': 'уже в твоей библиотеке — открыть',
|
||||
'form.startShort': 'Начато',
|
||||
'form.endShort': 'Закончено',
|
||||
'hero.allSeen': 'Всё просмотрено',
|
||||
'hero.nextOn': 'Следующая серия {date}',
|
||||
'hero.upToDate': 'Всё актуально',
|
||||
'hero.seenEp': 'Посмотрел {ep}',
|
||||
'hero.seen': 'Просмотрено',
|
||||
'hero.markSeen': 'Отметить просмотренным',
|
||||
'hero.edit': 'Изменить данные',
|
||||
'hero.more': 'Читать дальше',
|
||||
'hero.less': 'Свернуть',
|
||||
'episodes.seasonOption_one': 'Сезон {season} · {count} серия',
|
||||
'episodes.seasonOption_few': 'Сезон {season} · {count} серии',
|
||||
'episodes.seasonOption_many': 'Сезон {season} · {count} серий',
|
||||
'episodes.seasonOption_other': 'Сезон {season} · {count} серии',
|
||||
'episodes.seen': 'Просмотрено {done}/{total}',
|
||||
'episodes.short': 'E{n}',
|
||||
'episodes.upcoming': '{date}',
|
||||
'episodes.nameless': 'Серия {n}',
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': 'Сейчас смотрю',
|
||||
'homeHero.next': 'Дальше по плану',
|
||||
'homeHero.details': 'Карточка',
|
||||
'homeHero.continueRow': 'Продолжить просмотр',
|
||||
'homeHero.nextUp': 'Далее: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** ไทย */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'ยกเลิก',
|
||||
'common.confirm': 'ยืนยัน',
|
||||
'common.close': 'ปิด',
|
||||
'common.save': 'บันทึก',
|
||||
'common.add': 'เพิ่ม',
|
||||
'common.delete': 'ลบ',
|
||||
'common.all': 'ทั้งหมด',
|
||||
'common.offline': 'ไม่มีการเชื่อมต่ออินเทอร์เน็ต',
|
||||
'common.minutes': '{n} นาที',
|
||||
'common.hours': '{h} ชม.',
|
||||
'common.hoursMinutes': '{h} ชม. {m} นาที',
|
||||
'common.daysHours': '{d} วัน {h} ชม.',
|
||||
'common.decimalSep': '.',
|
||||
'common.removeX': 'นำ {name} ออก',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'แก้ไข',
|
||||
'common.moveUp': 'เลื่อนขึ้น',
|
||||
'common.moveDown': 'เลื่อนลง',
|
||||
|
||||
'nav.home': 'หน้าแรก',
|
||||
'nav.catalog': 'คลัง',
|
||||
'nav.stats': 'สถิติ',
|
||||
'nav.settings': 'ตั้งค่า',
|
||||
'nav.addTitle': 'เพิ่มเรื่อง',
|
||||
|
||||
'type.film': 'ภาพยนตร์',
|
||||
'type.serie': 'ซีรีส์',
|
||||
'type.anime': 'อนิเมะ',
|
||||
'type.kdrama': 'ซีรีส์เกาหลี',
|
||||
'type.cdrama': 'ซีรีส์จีน',
|
||||
'type.autre': 'อื่น ๆ',
|
||||
|
||||
'typePlural.film': 'ภาพยนตร์',
|
||||
'typePlural.serie': 'ซีรีส์',
|
||||
'typePlural.anime': 'อนิเมะ',
|
||||
'typePlural.kdrama': 'ซีรีส์เกาหลี',
|
||||
'typePlural.cdrama': 'ซีรีส์จีน',
|
||||
|
||||
'status.a_voir': 'อยากดู',
|
||||
'status.en_cours': 'กำลังดู',
|
||||
'status.termine': 'ดูจบแล้ว',
|
||||
'status.pause': 'พักไว้',
|
||||
'status.abandonne': 'เลิกดู',
|
||||
|
||||
'criteria.story': 'บท / เนื้อเรื่อง',
|
||||
'criteria.cast': 'ตัวละคร / นักแสดง',
|
||||
'criteria.direction': 'การกำกับ / แอนิเมชัน',
|
||||
'criteria.ost': 'เพลงประกอบ (OST)',
|
||||
|
||||
'subtype.documentary': 'สารคดี',
|
||||
'subtype.reality': 'เรียลลิตี้',
|
||||
'subtype.show': 'รายการทีวี',
|
||||
'subtype.short': 'หนังสั้น',
|
||||
'subtype.stage': 'การแสดงบนเวที',
|
||||
'subtype.miniseries': 'มินิซีรีส์',
|
||||
|
||||
|
||||
'genre.action': 'แอ็กชัน',
|
||||
'genre.adventure': 'ผจญภัย',
|
||||
'genre.comedy': 'ตลก',
|
||||
'genre.drama': 'ดราม่า',
|
||||
'genre.romance': 'โรแมนติก',
|
||||
'genre.romcom': 'รอมคอม',
|
||||
'genre.thriller': 'ระทึกขวัญ',
|
||||
'genre.horror': 'สยองขวัญ',
|
||||
'genre.mystery': 'ลึกลับ',
|
||||
'genre.crime': 'อาชญากรรม',
|
||||
'genre.scifi': 'ไซไฟ',
|
||||
'genre.fantasy': 'แฟนตาซี',
|
||||
'genre.historical': 'ย้อนยุค',
|
||||
'genre.sliceOfLife': 'Slice of Life',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'กีฬา',
|
||||
'genre.musical': 'มิวสิคัล',
|
||||
'genre.medical': 'การแพทย์',
|
||||
'genre.legal': 'กฎหมาย',
|
||||
'genre.wuxia': 'กำลังภายใน (Wuxia)',
|
||||
'genre.xianxia': 'เซียนเซีย (Xianxia)',
|
||||
'genre.family': 'ครอบครัว',
|
||||
'genre.animation': 'แอนิเมชัน',
|
||||
'genre.psychological': 'จิตวิทยา',
|
||||
'genre.supernatural': 'เหนือธรรมชาติ',
|
||||
'genre.romanticComedy': 'โรแมนติกคอมเมดี้',
|
||||
'genre.documentary': 'สารคดี',
|
||||
'genre.war': 'สงคราม',
|
||||
'genre.western': 'คาวบอยตะวันตก',
|
||||
'genre.music': 'ดนตรี',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'เด็ก',
|
||||
'genre.news': 'ข่าว',
|
||||
'genre.reality': 'เรียลลิตี้',
|
||||
'genre.talk': 'ทอล์กโชว์',
|
||||
'genre.soap': 'ละครชุด',
|
||||
'genre.politics': 'การเมือง',
|
||||
'genre.tvMovie': 'ภาพยนตร์โทรทัศน์',
|
||||
'genre.anime': 'อนิเมะ',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'แน่ใจไหม?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB ปฏิเสธคำขอ',
|
||||
'err.tmdbKeyRefused': 'TMDB ปฏิเสธคีย์ ตรวจสอบได้ในตั้งค่า',
|
||||
'err.tmdbStatus': 'TMDB ตอบกลับ {status}',
|
||||
'err.tmdbRef': 'ข้อมูลอ้างอิง TMDB ไม่ถูกต้อง',
|
||||
'err.anilistRate': 'AniList จำกัดจำนวนคำขอ ลองใหม่อีกครั้งในอีกหนึ่งนาที',
|
||||
'err.anilistStatus': 'AniList ตอบกลับ {status}',
|
||||
'err.searchRate': 'ค้นหาบ่อยเกินไป ลองใหม่อีกครั้งในอีกไม่กี่นาที',
|
||||
|
||||
'anilist.short': 'อนิเมะสั้น',
|
||||
'anilist.movie': 'ภาพยนตร์แอนิเมชัน',
|
||||
'anilist.special': 'ตอนพิเศษ',
|
||||
'anilist.music': 'มิวสิกวิดีโอ',
|
||||
|
||||
'release.cinema': 'เข้าฉายในโรง',
|
||||
'release.online': 'บน VOD / สตรีมมิ่ง',
|
||||
'release.release': 'วันฉาย',
|
||||
'release.season': 'ซีซัน {season}',
|
||||
'release.episode': 'ตอนที่ {ep}',
|
||||
'release.newEpisode': 'ตอนใหม่',
|
||||
'release.firstEpisode': 'ตอนแรก',
|
||||
'release.newSeriesN': 'ซีรีส์ใหม่ · {count} ตอน',
|
||||
'release.seasonN': 'ซีซัน {season} · {count} ตอน',
|
||||
'release.seasonEp1': 'ซีซัน {season} · ตอนที่ 1',
|
||||
'release.episodes': 'ตอนที่ {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · ตอนที่ {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · ตอนที่ {ep}',
|
||||
'release.episodeFinal': 'ตอนที่ {ep} · ตอนจบ',
|
||||
'release.filmJapan': 'ภาพยนตร์ในญี่ปุ่น',
|
||||
|
||||
'card.ep': 'ตอน {n}',
|
||||
'card.plusOne': '+1 ตอนสำหรับ {title}',
|
||||
'card.open': 'เปิด {title}',
|
||||
|
||||
'rating.outOf10': 'คะแนนเต็ม 10',
|
||||
'rating.outOf5': 'คะแนนเต็ม 5',
|
||||
'rating.stars_one': '{count} ดาว',
|
||||
'rating.stars_other': '{count} ดาว',
|
||||
'rating.clear': 'ล้างคะแนน',
|
||||
|
||||
'share.previewLabel': 'ตัวอย่างภาพ',
|
||||
'share.preview': 'ตัวอย่าง',
|
||||
'share.posterAlt': 'โปสเตอร์ {title}',
|
||||
'share.share': 'แชร์',
|
||||
'share.saveImage': 'บันทึกภาพ',
|
||||
'share.err.create': 'สร้างภาพไม่สำเร็จ',
|
||||
'share.minutesLong': '{n} นาที',
|
||||
'share.createdBy': 'สร้างโดย',
|
||||
'share.directedBy': 'กำกับโดย',
|
||||
'share.producedBy': 'อำนวยการสร้างโดย',
|
||||
'share.starring': 'นำแสดงโดย',
|
||||
'share.genres': 'แนว',
|
||||
'share.myRating': 'คะแนนของฉัน',
|
||||
'share.myTop': 'Top ของฉัน',
|
||||
|
||||
'auth.hidePassword': 'ซ่อนรหัสผ่าน',
|
||||
'auth.showPassword': 'แสดงรหัสผ่าน',
|
||||
'auth.mismatch': 'รหัสผ่านทั้งสองไม่ตรงกัน',
|
||||
'auth.created': 'สร้างบัญชีแล้ว! เปิดลิงก์ที่ส่งไปยัง {email} เพื่อเปิดใช้งาน แล้วเข้าสู่ระบบ',
|
||||
'auth.resetSent': 'หากมีบัญชีที่ใช้อีเมลนี้ เราได้ส่งลิงก์สำหรับตั้งรหัสผ่านใหม่ไปให้แล้ว',
|
||||
'auth.tagline': 'บันทึกการดูหนัง ซีรีส์ อนิเมะ และดราม่าของคุณ',
|
||||
'auth.loginTab': 'เข้าสู่ระบบ',
|
||||
'auth.signupTab': 'สมัครสมาชิก',
|
||||
'auth.forgotTitle': 'ลืมรหัสผ่าน',
|
||||
'auth.email': 'อีเมล',
|
||||
'auth.password': 'รหัสผ่าน',
|
||||
'auth.confirmPassword': 'ยืนยันรหัสผ่าน',
|
||||
'auth.minChars': 'อย่างน้อย {n} ตัวอักษร',
|
||||
'auth.login': 'เข้าสู่ระบบ',
|
||||
'auth.signup': 'สร้างบัญชีของฉัน',
|
||||
'auth.sendLink': 'ส่งลิงก์',
|
||||
'auth.forgot': 'ลืมรหัสผ่าน?',
|
||||
'auth.backToLogin': 'กลับไปหน้าเข้าสู่ระบบ',
|
||||
'auth.privacy': 'บัญชีของคุณช่วยเก็บคลังให้ปลอดภัย โปรไฟล์ของคุณ (เรื่องที่ดู คะแนน และรีวิว) สมาชิกคนอื่นมองเห็นได้ เว้นแต่คุณจะตั้งเป็นส่วนตัว ส่วนลิสต์และการตั้งค่าจะเป็นส่วนตัวเสมอ ข้อมูลทั้งหมดยังเก็บไว้ในอุปกรณ์ของคุณด้วย จึงใช้งานแบบออฟไลน์ได้',
|
||||
'auth.newPasswordTitle': 'ตั้งรหัสผ่านใหม่ของคุณ',
|
||||
'auth.newPassword': 'รหัสผ่านใหม่',
|
||||
'auth.err.credentials': 'อีเมลหรือรหัสผ่านไม่ถูกต้อง',
|
||||
'auth.err.notConfirmed': 'ยืนยันอีเมลของคุณก่อนด้วยลิงก์ที่เราส่งไปให้',
|
||||
'auth.err.exists': 'มีบัญชีที่ใช้อีเมลนี้อยู่แล้ว',
|
||||
'auth.err.weak': 'รหัสผ่านไม่ปลอดภัยพอ (อย่างน้อย {n} ตัวอักษร ผสมตัวอักษรและตัวเลข)',
|
||||
'auth.err.samePassword': 'รหัสผ่านใหม่ต้องไม่ซ้ำกับรหัสผ่านเดิม',
|
||||
'auth.err.emailRate': 'ส่งคำขอบ่อยเกินไป ลองใหม่อีกครั้งในอีกไม่กี่นาที',
|
||||
'auth.err.rate': 'พยายามหลายครั้งเกินไป ลองใหม่อีกครั้งในอีกไม่กี่นาที',
|
||||
'auth.err.signupDisabled': 'ปิดรับสมัครสมาชิกชั่วคราว',
|
||||
'auth.err.emailInvalid': 'อีเมลไม่ถูกต้อง',
|
||||
'auth.err.invalid': 'อีเมลหรือรหัสผ่านไม่ถูกต้อง',
|
||||
'auth.err.session': 'เซสชันหมดอายุ โปรดเข้าสู่ระบบอีกครั้ง',
|
||||
'auth.err.status': 'เซิร์ฟเวอร์ปฏิเสธคำขอ ({status})',
|
||||
'auth.err.response': 'การตอบกลับจากเซิร์ฟเวอร์ไม่ถูกต้อง',
|
||||
'auth.err.linkExpired': 'ลิงก์นี้หมดอายุแล้ว ขอลิงก์ใหม่ได้เลย',
|
||||
'auth.err.linkUsed': 'ลิงก์นี้ไม่ถูกต้องหรือถูกใช้ไปแล้ว',
|
||||
'auth.err.linkInvalid': 'ลิงก์นี้ไม่ถูกต้อง',
|
||||
|
||||
'settings.language': 'ภาษา',
|
||||
'settings.langAuto': 'อัตโนมัติ ({lang})',
|
||||
'settings.backupShared': 'แชร์ข้อมูลสำรองแล้ว',
|
||||
'settings.backupDownloaded': 'ดาวน์โหลดข้อมูลสำรองแล้ว',
|
||||
'settings.exportFailed': 'ส่งออกไม่สำเร็จ',
|
||||
'settings.noValidItems': 'ไฟล์นี้ไม่มีรายการที่ถูกต้อง',
|
||||
'settings.imported_one': 'นำเข้า {count} รายการแล้ว',
|
||||
'settings.imported_other': 'นำเข้า {count} รายการแล้ว',
|
||||
'settings.importedSkipped': 'นำเข้า {n} รายการ ข้าม {skipped} รายการ',
|
||||
'settings.cleared': 'ล้างคลังแล้ว',
|
||||
'settings.pageTitle': 'การตั้งค่า',
|
||||
'settings.pageAccent': 'ของฉัน',
|
||||
'settings.languageHint': 'ภาษาของแอป วันที่ และข้อมูลที่ดึงมาจาก TMDB (ชื่อเรื่อง เรื่องย่อ)',
|
||||
'settings.rating': 'การให้คะแนน',
|
||||
'settings.scale5': '★ เต็ม 5',
|
||||
'settings.scale10': 'เต็ม 10',
|
||||
'settings.ratingHint': 'ครึ่งดาวเมื่อคะแนนเต็ม 5 หรือทีละ 0.5 เมื่อคะแนนเต็ม 10 คะแนนเดิมจะแปลงให้อัตโนมัติ',
|
||||
'settings.theme': 'ธีม',
|
||||
'settings.appearance': 'ลักษณะที่ปรากฏ',
|
||||
'settings.appearanceHint': '“อัตโนมัติ” จะตามเบราว์เซอร์ของคุณ (สว่างหรือมืด)',
|
||||
'theme.modeAuto': 'อัตโนมัติ',
|
||||
'theme.modeLight': 'สว่าง',
|
||||
'theme.modeDark': 'มืด',
|
||||
'theme.modeNight': 'กลางคืน',
|
||||
'theme.modeStarfield': 'ดาว',
|
||||
'settings.accentColor': 'สีเน้น',
|
||||
'settings.installApp': 'ติดตั้งแอป',
|
||||
'settings.installHint': 'เพิ่ม AzuuCine ไปที่หน้าจอหลักหรือเดสก์ท็อปของคุณ',
|
||||
'settings.installed': 'ติดตั้งแอปแล้ว',
|
||||
'settings.notifs': 'การแจ้งเตือน',
|
||||
'settings.notifsHint': 'เลือกสิ่งที่จะทำให้กระดิ่งเตือน',
|
||||
'settings.notifEpisodes': 'ตอนใหม่',
|
||||
'settings.notifFollows': 'ผู้ติดตามใหม่',
|
||||
'settings.notifAccepted': 'คำขอที่ยอมรับแล้ว',
|
||||
'settings.notifReactions': 'รีแอกชันต่อรีวิวของฉัน',
|
||||
'notif.new_episode': 'ตอนใหม่ของ {title}',
|
||||
'notif.new_season': 'ซีซันใหม่ของ {title}',
|
||||
'reviews.title': 'รีวิว',
|
||||
'reviews.friends': 'เพื่อนของคุณ',
|
||||
'reviews.others': 'สมาชิกอื่น',
|
||||
'reviews.noneFriends': 'ไม่มีรีวิวจากเพื่อน',
|
||||
'reviews.noneOthers': 'ไม่มีรีวิวอื่น',
|
||||
'reviews.none': 'ยังไม่มีรีวิว',
|
||||
'reviews.seeAll': 'ดูรีวิวทั้งหมด',
|
||||
'reviews.react': 'แสดงความรู้สึก',
|
||||
'notif.title': 'การแจ้งเตือน',
|
||||
'notif.empty': 'ไม่มีการแจ้งเตือน',
|
||||
'notif.someone': 'มีคน',
|
||||
'notif.follow_request': 'ต้องการติดตามคุณ',
|
||||
'notif.follow_accepted': 'ยอมรับคำขอของคุณ',
|
||||
'notif.new_follower': 'เริ่มติดตามคุณ',
|
||||
'notif.reaction': 'แสดงความรู้สึกต่อรีวิวของคุณ',
|
||||
'notif.on': 'ใน {title}',
|
||||
'home.notifications': 'การแจ้งเตือน',
|
||||
'home.notificationsN': '{count} การแจ้งเตือน',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'ติดตั้ง AzuuCine',
|
||||
'install.ios': 'เปิด AzuuCine ใน Safari\nแตะปุ่มแชร์ (สี่เหลี่ยมที่มีลูกศรชี้ขึ้น)\nเลือก “เพิ่มไปยังหน้าจอโฮม” แล้ว “เพิ่ม”',
|
||||
'install.android': 'เปิด AzuuCine ใน Chrome\nแตะเมนู ⋮ ที่มุมขวาบน\nเลือก “เพิ่มไปยังหน้าจอหลัก” (หรือ “ติดตั้งแอป”)',
|
||||
'install.desktop': 'ในแถบที่อยู่ คลิกไอคอนติดตั้งทางขวา (หน้าจอที่มีลูกศร)\nหรือ: เมนู ⋮ ของเบราว์เซอร์ → “ติดตั้ง AzuuCine”\nยืนยันด้วย “ติดตั้ง”',
|
||||
'install.other': 'เปิดเมนูของเบราว์เซอร์\nมองหา “ติดตั้งแอป” หรือ “เพิ่มไปยังหน้าจอหลัก”',
|
||||
'install.gotIt': 'เข้าใจแล้ว',
|
||||
'settings.themeX': 'ธีม {name}',
|
||||
'settings.pickColor': 'เลือกสีเอง',
|
||||
'settings.freeColor': 'สีที่เลือกเอง',
|
||||
'settings.freeColorHint': 'ใช้สีไหนก็ได้ ตัวอักษรจะปรับให้อ่านง่ายเสมอ',
|
||||
'settings.databases': 'ฐานข้อมูลภาพยนตร์',
|
||||
'settings.anilistActive': 'อนิเมะ · ใช้งานอยู่',
|
||||
'settings.noConfig': 'ไม่ต้องตั้งค่าใด ๆ',
|
||||
'settings.tmdbActive': 'ภาพยนตร์และซีรีส์ · ใช้งานอยู่',
|
||||
'settings.checking': 'กำลังตรวจสอบ…',
|
||||
'settings.offline': 'ออฟไลน์',
|
||||
'settings.proxyMissingKey': 'ไม่มีคีย์ TMDB',
|
||||
'settings.proxyNotDeployed': 'ยังไม่ได้ติดตั้งเซิร์ฟเวอร์',
|
||||
'settings.unavailable': 'ใช้งานไม่ได้',
|
||||
'settings.proxyMissingKeyHint': 'ฟังก์ชันเซิร์ฟเวอร์พร้อมแล้ว แต่ยังไม่ได้บันทึกคีย์ TMDB (secret TMDB_API_KEY ใน Supabase) หรือ TMDB ปฏิเสธคีย์นั้น',
|
||||
'settings.proxyNotDeployedHint': 'ยังไม่ได้ deploy ฟังก์ชัน “tmdb” บน Supabase (ดู README → บัญชี ขั้นตอนที่ 5)',
|
||||
'settings.proxyErrorHint': 'ขณะนี้เซิร์ฟเวอร์ตอบสนองไม่ถูกต้อง',
|
||||
'settings.proxyOkHint': 'ให้บริการโดยเซิร์ฟเวอร์ของแอป ไม่ต้องใส่คีย์',
|
||||
'settings.recheck': 'ตรวจสอบอีกครั้ง',
|
||||
'settings.keyRefused': 'คีย์ถูกปฏิเสธ',
|
||||
'settings.notConfigured': 'ยังไม่ได้ตั้งค่า',
|
||||
'settings.tmdbHelp': 'ภาพยนตร์ ซีรีส์ ซีรีส์เกาหลี ซีรีส์จีน สร้างบัญชีฟรีที่ themoviedb.org แล้วไปที่ Settings → API จากนั้นวาง “API Key” หรือ “API Read Access Token” ของคุณ',
|
||||
'settings.tmdbKey': 'คีย์ TMDB',
|
||||
'settings.hideKey': 'ซ่อนคีย์',
|
||||
'settings.showKey': 'แสดงคีย์',
|
||||
'settings.validate': 'ยืนยัน',
|
||||
'settings.remove': 'นำออก',
|
||||
'settings.keyLocal': 'คีย์จะอยู่ในอุปกรณ์นี้เท่านั้น และจะไม่ถูกรวมไว้ในข้อมูลสำรอง',
|
||||
'settings.topHint': 'หมวดหมู่ที่แสดงในหน้าแรก',
|
||||
'settings.topNone': 'ไม่มีหมวดหมู่ ส่วน Top 5 จะถูกซ่อน',
|
||||
'settings.backup': 'สำรองข้อมูล',
|
||||
'settings.export': 'ส่งออกข้อมูลของฉัน',
|
||||
'settings.exportHint_one': '{count} รายการ · ไฟล์ JSON ควรทำเป็นประจำ',
|
||||
'settings.exportHint_other': '{count} รายการ · ไฟล์ JSON ควรทำเป็นประจำ',
|
||||
'settings.import': 'นำเข้าข้อมูลสำรอง',
|
||||
'settings.importHint': 'กู้คืนจากไฟล์ .json',
|
||||
'settings.legacyDetected': 'พบข้อมูลสำรองจากแอปเวอร์ชันเก่า',
|
||||
'settings.found_one': 'พบ {count} รายการ ต้องการนำเข้าแบบไหน?',
|
||||
'settings.found_other': 'พบ {count} รายการ ต้องการนำเข้าแบบไหน?',
|
||||
'settings.foundSkipped': 'พบ {n} รายการ (ข้ามรายการที่ไม่ถูกต้อง {skipped} รายการ) ต้องการนำเข้าแบบไหน?',
|
||||
'settings.merge': 'รวม',
|
||||
'settings.replaceAll': 'แทนที่ทั้งหมด',
|
||||
'settings.mergeHint': '“รวม” จะเพิ่มรายการใหม่และอัปเดตรายการที่มีอยู่แล้ว (ID เดียวกัน)',
|
||||
'settings.storage': 'พื้นที่จัดเก็บ',
|
||||
'settings.used': 'พื้นที่ที่ใช้',
|
||||
'settings.storageCloud': 'ข้อมูลของคุณบันทึกไว้ในบัญชี และเก็บไว้ในอุปกรณ์นี้ด้วยเพื่อให้ใช้งานออฟไลน์ได้ ข้อมูลจะซิงค์อัตโนมัติเมื่อคุณออนไลน์',
|
||||
'settings.storageLocal': 'ข้อมูลของคุณเก็บไว้ในเบราว์เซอร์นี้บนอุปกรณ์นี้เท่านั้น หากล้างข้อมูลเบราว์เซอร์หรือถอนการติดตั้งแอป ข้อมูลจะหายไป ควรส่งออกข้อมูลสำรองเป็นประจำ',
|
||||
'settings.danger': 'โซนอันตราย',
|
||||
'settings.clearAll': 'ล้างคลังทั้งหมด',
|
||||
'settings.clearAllHint_one': '{count} เรื่อง',
|
||||
'settings.clearAllHint_other': '{count} เรื่อง',
|
||||
'settings.clearAllHintCloud_one': '{count} เรื่อง · ในทุกอุปกรณ์ของคุณ',
|
||||
'settings.clearAllHintCloud_other': '{count} เรื่อง · ในทุกอุปกรณ์ของคุณ',
|
||||
'settings.deleting': 'กำลังลบ…',
|
||||
'settings.deleteAccount': 'ลบบัญชีของฉัน',
|
||||
'settings.deleteAccountHint': 'บัญชีและข้อมูลจะถูกลบอย่างถาวร',
|
||||
'settings.footerCloud': 'บัญชีที่ซิงค์แล้ว',
|
||||
'settings.footerLocal': 'เก็บในเครื่อง 100%',
|
||||
'settings.clearConfirm_one': '{count} เรื่องจะถูกลบอย่างถาวร ควรส่งออกข้อมูลสำรองก่อน',
|
||||
'settings.clearConfirm_other': 'ทั้ง {count} เรื่องของคุณจะถูกลบอย่างถาวร ควรส่งออกข้อมูลสำรองก่อน',
|
||||
'settings.clearConfirmCloud_one': '{count} เรื่องจะถูกลบอย่างถาวรในทุกอุปกรณ์ของคุณ ควรส่งออกข้อมูลสำรองก่อน',
|
||||
'settings.clearConfirmCloud_other': 'ทั้ง {count} เรื่องของคุณจะถูกลบอย่างถาวรในทุกอุปกรณ์ของคุณ ควรส่งออกข้อมูลสำรองก่อน',
|
||||
'settings.clearAllConfirm': 'ล้างทั้งหมด',
|
||||
'settings.deleteAccountTitle': 'ลบบัญชีของคุณ?',
|
||||
'settings.deleteAccountMessage': 'บัญชีและข้อมูลทั้งหมดของคุณ (เรื่อง ลิสต์ การตั้งค่า) จะถูกลบอย่างถาวรจากเซิร์ฟเวอร์และอุปกรณ์นี้ ควรส่งออกข้อมูลสำรองก่อน การดำเนินการนี้ย้อนกลับไม่ได้',
|
||||
'settings.deleteForever': 'ลบถาวร',
|
||||
'settings.replaceConfirm': 'คลังทั้งหมดในปัจจุบันของคุณจะถูกแทนที่ด้วยเนื้อหาในไฟล์นี้',
|
||||
'settings.replace': 'แทนที่',
|
||||
|
||||
'sync.err.push': 'อัปโหลดถูกปฏิเสธ ({status})',
|
||||
'sync.err.pull': 'ดาวน์โหลดถูกปฏิเสธ ({status})',
|
||||
|
||||
'store.dbError': 'เปิดฐานข้อมูลในเครื่องไม่ได้: {error}',
|
||||
'store.invalidItem': 'รายการไม่ถูกต้อง',
|
||||
|
||||
'lists.newList': 'ลิสต์ใหม่',
|
||||
'lists.newListPh': 'ลิสต์ใหม่…',
|
||||
'lists.myLists': 'ลิสต์ของฉัน',
|
||||
'lists.rename': 'เปลี่ยนชื่อ',
|
||||
'lists.delete': 'ลบลิสต์',
|
||||
'lists.done': 'เสร็จ',
|
||||
'lists.addRemove': 'เพิ่ม / นำเรื่องออก',
|
||||
'lists.searchLibrary': 'ค้นหาในคลังของฉัน…',
|
||||
'lists.emptyTitle': 'ลิสต์ว่าง',
|
||||
'lists.emptyText': 'เพิ่มเรื่องด้วยปุ่มด้านบน หรือจากหน้าของเรื่องนั้น',
|
||||
'lists.deleteConfirm': 'ลิสต์ “{name}” จะถูกลบ แต่เรื่องต่าง ๆ ยังอยู่ในคลังของคุณ',
|
||||
'lists.noneTitle': 'ยังไม่มีลิสต์',
|
||||
'lists.noneText': 'สร้างลิสต์ในแบบของคุณ: “ดูกับเพื่อน”, “หนังผีเดือนตุลา”, “ซีรีส์ฮีลใจ”…',
|
||||
'lists.create': 'สร้าง',
|
||||
|
||||
'account.err.deleteRate': 'พยายามหลายครั้งเกินไป ลองใหม่อีกครั้งในอีกหนึ่งนาที',
|
||||
'account.err.delete': 'ลบไม่สำเร็จ ลองใหม่ภายหลัง',
|
||||
'account.title': 'บัญชีของฉัน',
|
||||
'account.syncing': 'กำลังซิงค์…',
|
||||
'account.offline': 'ออฟไลน์ — ข้อมูลทั้งหมดยังเก็บไว้ในอุปกรณ์นี้',
|
||||
'account.syncError': 'ซิงค์ไม่ได้ในขณะนี้',
|
||||
'account.synced': 'ซิงค์แล้ว {when}',
|
||||
'account.passwordChanged': 'เปลี่ยนรหัสผ่านแล้ว',
|
||||
'account.imported_one': 'เพิ่ม {count} เรื่องลงในบัญชีของคุณแล้ว',
|
||||
'account.imported_other': 'เพิ่ม {count} เรื่องลงในบัญชีของคุณแล้ว',
|
||||
'account.importFailed': 'นำเข้าไม่สำเร็จ',
|
||||
'account.pending_one': 'รอดำเนินการ {count} รายการ',
|
||||
'account.pending_other': 'รอดำเนินการ {count} รายการ',
|
||||
'account.syncNow': 'ซิงค์ตอนนี้',
|
||||
'account.newPasswordPh': 'รหัสผ่านใหม่ (อย่างน้อย {n} ตัวอักษร)',
|
||||
'account.changePassword': 'เปลี่ยนรหัสผ่าน',
|
||||
'account.logout': 'ออกจากระบบ',
|
||||
'account.logoutHint': 'ข้อมูลของคุณยังอยู่ในบัญชี และจะถูกนำออกจากอุปกรณ์นี้',
|
||||
'account.ignore': 'ข้าม',
|
||||
'account.deviceHint': 'ข้อมูลเหล่านี้จะถูกย้ายไปยังบัญชีของคุณและซิงค์กับทุกอุปกรณ์',
|
||||
'account.unsentTitle': 'การเปลี่ยนแปลงที่ยังไม่ได้ส่ง',
|
||||
'account.logoutAnyway': 'ออกจากระบบต่อไป',
|
||||
'account.unsentMessage_one': 'ยังมี {count} การเปลี่ยนแปลงที่ยังไม่ได้ส่ง (ไม่มีการเชื่อมต่อ?) หากออกจากระบบตอนนี้ ข้อมูลจะหายไป',
|
||||
'account.unsentMessage_other': 'ยังมี {count} การเปลี่ยนแปลงที่ยังไม่ได้ส่ง (ไม่มีการเชื่อมต่อ?) หากออกจากระบบตอนนี้ ข้อมูลจะหายไป',
|
||||
'account.nTitles_one': '{count} เรื่อง',
|
||||
'account.nTitles_other': '{count} เรื่อง',
|
||||
'account.nLists_one': '{count} ลิสต์',
|
||||
'account.nLists_other': '{count} ลิสต์',
|
||||
'account.deviceData': 'อุปกรณ์นี้มี {titles} ที่สร้างไว้ก่อนมีบัญชี ต้องการเพิ่มลงในบัญชีของคุณไหม?',
|
||||
'account.deviceDataWithLists': 'อุปกรณ์นี้มี {titles} และ {lists} ที่สร้างไว้ก่อนมีบัญชี ต้องการเพิ่มลงในบัญชีของคุณไหม?',
|
||||
|
||||
'time.never': 'ไม่เคย',
|
||||
'time.justNow': 'เมื่อสักครู่',
|
||||
'time.minutesAgo': '{n} นาทีที่แล้ว',
|
||||
'time.hoursAgo': '{n} ชม. ที่แล้ว',
|
||||
'time.onDate': 'เมื่อ {date}',
|
||||
'time.today': 'วันนี้',
|
||||
'time.tomorrow': 'พรุ่งนี้',
|
||||
'time.daysAgo': '{n} วันที่แล้ว',
|
||||
|
||||
'theme.red': 'แดง',
|
||||
'theme.orange': 'ส้ม',
|
||||
'theme.yellow': 'เหลือง',
|
||||
'theme.lime': 'เขียวมะนาว',
|
||||
'theme.green': 'เขียว',
|
||||
'theme.mint': 'มินต์',
|
||||
'theme.cyan': 'ฟ้าน้ำทะเล',
|
||||
'theme.blue': 'น้ำเงิน',
|
||||
'theme.indigo': 'คราม',
|
||||
'theme.violet': 'ม่วง',
|
||||
'theme.pink': 'ชมพู',
|
||||
'theme.white': 'ขาว',
|
||||
|
||||
'home.seeAll': 'ดูทั้งหมด',
|
||||
'home.subtitle': 'บันทึกการดูของฉัน',
|
||||
'home.calendarSoon_one': 'ปฏิทินวันฉาย: สัปดาห์นี้ {count} เรื่อง',
|
||||
'home.calendarSoon_other': 'ปฏิทินวันฉาย: สัปดาห์นี้ {count} เรื่อง',
|
||||
'home.emptyTitle': 'คลังของคุณยังว่างอยู่',
|
||||
'home.emptyCloud': 'เพิ่มหนัง อนิเมะ หรือดราม่าเรื่องแรกของคุณ ระบบจะบันทึกไว้ในบัญชีของคุณ',
|
||||
'home.emptyLocal': 'เพิ่มหนัง อนิเมะ หรือดราม่าเรื่องแรกของคุณ ข้อมูลทั้งหมดจะเก็บไว้ในโทรศัพท์เครื่องนี้เท่านั้น',
|
||||
'home.completed': 'ดูจบแล้ว',
|
||||
'home.thisYear_one': 'ปีนี้ {count} เรื่อง',
|
||||
'home.thisYear_other': 'ปีนี้ {count} เรื่อง',
|
||||
'home.toWatchN_one': 'อยากดู {count} เรื่อง',
|
||||
'home.toWatchN_other': 'อยากดู {count} เรื่อง',
|
||||
'home.screenTime': 'เวลาหน้าจอ',
|
||||
'home.estimate': 'โดยประมาณ',
|
||||
'home.episodesSeen': 'ตอนที่ดูแล้ว',
|
||||
'home.noIdea': 'เลือกไม่ถูก?',
|
||||
'home.rouletteHint_one': 'สุ่มจากเรื่องที่อยากดูของคุณ',
|
||||
'home.rouletteHint_other': 'สุ่มจาก {count} เรื่องที่อยากดูของคุณ',
|
||||
'home.rouletteHintAll': 'สุ่มจากคลังของคุณ',
|
||||
'home.recentlyFinished': 'เพิ่งดูจบ',
|
||||
|
||||
'calendar.title': 'ปฏิทินวันฉาย',
|
||||
'calendar.inMyList': 'อยู่ในลิสต์ของฉัน',
|
||||
'calendar.inMyListLegend': 'อยู่ในลิสต์ของฉัน',
|
||||
'calendar.seeMore_one': 'ดูอีกเรื่อง',
|
||||
'calendar.seeMore_other': 'ดูอีก {count} เรื่อง',
|
||||
'calendar.heading': 'ปฏิทิน',
|
||||
'calendar.headingAccent': 'วันฉาย',
|
||||
'calendar.refresh': 'รีเฟรช',
|
||||
'calendar.all': 'ทุกเรื่องที่ฉาย',
|
||||
'calendar.mine': 'เรื่องของฉัน',
|
||||
'calendar.prevMonth': 'เดือนก่อนหน้า',
|
||||
'calendar.nextMonth': 'เดือนถัดไป',
|
||||
'calendar.releases_one': '{count} เรื่องที่ฉาย',
|
||||
'calendar.releases_other': '{count} เรื่องที่ฉาย',
|
||||
'calendar.others': 'เรื่องอื่นที่ฉาย',
|
||||
'calendar.needKey': 'หากไม่มีคีย์ TMDB จะแสดงเฉพาะอนิเมะ เพิ่มคีย์ในตั้งค่าเพื่อดูภาพยนตร์ ซีรีส์ และดราม่าด้วย',
|
||||
'calendar.range': 'ดูวันฉายได้ตั้งแต่เดือนที่แล้วไปจนถึงล่วงหน้า 6 เดือน',
|
||||
'calendar.failed': 'โหลดบางรายการไม่สำเร็จ ลองอีกครั้งด้วย ↻',
|
||||
'calendar.nothingThatDay': 'ไม่มีอะไรฉายในวันนั้น',
|
||||
'calendar.next14': '14 วันข้างหน้า',
|
||||
'calendar.loading': 'กำลังค้นหาวันฉาย…',
|
||||
'calendar.noneMine14': 'ไม่มีกำหนดฉายสำหรับเรื่องของคุณใน 14 วันข้างหน้า',
|
||||
'calendar.noneMineMonth': 'ไม่มีกำหนดฉายสำหรับเรื่องของคุณในเดือนนี้',
|
||||
'calendar.none14': 'ไม่มีเรื่องที่ฉายใน 14 วันข้างหน้า',
|
||||
'calendar.noneMonth': 'ไม่พบเรื่องที่ฉายในเดือนนี้',
|
||||
'calendar.footer': 'ภาพยนตร์ที่เข้าฉายในโรงในประเทศของคุณ ตอนใหม่ของซีรีส์และดราม่ายอดนิยม (TMDB) และอนิเมะทุกเรื่องที่ออกอากาศในญี่ปุ่น (AniList) เรื่องที่อยู่ในคลังของคุณจะถูกไฮไลต์ แตะ “อยากดู” เพื่อเพิ่มเรื่องลงในลิสต์ของคุณ',
|
||||
|
||||
'roulette.name': 'วงล้อสุ่ม',
|
||||
'roulette.rewatch': 'ดูซ้ำ',
|
||||
'roulette.anyTime': 'อะไรก็ได้',
|
||||
'roulette.heading': 'วงล้อ',
|
||||
'roulette.headingAccent': 'สุ่ม',
|
||||
'roulette.tonight': 'คืนนี้ดู…',
|
||||
'roulette.nEps': '{n} ตอน',
|
||||
'roulette.perEp': '{duration} / ตอน',
|
||||
'roulette.stoppedAt': 'คุณดูค้างไว้ที่ตอนที่ {ep}',
|
||||
'roulette.stoppedAtOf': 'คุณดูค้างไว้ที่ตอนที่ {ep} จาก {total}',
|
||||
'roulette.enjoy': 'ขอให้สนุกกับการดู!',
|
||||
'roulette.again': 'หมุนอีกครั้ง',
|
||||
'roulette.spinning': 'กำลังหมุน…',
|
||||
'roulette.spin': 'หมุนวงล้อ',
|
||||
'roulette.poolSize_one': 'สุ่มจาก {count} เรื่อง',
|
||||
'roulette.poolSize_other': 'สุ่มจาก {count} เรื่อง',
|
||||
'roulette.empty': 'ไม่มีเรื่องที่ตรงเงื่อนไข ลองขยายตัวกรองด้านล่าง',
|
||||
'roulette.inside': 'ในวงล้อ',
|
||||
'roulette.pickFrom': 'สุ่มจาก',
|
||||
'roulette.rewatchHint': '“ดูซ้ำ” = เรื่องที่ดูจบแล้วและให้คะแนน 4/5 ขึ้นไป เรื่องโปรด และ Top 5',
|
||||
'roulette.time': 'เวลาที่มี (ภาพยนตร์ หรือ 1 ตอน)',
|
||||
'roulette.seeItem': 'ดูรายละเอียดทั้งหมด',
|
||||
'roulette.watchIt': 'ดูเรื่องนี้แหละ',
|
||||
|
||||
|
||||
'top.pick': 'เลือกอันดับ {rank}',
|
||||
'top.shareTitle': 'Top 5 {category} ของฉัน',
|
||||
'top.shareLabel': 'แชร์ Top 5 นี้เป็นภาพ',
|
||||
'top.title': 'Top ของฉัน',
|
||||
'top.number': 'อันดับ {rank}',
|
||||
'top.pickFirst': 'เลือกอันดับ 1 ของคุณ',
|
||||
'top.editLabel': 'แก้ไข Top 5',
|
||||
'top.freeSlot': 'ช่องว่าง — เลือกเรื่องด้านล่าง',
|
||||
'top.addFromLibrary': 'เพิ่มจากคลังของฉัน',
|
||||
'top.allTypes': 'ทุกประเภท',
|
||||
'top.searchTitle': 'ค้นหาเรื่อง…',
|
||||
'top.full': 'Top 5 ของคุณเต็มแล้ว นำเรื่องหนึ่งออกก่อนเพื่อเพิ่มเรื่องใหม่',
|
||||
'top.noCandidates': 'ไม่มีเรื่อง ลองเลือก “ทุกประเภท” หรือค้นหาคำอื่น',
|
||||
|
||||
'reco.error': 'โหลดคำแนะนำไม่ได้ในขณะนี้',
|
||||
'reco.title': 'แนะนำสำหรับคุณ',
|
||||
'reco.needKey': 'เพิ่มคีย์ TMDB ในตั้งค่าเพื่อรับคำแนะนำตามเรื่องโปรดของคุณ',
|
||||
'reco.other': 'เรื่องอื่น',
|
||||
'reco.ifYouLiked': 'ถ้าคุณชอบ',
|
||||
'reco.loading': 'กำลังหาคำแนะนำ…',
|
||||
'reco.none': 'คุณมีทุกเรื่องที่คล้ายกับเรื่องนี้แล้ว ลองกด “เรื่องอื่น”',
|
||||
'reco.added': 'เพิ่ม {title} แล้ว',
|
||||
'reco.addLabel': 'เพิ่ม {title} ในอยากดู',
|
||||
'reco.addedShort': 'เพิ่มแล้ว',
|
||||
|
||||
'search.offline': 'ไม่มีการเชื่อมต่ออินเทอร์เน็ต การค้นหาต้องใช้เครือข่าย',
|
||||
'search.fillFrom': 'กรอกข้อมูลจากฐานข้อมูล',
|
||||
'search.openSettings': 'เปิดตั้งค่า',
|
||||
'search.already': 'เพิ่มแล้ว',
|
||||
'search.noResults': 'ไม่พบผลลัพธ์ คุณกรอกข้อมูลเองได้ด้านล่าง',
|
||||
'search.privacy': 'จะส่งเฉพาะชื่อเรื่องที่ค้นหาไปยัง {source} เท่านั้น คลังของคุณยังอยู่ในโทรศัพท์ของคุณ',
|
||||
|
||||
'catalog.sortRecent': 'แก้ไขล่าสุด',
|
||||
'catalog.sortWatched': 'วันที่ดู',
|
||||
'catalog.sortRating': 'คะแนนสูงสุด',
|
||||
'catalog.sortTitle': 'ชื่อเรื่อง (A→Z)',
|
||||
'catalog.pageTitle': 'คลัง',
|
||||
'catalog.pageAccent': 'ของฉัน',
|
||||
'catalog.journalSubtitle': 'ประวัติการดูของคุณ',
|
||||
'catalog.filteredCount_one': '{count} เรื่อง (กรองแล้ว)',
|
||||
'catalog.filteredCount_other': '{count} เรื่อง (กรองแล้ว)',
|
||||
'catalog.titles': 'เรื่อง',
|
||||
'catalog.journal': 'บันทึก',
|
||||
'catalog.lists': 'ลิสต์',
|
||||
'catalog.searchPh': 'ชื่อเรื่อง แนว แพลตฟอร์ม…',
|
||||
'catalog.moreFilters': 'ตัวกรองเพิ่มเติม',
|
||||
'catalog.all': 'ทั้งหมด',
|
||||
'catalog.genre': 'แนว',
|
||||
'catalog.minRating': 'คะแนนขั้นต่ำ',
|
||||
'catalog.allRatings': 'ทั้งหมด',
|
||||
'catalog.sortBy': 'เรียงตาม',
|
||||
'catalog.favorites': 'เรื่องโปรด',
|
||||
'catalog.reset': 'รีเซ็ต',
|
||||
'catalog.noResults': 'ไม่พบผลลัพธ์',
|
||||
'catalog.nothingYet': 'ยังไม่มีอะไรที่นี่',
|
||||
'catalog.noResultsHint': 'ลองค้นหาคำอื่นหรือนำตัวกรองบางอย่างออก',
|
||||
'catalog.nothingYetHint': 'เพิ่มเรื่องแรกของคุณด้วยปุ่ม +',
|
||||
'catalog.clearFilters': 'ล้างตัวกรอง',
|
||||
|
||||
'public.agree': 'ตรงกับความเห็นของผู้ชมพอดี',
|
||||
'public.more': 'สูงกว่าผู้ชม +{gap}',
|
||||
'public.less': 'ต่ำกว่าผู้ชม −{gap}',
|
||||
'public.label': 'ผู้ชม',
|
||||
'public.me': 'ฉัน',
|
||||
'public.added_one': 'เพิ่มคะแนนจากผู้ชม {count} รายการแล้ว',
|
||||
'public.added_other': 'เพิ่มคะแนนจากผู้ชม {count} รายการแล้ว',
|
||||
'public.noneFound': 'ไม่พบคะแนนใหม่',
|
||||
'public.fetch': 'ดึงข้อมูล ({n})',
|
||||
'public.title': 'ฉัน vs ผู้ชม',
|
||||
'public.hintFetch': 'ดึงคะแนนเฉลี่ยจาก TMDB / AniList ของเรื่องที่คุณให้คะแนนแล้ว เพื่อดูว่าคุณมีมุมมองต่างจากผู้ชมตรงไหน',
|
||||
'public.hintNone': 'ไม่มีคะแนนจากผู้ชมสำหรับเรื่องที่คุณให้คะแนนในช่วงเวลานี้',
|
||||
'public.hintKey': 'เพิ่มคีย์ TMDB ในตั้งค่า (หรือเชื่อมอนิเมะกับ AniList) เพื่อเปรียบเทียบกับผู้ชม',
|
||||
'public.avgGap': 'ส่วนต่างเฉลี่ย',
|
||||
'public.average': 'อยู่ในค่าเฉลี่ย',
|
||||
'public.generous': 'ใจดีกว่าผู้ชม',
|
||||
'public.harsh': 'โหดกว่าผู้ชม',
|
||||
'public.agreeTitle': 'เห็นตรงกัน',
|
||||
'public.within5_one': 'ต่างกันไม่เกิน ½ ดาว จาก {count} เรื่อง',
|
||||
'public.within5_other': 'ต่างกันไม่เกิน ½ ดาว จาก {count} เรื่อง',
|
||||
'public.within10_one': 'ต่างกันไม่เกิน 1 คะแนน จาก {count} เรื่อง',
|
||||
'public.within10_other': 'ต่างกันไม่เกิน 1 คะแนน จาก {count} เรื่อง',
|
||||
'public.lovedPre': 'ฉัน',
|
||||
'public.lovedAccent': 'ชอบมากกว่า',
|
||||
'public.lovedPost': 'ผู้ชม',
|
||||
'public.hatedPre': 'ฉัน',
|
||||
'public.hatedAccent': 'ชอบน้อยกว่า',
|
||||
'public.hatedPost': 'ผู้ชม',
|
||||
'public.allAgree': 'คุณเห็นตรงกับผู้ชมในทุกเรื่อง หายากมาก!',
|
||||
|
||||
'form.rewatchHint': 'ดูซ้ำอีกรอบใช่ไหม? บันทึกการดูซ้ำแต่ละครั้งไว้ แล้วจะแสดงในบันทึกการดูของคุณ',
|
||||
'form.editTitle': 'แก้ไข',
|
||||
'form.editAccent': 'รายการ',
|
||||
'form.newTitle': 'เรื่อง',
|
||||
'form.newAccent': 'ใหม่',
|
||||
'form.filledFrom': 'กรอกจาก',
|
||||
'form.canEdit': 'คุณแก้ไขได้ทุกอย่าง',
|
||||
'form.fillFromDb': 'เติมข้อมูลจาก TMDB / AniList',
|
||||
'form.pickPoster': 'เลือกโปสเตอร์',
|
||||
'form.removeImage': 'นำภาพออก',
|
||||
'form.title': 'ชื่อเรื่อง *',
|
||||
'form.titlePh': 'เช่น Your Name',
|
||||
'form.originalTitle': 'ชื่อเรื่องต้นฉบับ',
|
||||
'form.originalTitlePh': 'เช่น 君の名は。',
|
||||
'form.synopsis': 'เรื่องย่อ',
|
||||
'form.type': 'ประเภท',
|
||||
'form.subtype': 'ประเภทย่อย',
|
||||
'form.subtypePh': 'สารคดี เรียลลิตี้…',
|
||||
'form.status': 'สถานะ',
|
||||
'form.myRating': 'คะแนนของฉัน',
|
||||
'form.favorite': 'เรื่องโปรด',
|
||||
'form.criteria': 'เกณฑ์แบบละเอียด (ไม่บังคับ)',
|
||||
'form.episodes': 'ตอน',
|
||||
'form.minusEp': '-1 ตอน',
|
||||
'form.plusEp': '+1 ตอน',
|
||||
'form.total': 'ทั้งหมด',
|
||||
'form.season': 'ซีซัน',
|
||||
'form.duration': 'ความยาว',
|
||||
'form.durationMin': 'ความยาว (นาที)',
|
||||
'form.year': 'ปี',
|
||||
'form.platform': 'แพลตฟอร์ม',
|
||||
'form.genres': 'แนว / แท็ก',
|
||||
'form.genresPh': 'โรแมนติก ไซไฟ…',
|
||||
'form.rewatches': 'การดูซ้ำ',
|
||||
'form.review': 'รีวิวของฉัน',
|
||||
'form.reviewPh': 'ความรู้สึกหลังดู ฉากที่ประทับใจ…',
|
||||
'form.saveChanges': 'บันทึกการเปลี่ยนแปลง',
|
||||
'form.addToLibrary': 'เพิ่มลงในคลังของฉัน',
|
||||
'form.shareImage': 'แชร์เป็นภาพ',
|
||||
'form.delete': 'ลบเรื่องนี้',
|
||||
'form.deleteConfirm': '“{title}” จะถูกลบอย่างถาวร',
|
||||
'form.removeRewatch': 'นำการดูซ้ำนี้ออก',
|
||||
'form.rewatchDate': 'วันที่ดูซ้ำ',
|
||||
|
||||
'journal.rewatched': 'ดูซ้ำ',
|
||||
'journal.started': 'เริ่มดู',
|
||||
'journal.emptyTitle': 'บันทึกว่าง',
|
||||
'journal.emptyText': 'การดูของคุณจะแสดงที่นี่เมื่อรายการต่าง ๆ มีวันที่เริ่มหรือวันที่ดูจบ',
|
||||
'journal.seen_one': 'ดูแล้ว {count} เรื่อง',
|
||||
'journal.seen_other': 'ดูแล้ว {count} เรื่อง',
|
||||
'journal.more': 'แสดงเดือนก่อนหน้า',
|
||||
|
||||
'stats.overview': 'ภาพรวม',
|
||||
'stats.habits': 'พฤติกรรม',
|
||||
'stats.tastes': 'รสนิยม',
|
||||
'stats.pageTitle': 'สถิติ',
|
||||
'stats.pageAccent': 'ของฉัน',
|
||||
'stats.emptyTitle': 'ยังไม่มีสถิติ',
|
||||
'stats.emptyText': 'สถิติจะแสดงเมื่อคุณเพิ่มเรื่องแล้ว',
|
||||
'stats.sinceStart': 'ตั้งแต่เริ่มต้น',
|
||||
'stats.subtitle_one': '{count} เรื่องในคลังของฉัน',
|
||||
'stats.subtitle_other': '{count} เรื่องในคลังของฉัน',
|
||||
'stats.subtitleYear_one': '{count} เรื่องในปี {year}',
|
||||
'stats.subtitleYear_other': '{count} เรื่องในปี {year}',
|
||||
'stats.hours_one': 'ชั่วโมง',
|
||||
'stats.hours_other': 'ชั่วโมง',
|
||||
'stats.nonStopPre': 'เท่ากับ ',
|
||||
'stats.nonStopPost': ' แบบไม่หยุดพัก',
|
||||
'stats.days_one': '{count} วัน',
|
||||
'stats.days_other': '{count} วัน',
|
||||
'stats.finishedN_one': 'ดูจบ {count} เรื่อง',
|
||||
'stats.finishedN_other': 'ดูจบ {count} เรื่อง',
|
||||
'stats.episodesN_one': '{count} ตอน',
|
||||
'stats.episodesN_other': '{count} ตอน',
|
||||
'stats.timeByType': 'เวลาตามประเภท',
|
||||
'stats.noTime': 'ยังไม่มีเวลาที่บันทึกในช่วงนี้',
|
||||
'stats.avgRating': 'คะแนนเฉลี่ย',
|
||||
'stats.rated_one': 'ให้คะแนนแล้ว {count} เรื่อง',
|
||||
'stats.rated_other': 'ให้คะแนนแล้ว {count} เรื่อง',
|
||||
'stats.inYear': 'ในปี {year}',
|
||||
'stats.statuses': 'สถานะ',
|
||||
'stats.hoursTab': 'ชั่วโมง',
|
||||
'stats.monthByMonth': 'รายเดือน · {year}',
|
||||
'stats.last12': '12 เดือนที่ผ่านมา',
|
||||
'stats.monthFinished_one': 'ดูจบ {count} เรื่อง',
|
||||
'stats.monthFinished_other': 'ดูจบ {count} เรื่อง',
|
||||
'stats.busiest': 'เดือนที่ดูมากที่สุด:',
|
||||
'stats.records': 'สถิติสูงสุด',
|
||||
'stats.marathon': 'มาราธอนที่ยาวที่สุด',
|
||||
'stats.longestFilm': 'ภาพยนตร์ที่ยาวที่สุด',
|
||||
'stats.noRecords': 'ยังไม่มีสถิติสูงสุดในช่วงนี้',
|
||||
'stats.platforms': 'แพลตฟอร์ม',
|
||||
'stats.bestRated': 'เรื่องที่ฉันให้คะแนนสูงสุด',
|
||||
'stats.myRatings': 'คะแนนของฉัน',
|
||||
'stats.noRatings': 'ไม่มีคะแนนในช่วงนี้',
|
||||
'stats.favGenres': 'แนวที่ชอบ',
|
||||
'stats.noGenres': 'ยังไม่มีแนว',
|
||||
'stats.countries': 'ประเทศ',
|
||||
'stats.noCountry_one': '{count} เรื่องยังไม่มีประเทศ เติมข้อมูลได้ด้วย “เติมข้อมูลจาก TMDB / AniList” ในหน้าของเรื่องนั้น',
|
||||
'stats.noCountry_other': '{count} เรื่องยังไม่มีประเทศ เติมข้อมูลได้ด้วย “เติมข้อมูลจาก TMDB / AniList” ในหน้าของแต่ละเรื่อง',
|
||||
'stats.noCountryLegacy_one': '{count} เรื่องยังไม่มีประเทศ เติมข้อมูลได้ด้วย “เติมข้อมูลจาก TMDB / AniList” ในหน้าของเรื่องนั้น หรือนำเข้าข้อมูลสำรองจากแอปเก่าอีกครั้ง (“รวม”)',
|
||||
'stats.noCountryLegacy_other': '{count} เรื่องยังไม่มีประเทศ เติมข้อมูลได้ด้วย “เติมข้อมูลจาก TMDB / AniList” ในหน้าของแต่ละเรื่อง หรือนำเข้าข้อมูลสำรองจากแอปเก่าอีกครั้ง (“รวม”)',
|
||||
'stats.byType': 'ตามประเภท',
|
||||
'stats.footnote': 'เวลาประมาณจากจำนวนตอนที่ดูและความยาวที่กรอกไว้ (หากไม่มี: ภาพยนตร์ 1 ชม. 50 นาที, อนิเมะตอนละ 24 นาที, ซีรีส์ 45 นาที, ซีรีส์เกาหลี 1 ชม., ซีรีส์จีน 45 นาที) แต่ละเรื่องนับในปีที่ฉันดูจบ',
|
||||
'stats.ratedAs_one': 'ได้คะแนน {rating}',
|
||||
'stats.ratedAs_other': 'ได้คะแนน {rating}',
|
||||
|
||||
'backup.shareTitle': 'ข้อมูลสำรอง AzuuCine',
|
||||
'backup.tooBig': 'ไฟล์ใหญ่เกินไป (สูงสุด 30 MB)',
|
||||
'backup.notJson': 'ไฟล์นี้ไม่ใช่ JSON ที่ถูกต้อง',
|
||||
'backup.noItems': 'ไม่พบรายการในไฟล์นี้',
|
||||
'backup.tooMany': 'รายการมากเกินไป (สูงสุด {n} รายการ)',
|
||||
|
||||
'image.canvas': 'ใช้ Canvas ไม่ได้',
|
||||
'image.unreadable': 'อ่านภาพไม่ได้',
|
||||
'image.notImage': 'ไฟล์นี้ไม่ใช่ภาพ',
|
||||
'image.tooBig': 'ภาพใหญ่เกินไป (สูงสุด 25 MB)',
|
||||
|
||||
'social.err.server': 'เซิร์ฟเวอร์ตอบกลับ {status}',
|
||||
'social.err.usernameTaken': 'ชื่อผู้ใช้นี้มีคนใช้แล้ว',
|
||||
'social.err.usernameReserved': 'ชื่อผู้ใช้นี้ใช้ไม่ได้',
|
||||
'social.err.invalid': 'มีค่าบางอย่างไม่ถูกต้อง',
|
||||
'social.inLibrary': 'อยู่ในคลังของฉัน',
|
||||
'social.addToWatch': 'เพิ่มในอยากดู',
|
||||
'social.linkCopied': 'คัดลอกลิงก์แล้ว!',
|
||||
'social.profile': 'โปรไฟล์',
|
||||
'social.shareProfile': 'แชร์โปรไฟล์',
|
||||
'social.loading': 'กำลังโหลด…',
|
||||
'social.loadError': 'โหลดโปรไฟล์ไม่ได้',
|
||||
'social.notFound': 'ไม่พบโปรไฟล์',
|
||||
'social.notFoundHint': 'ไม่มีโปรไฟล์ชื่อ @{username}',
|
||||
'social.editProfile': 'แก้ไขโปรไฟล์',
|
||||
'social.following': 'กำลังติดตาม',
|
||||
'social.requested': 'ส่งคำขอแล้ว',
|
||||
'social.followBack': 'ติดตามกลับ',
|
||||
'social.follow': 'ติดตาม',
|
||||
'social.private': 'บัญชีส่วนตัว',
|
||||
'social.followsYou': 'ติดตามคุณ',
|
||||
'social.seen': 'ดูแล้ว',
|
||||
'social.followers_one': 'ผู้ติดตาม',
|
||||
'social.followers_other': 'ผู้ติดตาม',
|
||||
'social.followingCount_one': 'กำลังติดตาม',
|
||||
'social.followingCount_other': 'กำลังติดตาม',
|
||||
'social.requests_one': 'คำขอติดตาม {count} รายการ',
|
||||
'social.requests_other': 'คำขอติดตาม {count} รายการ',
|
||||
'social.privateTitle': 'บัญชีนี้เป็นบัญชีส่วนตัว',
|
||||
'social.privateText': 'ติดตามเพื่อดูเรื่องที่เขาดู คะแนน และ Top 5',
|
||||
'social.tabProfile': 'โปรไฟล์',
|
||||
'social.tabLibrary': 'คลัง',
|
||||
'social.cancelRequestTitle': 'ยกเลิกคำขอติดตาม?',
|
||||
'social.unfollowTitle': 'เลิกติดตาม {name}?',
|
||||
'social.unfollowPrivate': 'บัญชีนี้เป็นบัญชีส่วนตัว คุณจะต้องส่งคำขอใหม่เพื่อดูโปรไฟล์อีกครั้ง',
|
||||
'social.cancelRequest': 'ยกเลิกคำขอ',
|
||||
'social.unfollow': 'เลิกติดตาม',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'ดูล่าสุด',
|
||||
'social.noRecent': 'ยังไม่มีเรื่องที่ดูจบ',
|
||||
'social.statYear': 'ดูในปีนี้',
|
||||
'social.statFilms': 'ภาพยนตร์ที่ดูแล้ว',
|
||||
'social.statSeries': 'ซีรีส์และอนิเมะที่ดูแล้ว',
|
||||
'social.emptyLibrary': 'ไม่มีเรื่องที่นี่',
|
||||
'social.loadMore': 'ดูเพิ่มเติม',
|
||||
'social.changeBanner': 'เปลี่ยนแบนเนอร์',
|
||||
'social.changeAvatar': 'เปลี่ยนรูป',
|
||||
'social.removeAvatar': 'นำรูปออก',
|
||||
'social.removeBanner': 'นำแบนเนอร์ออก',
|
||||
'social.displayName': 'ชื่อที่แสดง',
|
||||
'social.username': 'ชื่อผู้ใช้',
|
||||
'social.usernameRule': '3–20 ตัวอักษร: อักษรอังกฤษตัวพิมพ์เล็ก ตัวเลข หรือ _',
|
||||
'social.bio': 'ไบโอ',
|
||||
'social.bioPh': 'สิ่งที่คุณชอบดู แนวที่ชอบ…',
|
||||
'social.privateAccount': 'บัญชีส่วนตัว',
|
||||
'social.privateHint': 'เฉพาะผู้ติดตามที่คุณอนุมัติเท่านั้นที่จะเห็นเรื่องที่คุณดู',
|
||||
'social.publicHint': 'ชื่อ ชื่อผู้ใช้ รูป แบนเนอร์ ไบโอ คะแนน และรีวิวของคุณ สมาชิกคนอื่นมองเห็นได้ ตั้งบัญชีเป็นส่วนตัวเพื่อเลือกว่าใครดูได้บ้าง',
|
||||
'social.requestsTab_one': 'คำขอ',
|
||||
'social.requestsTab_other': 'คำขอ ({count})',
|
||||
'social.noFollowing': 'ยังไม่ได้ติดตามใคร',
|
||||
'social.noFollowers': 'ยังไม่มีผู้ติดตาม',
|
||||
'social.accept': 'ยอมรับ',
|
||||
'social.decline': 'ปฏิเสธ',
|
||||
'social.removeFollower': 'นำออก',
|
||||
'social.findFriends': 'ค้นหาเพื่อน',
|
||||
'social.searchPh': 'ชื่อผู้ใช้หรือชื่อ…',
|
||||
'social.noResults': 'ไม่พบใครที่ตรงกัน',
|
||||
'social.inviteHint': 'เพื่อนของคุณยังไม่ได้ใช้ AzuuCine ใช่ไหม? ส่งลิงก์โปรไฟล์ของคุณให้เลย',
|
||||
'social.shareMyProfile': 'แชร์โปรไฟล์ของฉัน',
|
||||
'social.inviteText': 'มาติดตามฉันบน AzuuCine กัน!',
|
||||
'social.myProfile': 'โปรไฟล์ของฉัน',
|
||||
|
||||
'feed.title': 'กำลังติดตาม',
|
||||
'feed.empty': 'ติดตามเพื่อน ๆ เพื่อดูว่าพวกเขากำลังดูอะไรและคิดอย่างไรกับเรื่องนั้นได้ที่นี่',
|
||||
'feed.finished': 'ดูแล้ว',
|
||||
'feed.started': 'เริ่มดู',
|
||||
'feed.rewatched': 'ดูซ้ำ',
|
||||
'feed.added': 'อยากดู',
|
||||
'feed.review': 'รีวิว',
|
||||
'auth.google': 'ดำเนินการต่อด้วย Google',
|
||||
'auth.or': 'หรือ',
|
||||
'auth.err.google': 'เข้าสู่ระบบด้วย Google ไม่สำเร็จ ลองใหม่อีกครั้ง',
|
||||
'auth.err.storage': 'เบราว์เซอร์ของคุณบล็อกพื้นที่จัดเก็บ จึงเข้าสู่ระบบไม่ได้',
|
||||
'welcome.title': 'ตั้งชื่อผู้ใช้ของคุณ',
|
||||
'welcome.titleA': 'ยินดีต้อนรับสู่',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'ตั้งชื่อผู้ใช้ เพื่อนของคุณจะใช้ชื่อนี้ค้นหาและติดตามคุณ',
|
||||
'welcome.usernamePh': 'ชื่อผู้ใช้ของคุณ',
|
||||
'welcome.namePh': 'ชื่อของคุณ',
|
||||
'welcome.nameHint': 'ไม่บังคับ — แสดงบนโปรไฟล์ของคุณ เปลี่ยนทุกอย่างได้ภายหลัง',
|
||||
'welcome.go': 'ไปกันเลย',
|
||||
'welcome.later': 'ไว้ทีหลัง',
|
||||
'social.watching': 'กำลังดู',
|
||||
'social.watchlist': 'อยากดู',
|
||||
'search.allKinds': 'ภาพยนตร์ ซีรีส์ และอนิเมะ',
|
||||
'search.animeOnly': 'หากไม่มีคีย์ TMDB จะค้นหาได้เฉพาะอนิเมะ',
|
||||
'search.alreadySeries': 'อยู่ในคลังของคุณแล้ว — เปิด',
|
||||
'form.startShort': 'เริ่มดูเมื่อ',
|
||||
'form.endShort': 'ดูจบเมื่อ',
|
||||
'hero.allSeen': 'ดูครบแล้ว',
|
||||
'hero.nextOn': 'ตอนต่อไป {date}',
|
||||
'hero.upToDate': 'ดูทันแล้ว',
|
||||
'hero.seenEp': 'ดู {ep} แล้ว',
|
||||
'hero.seen': 'ดูแล้ว',
|
||||
'hero.markSeen': 'ทำเครื่องหมายว่าดูแล้ว',
|
||||
'hero.edit': 'แก้ไขข้อมูล',
|
||||
'hero.more': 'อ่านเพิ่มเติม',
|
||||
'hero.less': 'ย่อ',
|
||||
'episodes.seasonOption_one': 'ซีซัน {season} · {count} ตอน',
|
||||
'episodes.seasonOption_other': 'ซีซัน {season} · {count} ตอน',
|
||||
'episodes.seen': 'ดูแล้ว {done}/{total}',
|
||||
'episodes.short': 'EP{n}',
|
||||
'episodes.upcoming': '{date}',
|
||||
'episodes.nameless': 'ตอนที่ {n}',
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': 'กำลังดู',
|
||||
'homeHero.next': 'ดูต่อไป',
|
||||
'homeHero.details': 'รายละเอียด',
|
||||
'homeHero.continueRow': 'ดูต่อ',
|
||||
'homeHero.nextUp': 'ต่อไป: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** Türkçe */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'İptal',
|
||||
'common.confirm': 'Onayla',
|
||||
'common.close': 'Kapat',
|
||||
'common.save': 'Kaydet',
|
||||
'common.add': 'Ekle',
|
||||
'common.delete': 'Sil',
|
||||
'common.all': 'Tümü',
|
||||
'common.offline': 'İnternet bağlantısı yok.',
|
||||
'common.minutes': '{n} dk',
|
||||
'common.hours': '{h} sa',
|
||||
'common.hoursMinutes': '{h} sa {m}',
|
||||
'common.daysHours': '{d} g {h} sa',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': '{name} kaldır',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'Düzenle',
|
||||
'common.moveUp': 'Yukarı taşı',
|
||||
'common.moveDown': 'Aşağı taşı',
|
||||
|
||||
'nav.home': 'Ana sayfa',
|
||||
'nav.catalog': 'Katalog',
|
||||
'nav.stats': 'İstatistik',
|
||||
'nav.settings': 'Ayarlar',
|
||||
'nav.addTitle': 'Yapım ekle',
|
||||
|
||||
'type.film': 'Film',
|
||||
'type.serie': 'Dizi',
|
||||
'type.anime': 'Anime',
|
||||
'type.kdrama': 'K-Drama',
|
||||
'type.cdrama': 'C-Drama',
|
||||
'type.autre': 'Diğer',
|
||||
|
||||
'typePlural.film': 'Filmler',
|
||||
'typePlural.serie': 'Diziler',
|
||||
'typePlural.anime': 'Animeler',
|
||||
'typePlural.kdrama': 'K-Dramalar',
|
||||
'typePlural.cdrama': 'C-Dramalar',
|
||||
|
||||
'status.a_voir': 'İzlenecek',
|
||||
'status.en_cours': 'İzleniyor',
|
||||
'status.termine': 'Bitti',
|
||||
'status.pause': 'Ara verildi',
|
||||
'status.abandonne': 'Bırakıldı',
|
||||
|
||||
'criteria.story': 'Senaryo / Hikâye',
|
||||
'criteria.cast': 'Karakterler / Oyuncular',
|
||||
'criteria.direction': 'Yönetmenlik / Animasyon',
|
||||
'criteria.ost': 'Film müziği (OST)',
|
||||
|
||||
'subtype.documentary': 'Belgesel',
|
||||
'subtype.reality': 'Reality şov',
|
||||
'subtype.show': 'TV programı',
|
||||
'subtype.short': 'Kısa film',
|
||||
'subtype.stage': 'Sahne gösterisi',
|
||||
'subtype.miniseries': 'Mini dizi',
|
||||
|
||||
|
||||
'genre.action': 'Aksiyon',
|
||||
'genre.adventure': 'Macera',
|
||||
'genre.comedy': 'Komedi',
|
||||
'genre.drama': 'Dram',
|
||||
'genre.romance': 'Romantik',
|
||||
'genre.romcom': 'Rom-kom',
|
||||
'genre.thriller': 'Gerilim',
|
||||
'genre.horror': 'Korku',
|
||||
'genre.mystery': 'Gizem',
|
||||
'genre.crime': 'Suç',
|
||||
'genre.scifi': 'Bilim kurgu',
|
||||
'genre.fantasy': 'Fantastik',
|
||||
'genre.historical': 'Tarihî',
|
||||
'genre.sliceOfLife': 'Slice of Life',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'Spor',
|
||||
'genre.musical': 'Müzikal',
|
||||
'genre.medical': 'Tıbbi',
|
||||
'genre.legal': 'Hukuk',
|
||||
'genre.wuxia': 'Wuxia',
|
||||
'genre.xianxia': 'Xianxia',
|
||||
'genre.family': 'Aile',
|
||||
'genre.animation': 'Animasyon',
|
||||
'genre.psychological': 'Psikolojik',
|
||||
'genre.supernatural': 'Doğaüstü',
|
||||
'genre.romanticComedy': 'Romantik komedi',
|
||||
'genre.documentary': 'Belgesel',
|
||||
'genre.war': 'Savaş',
|
||||
'genre.western': 'Western',
|
||||
'genre.music': 'Müzik',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'Çocuk',
|
||||
'genre.news': 'Haber',
|
||||
'genre.reality': 'Reality şov',
|
||||
'genre.talk': 'Talk show',
|
||||
'genre.soap': 'Pembe dizi',
|
||||
'genre.politics': 'Siyaset',
|
||||
'genre.tvMovie': 'TV filmi',
|
||||
'genre.anime': 'Anime',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'Emin misin?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB isteği reddedildi.',
|
||||
'err.tmdbKeyRefused': 'TMDB anahtarı reddedildi. Ayarlar’dan kontrol et.',
|
||||
'err.tmdbStatus': 'TMDB yanıtı: {status}.',
|
||||
'err.tmdbRef': 'Geçersiz TMDB referansı.',
|
||||
'err.anilistRate': 'AniList istekleri sınırlıyor, bir dakika sonra tekrar dene.',
|
||||
'err.anilistStatus': 'AniList yanıtı: {status}.',
|
||||
'err.searchRate': 'Çok fazla arama yapıldı, birkaç dakika sonra tekrar dene.',
|
||||
|
||||
'anilist.short': 'Kısa anime',
|
||||
'anilist.movie': 'Animasyon filmi',
|
||||
'anilist.special': 'Özel bölüm',
|
||||
'anilist.music': 'Müzik klibi',
|
||||
|
||||
'release.cinema': 'Sinemalarda',
|
||||
'release.online': 'VOD / dijital platformda',
|
||||
'release.release': 'Yayın',
|
||||
'release.season': '{season}. Sezon',
|
||||
'release.episode': '{ep}. Bölüm',
|
||||
'release.newEpisode': 'Yeni bölüm',
|
||||
'release.firstEpisode': 'İlk bölüm',
|
||||
'release.newSeriesN': 'Yeni dizi · {count} bölüm',
|
||||
'release.seasonN': '{season}. Sezon · {count} bölüm',
|
||||
'release.seasonEp1': '{season}. Sezon · 1. Bölüm',
|
||||
'release.episodes': 'Bölüm {first}–{last}',
|
||||
'release.sEpisodes': 'S{season} · Bölüm {first}–{last}',
|
||||
'release.sEpisode': 'S{season} · {ep}. Bölüm',
|
||||
'release.episodeFinal': '{ep}. Bölüm · final',
|
||||
'release.filmJapan': 'Japonya’da film',
|
||||
|
||||
'card.ep': 'Böl. {n}',
|
||||
'card.plusOne': '{title} için +1 bölüm',
|
||||
'card.open': '{title} aç',
|
||||
|
||||
'rating.outOf10': '10 üzerinden puan',
|
||||
'rating.outOf5': '5 üzerinden puan',
|
||||
'rating.stars_one': '{count} yıldız',
|
||||
'rating.stars_other': '{count} yıldız',
|
||||
'rating.clear': 'Puanı sil',
|
||||
|
||||
'share.previewLabel': 'Görsel önizlemesi',
|
||||
'share.preview': 'Önizleme',
|
||||
'share.posterAlt': '{title} afişi',
|
||||
'share.share': 'Paylaş',
|
||||
'share.saveImage': 'Görseli kaydet',
|
||||
'share.err.create': 'Görsel oluşturulamadı',
|
||||
'share.minutesLong': '{n} dakika',
|
||||
'share.createdBy': 'Yaratıcı',
|
||||
'share.directedBy': 'Yönetmen',
|
||||
'share.producedBy': 'Yapımcı',
|
||||
'share.starring': 'Oyuncular',
|
||||
'share.genres': 'Türler',
|
||||
'share.myRating': 'Puanım',
|
||||
'share.myTop': 'Top listem',
|
||||
|
||||
'auth.hidePassword': 'Şifreyi gizle',
|
||||
'auth.showPassword': 'Şifreyi göster',
|
||||
'auth.mismatch': 'Şifreler aynı değil.',
|
||||
'auth.created': 'Hesap oluşturuldu! Etkinleştirmek için {email} adresine gönderilen bağlantıyı aç, sonra giriş yap.',
|
||||
'auth.resetSent': 'Bu adresle bir hesap varsa, yeni şifre belirlemen için bir bağlantı gönderdik.',
|
||||
'auth.tagline': 'Film, dizi, anime ve dramalar için izleme günlüğün.',
|
||||
'auth.loginTab': 'Giriş',
|
||||
'auth.signupTab': 'Hesap oluştur',
|
||||
'auth.forgotTitle': 'Şifremi unuttum',
|
||||
'auth.email': 'E-posta adresi',
|
||||
'auth.password': 'Şifre',
|
||||
'auth.confirmPassword': 'Şifreyi onayla',
|
||||
'auth.minChars': 'En az {n} karakter.',
|
||||
'auth.login': 'Giriş yap',
|
||||
'auth.signup': 'Hesabımı oluştur',
|
||||
'auth.sendLink': 'Bağlantı gönder',
|
||||
'auth.forgot': 'Şifreni mi unuttun?',
|
||||
'auth.backToLogin': 'Girişe dön',
|
||||
'auth.privacy': 'Hesabın kütüphaneni güvende tutar. Profilin (izlediğin yapımlar, puanlar ve yorumlar) gizli yapmadığın sürece üyelere görünür; listelerin ve ayarların gizli kalır. Uygulama internetsiz de çalışsın diye her şey cihazında da saklanır.',
|
||||
'auth.newPasswordTitle': 'Yeni şifreni seç.',
|
||||
'auth.newPassword': 'Yeni şifre',
|
||||
'auth.err.credentials': 'E-posta veya şifre hatalı.',
|
||||
'auth.err.notConfirmed': 'Önce e-postayla gelen bağlantıyla adresini onayla.',
|
||||
'auth.err.exists': 'Bu e-postayla zaten bir hesap var.',
|
||||
'auth.err.weak': 'Şifre çok zayıf (en az {n} karakter, harf ve rakam karışık).',
|
||||
'auth.err.samePassword': 'Yeni şifren eskisinden farklı olmalı.',
|
||||
'auth.err.emailRate': 'Çok fazla istek. Birkaç dakika sonra tekrar dene.',
|
||||
'auth.err.rate': 'Çok fazla deneme. Birkaç dakika sonra tekrar dene.',
|
||||
'auth.err.signupDisabled': 'Kayıtlar şu an kapalı.',
|
||||
'auth.err.emailInvalid': 'Geçersiz e-posta adresi.',
|
||||
'auth.err.invalid': 'Geçersiz e-posta adresi veya şifre.',
|
||||
'auth.err.session': 'Oturumun sona erdi, tekrar giriş yap.',
|
||||
'auth.err.status': 'Sunucu isteği reddetti ({status}).',
|
||||
'auth.err.response': 'Geçersiz sunucu yanıtı.',
|
||||
'auth.err.linkExpired': 'Bu bağlantının süresi doldu. Yenisini iste.',
|
||||
'auth.err.linkUsed': 'Bu bağlantı geçersiz ya da zaten kullanılmış.',
|
||||
'auth.err.linkInvalid': 'Bu bağlantı geçersiz.',
|
||||
|
||||
'settings.language': 'Dil',
|
||||
'settings.langAuto': 'Otomatik ({lang})',
|
||||
'settings.backupShared': 'Yedek paylaşıldı.',
|
||||
'settings.backupDownloaded': 'Yedek indirildi.',
|
||||
'settings.exportFailed': 'Dışa aktarma başarısız oldu.',
|
||||
'settings.noValidItems': 'Dosyada geçerli kayıt yok.',
|
||||
'settings.imported_one': '{count} kayıt içe aktarıldı.',
|
||||
'settings.imported_other': '{count} kayıt içe aktarıldı.',
|
||||
'settings.importedSkipped': '{n} kayıt içe aktarıldı, {skipped} atlandı.',
|
||||
'settings.cleared': 'Kütüphane temizlendi.',
|
||||
'settings.pageTitle': 'Benim ',
|
||||
'settings.pageAccent': 'ayarlarım',
|
||||
'settings.languageHint': 'Uygulamanın, tarihlerin ve TMDB’den alınan bilgilerin (başlıklar, özetler) dili.',
|
||||
'settings.rating': 'Puanlama',
|
||||
'settings.scale5': '5 üzerinden ★',
|
||||
'settings.scale10': '10 üzerinden',
|
||||
'settings.ratingHint': '5 üzerinden yarım yıldız ya da 10 üzerinden 0,5 adım. Mevcut puanlar otomatik dönüştürülür.',
|
||||
'settings.theme': 'Tema',
|
||||
'settings.appearance': 'Görünüm',
|
||||
'settings.appearanceHint': '“Otomatik” tarayıcını izler (açık veya koyu).',
|
||||
'theme.modeAuto': 'Otomatik',
|
||||
'theme.modeLight': 'Açık',
|
||||
'theme.modeDark': 'Koyu',
|
||||
'theme.modeNight': 'Gece',
|
||||
'theme.modeStarfield': 'Yıldızlı',
|
||||
'settings.accentColor': 'Vurgu rengi',
|
||||
'settings.installApp': 'Uygulamayı yükle',
|
||||
'settings.installHint': 'AzuuCine’i ana ekranına veya masaüstüne ekle.',
|
||||
'settings.installed': 'Uygulama yüklendi',
|
||||
'settings.notifs': 'Bildirimler',
|
||||
'settings.notifsHint': 'Zili neyin tetikleyeceğini seç.',
|
||||
'settings.notifEpisodes': 'Yeni bölümler',
|
||||
'settings.notifFollows': 'Yeni takipçiler',
|
||||
'settings.notifAccepted': 'Kabul edilen istekler',
|
||||
'settings.notifReactions': 'Yorumlarıma tepkiler',
|
||||
'notif.new_episode': '{title} yeni bölüm',
|
||||
'notif.new_season': '{title} yeni sezon',
|
||||
'reviews.title': 'Yorumlar',
|
||||
'reviews.friends': 'Arkadaşların',
|
||||
'reviews.others': 'Diğer üyeler',
|
||||
'reviews.noneFriends': 'Arkadaşlarından yorum yok',
|
||||
'reviews.noneOthers': 'Başka yorum yok',
|
||||
'reviews.none': 'Henüz yorum yok',
|
||||
'reviews.seeAll': 'Tüm yorumları gör',
|
||||
'reviews.react': 'Tepki ver',
|
||||
'notif.title': 'Bildirimler',
|
||||
'notif.empty': 'Bildirim yok',
|
||||
'notif.someone': 'Biri',
|
||||
'notif.follow_request': 'seni takip etmek istiyor',
|
||||
'notif.follow_accepted': 'isteğini kabul etti',
|
||||
'notif.new_follower': 'seni takip etmeye başladı',
|
||||
'notif.reaction': 'yorumuna tepki verdi',
|
||||
'notif.on': '{title} için',
|
||||
'home.notifications': 'Bildirimler',
|
||||
'home.notificationsN': '{count} bildirim',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'AzuuCine’i yükle',
|
||||
'install.ios': 'AzuuCine’i Safari’de aç.\nPaylaş düğmesine dokun (yukarı oklu kare).\n“Ana Ekrana Ekle” ve ardından “Ekle” seç.',
|
||||
'install.android': 'AzuuCine’i Chrome’da aç.\nSağ üstteki ⋮ menüsüne dokun.\n“Ana ekrana ekle” (veya “Uygulamayı yükle”) seç.',
|
||||
'install.desktop': 'Adres çubuğunda sağdaki yükleme simgesine tıkla (oklu ekran).\nVeya: tarayıcı ⋮ menüsü → “AzuuCine’i yükle”.\n“Yükle” ile onayla.',
|
||||
'install.other': 'Tarayıcının menüsünü aç.\n“Uygulamayı yükle” veya “Ana ekrana ekle” seçeneğini ara.',
|
||||
'install.gotIt': 'Anladım',
|
||||
'settings.themeX': '{name} tema',
|
||||
'settings.pickColor': 'Özel renk seç',
|
||||
'settings.freeColor': 'Özel renk',
|
||||
'settings.freeColorHint': 'Her renk olur: yazı okunaklı kalacak şekilde ayarlanır.',
|
||||
'settings.databases': 'Film veritabanları',
|
||||
'settings.anilistActive': 'Anime · etkin',
|
||||
'settings.noConfig': 'Kurulum gerekmez.',
|
||||
'settings.tmdbActive': 'Film ve dizi · etkin',
|
||||
'settings.checking': 'Kontrol ediliyor…',
|
||||
'settings.offline': 'Çevrimdışı',
|
||||
'settings.proxyMissingKey': 'TMDB anahtarı eksik',
|
||||
'settings.proxyNotDeployed': 'Sunucu kurulmamış',
|
||||
'settings.unavailable': 'Kullanılamıyor',
|
||||
'settings.proxyMissingKeyHint': 'Sunucu fonksiyonu hazır ama TMDB anahtarın kayıtlı değil (Supabase’de TMDB_API_KEY secret’ı) ya da TMDB onu reddediyor.',
|
||||
'settings.proxyNotDeployedHint': '“tmdb” fonksiyonu henüz Supabase’e yüklenmedi (bkz. README → Hesaplar, 5. adım).',
|
||||
'settings.proxyErrorHint': 'Sunucu şu an düzgün yanıt vermiyor.',
|
||||
'settings.proxyOkHint': 'Uygulamanın sunucusu sağlıyor: anahtar girmene gerek yok.',
|
||||
'settings.recheck': 'Tekrar kontrol et',
|
||||
'settings.keyRefused': 'Anahtar reddedildi',
|
||||
'settings.notConfigured': 'Kurulmadı',
|
||||
'settings.tmdbHelp': 'Filmler, diziler, K-dramalar, C-dramalar. themoviedb.org’da ücretsiz bir hesap aç, sonra Ayarlar → API’ye git ve “API Anahtarı” ya da “API Okuma Erişim Token’ı” değerini yapıştır.',
|
||||
'settings.tmdbKey': 'TMDB anahtarı',
|
||||
'settings.hideKey': 'Anahtarı gizle',
|
||||
'settings.showKey': 'Anahtarı göster',
|
||||
'settings.validate': 'Onayla',
|
||||
'settings.remove': 'Kaldır',
|
||||
'settings.keyLocal': 'Anahtar bu cihazda kalır ve yedeklere asla eklenmez.',
|
||||
'settings.topHint': 'Ana sayfada gösterilen kategoriler.',
|
||||
'settings.topNone': 'Kategori yok: Top 5 bölümü gizli.',
|
||||
'settings.backup': 'Yedekleme',
|
||||
'settings.export': 'Verilerimi dışa aktar',
|
||||
'settings.exportHint_one': '{count} kayıt · JSON dosyası, bunu düzenli yap',
|
||||
'settings.exportHint_other': '{count} kayıt · JSON dosyası, bunu düzenli yap',
|
||||
'settings.import': 'Yedek içe aktar',
|
||||
'settings.importHint': '.json dosyasından geri yükle',
|
||||
'settings.legacyDetected': 'Eski uygulamanın yedeği algılandı',
|
||||
'settings.found_one': '{count} kayıt bulundu. Nasıl içe aktarılsın?',
|
||||
'settings.found_other': '{count} kayıt bulundu. Nasıl içe aktarılsın?',
|
||||
'settings.foundSkipped': '{n} kayıt bulundu ({skipped} geçersiz kayıt atlandı). Nasıl içe aktarılsın?',
|
||||
'settings.merge': 'Birleştir',
|
||||
'settings.replaceAll': 'Tümünü değiştir',
|
||||
'settings.mergeHint': '“Birleştir” kayıtları ekler ve zaten var olanları (aynı kimlik) günceller.',
|
||||
'settings.storage': 'Depolama',
|
||||
'settings.used': 'Kullanılan alan',
|
||||
'settings.storageCloud': 'Verilerin hesabına kaydedilir ve uygulama internetsiz de çalışsın diye bu cihazda da saklanır. İnternete bağlandığında otomatik olarak senkronize olur.',
|
||||
'settings.storageLocal': 'Verilerin yalnızca bu tarayıcıda, bu cihazda saklanır. Tarayıcı verilerini silersen ya da uygulamayı kaldırırsan kaybolur: düzenli olarak yedek al.',
|
||||
'settings.danger': 'Tehlikeli bölge',
|
||||
'settings.clearAll': 'Tüm kütüphaneyi sil',
|
||||
'settings.clearAllHint_one': '{count} yapım',
|
||||
'settings.clearAllHint_other': '{count} yapım',
|
||||
'settings.clearAllHintCloud_one': '{count} yapım · tüm cihazlarında',
|
||||
'settings.clearAllHintCloud_other': '{count} yapım · tüm cihazlarında',
|
||||
'settings.deleting': 'Siliniyor…',
|
||||
'settings.deleteAccount': 'Hesabımı sil',
|
||||
'settings.deleteAccountHint': 'Hesap ve veriler kalıcı olarak silinir',
|
||||
'settings.footerCloud': 'senkronize hesap',
|
||||
'settings.footerLocal': '%100 yerel',
|
||||
'settings.clearConfirm_one': '{count} yapım kalıcı olarak silinecek. Önce yedek almayı unutma.',
|
||||
'settings.clearConfirm_other': '{count} yapımın kalıcı olarak silinecek. Önce yedek almayı unutma.',
|
||||
'settings.clearConfirmCloud_one': '{count} yapım tüm cihazlarında kalıcı olarak silinecek. Önce yedek almayı unutma.',
|
||||
'settings.clearConfirmCloud_other': '{count} yapımın tüm cihazlarında kalıcı olarak silinecek. Önce yedek almayı unutma.',
|
||||
'settings.clearAllConfirm': 'Her şeyi sil',
|
||||
'settings.deleteAccountTitle': 'Hesabın silinsin mi?',
|
||||
'settings.deleteAccountMessage': 'Hesabın ve tüm verilerin (yapımlar, listeler, ayarlar) sunucudan ve bu cihazdan kalıcı olarak silinecek. Önce yedek almayı unutma. Bu işlem geri alınamaz.',
|
||||
'settings.deleteForever': 'Kalıcı olarak sil',
|
||||
'settings.replaceConfirm': 'Mevcut kütüphanenin tamamı bu dosyanın içeriğiyle değiştirilecek.',
|
||||
'settings.replace': 'Değiştir',
|
||||
|
||||
'sync.err.push': 'Gönderim reddedildi ({status})',
|
||||
'sync.err.pull': 'İndirme reddedildi ({status})',
|
||||
|
||||
'store.dbError': 'Yerel veritabanı açılamadı: {error}',
|
||||
'store.invalidItem': 'Geçersiz kayıt',
|
||||
|
||||
'lists.newList': 'Yeni liste',
|
||||
'lists.newListPh': 'Yeni liste…',
|
||||
'lists.myLists': 'Listelerim',
|
||||
'lists.rename': 'Yeniden adlandır',
|
||||
'lists.delete': 'Listeyi sil',
|
||||
'lists.done': 'Bitti',
|
||||
'lists.addRemove': 'Yapım ekle / çıkar',
|
||||
'lists.searchLibrary': 'Kütüphanemde ara…',
|
||||
'lists.emptyTitle': 'Liste boş',
|
||||
'lists.emptyText': 'Yukarıdaki butonla ya da bir yapımın sayfasından ekleme yap.',
|
||||
'lists.deleteConfirm': '“{name}” listesi silinecek. Yapımlar kütüphanende kalır.',
|
||||
'lists.noneTitle': 'Henüz liste yok',
|
||||
'lists.noneText': 'Kendi listelerini oluştur: “Arkadaşlarla izlenecekler”, “Ekim korku filmleri”, “İçimi ısıtan dramalar”…',
|
||||
'lists.create': 'Oluştur',
|
||||
|
||||
'account.err.deleteRate': 'Çok fazla deneme, bir dakika sonra tekrar dene.',
|
||||
'account.err.delete': 'Silme başarısız oldu. Daha sonra tekrar dene.',
|
||||
'account.title': 'Hesabım',
|
||||
'account.syncing': 'Senkronize ediliyor…',
|
||||
'account.offline': 'Çevrimdışı — her şey bu cihazda saklanıyor',
|
||||
'account.syncError': 'Şu an senkronize edilemiyor',
|
||||
'account.synced': 'Senkronize edildi: {when}',
|
||||
'account.passwordChanged': 'Şifre değiştirildi.',
|
||||
'account.imported_one': '{count} yapım hesabına eklendi.',
|
||||
'account.imported_other': '{count} yapım hesabına eklendi.',
|
||||
'account.importFailed': 'İçe aktarma başarısız oldu.',
|
||||
'account.pending_one': '{count} bekliyor',
|
||||
'account.pending_other': '{count} bekliyor',
|
||||
'account.syncNow': 'Şimdi senkronize et',
|
||||
'account.newPasswordPh': 'Yeni şifre (en az {n} karakter)',
|
||||
'account.changePassword': 'Şifreyi değiştir',
|
||||
'account.logout': 'Çıkış yap',
|
||||
'account.logoutHint': 'Verilerin hesabında kalır ve bu cihazdan kaldırılır.',
|
||||
'account.ignore': 'Yoksay',
|
||||
'account.deviceHint': 'Hesabına taşınacak ve tüm cihazlarında senkronize edilecekler.',
|
||||
'account.unsentTitle': 'Gönderilmemiş değişiklikler',
|
||||
'account.logoutAnyway': 'Yine de çıkış yap',
|
||||
'account.unsentMessage_one': '{count} değişiklik henüz gönderilmedi (bağlantı yok mu?). Şimdi çıkış yaparsan kaybolacak.',
|
||||
'account.unsentMessage_other': '{count} değişiklik henüz gönderilmedi (bağlantı yok mu?). Şimdi çıkış yaparsan kaybolacaklar.',
|
||||
'account.nTitles_one': '{count} yapım',
|
||||
'account.nTitles_other': '{count} yapım',
|
||||
'account.nLists_one': '{count} liste',
|
||||
'account.nLists_other': '{count} liste',
|
||||
'account.deviceData': 'Bu cihazda hesabından önce oluşturulmuş {titles} var. Hesabına eklensin mi?',
|
||||
'account.deviceDataWithLists': 'Bu cihazda hesabından önce oluşturulmuş {titles} ve {lists} var. Hesabına eklensin mi?',
|
||||
|
||||
'time.never': 'hiç',
|
||||
'time.justNow': 'az önce',
|
||||
'time.minutesAgo': '{n} dk önce',
|
||||
'time.hoursAgo': '{n} sa önce',
|
||||
'time.onDate': '{date}',
|
||||
'time.today': 'bugün',
|
||||
'time.tomorrow': 'yarın',
|
||||
'time.daysAgo': '{n} g önce',
|
||||
|
||||
'theme.red': 'Kırmızı',
|
||||
'theme.orange': 'Turuncu',
|
||||
'theme.yellow': 'Sarı',
|
||||
'theme.lime': 'Limon',
|
||||
'theme.green': 'Yeşil',
|
||||
'theme.mint': 'Nane',
|
||||
'theme.cyan': 'Camgöbeği',
|
||||
'theme.blue': 'Mavi',
|
||||
'theme.indigo': 'Çivit',
|
||||
'theme.violet': 'Mor',
|
||||
'theme.pink': 'Pembe',
|
||||
'theme.white': 'Beyaz',
|
||||
|
||||
'home.seeAll': 'Tümünü gör',
|
||||
'home.subtitle': 'İzleme günlüğüm',
|
||||
'home.calendarSoon_one': 'Yayın takvimi: bu hafta {count}',
|
||||
'home.calendarSoon_other': 'Yayın takvimi: bu hafta {count}',
|
||||
'home.emptyTitle': 'Kütüphanen boş',
|
||||
'home.emptyCloud': 'İlk filmini, animeni ya da dramanı ekle. Hesabına kaydedilecek.',
|
||||
'home.emptyLocal': 'İlk filmini, animeni ya da dramanı ekle. Her şey yalnızca bu telefonda saklanır.',
|
||||
'home.completed': 'Bitenler',
|
||||
'home.thisYear_one': 'bu yıl {count}',
|
||||
'home.thisYear_other': 'bu yıl {count}',
|
||||
'home.toWatchN_one': '{count} izlenecek',
|
||||
'home.toWatchN_other': '{count} izlenecek',
|
||||
'home.screenTime': 'Ekran süresi',
|
||||
'home.estimate': 'tahmini',
|
||||
'home.episodesSeen': 'İzlenen bölümler',
|
||||
'home.noIdea': 'Karar veremedin mi?',
|
||||
'home.rouletteHint_one': 'İzlenecek yapımından rastgele seçim',
|
||||
'home.rouletteHint_other': 'İzlenecek {count} yapımın arasından rastgele seçim',
|
||||
'home.rouletteHintAll': 'Kütüphanenden rastgele seçim',
|
||||
'home.recentlyFinished': 'Son bitenler',
|
||||
|
||||
'calendar.title': 'Yayın takvimi',
|
||||
'calendar.inMyList': 'Listemde',
|
||||
'calendar.inMyListLegend': 'Listemde',
|
||||
'calendar.seeMore_one': 'Diğerini gör',
|
||||
'calendar.seeMore_other': 'Diğer {count} yapımı gör',
|
||||
'calendar.heading': 'Yayın ',
|
||||
'calendar.headingAccent': 'takvimi',
|
||||
'calendar.refresh': 'Yenile',
|
||||
'calendar.all': 'Tüm yayınlar',
|
||||
'calendar.mine': 'Yapımlarım',
|
||||
'calendar.prevMonth': 'Önceki ay',
|
||||
'calendar.nextMonth': 'Sonraki ay',
|
||||
'calendar.releases_one': '{count} yayın',
|
||||
'calendar.releases_other': '{count} yayın',
|
||||
'calendar.others': 'Diğer yayınlar',
|
||||
'calendar.needKey': 'TMDB anahtarı olmadan yalnızca animeler gösterilir. Film, dizi ve dramaları da görmek için anahtarını Ayarlar’a ekle.',
|
||||
'calendar.range': 'Yayınlar geçen aydan 6 ay sonrasına kadar görüntülenebilir.',
|
||||
'calendar.failed': 'Bazı yayınlar yüklenemedi. ↻ ile tekrar dene.',
|
||||
'calendar.nothingThatDay': 'O gün için bir şey yok.',
|
||||
'calendar.next14': 'Önümüzdeki 14 gün',
|
||||
'calendar.loading': 'Yayınlar aranıyor…',
|
||||
'calendar.noneMine14': 'Önümüzdeki 14 günde yapımların için duyurulmuş yayın yok.',
|
||||
'calendar.noneMineMonth': 'Bu ay yapımların için duyurulmuş yayın yok.',
|
||||
'calendar.none14': 'Önümüzdeki 14 günde yayın yok.',
|
||||
'calendar.noneMonth': 'Bu ay için yayın bulunamadı.',
|
||||
'calendar.footer': 'Ülkendeki vizyon filmleri, en çok takip edilen dizi ve dramaların bölümleri (TMDB) ve Japonya’da yayınlanan tüm animeler (AniList). Kütüphanendeki yapımlar renkli gösterilir; bir yayını listene eklemek için “İzlenecek”e dokun.',
|
||||
|
||||
'roulette.name': 'Rulet',
|
||||
'roulette.rewatch': 'Tekrar izlenecek',
|
||||
'roulette.anyTime': 'Fark etmez',
|
||||
'roulette.heading': 'Şans ',
|
||||
'roulette.headingAccent': 'ruleti',
|
||||
'roulette.tonight': 'Bu akşam sırada…',
|
||||
'roulette.nEps': '{n} böl.',
|
||||
'roulette.perEp': '{duration} / böl.',
|
||||
'roulette.stoppedAt': '{ep}. bölümde kalmıştın.',
|
||||
'roulette.stoppedAtOf': '{total} bölümün {ep}. bölümünde kalmıştın.',
|
||||
'roulette.enjoy': 'İyi seyirler!',
|
||||
'roulette.again': 'Tekrar çevir',
|
||||
'roulette.spinning': 'Dönüyor…',
|
||||
'roulette.spin': 'Ruleti çevir',
|
||||
'roulette.poolSize_one': '{count} yapım arasından seçim',
|
||||
'roulette.poolSize_other': '{count} yapım arasından seçim',
|
||||
'roulette.empty': 'Eşleşen yapım yok: aşağıdaki filtreleri genişlet.',
|
||||
'roulette.inside': 'Rulette',
|
||||
'roulette.pickFrom': 'Şunlardan seç',
|
||||
'roulette.rewatchHint': '“Tekrar izlenecek” = 4/5 ve üzeri puan verdiğin biten yapımlar, favoriler ve Top 5.',
|
||||
'roulette.time': 'Ayırabileceğin süre (film ya da 1 bölüm)',
|
||||
'roulette.seeItem': 'Tüm detayları gör',
|
||||
'roulette.watchIt': 'Bunu izliyorum',
|
||||
|
||||
|
||||
'top.pick': '{rank}. sırayı seç',
|
||||
'top.shareTitle': 'Top 5 {category} listem',
|
||||
'top.shareLabel': 'Bu Top 5’i görsel olarak paylaş',
|
||||
'top.title': 'Top listelerim',
|
||||
'top.number': '#{rank}',
|
||||
'top.pickFirst': '1 numaranı seç.',
|
||||
'top.editLabel': 'Top 5’i düzenle',
|
||||
'top.freeSlot': 'Boş yer — aşağıdan bir yapım seç',
|
||||
'top.addFromLibrary': 'Kütüphanemden ekle',
|
||||
'top.allTypes': 'Tüm türler',
|
||||
'top.searchTitle': 'Yapım ara…',
|
||||
'top.full': 'Top 5’in dolu: başka bir yapım eklemek için birini çıkar.',
|
||||
'top.noCandidates': 'Yapım yok. “Tüm türler”i ya da başka bir aramayı dene.',
|
||||
|
||||
'reco.error': 'Öneriler şu an yüklenemiyor.',
|
||||
'reco.title': 'Öneriler',
|
||||
'reco.needKey': 'Favori yapımlarına göre öneri almak için TMDB anahtarını Ayarlar’a ekle.',
|
||||
'reco.other': 'Başka yapım',
|
||||
'reco.ifYouLiked': 'Beğendiysen',
|
||||
'reco.loading': 'Öneriler aranıyor…',
|
||||
'reco.none': 'Bu yapıma benzeyen her şey zaten sende. “Başka yapım”ı dene.',
|
||||
'reco.added': '{title} eklendi',
|
||||
'reco.addLabel': '{title} izleneceklere ekle',
|
||||
'reco.addedShort': 'Eklendi',
|
||||
|
||||
'search.offline': 'İnternet bağlantısı yok: arama için ağ gerekli.',
|
||||
'search.fillFrom': 'Veritabanından doldur',
|
||||
'search.openSettings': 'Ayarlar’ı aç',
|
||||
'search.already': 'zaten eklendi',
|
||||
'search.noResults': 'Sonuç yok. Kaydı aşağıdan elle doldurabilirsin.',
|
||||
'search.privacy': 'Yalnızca aradığın başlık {source} servisine gönderilir. Kütüphanen telefonunda kalır.',
|
||||
|
||||
'catalog.sortRecent': 'Son düzenlenenler',
|
||||
'catalog.sortWatched': 'İzleme tarihi',
|
||||
'catalog.sortRating': 'En yüksek puan',
|
||||
'catalog.sortTitle': 'Başlık (A→Z)',
|
||||
'catalog.pageTitle': 'Benim ',
|
||||
'catalog.pageAccent': 'kataloğum',
|
||||
'catalog.journalSubtitle': 'İzleme geçmişin',
|
||||
'catalog.filteredCount_one': '{count} yapım (filtreli)',
|
||||
'catalog.filteredCount_other': '{count} yapım (filtreli)',
|
||||
'catalog.titles': 'Yapımlar',
|
||||
'catalog.journal': 'Günlük',
|
||||
'catalog.lists': 'Listeler',
|
||||
'catalog.searchPh': 'Başlık, tür, platform…',
|
||||
'catalog.moreFilters': 'Daha fazla filtre',
|
||||
'catalog.all': 'Tümü',
|
||||
'catalog.genre': 'Tür',
|
||||
'catalog.minRating': 'En düşük puan',
|
||||
'catalog.allRatings': 'Tümü',
|
||||
'catalog.sortBy': 'Sırala',
|
||||
'catalog.favorites': 'Favoriler',
|
||||
'catalog.reset': 'Sıfırla',
|
||||
'catalog.noResults': 'Sonuç yok',
|
||||
'catalog.nothingYet': 'Henüz bir şey yok',
|
||||
'catalog.noResultsHint': 'Başka bir arama dene ya da bazı filtreleri kaldır.',
|
||||
'catalog.nothingYetHint': 'İlk yapımını + butonuyla ekle.',
|
||||
'catalog.clearFilters': 'Filtreleri temizle',
|
||||
|
||||
'public.agree': 'Seyirciyle tam aynı fikirde',
|
||||
'public.more': 'Seyirciden +{gap} yüksek',
|
||||
'public.less': 'Seyirciden −{gap} düşük',
|
||||
'public.label': 'Seyirci',
|
||||
'public.me': 'Ben',
|
||||
'public.added_one': '{count} seyirci puanı eklendi.',
|
||||
'public.added_other': '{count} seyirci puanı eklendi.',
|
||||
'public.noneFound': 'Yeni puan bulunamadı.',
|
||||
'public.fetch': 'Getir ({n})',
|
||||
'public.title': 'Ben vs seyirci',
|
||||
'public.hintFetch': 'Seyirciden nerede ayrıldığını görmek için puanladığın yapımların TMDB / AniList ortalama puanını getir.',
|
||||
'public.hintNone': 'Bu dönemde puanladığın yapımlar için seyirci puanı yok.',
|
||||
'public.hintKey': 'Kendini seyirciyle karşılaştırmak için TMDB anahtarını Ayarlar’a ekle (ya da animeleri AniList’e bağla).',
|
||||
'public.avgGap': 'Ortalama fark',
|
||||
'public.average': 'Tam ortalamada',
|
||||
'public.generous': 'Seyirciden daha cömert',
|
||||
'public.harsh': 'Seyirciden daha sert',
|
||||
'public.agreeTitle': 'Hemfikir',
|
||||
'public.within5_one': '½ yıldız farkla, {count} yapımda',
|
||||
'public.within5_other': '½ yıldız farkla, {count} yapımda',
|
||||
'public.within10_one': '1 puan farkla, {count} yapımda',
|
||||
'public.within10_other': '1 puan farkla, {count} yapımda',
|
||||
'public.lovedPre': 'Seyirciden ',
|
||||
'public.lovedAccent': 'daha çok sevdiklerim',
|
||||
'public.lovedPost': '',
|
||||
'public.hatedPre': 'Seyirciden ',
|
||||
'public.hatedAccent': 'daha az sevdiklerim',
|
||||
'public.hatedPost': '',
|
||||
'public.allAgree': 'Tüm yapımlarında seyirciyle aynı fikirdesin. Nadir görülür!',
|
||||
|
||||
'form.rewatchHint': 'Tekrar mı izledin? Her tekrar izlemeyi kaydet, günlüğünde görünsün.',
|
||||
'form.editTitle': 'Kaydı ',
|
||||
'form.editAccent': 'düzenle',
|
||||
'form.newTitle': 'Yeni ',
|
||||
'form.newAccent': 'yapım',
|
||||
'form.filledFrom': 'Şuradan dolduruldu:',
|
||||
'form.canEdit': 'her şeyi düzenleyebilirsin',
|
||||
'form.fillFromDb': 'TMDB / AniList’ten tamamla',
|
||||
'form.pickPoster': 'Afiş seç',
|
||||
'form.removeImage': 'Görseli kaldır',
|
||||
'form.title': 'Başlık *',
|
||||
'form.titlePh': 'ör. Your Name',
|
||||
'form.originalTitle': 'Orijinal başlık',
|
||||
'form.originalTitlePh': 'ör. 君の名は。',
|
||||
'form.synopsis': 'Özet',
|
||||
'form.type': 'Tür',
|
||||
'form.subtype': 'Alt tür',
|
||||
'form.subtypePh': 'Belgesel, Reality şov…',
|
||||
'form.status': 'Durum',
|
||||
'form.myRating': 'Puanım',
|
||||
'form.favorite': 'Favori',
|
||||
'form.criteria': 'Detaylı kriterler (isteğe bağlı)',
|
||||
'form.episodes': 'Bölümler',
|
||||
'form.minusEp': '-1 bölüm',
|
||||
'form.plusEp': '+1 bölüm',
|
||||
'form.total': 'Toplam',
|
||||
'form.season': 'Sezon',
|
||||
'form.duration': 'Süre',
|
||||
'form.durationMin': 'Süre (dakika)',
|
||||
'form.year': 'Yıl',
|
||||
'form.platform': 'Platform',
|
||||
'form.genres': 'Türler / etiketler',
|
||||
'form.genresPh': 'Romantik, Bilim kurgu…',
|
||||
'form.rewatches': 'Tekrar izlemeler',
|
||||
'form.review': 'Yorumum',
|
||||
'form.reviewPh': 'Ne düşündüm, akılda kalan sahneler…',
|
||||
'form.saveChanges': 'Değişiklikleri kaydet',
|
||||
'form.addToLibrary': 'Kütüphaneme ekle',
|
||||
'form.shareImage': 'Görsel olarak paylaş',
|
||||
'form.delete': 'Bu yapımı sil',
|
||||
'form.deleteConfirm': '“{title}” kalıcı olarak silinecek.',
|
||||
'form.removeRewatch': 'Bu tekrar izlemeyi kaldır',
|
||||
'form.rewatchDate': 'Tekrar izleme tarihi',
|
||||
|
||||
'journal.rewatched': 'Tekrar izlendi',
|
||||
'journal.started': 'Başlandı',
|
||||
'journal.emptyTitle': 'Günlük boş',
|
||||
'journal.emptyText': 'Kayıtlarına başlangıç ya da bitiş tarihi eklediğinde izlediklerin burada görünecek.',
|
||||
'journal.seen_one': '{count} izlendi',
|
||||
'journal.seen_other': '{count} izlendi',
|
||||
'journal.more': 'Önceki ayları göster',
|
||||
|
||||
'stats.overview': 'Genel bakış',
|
||||
'stats.habits': 'Alışkanlıklar',
|
||||
'stats.tastes': 'Zevkler',
|
||||
'stats.pageTitle': 'Benim ',
|
||||
'stats.pageAccent': 'istatistiklerim',
|
||||
'stats.emptyTitle': 'Henüz istatistik yok',
|
||||
'stats.emptyText': 'Birkaç yapım ekledikten sonra burada görünecek.',
|
||||
'stats.sinceStart': 'başından beri',
|
||||
'stats.subtitle_one': 'Kütüphanemde {count} yapım',
|
||||
'stats.subtitle_other': 'Kütüphanemde {count} yapım',
|
||||
'stats.subtitleYear_one': '{year} yılında {count} yapım',
|
||||
'stats.subtitleYear_other': '{year} yılında {count} yapım',
|
||||
'stats.hours_one': 'saat',
|
||||
'stats.hours_other': 'saat',
|
||||
'stats.nonStopPre': 'yani aralıksız ',
|
||||
'stats.nonStopPost': '',
|
||||
'stats.days_one': '{count} gün',
|
||||
'stats.days_other': '{count} gün',
|
||||
'stats.finishedN_one': '{count} bitti',
|
||||
'stats.finishedN_other': '{count} bitti',
|
||||
'stats.episodesN_one': '{count} bölüm',
|
||||
'stats.episodesN_other': '{count} bölüm',
|
||||
'stats.timeByType': 'Türe göre süre',
|
||||
'stats.noTime': 'Bu dönemde henüz kaydedilmiş süre yok.',
|
||||
'stats.avgRating': 'Ortalama puan',
|
||||
'stats.rated_one': '{count} yapım puanlandı',
|
||||
'stats.rated_other': '{count} yapım puanlandı',
|
||||
'stats.inYear': '{year} yılında',
|
||||
'stats.statuses': 'Durumlar',
|
||||
'stats.hoursTab': 'Saat',
|
||||
'stats.monthByMonth': 'Ay ay · {year}',
|
||||
'stats.last12': 'Son 12 ay',
|
||||
'stats.monthFinished_one': '{count} yapım bitti',
|
||||
'stats.monthFinished_other': '{count} yapım bitti',
|
||||
'stats.busiest': 'En yoğun ay:',
|
||||
'stats.records': 'Rekorlar',
|
||||
'stats.marathon': 'En büyük maraton',
|
||||
'stats.longestFilm': 'En uzun film',
|
||||
'stats.noRecords': 'Bu dönemde henüz rekor yok.',
|
||||
'stats.platforms': 'Platformlar',
|
||||
'stats.bestRated': 'En yüksek puanlarım',
|
||||
'stats.myRatings': 'Puanlarım',
|
||||
'stats.noRatings': 'Bu dönemde puan yok.',
|
||||
'stats.favGenres': 'Favori türler',
|
||||
'stats.noGenres': 'Henüz tür yok.',
|
||||
'stats.countries': 'Ülkeler',
|
||||
'stats.noCountry_one': '{count} yapımın ülkesi yok: sayfasındaki “TMDB / AniList’ten tamamla” ile doldur.',
|
||||
'stats.noCountry_other': '{count} yapımın ülkesi yok: sayfalarındaki “TMDB / AniList’ten tamamla” ile doldur.',
|
||||
'stats.noCountryLegacy_one': '{count} yapımın ülkesi yok: sayfasındaki “TMDB / AniList’ten tamamla” ile doldur ya da eski uygulamanın yedeğini yeniden içe aktar (“Birleştir”).',
|
||||
'stats.noCountryLegacy_other': '{count} yapımın ülkesi yok: sayfalarındaki “TMDB / AniList’ten tamamla” ile doldur ya da eski uygulamanın yedeğini yeniden içe aktar (“Birleştir”).',
|
||||
'stats.byType': 'Türe göre',
|
||||
'stats.footnote': 'Süre, izlenen bölümlerden ve girilen sürelerden tahmin edilir (yoksa: film 1 sa 50, anime bölümü 24 dk, dizi 45 dk, K-drama 1 sa, C-drama 45 dk). Bir yapım, bitirdiğim yıla sayılır.',
|
||||
'stats.ratedAs_one': '{rating} puan',
|
||||
'stats.ratedAs_other': '{rating} puan',
|
||||
|
||||
'backup.shareTitle': 'AzuuCine yedeği',
|
||||
'backup.tooBig': 'Dosya çok büyük (en fazla 30 MB).',
|
||||
'backup.notJson': 'Bu dosya geçerli bir JSON değil.',
|
||||
'backup.noItems': 'Bu dosyada kayıt bulunamadı.',
|
||||
'backup.tooMany': 'Çok fazla kayıt (en fazla {n}).',
|
||||
|
||||
'image.canvas': 'Canvas kullanılamıyor',
|
||||
'image.unreadable': 'Görsel okunamıyor',
|
||||
'image.notImage': 'Bu dosya bir görsel değil.',
|
||||
'image.tooBig': 'Görsel çok büyük (en fazla 25 MB).',
|
||||
|
||||
'social.err.server': 'Sunucu yanıtı: {status}.',
|
||||
'social.err.usernameTaken': 'Bu kullanıcı adı zaten alınmış.',
|
||||
'social.err.usernameReserved': 'Bu kullanıcı adı kullanılamaz.',
|
||||
'social.err.invalid': 'Değerlerden biri geçersiz.',
|
||||
'social.inLibrary': 'Kütüphanemde',
|
||||
'social.addToWatch': 'İzleneceklere ekle',
|
||||
'social.linkCopied': 'Bağlantı kopyalandı!',
|
||||
'social.profile': 'Profil',
|
||||
'social.shareProfile': 'Profili paylaş',
|
||||
'social.loading': 'Yükleniyor…',
|
||||
'social.loadError': 'Profil yüklenemedi.',
|
||||
'social.notFound': 'Profil bulunamadı',
|
||||
'social.notFoundHint': '@{username} adında bir profil yok.',
|
||||
'social.editProfile': 'Profili düzenle',
|
||||
'social.following': 'Takip ediliyor',
|
||||
'social.requested': 'İstek gönderildi',
|
||||
'social.followBack': 'Sen de takip et',
|
||||
'social.follow': 'Takip et',
|
||||
'social.private': 'Gizli hesap',
|
||||
'social.followsYou': 'Seni takip ediyor',
|
||||
'social.seen': 'İzlenen',
|
||||
'social.followers_one': 'Takipçi',
|
||||
'social.followers_other': 'Takipçi',
|
||||
'social.followingCount_one': 'Takip',
|
||||
'social.followingCount_other': 'Takip',
|
||||
'social.requests_one': '{count} takip isteği',
|
||||
'social.requests_other': '{count} takip isteği',
|
||||
'social.privateTitle': 'Bu hesap gizli',
|
||||
'social.privateText': 'İzlediklerini, puanlarını ve Top 5 listesini görmek için takip et.',
|
||||
'social.tabProfile': 'Profil',
|
||||
'social.tabLibrary': 'Kütüphane',
|
||||
'social.cancelRequestTitle': 'Takip isteği iptal edilsin mi?',
|
||||
'social.unfollowTitle': '{name} takipten çıkarılsın mı?',
|
||||
'social.unfollowPrivate': 'Bu hesap gizli: profilini tekrar görmek için yeni bir istek göndermen gerekecek.',
|
||||
'social.cancelRequest': 'İsteği iptal et',
|
||||
'social.unfollow': 'Takibi bırak',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'Son izlenenler',
|
||||
'social.noRecent': 'Henüz biten bir şey yok.',
|
||||
'social.statYear': 'Bu yıl izlenen',
|
||||
'social.statFilms': 'İzlenen filmler',
|
||||
'social.statSeries': 'İzlenen dizi ve animeler',
|
||||
'social.emptyLibrary': 'Burada yapım yok.',
|
||||
'social.loadMore': 'Daha fazla göster',
|
||||
'social.changeBanner': 'Kapağı değiştir',
|
||||
'social.changeAvatar': 'Fotoğrafı değiştir',
|
||||
'social.removeAvatar': 'Fotoğrafı kaldır',
|
||||
'social.removeBanner': 'Kapağı kaldır',
|
||||
'social.displayName': 'Görünen ad',
|
||||
'social.username': 'Kullanıcı adı',
|
||||
'social.usernameRule': '3–20 karakter: küçük harf, rakam veya _',
|
||||
'social.bio': 'Biyografi',
|
||||
'social.bioPh': 'İzlemeyi sevdiğin şeyler, favori türlerin…',
|
||||
'social.privateAccount': 'Gizli hesap',
|
||||
'social.privateHint': 'Yalnızca onayladığın takipçiler ne izlediğini görebilir.',
|
||||
'social.publicHint': 'Adın, kullanıcı adın, fotoğrafın, kapağın, biyografin, puanların ve yorumların üyelere görünür. Kimlerin görebileceğini seçmek için hesabını gizli yap.',
|
||||
'social.requestsTab_one': 'İstek',
|
||||
'social.requestsTab_other': 'İstekler ({count})',
|
||||
'social.noFollowing': 'Henüz kimseyi takip etmiyorsun.',
|
||||
'social.noFollowers': 'Henüz takipçi yok.',
|
||||
'social.accept': 'Kabul et',
|
||||
'social.decline': 'Reddet',
|
||||
'social.removeFollower': 'Çıkar',
|
||||
'social.findFriends': 'Arkadaş bul',
|
||||
'social.searchPh': 'Kullanıcı adı veya isim…',
|
||||
'social.noResults': 'Eşleşen kimse yok.',
|
||||
'social.inviteHint': "Arkadaşların henüz AzuuCine'da değil mi? Onlara profilinin bağlantısını gönder.",
|
||||
'social.shareMyProfile': 'Profilimi paylaş',
|
||||
'social.inviteText': "Beni AzuuCine'da takip et!",
|
||||
'social.myProfile': 'Profilim',
|
||||
|
||||
'feed.title': 'Takip ettiklerim',
|
||||
'feed.empty': 'Arkadaşlarının ne izlediğini ve ne düşündüğünü burada görmek için onları takip et.',
|
||||
'feed.finished': 'izledi',
|
||||
'feed.started': 'başladı',
|
||||
'feed.rewatched': 'tekrar izledi',
|
||||
'feed.added': 'izlemek istiyor',
|
||||
'feed.review': 'yorum',
|
||||
'auth.google': "Google ile devam et",
|
||||
'auth.or': "veya",
|
||||
'auth.err.google': "Google ile giriş başarısız oldu. Tekrar dene.",
|
||||
'auth.err.storage': "Tarayıcın depolamayı engelliyor: giriş yapılamıyor.",
|
||||
'welcome.title': "Kullanıcı adını seç",
|
||||
'welcome.titleA': "Hoş geldin:",
|
||||
'welcome.titleB': "AzuuCine",
|
||||
'welcome.text': "Bir kullanıcı adı seç: arkadaşların seni bununla bulup takip edecek.",
|
||||
'welcome.usernamePh': "kullanici_adin",
|
||||
'welcome.namePh': "Adın",
|
||||
'welcome.nameHint': "İsteğe bağlı — profilinde gösterilir. Her şeyi sonra değiştirebilirsin.",
|
||||
'welcome.go': "Hadi başlayalım",
|
||||
'welcome.later': "Sonra",
|
||||
'social.watching': "İzliyor",
|
||||
'social.watchlist': "İzlemek istiyor",
|
||||
'search.allKinds': "Film, dizi ve animeler",
|
||||
'search.animeOnly': "TMDB anahtarı olmadan yalnızca anime bulunabilir.",
|
||||
'search.alreadySeries': "zaten kütüphanende — aç",
|
||||
'form.startShort': "Başlangıç",
|
||||
'form.endShort': "Bitiş",
|
||||
'hero.allSeen': "Hepsi izlendi",
|
||||
'hero.nextOn': 'Sonraki bölüm: {date}',
|
||||
'hero.upToDate': 'Güncelsin',
|
||||
'hero.seenEp': "{ep} izlendi",
|
||||
'hero.seen': "İzlendi",
|
||||
'hero.markSeen': "İzlendi olarak işaretle",
|
||||
'hero.edit': "Bilgileri düzenle",
|
||||
'hero.more': "Devamını oku",
|
||||
'hero.less': "Daha az göster",
|
||||
'episodes.seasonOption_one': "{season}. Sezon · {count} bölüm",
|
||||
'episodes.seasonOption_other': "{season}. Sezon · {count} bölüm",
|
||||
'episodes.seen': "{done}/{total} izlendi",
|
||||
'episodes.short': "B{n}",
|
||||
'episodes.upcoming': "{date}",
|
||||
'episodes.nameless': "{n}. Bölüm",
|
||||
'episodes.seasonShort': 'S{n}',
|
||||
'homeHero.continue': "İzlediğim",
|
||||
'homeHero.next': "Sıradaki",
|
||||
'homeHero.details': "Detaylar",
|
||||
'homeHero.continueRow': "İzlemeye devam et",
|
||||
'homeHero.nextUp': "Sıradaki: {ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
@@ -0,0 +1,851 @@
|
||||
/** Tiếng Việt */
|
||||
import type { Translations } from '..'
|
||||
|
||||
const dict: Translations = {
|
||||
'common.cancel': 'Hủy',
|
||||
'common.confirm': 'Xác nhận',
|
||||
'common.close': 'Đóng',
|
||||
'common.save': 'Lưu',
|
||||
'common.add': 'Thêm',
|
||||
'common.delete': 'Xóa',
|
||||
'common.all': 'Tất cả',
|
||||
'common.offline': 'Không có kết nối internet.',
|
||||
'common.minutes': '{n} phút',
|
||||
'common.hours': '{h} giờ',
|
||||
'common.hoursMinutes': '{h} giờ {m}',
|
||||
'common.daysHours': '{d} ngày {h} giờ',
|
||||
'common.decimalSep': ',',
|
||||
'common.removeX': 'Gỡ {name}',
|
||||
'common.kb': '{n} KB',
|
||||
'common.mb': '{n} MB',
|
||||
'common.edit': 'Sửa',
|
||||
'common.moveUp': 'Lên trên',
|
||||
'common.moveDown': 'Xuống dưới',
|
||||
|
||||
'nav.home': 'Trang chủ',
|
||||
'nav.catalog': 'Danh mục',
|
||||
'nav.stats': 'Thống kê',
|
||||
'nav.settings': 'Cài đặt',
|
||||
'nav.addTitle': 'Thêm phim',
|
||||
|
||||
'type.film': 'Phim lẻ',
|
||||
'type.serie': 'Phim bộ',
|
||||
'type.anime': 'Anime',
|
||||
'type.kdrama': 'K-Drama',
|
||||
'type.cdrama': 'C-Drama',
|
||||
'type.autre': 'Khác',
|
||||
|
||||
'typePlural.film': 'Phim lẻ',
|
||||
'typePlural.serie': 'Phim bộ',
|
||||
'typePlural.anime': 'Anime',
|
||||
'typePlural.kdrama': 'K-Drama',
|
||||
'typePlural.cdrama': 'C-Drama',
|
||||
|
||||
'status.a_voir': 'Sẽ xem',
|
||||
'status.en_cours': 'Đang xem',
|
||||
'status.termine': 'Đã xem xong',
|
||||
'status.pause': 'Tạm dừng',
|
||||
'status.abandonne': 'Bỏ dở',
|
||||
|
||||
'criteria.story': 'Kịch bản / Cốt truyện',
|
||||
'criteria.cast': 'Nhân vật / Diễn viên',
|
||||
'criteria.direction': 'Đạo diễn / Hoạt họa',
|
||||
'criteria.ost': 'Nhạc phim (OST)',
|
||||
|
||||
'subtype.documentary': 'Phim tài liệu',
|
||||
'subtype.reality': 'Truyền hình thực tế',
|
||||
'subtype.show': 'Chương trình',
|
||||
'subtype.short': 'Phim ngắn',
|
||||
'subtype.stage': 'Biểu diễn sân khấu',
|
||||
'subtype.miniseries': 'Phim bộ ngắn',
|
||||
|
||||
|
||||
'genre.action': 'Hành động',
|
||||
'genre.adventure': 'Phiêu lưu',
|
||||
'genre.comedy': 'Hài',
|
||||
'genre.drama': 'Chính kịch',
|
||||
'genre.romance': 'Lãng mạn',
|
||||
'genre.romcom': 'Rom-com',
|
||||
'genre.thriller': 'Giật gân',
|
||||
'genre.horror': 'Kinh dị',
|
||||
'genre.mystery': 'Bí ẩn',
|
||||
'genre.crime': 'Hình sự',
|
||||
'genre.scifi': 'Khoa học viễn tưởng',
|
||||
'genre.fantasy': 'Giả tưởng',
|
||||
'genre.historical': 'Cổ trang / Lịch sử',
|
||||
'genre.sliceOfLife': 'Đời thường',
|
||||
'genre.shonen': 'Shōnen',
|
||||
'genre.shojo': 'Shōjo',
|
||||
'genre.seinen': 'Seinen',
|
||||
'genre.isekai': 'Isekai',
|
||||
'genre.mecha': 'Mecha',
|
||||
'genre.sports': 'Thể thao',
|
||||
'genre.musical': 'Nhạc kịch',
|
||||
'genre.medical': 'Y khoa',
|
||||
'genre.legal': 'Pháp luật',
|
||||
'genre.wuxia': 'Võ hiệp',
|
||||
'genre.xianxia': 'Tiên hiệp',
|
||||
'genre.family': 'Gia đình',
|
||||
'genre.animation': 'Hoạt hình',
|
||||
'genre.psychological': 'Tâm lý',
|
||||
'genre.supernatural': 'Siêu nhiên',
|
||||
'genre.romanticComedy': 'Hài lãng mạn',
|
||||
'genre.documentary': 'Tài liệu',
|
||||
'genre.war': 'Chiến tranh',
|
||||
'genre.western': 'Viễn Tây',
|
||||
'genre.music': 'Âm nhạc',
|
||||
'genre.ecchi': 'Ecchi',
|
||||
'genre.kids': 'Thiếu nhi',
|
||||
'genre.news': 'Tin tức',
|
||||
'genre.reality': 'Thực tế',
|
||||
'genre.talk': 'Talk show',
|
||||
'genre.soap': 'Phim truyền hình dài tập',
|
||||
'genre.politics': 'Chính trị',
|
||||
'genre.tvMovie': 'Phim truyền hình',
|
||||
'genre.anime': 'Anime',
|
||||
'genre.magicalGirl': 'Magical Girl',
|
||||
|
||||
'confirm.title': 'Bạn có chắc không?',
|
||||
|
||||
'err.tmdbRefused': 'TMDB từ chối yêu cầu.',
|
||||
'err.tmdbKeyRefused': 'Khóa TMDB bị từ chối. Hãy kiểm tra trong Cài đặt.',
|
||||
'err.tmdbStatus': 'TMDB phản hồi {status}.',
|
||||
'err.tmdbRef': 'Mã tham chiếu TMDB không hợp lệ.',
|
||||
'err.anilistRate': 'AniList đang giới hạn yêu cầu, thử lại sau một phút nhé.',
|
||||
'err.anilistStatus': 'AniList phản hồi {status}.',
|
||||
'err.searchRate': 'Bạn tìm kiếm quá nhiều, thử lại sau vài phút nhé.',
|
||||
|
||||
'anilist.short': 'Anime ngắn',
|
||||
'anilist.movie': 'Phim hoạt hình',
|
||||
'anilist.special': 'Tập đặc biệt',
|
||||
'anilist.music': 'Video ca nhạc',
|
||||
|
||||
'release.cinema': 'Chiếu rạp',
|
||||
'release.online': 'Trên VOD / streaming',
|
||||
'release.release': 'Phát hành',
|
||||
'release.season': 'Mùa {season}',
|
||||
'release.episode': 'Tập {ep}',
|
||||
'release.newEpisode': 'Tập mới',
|
||||
'release.firstEpisode': 'Tập đầu tiên',
|
||||
'release.newSeriesN': 'Phim bộ mới · {count} tập',
|
||||
'release.seasonN': 'Mùa {season} · {count} tập',
|
||||
'release.seasonEp1': 'Mùa {season} · Tập 1',
|
||||
'release.episodes': 'Tập {first}–{last}',
|
||||
'release.sEpisodes': 'M{season} · Tập {first}–{last}',
|
||||
'release.sEpisode': 'M{season} · Tập {ep}',
|
||||
'release.episodeFinal': 'Tập {ep} · tập cuối',
|
||||
'release.filmJapan': 'Phim chiếu tại Nhật',
|
||||
|
||||
'card.ep': 'Tập {n}',
|
||||
'card.plusOne': '+1 tập cho {title}',
|
||||
'card.open': 'Mở {title}',
|
||||
|
||||
'rating.outOf10': 'Điểm trên 10',
|
||||
'rating.outOf5': 'Điểm trên 5',
|
||||
'rating.stars_one': '{count} sao',
|
||||
'rating.stars_other': '{count} sao',
|
||||
'rating.clear': 'Xóa điểm',
|
||||
|
||||
'share.previewLabel': 'Xem trước ảnh',
|
||||
'share.preview': 'Xem trước',
|
||||
'share.posterAlt': 'Poster {title}',
|
||||
'share.share': 'Chia sẻ',
|
||||
'share.saveImage': 'Lưu ảnh',
|
||||
'share.err.create': 'Không thể tạo ảnh',
|
||||
'share.minutesLong': '{n} phút',
|
||||
'share.createdBy': 'Sáng tạo bởi',
|
||||
'share.directedBy': 'Đạo diễn',
|
||||
'share.producedBy': 'Sản xuất bởi',
|
||||
'share.starring': 'Diễn viên',
|
||||
'share.genres': 'Thể loại',
|
||||
'share.myRating': 'Điểm của tôi',
|
||||
'share.myTop': 'Top của tôi',
|
||||
|
||||
'auth.hidePassword': 'Ẩn mật khẩu',
|
||||
'auth.showPassword': 'Hiện mật khẩu',
|
||||
'auth.mismatch': 'Hai mật khẩu không khớp nhau.',
|
||||
'auth.created': 'Đã tạo tài khoản! Mở liên kết đã gửi tới {email} để kích hoạt, rồi đăng nhập nhé.',
|
||||
'auth.resetSent': 'Nếu có tài khoản dùng địa chỉ này, chúng tôi vừa gửi liên kết để đặt mật khẩu mới.',
|
||||
'auth.tagline': 'Nhật ký phim lẻ, phim bộ, anime và drama của bạn.',
|
||||
'auth.loginTab': 'Đăng nhập',
|
||||
'auth.signupTab': 'Tạo tài khoản',
|
||||
'auth.forgotTitle': 'Quên mật khẩu',
|
||||
'auth.email': 'Địa chỉ email',
|
||||
'auth.password': 'Mật khẩu',
|
||||
'auth.confirmPassword': 'Xác nhận mật khẩu',
|
||||
'auth.minChars': 'Ít nhất {n} ký tự.',
|
||||
'auth.login': 'Đăng nhập',
|
||||
'auth.signup': 'Tạo tài khoản',
|
||||
'auth.sendLink': 'Gửi liên kết',
|
||||
'auth.forgot': 'Quên mật khẩu?',
|
||||
'auth.backToLogin': 'Quay lại đăng nhập',
|
||||
'auth.privacy': 'Tài khoản giúp thư viện của bạn luôn an toàn. Hồ sơ của bạn (phim đã xem, điểm và nhận xét) hiển thị với các thành viên, trừ khi bạn chuyển sang riêng tư; danh sách và cài đặt luôn ở chế độ riêng tư. Mọi thứ cũng được lưu trên thiết bị để dùng được khi không có mạng.',
|
||||
'auth.newPasswordTitle': 'Chọn mật khẩu mới của bạn.',
|
||||
'auth.newPassword': 'Mật khẩu mới',
|
||||
'auth.err.credentials': 'Email hoặc mật khẩu không đúng.',
|
||||
'auth.err.notConfirmed': 'Hãy xác nhận địa chỉ email trước bằng liên kết đã gửi cho bạn.',
|
||||
'auth.err.exists': 'Đã có tài khoản dùng email này.',
|
||||
'auth.err.weak': 'Mật khẩu quá yếu (ít nhất {n} ký tự, kết hợp chữ và số).',
|
||||
'auth.err.samePassword': 'Mật khẩu mới phải khác mật khẩu cũ.',
|
||||
'auth.err.emailRate': 'Quá nhiều yêu cầu. Thử lại sau vài phút nhé.',
|
||||
'auth.err.rate': 'Quá nhiều lần thử. Thử lại sau vài phút nhé.',
|
||||
'auth.err.signupDisabled': 'Tạm thời chưa mở đăng ký.',
|
||||
'auth.err.emailInvalid': 'Địa chỉ email không hợp lệ.',
|
||||
'auth.err.invalid': 'Địa chỉ email hoặc mật khẩu không hợp lệ.',
|
||||
'auth.err.session': 'Phiên đăng nhập đã hết hạn, hãy đăng nhập lại.',
|
||||
'auth.err.status': 'Máy chủ đã từ chối yêu cầu ({status}).',
|
||||
'auth.err.response': 'Phản hồi từ máy chủ không hợp lệ.',
|
||||
'auth.err.linkExpired': 'Liên kết này đã hết hạn. Hãy yêu cầu liên kết mới.',
|
||||
'auth.err.linkUsed': 'Liên kết này không hợp lệ hoặc đã được dùng.',
|
||||
'auth.err.linkInvalid': 'Liên kết này không hợp lệ.',
|
||||
|
||||
'settings.language': 'Ngôn ngữ',
|
||||
'settings.langAuto': 'Tự động ({lang})',
|
||||
'settings.backupShared': 'Đã chia sẻ bản sao lưu.',
|
||||
'settings.backupDownloaded': 'Đã tải xuống bản sao lưu.',
|
||||
'settings.exportFailed': 'Xuất dữ liệu thất bại.',
|
||||
'settings.noValidItems': 'Tệp không có mục nào hợp lệ.',
|
||||
'settings.imported_one': 'Đã nhập {count} mục.',
|
||||
'settings.imported_other': 'Đã nhập {count} mục.',
|
||||
'settings.importedSkipped': 'Đã nhập {n} mục, bỏ qua {skipped} mục.',
|
||||
'settings.cleared': 'Đã xóa thư viện.',
|
||||
'settings.pageTitle': 'Cài đặt ',
|
||||
'settings.pageAccent': 'của tôi',
|
||||
'settings.languageHint': 'Ngôn ngữ của ứng dụng, ngày tháng và thông tin lấy từ TMDB (tên phim, tóm tắt).',
|
||||
'settings.rating': 'Chấm điểm',
|
||||
'settings.scale5': '★ trên 5',
|
||||
'settings.scale10': 'Trên 10',
|
||||
'settings.ratingHint': 'Nửa sao trên thang 5, hoặc bước 0,5 trên thang 10. Điểm hiện có sẽ được tự động quy đổi.',
|
||||
'settings.theme': 'Giao diện',
|
||||
'settings.appearance': 'Giao diện',
|
||||
'settings.appearanceHint': '“Tự động” theo trình duyệt của bạn (sáng hoặc tối).',
|
||||
'theme.modeAuto': 'Tự động',
|
||||
'theme.modeLight': 'Sáng',
|
||||
'theme.modeDark': 'Tối',
|
||||
'theme.modeNight': 'Đêm',
|
||||
'theme.modeStarfield': 'Sao',
|
||||
'settings.accentColor': 'Màu nhấn',
|
||||
'settings.installApp': 'Cài đặt ứng dụng',
|
||||
'settings.installHint': 'Thêm AzuuCine vào màn hình chính hoặc màn hình nền của bạn.',
|
||||
'settings.installed': 'Đã cài ứng dụng',
|
||||
'settings.notifs': 'Thông báo',
|
||||
'settings.notifsHint': 'Chọn điều kích hoạt chuông.',
|
||||
'settings.notifEpisodes': 'Tập mới',
|
||||
'settings.notifFollows': 'Người theo dõi mới',
|
||||
'settings.notifAccepted': 'Yêu cầu đã chấp nhận',
|
||||
'settings.notifReactions': 'Cảm xúc với đánh giá của tôi',
|
||||
'notif.new_episode': 'Tập mới của {title}',
|
||||
'notif.new_season': 'Mùa mới của {title}',
|
||||
'reviews.title': 'Đánh giá',
|
||||
'reviews.friends': 'Bạn bè của bạn',
|
||||
'reviews.others': 'Thành viên khác',
|
||||
'reviews.noneFriends': 'Chưa có đánh giá từ bạn bè',
|
||||
'reviews.noneOthers': 'Không có đánh giá khác',
|
||||
'reviews.none': 'Chưa có đánh giá',
|
||||
'reviews.seeAll': 'Xem tất cả đánh giá',
|
||||
'reviews.react': 'Bày tỏ cảm xúc',
|
||||
'notif.title': 'Thông báo',
|
||||
'notif.empty': 'Không có thông báo',
|
||||
'notif.someone': 'Ai đó',
|
||||
'notif.follow_request': 'muốn theo dõi bạn',
|
||||
'notif.follow_accepted': 'đã chấp nhận yêu cầu của bạn',
|
||||
'notif.new_follower': 'đã theo dõi bạn',
|
||||
'notif.reaction': 'đã bày tỏ cảm xúc với đánh giá của bạn',
|
||||
'notif.on': 'về {title}',
|
||||
'home.notifications': 'Thông báo',
|
||||
'home.notificationsN': '{count} thông báo',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': 'Cài đặt AzuuCine',
|
||||
'install.ios': 'Mở AzuuCine trong Safari.\nChạm nút Chia sẻ (hình vuông có mũi tên lên).\nChọn “Thêm vào MH chính”, rồi “Thêm”.',
|
||||
'install.android': 'Mở AzuuCine trong Chrome.\nChạm menu ⋮ ở góc trên bên phải.\nChọn “Thêm vào màn hình chính” (hoặc “Cài đặt ứng dụng”).',
|
||||
'install.desktop': 'Trên thanh địa chỉ, nhấp biểu tượng cài đặt bên phải (màn hình có mũi tên).\nHoặc: menu ⋮ của trình duyệt → “Cài đặt AzuuCine”.\nXác nhận bằng “Cài đặt”.',
|
||||
'install.other': 'Mở menu trình duyệt của bạn.\nTìm “Cài đặt ứng dụng” hoặc “Thêm vào màn hình chính”.',
|
||||
'install.gotIt': 'Đã hiểu',
|
||||
'settings.themeX': 'Giao diện {name}',
|
||||
'settings.pickColor': 'Chọn màu tùy chỉnh',
|
||||
'settings.freeColor': 'Màu tùy chỉnh',
|
||||
'settings.freeColorHint': 'Màu nào cũng được: chữ sẽ tự điều chỉnh để luôn dễ đọc.',
|
||||
'settings.databases': 'Cơ sở dữ liệu phim',
|
||||
'settings.anilistActive': 'Anime · đang hoạt động',
|
||||
'settings.noConfig': 'Không cần cấu hình.',
|
||||
'settings.tmdbActive': 'Phim lẻ & phim bộ · đang hoạt động',
|
||||
'settings.checking': 'Đang kiểm tra…',
|
||||
'settings.offline': 'Ngoại tuyến',
|
||||
'settings.proxyMissingKey': 'Thiếu khóa TMDB',
|
||||
'settings.proxyNotDeployed': 'Chưa cài đặt máy chủ',
|
||||
'settings.unavailable': 'Không khả dụng',
|
||||
'settings.proxyMissingKeyHint': 'Hàm máy chủ đã sẵn sàng nhưng khóa TMDB của bạn chưa được lưu (secret TMDB_API_KEY trong Supabase), hoặc TMDB từ chối khóa.',
|
||||
'settings.proxyNotDeployedHint': 'Hàm “tmdb” chưa được triển khai trên Supabase (xem README → Tài khoản, bước 5).',
|
||||
'settings.proxyErrorHint': 'Máy chủ hiện không phản hồi đúng.',
|
||||
'settings.proxyOkHint': 'Do máy chủ của ứng dụng cung cấp: không cần nhập khóa.',
|
||||
'settings.recheck': 'Kiểm tra lại',
|
||||
'settings.keyRefused': 'Khóa bị từ chối',
|
||||
'settings.notConfigured': 'Chưa cấu hình',
|
||||
'settings.tmdbHelp': 'Phim lẻ, phim bộ, K-drama, C-drama. Tạo tài khoản miễn phí trên themoviedb.org, vào Cài đặt → API, rồi dán “API Key” hoặc “API Read Access Token” của bạn.',
|
||||
'settings.tmdbKey': 'Khóa TMDB',
|
||||
'settings.hideKey': 'Ẩn khóa',
|
||||
'settings.showKey': 'Hiện khóa',
|
||||
'settings.validate': 'Xác nhận',
|
||||
'settings.remove': 'Gỡ',
|
||||
'settings.keyLocal': 'Khóa chỉ lưu trên thiết bị này và không bao giờ có trong bản sao lưu.',
|
||||
'settings.topHint': 'Các danh mục hiển thị trên trang chủ.',
|
||||
'settings.topNone': 'Không có danh mục nào: mục Top 5 sẽ bị ẩn.',
|
||||
'settings.backup': 'Sao lưu',
|
||||
'settings.export': 'Xuất dữ liệu của tôi',
|
||||
'settings.exportHint_one': '{count} mục · tệp JSON, nên làm thường xuyên',
|
||||
'settings.exportHint_other': '{count} mục · tệp JSON, nên làm thường xuyên',
|
||||
'settings.import': 'Nhập bản sao lưu',
|
||||
'settings.importHint': 'Khôi phục từ tệp .json',
|
||||
'settings.legacyDetected': 'Đã nhận diện bản sao lưu từ ứng dụng cũ',
|
||||
'settings.found_one': 'Tìm thấy {count} mục. Bạn muốn nhập thế nào?',
|
||||
'settings.found_other': 'Tìm thấy {count} mục. Bạn muốn nhập thế nào?',
|
||||
'settings.foundSkipped': 'Tìm thấy {n} mục (bỏ qua {skipped} mục không hợp lệ). Bạn muốn nhập thế nào?',
|
||||
'settings.merge': 'Gộp',
|
||||
'settings.replaceAll': 'Thay thế tất cả',
|
||||
'settings.mergeHint': '“Gộp” sẽ thêm các mục mới và cập nhật các mục đã có (cùng ID).',
|
||||
'settings.storage': 'Lưu trữ',
|
||||
'settings.used': 'Dung lượng đã dùng',
|
||||
'settings.storageCloud': 'Dữ liệu của bạn được lưu vào tài khoản và cả trên thiết bị này để dùng được khi không có mạng. Dữ liệu tự động đồng bộ mỗi khi bạn có mạng.',
|
||||
'settings.storageLocal': 'Dữ liệu của bạn chỉ được lưu trong trình duyệt này, trên thiết bị này. Nếu bạn xóa dữ liệu trình duyệt hoặc gỡ ứng dụng, dữ liệu sẽ mất: hãy xuất bản sao lưu thường xuyên.',
|
||||
'settings.danger': 'Vùng nguy hiểm',
|
||||
'settings.clearAll': 'Xóa toàn bộ thư viện',
|
||||
'settings.clearAllHint_one': '{count} phim',
|
||||
'settings.clearAllHint_other': '{count} phim',
|
||||
'settings.clearAllHintCloud_one': '{count} phim · trên mọi thiết bị của bạn',
|
||||
'settings.clearAllHintCloud_other': '{count} phim · trên mọi thiết bị của bạn',
|
||||
'settings.deleting': 'Đang xóa…',
|
||||
'settings.deleteAccount': 'Xóa tài khoản của tôi',
|
||||
'settings.deleteAccountHint': 'Tài khoản và dữ liệu bị xóa vĩnh viễn',
|
||||
'settings.footerCloud': 'tài khoản đã đồng bộ',
|
||||
'settings.footerLocal': '100% cục bộ',
|
||||
'settings.clearConfirm_one': '{count} phim sẽ bị xóa vĩnh viễn. Bạn nên xuất bản sao lưu trước.',
|
||||
'settings.clearConfirm_other': '{count} phim của bạn sẽ bị xóa vĩnh viễn. Bạn nên xuất bản sao lưu trước.',
|
||||
'settings.clearConfirmCloud_one': '{count} phim sẽ bị xóa vĩnh viễn trên mọi thiết bị của bạn. Bạn nên xuất bản sao lưu trước.',
|
||||
'settings.clearConfirmCloud_other': '{count} phim của bạn sẽ bị xóa vĩnh viễn trên mọi thiết bị. Bạn nên xuất bản sao lưu trước.',
|
||||
'settings.clearAllConfirm': 'Xóa tất cả',
|
||||
'settings.deleteAccountTitle': 'Xóa tài khoản của bạn?',
|
||||
'settings.deleteAccountMessage': 'Tài khoản và toàn bộ dữ liệu của bạn (phim, danh sách, cài đặt) sẽ bị xóa vĩnh viễn khỏi máy chủ và thiết bị này. Bạn nên xuất bản sao lưu trước. Thao tác này không thể hoàn tác.',
|
||||
'settings.deleteForever': 'Xóa vĩnh viễn',
|
||||
'settings.replaceConfirm': 'Toàn bộ thư viện hiện tại của bạn sẽ được thay bằng nội dung của tệp này.',
|
||||
'settings.replace': 'Thay thế',
|
||||
|
||||
'sync.err.push': 'Gửi dữ liệu bị từ chối ({status})',
|
||||
'sync.err.pull': 'Tải dữ liệu bị từ chối ({status})',
|
||||
|
||||
'store.dbError': 'Không thể mở cơ sở dữ liệu cục bộ: {error}',
|
||||
'store.invalidItem': 'Mục không hợp lệ',
|
||||
|
||||
'lists.newList': 'Danh sách mới',
|
||||
'lists.newListPh': 'Danh sách mới…',
|
||||
'lists.myLists': 'Danh sách của tôi',
|
||||
'lists.rename': 'Đổi tên',
|
||||
'lists.delete': 'Xóa danh sách',
|
||||
'lists.done': 'Xong',
|
||||
'lists.addRemove': 'Thêm / gỡ phim',
|
||||
'lists.searchLibrary': 'Tìm trong thư viện của tôi…',
|
||||
'lists.emptyTitle': 'Danh sách trống',
|
||||
'lists.emptyText': 'Thêm phim bằng nút ở trên, hoặc từ trang chi tiết của phim.',
|
||||
'lists.deleteConfirm': 'Danh sách “{name}” sẽ bị xóa. Các phim vẫn còn trong thư viện của bạn.',
|
||||
'lists.noneTitle': 'Chưa có danh sách nào',
|
||||
'lists.noneText': 'Tạo danh sách theo cách của bạn: “Xem cùng bạn bè”, “Phim kinh dị tháng Mười”, “Drama chữa lành”…',
|
||||
'lists.create': 'Tạo',
|
||||
|
||||
'account.err.deleteRate': 'Quá nhiều lần thử, thử lại sau một phút nhé.',
|
||||
'account.err.delete': 'Xóa thất bại. Hãy thử lại sau.',
|
||||
'account.title': 'Tài khoản của tôi',
|
||||
'account.syncing': 'Đang đồng bộ…',
|
||||
'account.offline': 'Ngoại tuyến — mọi thứ vẫn được lưu trên thiết bị này',
|
||||
'account.syncError': 'Hiện không thể đồng bộ',
|
||||
'account.synced': 'Đã đồng bộ {when}',
|
||||
'account.passwordChanged': 'Đã đổi mật khẩu.',
|
||||
'account.imported_one': 'Đã thêm {count} phim vào tài khoản của bạn.',
|
||||
'account.imported_other': 'Đã thêm {count} phim vào tài khoản của bạn.',
|
||||
'account.importFailed': 'Nhập dữ liệu thất bại.',
|
||||
'account.pending_one': '{count} đang chờ',
|
||||
'account.pending_other': '{count} đang chờ',
|
||||
'account.syncNow': 'Đồng bộ ngay',
|
||||
'account.newPasswordPh': 'Mật khẩu mới (tối thiểu {n} ký tự)',
|
||||
'account.changePassword': 'Đổi mật khẩu',
|
||||
'account.logout': 'Đăng xuất',
|
||||
'account.logoutHint': 'Dữ liệu vẫn nằm trong tài khoản của bạn và được gỡ khỏi thiết bị này.',
|
||||
'account.ignore': 'Bỏ qua',
|
||||
'account.deviceHint': 'Chúng sẽ được chuyển vào tài khoản và đồng bộ trên mọi thiết bị của bạn.',
|
||||
'account.unsentTitle': 'Thay đổi chưa gửi',
|
||||
'account.logoutAnyway': 'Vẫn đăng xuất',
|
||||
'account.unsentMessage_one': '{count} thay đổi chưa được gửi (mất kết nối?). Nếu đăng xuất bây giờ, thay đổi đó sẽ bị mất.',
|
||||
'account.unsentMessage_other': '{count} thay đổi chưa được gửi (mất kết nối?). Nếu đăng xuất bây giờ, các thay đổi đó sẽ bị mất.',
|
||||
'account.nTitles_one': '{count} phim',
|
||||
'account.nTitles_other': '{count} phim',
|
||||
'account.nLists_one': '{count} danh sách',
|
||||
'account.nLists_other': '{count} danh sách',
|
||||
'account.deviceData': 'Thiết bị này có {titles} được tạo trước khi bạn có tài khoản. Thêm chúng vào tài khoản của bạn?',
|
||||
'account.deviceDataWithLists': 'Thiết bị này có {titles} và {lists} được tạo trước khi bạn có tài khoản. Thêm chúng vào tài khoản của bạn?',
|
||||
|
||||
'time.never': 'chưa bao giờ',
|
||||
'time.justNow': 'vừa xong',
|
||||
'time.minutesAgo': '{n} phút trước',
|
||||
'time.hoursAgo': '{n} giờ trước',
|
||||
'time.onDate': 'ngày {date}',
|
||||
'time.today': 'hôm nay',
|
||||
'time.tomorrow': 'ngày mai',
|
||||
'time.daysAgo': '{n} ngày trước',
|
||||
|
||||
'theme.red': 'Đỏ',
|
||||
'theme.orange': 'Cam',
|
||||
'theme.yellow': 'Vàng',
|
||||
'theme.lime': 'Vàng chanh',
|
||||
'theme.green': 'Xanh lá',
|
||||
'theme.mint': 'Xanh bạc hà',
|
||||
'theme.cyan': 'Xanh lơ',
|
||||
'theme.blue': 'Xanh dương',
|
||||
'theme.indigo': 'Chàm',
|
||||
'theme.violet': 'Tím',
|
||||
'theme.pink': 'Hồng',
|
||||
'theme.white': 'Trắng',
|
||||
|
||||
'home.seeAll': 'Xem tất cả',
|
||||
'home.subtitle': 'Nhật ký xem phim của tôi',
|
||||
'home.calendarSoon_one': 'Lịch phát hành: {count} trong tuần này',
|
||||
'home.calendarSoon_other': 'Lịch phát hành: {count} trong tuần này',
|
||||
'home.emptyTitle': 'Thư viện của bạn đang trống',
|
||||
'home.emptyCloud': 'Thêm phim, anime hay drama đầu tiên của bạn. Nó sẽ được lưu vào tài khoản của bạn.',
|
||||
'home.emptyLocal': 'Thêm phim, anime hay drama đầu tiên của bạn. Mọi thứ chỉ được lưu trên điện thoại này.',
|
||||
'home.completed': 'Đã xem xong',
|
||||
'home.thisYear_one': '{count} trong năm nay',
|
||||
'home.thisYear_other': '{count} trong năm nay',
|
||||
'home.toWatchN_one': '{count} sẽ xem',
|
||||
'home.toWatchN_other': '{count} sẽ xem',
|
||||
'home.screenTime': 'Thời gian xem',
|
||||
'home.estimate': 'ước tính',
|
||||
'home.episodesSeen': 'Số tập đã xem',
|
||||
'home.noIdea': 'Chưa biết xem gì?',
|
||||
'home.rouletteHint_one': 'Chọn ngẫu nhiên từ phim sẽ xem của bạn',
|
||||
'home.rouletteHint_other': 'Chọn ngẫu nhiên từ {count} phim sẽ xem của bạn',
|
||||
'home.rouletteHintAll': 'Chọn ngẫu nhiên từ thư viện của bạn',
|
||||
'home.recentlyFinished': 'Vừa xem xong',
|
||||
|
||||
'calendar.title': 'Lịch phát hành',
|
||||
'calendar.inMyList': 'Có trong danh sách',
|
||||
'calendar.inMyListLegend': 'Có trong danh sách',
|
||||
'calendar.seeMore_one': 'Xem mục còn lại',
|
||||
'calendar.seeMore_other': 'Xem {count} mục khác',
|
||||
'calendar.heading': 'Lịch ',
|
||||
'calendar.headingAccent': 'phát hành',
|
||||
'calendar.refresh': 'Làm mới',
|
||||
'calendar.all': 'Tất cả phát hành',
|
||||
'calendar.mine': 'Phim của tôi',
|
||||
'calendar.prevMonth': 'Tháng trước',
|
||||
'calendar.nextMonth': 'Tháng sau',
|
||||
'calendar.releases_one': '{count} phát hành',
|
||||
'calendar.releases_other': '{count} phát hành',
|
||||
'calendar.others': 'Phát hành khác',
|
||||
'calendar.needKey': 'Không có khóa TMDB thì chỉ hiển thị anime. Thêm khóa trong Cài đặt để xem cả phim lẻ, phim bộ và drama.',
|
||||
'calendar.range': 'Lịch phát hành có từ tháng trước đến 6 tháng tới.',
|
||||
'calendar.failed': 'Không tải được một số lịch phát hành. Thử lại với ↻.',
|
||||
'calendar.nothingThatDay': 'Không có gì trong ngày này.',
|
||||
'calendar.next14': '14 ngày tới',
|
||||
'calendar.loading': 'Đang tìm lịch phát hành…',
|
||||
'calendar.noneMine14': 'Không có phát hành nào được công bố cho phim của bạn trong 14 ngày tới.',
|
||||
'calendar.noneMineMonth': 'Không có phát hành nào được công bố cho phim của bạn trong tháng này.',
|
||||
'calendar.none14': 'Không có phát hành nào trong 14 ngày tới.',
|
||||
'calendar.noneMonth': 'Không tìm thấy phát hành nào trong tháng này.',
|
||||
'calendar.footer': 'Phim chiếu rạp ở quốc gia của bạn, các tập mới của phim bộ và drama được theo dõi nhiều nhất (TMDB) và của mọi anime đang phát sóng tại Nhật (AniList). Phim trong thư viện của bạn được tô màu; chạm “Sẽ xem” để thêm một phát hành vào danh sách.',
|
||||
|
||||
'roulette.name': 'Vòng quay',
|
||||
'roulette.rewatch': 'Xem lại',
|
||||
'roulette.anyTime': 'Bất kỳ',
|
||||
'roulette.heading': 'Vòng ',
|
||||
'roulette.headingAccent': 'quay',
|
||||
'roulette.tonight': 'Tối nay, xem…',
|
||||
'roulette.nEps': '{n} tập',
|
||||
'roulette.perEp': '{duration} / tập',
|
||||
'roulette.stoppedAt': 'Bạn đang dừng ở tập {ep}.',
|
||||
'roulette.stoppedAtOf': 'Bạn đang dừng ở tập {ep}/{total}.',
|
||||
'roulette.enjoy': 'Xem phim vui nhé!',
|
||||
'roulette.again': 'Quay lại lần nữa',
|
||||
'roulette.spinning': 'Đang quay…',
|
||||
'roulette.spin': 'Quay vòng quay',
|
||||
'roulette.poolSize_one': 'Chọn từ {count} phim',
|
||||
'roulette.poolSize_other': 'Chọn từ {count} phim',
|
||||
'roulette.empty': 'Không có phim nào phù hợp: hãy nới rộng bộ lọc bên dưới.',
|
||||
'roulette.inside': 'Trong vòng quay',
|
||||
'roulette.pickFrom': 'Chọn từ',
|
||||
'roulette.rewatchHint': '“Xem lại” = các phim bạn đã xem xong được chấm từ 4/5 trở lên, phim yêu thích và Top 5.',
|
||||
'roulette.time': 'Thời gian rảnh (1 phim lẻ hoặc 1 tập)',
|
||||
'roulette.seeItem': 'Xem chi tiết đầy đủ',
|
||||
'roulette.watchIt': 'Xem phim này',
|
||||
|
||||
|
||||
'top.pick': 'Chọn hạng {rank}',
|
||||
'top.shareTitle': 'Top 5 {category} của tôi',
|
||||
'top.shareLabel': 'Chia sẻ Top 5 này dưới dạng ảnh',
|
||||
'top.title': 'Top của tôi',
|
||||
'top.number': '#{rank}',
|
||||
'top.pickFirst': 'Chọn hạng 1 của bạn.',
|
||||
'top.editLabel': 'Sửa Top 5',
|
||||
'top.freeSlot': 'Còn trống — chọn một phim bên dưới',
|
||||
'top.addFromLibrary': 'Thêm từ thư viện của tôi',
|
||||
'top.allTypes': 'Tất cả loại',
|
||||
'top.searchTitle': 'Tìm phim…',
|
||||
'top.full': 'Top 5 của bạn đã đủ: hãy gỡ một phim để thêm phim khác.',
|
||||
'top.noCandidates': 'Không có phim nào. Thử “Tất cả loại” hoặc tìm kiếm khác.',
|
||||
|
||||
'reco.error': 'Hiện không thể tải gợi ý.',
|
||||
'reco.title': 'Gợi ý',
|
||||
'reco.needKey': 'Thêm khóa TMDB trong Cài đặt để nhận gợi ý dựa trên những phim bạn yêu thích.',
|
||||
'reco.other': 'Phim khác',
|
||||
'reco.ifYouLiked': 'Nếu bạn thích',
|
||||
'reco.loading': 'Đang tìm gợi ý…',
|
||||
'reco.none': 'Bạn đã có hết những phim tương tự phim này. Thử “Phim khác” nhé.',
|
||||
'reco.added': 'Đã thêm {title}',
|
||||
'reco.addLabel': 'Thêm {title} vào Sẽ xem',
|
||||
'reco.addedShort': 'Đã thêm',
|
||||
|
||||
'search.offline': 'Không có kết nối internet: tìm kiếm cần có mạng.',
|
||||
'search.fillFrom': 'Điền từ cơ sở dữ liệu',
|
||||
'search.openSettings': 'Mở Cài đặt',
|
||||
'search.already': 'đã thêm',
|
||||
'search.noResults': 'Không có kết quả. Bạn có thể tự điền thông tin bên dưới.',
|
||||
'search.privacy': 'Chỉ tên phim bạn tìm được gửi tới {source}. Thư viện của bạn vẫn nằm trên điện thoại.',
|
||||
|
||||
'catalog.sortRecent': 'Sửa gần đây',
|
||||
'catalog.sortWatched': 'Ngày xem',
|
||||
'catalog.sortRating': 'Điểm cao nhất',
|
||||
'catalog.sortTitle': 'Tên (A→Z)',
|
||||
'catalog.pageTitle': 'Danh mục ',
|
||||
'catalog.pageAccent': 'của tôi',
|
||||
'catalog.journalSubtitle': 'Lịch sử xem phim của bạn',
|
||||
'catalog.filteredCount_one': '{count} phim (đã lọc)',
|
||||
'catalog.filteredCount_other': '{count} phim (đã lọc)',
|
||||
'catalog.titles': 'Phim',
|
||||
'catalog.journal': 'Nhật ký',
|
||||
'catalog.lists': 'Danh sách',
|
||||
'catalog.searchPh': 'Tên phim, thể loại, nền tảng…',
|
||||
'catalog.moreFilters': 'Thêm bộ lọc',
|
||||
'catalog.all': 'Tất cả',
|
||||
'catalog.genre': 'Thể loại',
|
||||
'catalog.minRating': 'Điểm tối thiểu',
|
||||
'catalog.allRatings': 'Tất cả',
|
||||
'catalog.sortBy': 'Sắp xếp theo',
|
||||
'catalog.favorites': 'Yêu thích',
|
||||
'catalog.reset': 'Đặt lại',
|
||||
'catalog.noResults': 'Không có kết quả',
|
||||
'catalog.nothingYet': 'Chưa có gì ở đây',
|
||||
'catalog.noResultsHint': 'Thử tìm kiếm khác hoặc bỏ bớt bộ lọc.',
|
||||
'catalog.nothingYetHint': 'Thêm phim đầu tiên bằng nút +.',
|
||||
'catalog.clearFilters': 'Xóa bộ lọc',
|
||||
|
||||
'public.agree': 'Khớp với khán giả',
|
||||
'public.more': 'Cao hơn khán giả +{gap}',
|
||||
'public.less': 'Thấp hơn khán giả −{gap}',
|
||||
'public.label': 'Khán giả',
|
||||
'public.me': 'Tôi',
|
||||
'public.added_one': 'Đã thêm {count} điểm khán giả.',
|
||||
'public.added_other': 'Đã thêm {count} điểm khán giả.',
|
||||
'public.noneFound': 'Không tìm thấy điểm mới nào.',
|
||||
'public.fetch': 'Lấy điểm ({n})',
|
||||
'public.title': 'Tôi vs khán giả',
|
||||
'public.hintFetch': 'Lấy điểm trung bình TMDB / AniList cho các phim bạn đã chấm để xem bạn khác khán giả ở đâu.',
|
||||
'public.hintNone': 'Không có điểm khán giả cho các phim bạn đã chấm trong giai đoạn này.',
|
||||
'public.hintKey': 'Thêm khóa TMDB trong Cài đặt (hoặc liên kết anime với AniList) để so sánh với khán giả.',
|
||||
'public.avgGap': 'Chênh lệch trung bình',
|
||||
'public.average': 'Đúng mức trung bình',
|
||||
'public.generous': 'Dễ tính hơn khán giả',
|
||||
'public.harsh': 'Khắt khe hơn khán giả',
|
||||
'public.agreeTitle': 'Đồng quan điểm',
|
||||
'public.within5_one': 'lệch không quá ½ sao, trên {count} phim',
|
||||
'public.within5_other': 'lệch không quá ½ sao, trên {count} phim',
|
||||
'public.within10_one': 'lệch không quá 1 điểm, trên {count} phim',
|
||||
'public.within10_other': 'lệch không quá 1 điểm, trên {count} phim',
|
||||
'public.lovedPre': 'Tôi ',
|
||||
'public.lovedAccent': 'thích hơn',
|
||||
'public.lovedPost': ' khán giả',
|
||||
'public.hatedPre': 'Tôi ',
|
||||
'public.hatedAccent': 'kém thích hơn',
|
||||
'public.hatedPost': ' khán giả',
|
||||
'public.allAgree': 'Bạn đồng quan điểm với khán giả ở mọi phim. Hiếm đấy!',
|
||||
|
||||
'form.rewatchHint': 'Bạn đã xem lại? Ghi lại mỗi lần xem lại, nó sẽ hiện trong nhật ký của bạn.',
|
||||
'form.editTitle': 'Sửa ',
|
||||
'form.editAccent': 'thông tin',
|
||||
'form.newTitle': 'Phim ',
|
||||
'form.newAccent': 'mới',
|
||||
'form.filledFrom': 'Điền từ',
|
||||
'form.canEdit': 'bạn có thể sửa mọi thứ',
|
||||
'form.fillFromDb': 'Bổ sung từ TMDB / AniList',
|
||||
'form.pickPoster': 'Chọn poster',
|
||||
'form.removeImage': 'Gỡ ảnh',
|
||||
'form.title': 'Tên phim *',
|
||||
'form.titlePh': 'vd: Your Name',
|
||||
'form.originalTitle': 'Tên gốc',
|
||||
'form.originalTitlePh': 'vd: 君の名は。',
|
||||
'form.synopsis': 'Tóm tắt',
|
||||
'form.type': 'Loại',
|
||||
'form.subtype': 'Chi tiết',
|
||||
'form.subtypePh': 'Phim tài liệu, Truyền hình thực tế…',
|
||||
'form.status': 'Trạng thái',
|
||||
'form.myRating': 'Điểm của tôi',
|
||||
'form.favorite': 'Yêu thích',
|
||||
'form.criteria': 'Tiêu chí chi tiết (tùy chọn)',
|
||||
'form.episodes': 'Tập',
|
||||
'form.minusEp': '-1 tập',
|
||||
'form.plusEp': '+1 tập',
|
||||
'form.total': 'Tổng',
|
||||
'form.season': 'Mùa',
|
||||
'form.duration': 'Thời lượng',
|
||||
'form.durationMin': 'Thời lượng (phút)',
|
||||
'form.year': 'Năm',
|
||||
'form.platform': 'Nền tảng',
|
||||
'form.genres': 'Thể loại / thẻ',
|
||||
'form.genresPh': 'Lãng mạn, Khoa học viễn tưởng…',
|
||||
'form.rewatches': 'Lần xem lại',
|
||||
'form.review': 'Nhận xét của tôi',
|
||||
'form.reviewPh': 'Cảm nhận của tôi, những cảnh đáng nhớ…',
|
||||
'form.saveChanges': 'Lưu thay đổi',
|
||||
'form.addToLibrary': 'Thêm vào thư viện',
|
||||
'form.shareImage': 'Chia sẻ dưới dạng ảnh',
|
||||
'form.delete': 'Xóa phim này',
|
||||
'form.deleteConfirm': '“{title}” sẽ bị xóa vĩnh viễn.',
|
||||
'form.removeRewatch': 'Gỡ lần xem lại này',
|
||||
'form.rewatchDate': 'Ngày xem lại',
|
||||
|
||||
'journal.rewatched': 'Đã xem lại',
|
||||
'journal.started': 'Bắt đầu',
|
||||
'journal.emptyTitle': 'Nhật ký trống',
|
||||
'journal.emptyText': 'Những lần xem của bạn sẽ hiện ở đây khi các mục có ngày bắt đầu hoặc ngày xem xong.',
|
||||
'journal.seen_one': 'Đã xem {count}',
|
||||
'journal.seen_other': 'Đã xem {count}',
|
||||
'journal.more': 'Hiện các tháng trước',
|
||||
|
||||
'stats.overview': 'Tổng quan',
|
||||
'stats.habits': 'Thói quen',
|
||||
'stats.tastes': 'Sở thích',
|
||||
'stats.pageTitle': 'Thống kê ',
|
||||
'stats.pageAccent': 'của tôi',
|
||||
'stats.emptyTitle': 'Chưa có thống kê',
|
||||
'stats.emptyText': 'Thống kê sẽ hiện khi bạn đã thêm phim.',
|
||||
'stats.sinceStart': 'từ trước đến nay',
|
||||
'stats.subtitle_one': '{count} phim trong thư viện của tôi',
|
||||
'stats.subtitle_other': '{count} phim trong thư viện của tôi',
|
||||
'stats.subtitleYear_one': '{count} phim trong năm {year}',
|
||||
'stats.subtitleYear_other': '{count} phim trong năm {year}',
|
||||
'stats.hours_one': 'giờ',
|
||||
'stats.hours_other': 'giờ',
|
||||
'stats.nonStopPre': 'tức là ',
|
||||
'stats.nonStopPost': ' liên tục',
|
||||
'stats.days_one': '{count} ngày',
|
||||
'stats.days_other': '{count} ngày',
|
||||
'stats.finishedN_one': '{count} đã xem xong',
|
||||
'stats.finishedN_other': '{count} đã xem xong',
|
||||
'stats.episodesN_one': '{count} tập',
|
||||
'stats.episodesN_other': '{count} tập',
|
||||
'stats.timeByType': 'Thời gian theo loại',
|
||||
'stats.noTime': 'Chưa có thời gian xem nào trong giai đoạn này.',
|
||||
'stats.avgRating': 'Điểm trung bình',
|
||||
'stats.rated_one': '{count} phim đã chấm',
|
||||
'stats.rated_other': '{count} phim đã chấm',
|
||||
'stats.inYear': 'năm {year}',
|
||||
'stats.statuses': 'Trạng thái',
|
||||
'stats.hoursTab': 'Giờ',
|
||||
'stats.monthByMonth': 'Theo tháng · {year}',
|
||||
'stats.last12': '12 tháng qua',
|
||||
'stats.monthFinished_one': '{count} phim đã xem xong',
|
||||
'stats.monthFinished_other': '{count} phim đã xem xong',
|
||||
'stats.busiest': 'Tháng xem nhiều nhất:',
|
||||
'stats.records': 'Kỷ lục',
|
||||
'stats.marathon': 'Cày phim nhiều nhất',
|
||||
'stats.longestFilm': 'Phim dài nhất',
|
||||
'stats.noRecords': 'Chưa có kỷ lục nào trong giai đoạn này.',
|
||||
'stats.platforms': 'Nền tảng',
|
||||
'stats.bestRated': 'Điểm cao nhất của tôi',
|
||||
'stats.myRatings': 'Điểm của tôi',
|
||||
'stats.noRatings': 'Không có điểm nào trong giai đoạn này.',
|
||||
'stats.favGenres': 'Thể loại yêu thích',
|
||||
'stats.noGenres': 'Chưa có thể loại nào.',
|
||||
'stats.countries': 'Quốc gia',
|
||||
'stats.noCountry_one': '{count} phim chưa có quốc gia: hãy bổ sung bằng “Bổ sung từ TMDB / AniList” trong trang chi tiết.',
|
||||
'stats.noCountry_other': '{count} phim chưa có quốc gia: hãy bổ sung bằng “Bổ sung từ TMDB / AniList” trong trang chi tiết.',
|
||||
'stats.noCountryLegacy_one': '{count} phim chưa có quốc gia: hãy bổ sung bằng “Bổ sung từ TMDB / AniList” trong trang chi tiết, hoặc nhập lại bản sao lưu từ ứng dụng cũ (“Gộp”).',
|
||||
'stats.noCountryLegacy_other': '{count} phim chưa có quốc gia: hãy bổ sung bằng “Bổ sung từ TMDB / AniList” trong trang chi tiết, hoặc nhập lại bản sao lưu từ ứng dụng cũ (“Gộp”).',
|
||||
'stats.byType': 'Theo loại',
|
||||
'stats.footnote': 'Thời gian ước tính từ số tập đã xem và thời lượng đã nhập (nếu không có: phim lẻ 1 giờ 50, tập anime 24 phút, phim bộ 45 phút, K-drama 1 giờ, C-drama 45 phút). Mỗi phim được tính vào năm tôi xem xong.',
|
||||
'stats.ratedAs_one': 'được chấm {rating}',
|
||||
'stats.ratedAs_other': 'được chấm {rating}',
|
||||
|
||||
'backup.shareTitle': 'Bản sao lưu AzuuCine',
|
||||
'backup.tooBig': 'Tệp quá lớn (tối đa 30 MB).',
|
||||
'backup.notJson': 'Tệp này không phải JSON hợp lệ.',
|
||||
'backup.noItems': 'Không tìm thấy mục nào trong tệp này.',
|
||||
'backup.tooMany': 'Quá nhiều mục (tối đa {n}).',
|
||||
|
||||
'image.canvas': 'Canvas không khả dụng',
|
||||
'image.unreadable': 'Không đọc được ảnh',
|
||||
'image.notImage': 'Tệp này không phải là ảnh.',
|
||||
'image.tooBig': 'Ảnh quá lớn (tối đa 25 MB).',
|
||||
|
||||
'social.err.server': 'Máy chủ phản hồi {status}.',
|
||||
'social.err.usernameTaken': 'Tên người dùng này đã có người dùng.',
|
||||
'social.err.usernameReserved': 'Tên người dùng này không khả dụng.',
|
||||
'social.err.invalid': 'Một trong các giá trị không hợp lệ.',
|
||||
'social.inLibrary': 'Trong thư viện của tôi',
|
||||
'social.addToWatch': 'Thêm vào Sẽ xem',
|
||||
'social.linkCopied': 'Đã sao chép liên kết!',
|
||||
'social.profile': 'Hồ sơ',
|
||||
'social.shareProfile': 'Chia sẻ hồ sơ',
|
||||
'social.loading': 'Đang tải…',
|
||||
'social.loadError': 'Không thể tải hồ sơ.',
|
||||
'social.notFound': 'Không tìm thấy hồ sơ',
|
||||
'social.notFoundHint': 'Không có hồ sơ nào tên @{username}.',
|
||||
'social.editProfile': 'Sửa hồ sơ',
|
||||
'social.following': 'Đang theo dõi',
|
||||
'social.requested': 'Đã gửi yêu cầu',
|
||||
'social.followBack': 'Theo dõi lại',
|
||||
'social.follow': 'Theo dõi',
|
||||
'social.private': 'Tài khoản riêng tư',
|
||||
'social.followsYou': 'Đang theo dõi bạn',
|
||||
'social.seen': 'Đã xem',
|
||||
'social.followers_one': 'Người theo dõi',
|
||||
'social.followers_other': 'Người theo dõi',
|
||||
'social.followingCount_one': 'Đang theo dõi',
|
||||
'social.followingCount_other': 'Đang theo dõi',
|
||||
'social.requests_one': '{count} yêu cầu theo dõi',
|
||||
'social.requests_other': '{count} yêu cầu theo dõi',
|
||||
'social.privateTitle': 'Tài khoản này ở chế độ riêng tư',
|
||||
'social.privateText': 'Theo dõi để xem phim họ đã xem, điểm và Top 5 của họ.',
|
||||
'social.tabProfile': 'Hồ sơ',
|
||||
'social.tabLibrary': 'Thư viện',
|
||||
'social.cancelRequestTitle': 'Hủy yêu cầu theo dõi?',
|
||||
'social.unfollowTitle': 'Bỏ theo dõi {name}?',
|
||||
'social.unfollowPrivate': 'Tài khoản này ở chế độ riêng tư: bạn sẽ phải gửi lại yêu cầu để xem hồ sơ của họ.',
|
||||
'social.cancelRequest': 'Hủy yêu cầu',
|
||||
'social.unfollow': 'Bỏ theo dõi',
|
||||
'social.top5': 'Top 5',
|
||||
'social.recent': 'Xem gần đây',
|
||||
'social.noRecent': 'Chưa xem xong phim nào.',
|
||||
'social.statYear': 'Đã xem năm nay',
|
||||
'social.statFilms': 'Phim lẻ đã xem',
|
||||
'social.statSeries': 'Phim bộ & anime đã xem',
|
||||
'social.emptyLibrary': 'Không có phim nào ở đây.',
|
||||
'social.loadMore': 'Xem thêm',
|
||||
'social.changeBanner': 'Đổi ảnh bìa',
|
||||
'social.changeAvatar': 'Đổi ảnh đại diện',
|
||||
'social.removeAvatar': 'Gỡ ảnh đại diện',
|
||||
'social.removeBanner': 'Gỡ ảnh bìa',
|
||||
'social.displayName': 'Tên hiển thị',
|
||||
'social.username': 'Tên người dùng',
|
||||
'social.usernameRule': '3–20 ký tự: chữ thường, số hoặc _',
|
||||
'social.bio': 'Giới thiệu',
|
||||
'social.bioPh': 'Bạn thích xem gì, thể loại yêu thích của bạn…',
|
||||
'social.privateAccount': 'Tài khoản riêng tư',
|
||||
'social.privateHint': 'Chỉ những người theo dõi được bạn chấp nhận mới thấy phim bạn xem.',
|
||||
'social.publicHint': 'Tên, tên người dùng, ảnh đại diện, ảnh bìa, giới thiệu, điểm và nhận xét của bạn hiển thị với các thành viên. Chuyển tài khoản sang riêng tư để chọn ai được xem.',
|
||||
'social.requestsTab_one': 'Yêu cầu',
|
||||
'social.requestsTab_other': 'Yêu cầu ({count})',
|
||||
'social.noFollowing': 'Bạn chưa theo dõi ai.',
|
||||
'social.noFollowers': 'Chưa có người theo dõi.',
|
||||
'social.accept': 'Chấp nhận',
|
||||
'social.decline': 'Từ chối',
|
||||
'social.removeFollower': 'Gỡ',
|
||||
'social.findFriends': 'Tìm bạn bè',
|
||||
'social.searchPh': 'Tên người dùng hoặc tên…',
|
||||
'social.noResults': 'Không tìm thấy ai.',
|
||||
'social.inviteHint': 'Bạn bè của bạn chưa dùng AzuuCine? Gửi cho họ liên kết hồ sơ của bạn.',
|
||||
'social.shareMyProfile': 'Chia sẻ hồ sơ của tôi',
|
||||
'social.inviteText': 'Theo dõi mình trên AzuuCine nhé!',
|
||||
'social.myProfile': 'Hồ sơ của tôi',
|
||||
|
||||
'feed.title': 'Đang theo dõi',
|
||||
'feed.empty': 'Theo dõi bạn bè để xem ở đây họ đang xem gì và nghĩ gì về phim đó.',
|
||||
'feed.finished': 'đã xem',
|
||||
'feed.started': 'đã bắt đầu xem',
|
||||
'feed.rewatched': 'đã xem lại',
|
||||
'feed.added': 'muốn xem',
|
||||
'feed.review': 'nhận xét',
|
||||
'auth.google': 'Tiếp tục với Google',
|
||||
'auth.or': 'hoặc',
|
||||
'auth.err.google': 'Đăng nhập bằng Google thất bại. Hãy thử lại.',
|
||||
'auth.err.storage': 'Trình duyệt của bạn đang chặn bộ nhớ: không thể đăng nhập.',
|
||||
'welcome.title': 'Chọn tên người dùng',
|
||||
'welcome.titleA': 'Chào mừng đến với',
|
||||
'welcome.titleB': 'AzuuCine',
|
||||
'welcome.text': 'Chọn tên người dùng: bạn bè sẽ tìm và theo dõi bạn qua tên này.',
|
||||
'welcome.usernamePh': 'ten_cua_ban',
|
||||
'welcome.namePh': 'Tên của bạn',
|
||||
'welcome.nameHint': 'Không bắt buộc — hiển thị trên hồ sơ của bạn. Bạn có thể đổi mọi thứ sau.',
|
||||
'welcome.go': 'Bắt đầu thôi',
|
||||
'welcome.later': 'Để sau',
|
||||
'social.watching': 'Đang xem',
|
||||
'social.watchlist': 'Muốn xem',
|
||||
'search.allKinds': 'Phim lẻ, phim bộ và anime',
|
||||
'search.animeOnly': 'Không có khóa TMDB thì chỉ tìm được anime.',
|
||||
'search.alreadySeries': 'đã có trong thư viện — mở',
|
||||
'form.startShort': 'Bắt đầu',
|
||||
'form.endShort': 'Xem xong',
|
||||
'hero.allSeen': 'Đã xem hết',
|
||||
'hero.nextOn': 'Tập tiếp theo vào {date}',
|
||||
'hero.upToDate': 'Đã xem kịp',
|
||||
'hero.seenEp': 'Đã xem {ep}',
|
||||
'hero.seen': 'Đã xem',
|
||||
'hero.markSeen': 'Đánh dấu đã xem',
|
||||
'hero.edit': 'Sửa thông tin',
|
||||
'hero.more': 'Xem thêm',
|
||||
'hero.less': 'Thu gọn',
|
||||
'episodes.seasonOption_one': 'Mùa {season} · {count} tập',
|
||||
'episodes.seasonOption_other': 'Mùa {season} · {count} tập',
|
||||
'episodes.seen': 'Đã xem {done}/{total}',
|
||||
'episodes.short': 'T{n}',
|
||||
'episodes.upcoming': 'ngày {date}',
|
||||
'episodes.nameless': 'Tập {n}',
|
||||
'episodes.seasonShort': 'M{n}',
|
||||
'homeHero.continue': 'Đang xem',
|
||||
'homeHero.next': 'Xem tiếp theo',
|
||||
'homeHero.details': 'Chi tiết',
|
||||
'homeHero.continueRow': 'Xem tiếp',
|
||||
'homeHero.nextUp': 'Tiếp theo: {ep}',
|
||||
}
|
||||
|
||||
export default dict
|
||||
+118
-33
@@ -9,10 +9,6 @@ const dict: Translations = {
|
||||
'common.add': '添加',
|
||||
'common.delete': '删除',
|
||||
'common.all': '全部',
|
||||
'common.none': '无',
|
||||
'common.noData': '还没有数据。',
|
||||
'common.retry': '重试',
|
||||
'common.back': '返回',
|
||||
'common.offline': '没有网络连接。',
|
||||
'common.minutes': '{n}分钟',
|
||||
'common.hours': '{h}小时',
|
||||
@@ -63,9 +59,6 @@ const dict: Translations = {
|
||||
'subtype.stage': '舞台演出',
|
||||
'subtype.miniseries': '迷你剧',
|
||||
|
||||
'platform.cinema': '电影院',
|
||||
'platform.dvd': 'DVD / 蓝光',
|
||||
'platform.tv': '电视',
|
||||
|
||||
'genre.action': '动作',
|
||||
'genre.adventure': '冒险',
|
||||
@@ -148,6 +141,7 @@ const dict: Translations = {
|
||||
'card.open': '打开《{title}》',
|
||||
|
||||
'rating.outOf10': '10分制评分',
|
||||
'rating.outOf5': '5分制评分',
|
||||
'rating.stars_one': '{count}星',
|
||||
'rating.stars_other': '{count}星',
|
||||
'rating.clear': '清除评分',
|
||||
@@ -185,7 +179,7 @@ const dict: Translations = {
|
||||
'auth.sendLink': '发送链接',
|
||||
'auth.forgot': '忘记密码?',
|
||||
'auth.backToLogin': '返回登录',
|
||||
'auth.privacy': '你的数据与账号绑定,只有你自己能看到。数据也会保存在你的设备上,没网也能用。',
|
||||
'auth.privacy': '账号会保护你的片库。你的主页(作品、评分和短评)对用户可见,除非你设为私密;你的片单和设置始终私密。数据也会保存在你的设备上,没网也能用。',
|
||||
'auth.newPasswordTitle': '设置你的新密码。',
|
||||
'auth.newPassword': '新密码',
|
||||
'auth.err.credentials': '邮箱或密码错误。',
|
||||
@@ -206,6 +200,7 @@ const dict: Translations = {
|
||||
'auth.err.linkInvalid': '链接无效。',
|
||||
|
||||
'settings.language': '语言',
|
||||
'settings.langAuto': '自动({lang})',
|
||||
'settings.backupShared': '备份已分享。',
|
||||
'settings.backupDownloaded': '备份已下载。',
|
||||
'settings.exportFailed': '导出失败。',
|
||||
@@ -222,6 +217,94 @@ const dict: Translations = {
|
||||
'settings.scale10': '10分制',
|
||||
'settings.ratingHint': '5分制可打半星,10分制以0.5分为单位。已有评分会自动换算。',
|
||||
'settings.theme': '主题',
|
||||
'settings.appearance': '外观',
|
||||
'settings.appearanceHint': '“自动”跟随你的浏览器(浅色或深色)。',
|
||||
'theme.modeAuto': '自动',
|
||||
'theme.modeLight': '浅色',
|
||||
'theme.modeDark': '深色',
|
||||
'theme.modeNight': '夜间',
|
||||
'theme.modeStarfield': '星空',
|
||||
'settings.accentColor': '强调色',
|
||||
'settings.installApp': '安装应用',
|
||||
'settings.installHint': '将 AzuuCine 添加到主屏幕或桌面。',
|
||||
'settings.installed': '应用已安装',
|
||||
'settings.notifs': '通知',
|
||||
'settings.notifsHint': '选择触发铃铛的内容。',
|
||||
'settings.notifEpisodes': '新剧集',
|
||||
'settings.notifFollows': '新粉丝',
|
||||
'settings.notifAccepted': '已接受的请求',
|
||||
'settings.notifReactions': '对我评价的回应',
|
||||
'notif.new_episode': '《{title}》有新一集',
|
||||
'notif.new_season': '《{title}》有新一季',
|
||||
'reviews.title': '评价',
|
||||
'reviews.friends': '你的好友',
|
||||
'reviews.others': '其他用户',
|
||||
'reviews.noneFriends': '好友暂无评价',
|
||||
'reviews.noneOthers': '暂无其他评价',
|
||||
'reviews.none': '还没有评价',
|
||||
'reviews.seeAll': '查看全部评价',
|
||||
'reviews.react': '回应',
|
||||
'notif.title': '通知',
|
||||
'notif.empty': '暂无通知',
|
||||
'notif.someone': '有人',
|
||||
'notif.follow_request': '想关注你',
|
||||
'notif.follow_accepted': '接受了你的请求',
|
||||
'notif.new_follower': '开始关注你',
|
||||
'notif.reaction': '回应了你的评价',
|
||||
'notif.on': '关于《{title}》',
|
||||
'home.notifications': '通知',
|
||||
'home.notificationsN': '{count} 条通知',
|
||||
'settings.admin': 'Administration',
|
||||
'admin.title': 'Administration',
|
||||
'admin.tabOverview': 'Overview',
|
||||
'admin.tabUsers': 'Users',
|
||||
'admin.tabReviews': 'Reviews',
|
||||
'admin.users': 'Users',
|
||||
'admin.public': 'Public',
|
||||
'admin.private': 'Private',
|
||||
'admin.suspended': 'Suspended',
|
||||
'admin.items': 'Titles',
|
||||
'admin.films': 'Films',
|
||||
'admin.series': 'Series',
|
||||
'admin.reviews': 'Reviews',
|
||||
'admin.follows': 'Follows',
|
||||
'admin.pending': 'Requests',
|
||||
'admin.media': 'Images',
|
||||
'admin.signups7': 'Signups (7d)',
|
||||
'admin.signups30': 'Signups (30d)',
|
||||
'admin.active7': 'Active (7d)',
|
||||
'admin.newItems7': 'Added (7d)',
|
||||
'admin.signupsChart': 'Signups — last 14 days',
|
||||
'admin.searchUsers': 'Search an account…',
|
||||
'admin.joined': 'Joined {date}',
|
||||
'admin.lastSeen': 'Seen {ago}',
|
||||
'admin.never': 'never',
|
||||
'admin.suspend': 'Suspend',
|
||||
'admin.unsuspend': 'Reactivate',
|
||||
'admin.suspendedBadge': 'Suspended',
|
||||
'admin.noUsers': 'No accounts',
|
||||
'admin.anon': '(no profile)',
|
||||
'admin.statItems': 'titles',
|
||||
'admin.statReviews': 'reviews',
|
||||
'admin.statFollowers': 'followers',
|
||||
'admin.clearReview': 'Clear review',
|
||||
'admin.reviewCleared': 'Review cleared',
|
||||
'admin.noReviews': 'No reviews',
|
||||
'admin.confirmClearTitle': 'Clear this review?',
|
||||
'admin.confirmClearMsg': 'The review will be removed from the member\'s profile on their next sync.',
|
||||
'admin.confirmSuspendTitle': 'Suspend this account?',
|
||||
'admin.confirmSuspendMsg': 'Their profile will be hidden from other members. Reversible at any time.',
|
||||
'admin.confirmUnsuspendTitle': 'Reactivate this account?',
|
||||
'admin.confirmUnsuspendMsg': 'Their profile will be visible again.',
|
||||
'admin.suspendedDone': 'Account suspended',
|
||||
'admin.reactivatedDone': 'Account reactivated',
|
||||
'admin.loadError': 'Could not load the data.',
|
||||
'install.title': '安装 AzuuCine',
|
||||
'install.ios': '在 Safari 中打开 AzuuCine。\n点按“分享”按钮(带向上箭头的方块)。\n选择“添加到主屏幕”,然后点“添加”。',
|
||||
'install.android': '在 Chrome 中打开 AzuuCine。\n点按右上角的 ⋮ 菜单。\n选择“添加到主屏幕”(或“安装应用”)。',
|
||||
'install.desktop': '在地址栏右侧点击安装图标(带箭头的屏幕)。\n或:浏览器 ⋮ 菜单 →“安装 AzuuCine”。\n点“安装”确认。',
|
||||
'install.other': '打开浏览器的菜单。\n查找“安装应用”或“添加到主屏幕”。',
|
||||
'install.gotIt': '知道了',
|
||||
'settings.themeX': '{name}主题',
|
||||
'settings.pickColor': '自选颜色',
|
||||
'settings.freeColor': '自定义颜色',
|
||||
@@ -436,21 +519,6 @@ const dict: Translations = {
|
||||
'roulette.seeItem': '查看完整详情',
|
||||
'roulette.watchIt': '就看这个',
|
||||
|
||||
'newEp.check': '检查',
|
||||
'newEp.title': '最新更新',
|
||||
'newEp.checking': '正在查看有什么新内容…',
|
||||
'newEp.needKey': '在「设置」中添加你的 TMDB 密钥,就能收到新集和新季的提醒。',
|
||||
'newEp.nothing_one': '你追的剧集或动画暂无更新。',
|
||||
'newEp.nothing_other': '你追的{count}部剧集和动画暂无更新。',
|
||||
'newEp.needKeyAlso': '(在「设置」中添加你的 TMDB 密钥,就能同时追剧集和电视剧。)',
|
||||
'newEp.newSeason': '新一季',
|
||||
'newEp.catchUp': '待补',
|
||||
'newEp.soon': '即将播出',
|
||||
'newEp.epWhen': '第{ep}集 {when}',
|
||||
'newEp.available_one': '{count}集可看',
|
||||
'newEp.available_other': '{count}集可看',
|
||||
'newEp.next': '下一集:第{ep}集 {when}',
|
||||
'newEp.resume': '继续看',
|
||||
|
||||
'top.pick': '选择第{rank}名',
|
||||
'top.shareTitle': '我的{category} Top 5',
|
||||
@@ -477,10 +545,8 @@ const dict: Translations = {
|
||||
'reco.addLabel': '将《{title}》加入想看',
|
||||
'reco.addedShort': '已添加',
|
||||
|
||||
'search.moviesSeries': '电影和剧集',
|
||||
'search.offline': '没有网络连接:搜索需要联网。',
|
||||
'search.fillFrom': '从数据库填写',
|
||||
'search.needKey': '要搜索电影、剧集和电视剧,请在「设置」中添加你的免费 TMDB 密钥。',
|
||||
'search.openSettings': '打开「设置」',
|
||||
'search.already': '已添加',
|
||||
'search.noResults': '没有结果。你可以在下方手动填写。',
|
||||
@@ -570,12 +636,8 @@ const dict: Translations = {
|
||||
'form.plusEp': '+1集',
|
||||
'form.total': '总集数',
|
||||
'form.season': '季',
|
||||
'form.minPerEp': '分钟/集',
|
||||
'form.duration': '时长',
|
||||
'form.durationMin': '时长(分钟)',
|
||||
'form.info': '信息',
|
||||
'form.start': '开始 / 观看日期',
|
||||
'form.end': '结束',
|
||||
'form.year': '年份',
|
||||
'form.platform': '平台',
|
||||
'form.genres': '类型 / 标签',
|
||||
@@ -590,8 +652,6 @@ const dict: Translations = {
|
||||
'form.deleteConfirm': '《{title}》将被永久删除。',
|
||||
'form.removeRewatch': '移除这次重温',
|
||||
'form.rewatchDate': '重温日期',
|
||||
'form.reviewPublic': '在我的主页上显示这条短评',
|
||||
'form.reviewPublicHint': '否则只有你自己能看到。',
|
||||
|
||||
'journal.rewatched': '重温',
|
||||
'journal.started': '开始看',
|
||||
@@ -722,7 +782,7 @@ const dict: Translations = {
|
||||
'social.bioPh': '你喜欢看什么、最爱的类型…',
|
||||
'social.privateAccount': '私密账号',
|
||||
'social.privateHint': '只有你同意的粉丝才能看到你的观看记录。',
|
||||
'social.publicHint': '你的昵称、用户名、头像、横幅和简介对所有用户可见。你写的短评保持私密,除非你选择在主页上显示。',
|
||||
'social.publicHint': '你的昵称、用户名、头像、横幅、简介、评分和短评对用户可见。将账号设为私密即可选择谁能看到。',
|
||||
'social.requestsTab_one': '申请',
|
||||
'social.requestsTab_other': '申请({count})',
|
||||
'social.noFollowing': '还没有关注任何人。',
|
||||
@@ -760,7 +820,32 @@ const dict: Translations = {
|
||||
'welcome.later': "稍后",
|
||||
'social.watching': "正在看",
|
||||
'social.watchlist': "想看",
|
||||
'form.infoHint': "日期、年份、平台和类型——自动填写",
|
||||
'search.allKinds': "电影、剧集和动画",
|
||||
'search.animeOnly': "没有 TMDB 密钥时只能找到动画。",
|
||||
'search.alreadySeries': "已在你的片库中——打开",
|
||||
'form.startShort': "开始于",
|
||||
'form.endShort': "看完于",
|
||||
'hero.allSeen': "全部看完",
|
||||
'hero.nextOn': '下一集:{date}',
|
||||
'hero.upToDate': '已追平',
|
||||
'hero.seenEp': "已看 {ep}",
|
||||
'hero.seen': "已看",
|
||||
'hero.markSeen': "标记为已看",
|
||||
'hero.edit': "编辑信息",
|
||||
'hero.more': "展开",
|
||||
'hero.less': "收起",
|
||||
'episodes.seasonOption_one': "第 {season} 季 · {count} 集",
|
||||
'episodes.seasonOption_other': "第 {season} 季 · {count} 集",
|
||||
'episodes.seen': "已看 {done}/{total}",
|
||||
'episodes.short': "第{n}集",
|
||||
'episodes.upcoming': "{date}",
|
||||
'episodes.nameless': "第 {n} 集",
|
||||
'episodes.seasonShort': '第{n}季',
|
||||
'homeHero.continue': "正在看",
|
||||
'homeHero.next': "接下来看",
|
||||
'homeHero.details': "详情",
|
||||
'homeHero.continueRow': "继续观看",
|
||||
'homeHero.nextUp': "下一集:{ep}",
|
||||
}
|
||||
|
||||
export default dict
|
||||
+20
-10
@@ -1,12 +1,14 @@
|
||||
import { Fragment, createContext, useCallback, useContext, useState, type ReactNode } from 'react'
|
||||
import { getLang, LANGS, loadLang, t, type Lang } from '.'
|
||||
import { detectLang, getLang, isLangChosen, LANGS, loadLang, t, type Lang } from '.'
|
||||
|
||||
interface LangApi {
|
||||
lang: Lang
|
||||
setLang: (l: Lang) => Promise<void>
|
||||
/** Langue automatique (selon le pays où l'on se trouve) */
|
||||
auto: boolean
|
||||
setLang: (l: Lang | 'auto') => Promise<void>
|
||||
}
|
||||
|
||||
const LangContext = createContext<LangApi>({ lang: 'fr', setLang: async () => {} })
|
||||
const LangContext = createContext<LangApi>({ lang: 'fr', auto: true, setLang: async () => {} })
|
||||
|
||||
// Caches qui contiennent du texte déjà traduit (libellés des sorties) : à refaire dans la nouvelle langue
|
||||
const TRANSLATED_CACHES = ['azuucine:releases', 'azuucine:global-releases']
|
||||
@@ -14,9 +16,15 @@ const TRANSLATED_CACHES = ['azuucine:releases', 'azuucine:global-releases']
|
||||
/** Langue active. Changer de langue ré-affiche toute l'app (les données ne bougent pas). */
|
||||
export function LangProvider({ children }: { children: ReactNode }) {
|
||||
const [lang, setState] = useState<Lang>(getLang)
|
||||
const setLang = useCallback(async (l: Lang) => {
|
||||
if (l === getLang()) return
|
||||
await loadLang(l)
|
||||
const [auto, setAuto] = useState(() => !isLangChosen())
|
||||
const setLang = useCallback(async (choice: Lang | 'auto') => {
|
||||
const l = choice === 'auto' ? detectLang() : choice
|
||||
setAuto(choice === 'auto')
|
||||
if (l === getLang()) {
|
||||
await loadLang(l, choice === 'auto' ? null : true)
|
||||
return
|
||||
}
|
||||
await loadLang(l, choice === 'auto' ? null : true)
|
||||
for (const k of TRANSLATED_CACHES) {
|
||||
try {
|
||||
localStorage.removeItem(k)
|
||||
@@ -27,7 +35,7 @@ export function LangProvider({ children }: { children: ReactNode }) {
|
||||
setState(l)
|
||||
}, [])
|
||||
return (
|
||||
<LangContext.Provider value={{ lang, setLang }}>
|
||||
<LangContext.Provider value={{ lang, auto, setLang }}>
|
||||
<Fragment key={lang}>{children}</Fragment>
|
||||
</LangContext.Provider>
|
||||
)
|
||||
@@ -37,14 +45,16 @@ export const useLang = () => useContext(LangContext)
|
||||
|
||||
/** Sélecteur de langue (noms dans leur propre langue). */
|
||||
export function LanguageSelect({ className }: { className?: string }) {
|
||||
const { lang, setLang } = useLang()
|
||||
const { lang, auto, setLang } = useLang()
|
||||
const detected = LANGS.find((l) => l.code === detectLang())
|
||||
return (
|
||||
<select
|
||||
value={lang}
|
||||
onChange={(e) => void setLang(e.target.value as Lang)}
|
||||
value={auto ? 'auto' : lang}
|
||||
onChange={(e) => void setLang(e.target.value as Lang | 'auto')}
|
||||
className={className ?? 'field'}
|
||||
aria-label={t('settings.language')}
|
||||
>
|
||||
<option value="auto">{t('settings.langAuto', { lang: detected?.label ?? '' })}</option>
|
||||
{LANGS.map((l) => (
|
||||
<option key={l.code} value={l.code}>
|
||||
{l.label}
|
||||
|
||||
+112
@@ -60,6 +60,118 @@
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Apparences (thèmes de fond). Le bloc @theme ci-dessus reste la palette SOMBRE
|
||||
* par défaut (utilitaires Tailwind bg-bg/text-ink/border-line), et « dark » est
|
||||
* donc l'apparence par défaut. On redéfinit ici UNIQUEMENT les jetons de palette
|
||||
* pour chaque apparence — les jetons d'accent (--color-accent*) sont posés par JS.
|
||||
*/
|
||||
:root[data-theme='light'] {
|
||||
--color-bg: #fafaf9;
|
||||
--color-surface: #ffffff;
|
||||
--color-surface-2: #f1f0ee;
|
||||
--color-line: #e5e3df;
|
||||
--color-line-strong: #d2cfc9;
|
||||
--color-ink: #1c1b1a;
|
||||
--color-ink-2: #57544e;
|
||||
--color-ink-3: #86837c;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
:root[data-theme='dark'] {
|
||||
--color-bg: #0a0a0a;
|
||||
--color-surface: #111110;
|
||||
--color-surface-2: #181817;
|
||||
--color-line: #262624;
|
||||
--color-line-strong: #3a3936;
|
||||
--color-ink: #f4f2ee;
|
||||
--color-ink-2: #b3b0a8;
|
||||
--color-ink-3: #8a8781;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
:root[data-theme='night'] {
|
||||
--color-bg: #000000;
|
||||
--color-surface: #0a0a0a;
|
||||
--color-surface-2: #141414;
|
||||
--color-line: #222222;
|
||||
--color-line-strong: #333333;
|
||||
--color-ink: #f4f2ee;
|
||||
--color-ink-2: #b3b0a8;
|
||||
--color-ink-3: #8a8781;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
:root[data-theme='starfield'] {
|
||||
--color-bg: #070b1c;
|
||||
--color-surface: #0c1226;
|
||||
--color-surface-2: #141c38;
|
||||
--color-line: #1f2a4d;
|
||||
--color-line-strong: #2d3a63;
|
||||
--color-ink: #eef1fb;
|
||||
--color-ink-2: #b4bbd6;
|
||||
--color-ink-3: #8089ab;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* Anti-flash : avant que le JS ne pose data-theme, un utilisateur en préférence
|
||||
claire ne doit pas voir la palette sombre le temps d'une frame. */
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme]) {
|
||||
--color-bg: #fafaf9;
|
||||
--color-surface: #ffffff;
|
||||
--color-surface-2: #f1f0ee;
|
||||
--color-line: #e5e3df;
|
||||
--color-line-strong: #d2cfc9;
|
||||
--color-ink: #1c1b1a;
|
||||
--color-ink-2: #57544e;
|
||||
--color-ink-3: #86837c;
|
||||
color-scheme: light;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fond étoilé (apparence « bleu nuit »), 100% CSS, sans image ni réseau.
|
||||
Une couche fixe derrière le contenu : nébuleuse bleue + étoiles en tuiles. */
|
||||
:root[data-theme='starfield'] #root {
|
||||
background: transparent;
|
||||
}
|
||||
:root[data-theme='starfield'] body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background-color: #070b1c;
|
||||
background-image:
|
||||
radial-gradient(1.5px 1.5px at 40px 60px, #ffffff, transparent),
|
||||
radial-gradient(1px 1px at 120px 20px, rgba(255, 255, 255, 0.8), transparent),
|
||||
radial-gradient(1px 1px at 200px 140px, #cbd5ff, transparent),
|
||||
radial-gradient(1.5px 1.5px at 260px 90px, rgba(255, 255, 255, 0.6), transparent),
|
||||
radial-gradient(1px 1px at 80px 190px, rgba(255, 255, 255, 0.7), transparent),
|
||||
radial-gradient(1px 1px at 300px 250px, #ffffff, transparent),
|
||||
radial-gradient(1.5px 1.5px at 340px 160px, rgba(203, 213, 255, 0.9), transparent),
|
||||
radial-gradient(1200px 600px at 70% -10%, rgba(45, 58, 99, 0.55), transparent 60%),
|
||||
radial-gradient(900px 500px at 15% 5%, rgba(31, 42, 77, 0.45), transparent 55%);
|
||||
background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
|
||||
background-size: 360px 360px, 360px 360px, 360px 360px, 360px 360px, 360px 360px, 360px 360px, 360px 360px,
|
||||
100% 100%, 100% 100%;
|
||||
animation: starfield-twinkle 9s ease-in-out infinite;
|
||||
}
|
||||
@keyframes starfield-twinkle {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.85;
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
:root[data-theme='starfield'] body::before {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* Petite étiquette en capitales (titres de section, libellés de champs) */
|
||||
@utility eyebrow {
|
||||
font-size: 11px;
|
||||
|
||||
+92
-4
@@ -1,9 +1,12 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
import { tmdbLanguage } from '../i18n'
|
||||
import type { MediaItem } from '../types'
|
||||
import { CLOUD_TMDB, isPlausibleTmdbKey } from './catalogApi'
|
||||
import { tmdbViaCloud } from './cloud/api'
|
||||
import { TYPE_BY_VALUE } from './constants'
|
||||
import { isPlainObject, isSafeExternalId, isSafeId, readStorage, safeDay, safeIso } from './security'
|
||||
import { isPlainObject, isSafeExternalId, isSafeId, isSafeTmdbPath, readStorage, remoteImage, safeDay, safeIso, safeSeasons } from './security'
|
||||
import { episodeCap } from './franchise'
|
||||
import { localDay } from './utils'
|
||||
|
||||
/**
|
||||
* Suivi des nouveaux épisodes.
|
||||
@@ -19,6 +22,10 @@ export interface AiringInfo {
|
||||
/** Série terminée / annulée : plus besoin de vérifier souvent */
|
||||
ended: boolean
|
||||
seasons?: number
|
||||
/** Épisodes de chaque saison (TMDB) */
|
||||
seasonSizes?: number[]
|
||||
/** Grande image (TMDB) */
|
||||
backdrop?: string
|
||||
checkedAt: string
|
||||
}
|
||||
|
||||
@@ -27,11 +34,29 @@ export type AiringCache = Record<string, AiringInfo>
|
||||
const KEY = 'azuucine:airing'
|
||||
const RECHECK_MS = 12 * 3600 * 1000
|
||||
const RECHECK_ENDED_MS = 30 * 24 * 3600 * 1000
|
||||
/** Date d'arrivée du suivi par saison (les vérifications plus anciennes n'ont pas le découpage) */
|
||||
const SEASONS_SINCE = '2026-10-04T10:00:00.000Z'
|
||||
|
||||
const n0 = (v: unknown, max = 100000) => (typeof v === 'number' && Number.isFinite(v) && v >= 0 ? Math.min(max, Math.round(v)) : 0)
|
||||
|
||||
// Dernière lecture (le cache est relu par chaque carte : on évite de le réanalyser à chaque fois)
|
||||
let memo: { raw: string | null; cache: AiringCache } | undefined
|
||||
|
||||
/** Relit le cache en ne gardant que des entrées bien formées. */
|
||||
export function loadAiring(): AiringCache {
|
||||
let text: string | null = null
|
||||
try {
|
||||
text = localStorage.getItem(KEY)
|
||||
} catch {
|
||||
/* stockage indisponible */
|
||||
}
|
||||
if (memo && memo.raw === text) return memo.cache
|
||||
const cache = parseAiring()
|
||||
memo = { raw: text, cache }
|
||||
return cache
|
||||
}
|
||||
|
||||
function parseAiring(): AiringCache {
|
||||
const raw = readStorage(KEY, {})
|
||||
const out: AiringCache = {}
|
||||
if (!isPlainObject(raw)) return out
|
||||
@@ -40,7 +65,7 @@ export function loadAiring(): AiringCache {
|
||||
const checkedAt = safeIso(v.checkedAt)
|
||||
if (!checkedAt) continue
|
||||
const next = isPlainObject(v.next) && safeDay(v.next.date) ? { episode: n0(v.next.episode), season: n0(v.next.season) || undefined, date: v.next.date as string } : undefined
|
||||
out[id] = { aired: n0(v.aired), ended: v.ended === true, seasons: n0(v.seasons) || undefined, next, checkedAt }
|
||||
out[id] = { aired: n0(v.aired), ended: v.ended === true, seasons: n0(v.seasons) || undefined, seasonSizes: safeSeasons(v.seasonSizes), backdrop: remoteImage(v.backdrop), next, checkedAt }
|
||||
}
|
||||
return out
|
||||
}
|
||||
@@ -71,10 +96,65 @@ export function trackable(items: MediaItem[]): MediaItem[] {
|
||||
export function needsCheck(item: MediaItem, cache: AiringCache, force = false): boolean {
|
||||
const info = cache[item.id]
|
||||
if (!info || force) return true
|
||||
// Fiche TMDB vérifiée avant le suivi par saison : on récupère le découpage une fois
|
||||
if (item.externalId?.startsWith('tmdb:tv:') && (!info.backdrop || (!info.seasonSizes && (info.seasons ?? 0) > 1)) && info.checkedAt < SEASONS_SINCE) return true
|
||||
const age = Date.now() - new Date(info.checkedAt).getTime()
|
||||
// Le prochain épisode annoncé est sorti depuis la dernière vérification : on revérifie (au plus toutes les heures)
|
||||
if (info.next && info.next.date <= localDay() && localDay(new Date(info.checkedAt)) <= info.next.date && age > 3600_000) return true
|
||||
return age > (info.ended ? RECHECK_ENDED_MS : RECHECK_MS)
|
||||
}
|
||||
|
||||
type AiringItem = Pick<MediaItem, 'id' | 'type' | 'externalId'>
|
||||
|
||||
const followed = (item: AiringItem) =>
|
||||
TYPE_BY_VALUE[item.type]?.episodic && isSafeExternalId(item.externalId) && (item.externalId.startsWith('tmdb:tv:') || item.externalId.startsWith('anilist:'))
|
||||
|
||||
/**
|
||||
* Nombre d'épisodes déjà sortis (toutes saisons), ou undefined si on ne sait pas (fiche manuelle, pas encore vérifiée).
|
||||
* Un épisode annoncé dont la date est passée compte comme sorti, même avant la prochaine vérification.
|
||||
*/
|
||||
export function airedCount(item: AiringItem, cache: AiringCache = loadAiring()): number | undefined {
|
||||
const info = cache[item.id]
|
||||
if (!info || !info.aired || !followed(item)) return undefined
|
||||
return info.next && info.next.date <= localDay() ? info.aired + 1 : info.aired
|
||||
}
|
||||
|
||||
/** Date du prochain épisode s'il n'est pas encore sorti. */
|
||||
export function nextAirDate(item: AiringItem, cache: AiringCache = loadAiring()): string | undefined {
|
||||
const d = cache[item.id]?.next?.date
|
||||
return d && d > localDay() ? d : undefined
|
||||
}
|
||||
|
||||
/** Peut-on cocher un épisode de plus ? (non si le suivant n'est pas encore sorti) */
|
||||
export function canWatchMore(item: MediaItem, cache: AiringCache = loadAiring()): boolean {
|
||||
const cap = episodeCap(item)
|
||||
if (cap && item.episodesWatched >= cap) return false
|
||||
const aired = airedCount(item, cache)
|
||||
return aired == null || item.episodesWatched < aired
|
||||
}
|
||||
|
||||
/**
|
||||
* À jour : j'ai vu tous les épisodes sortis et la série continue.
|
||||
* La fiche quitte « Continuer », puis revient dès que le prochain épisode sort.
|
||||
*/
|
||||
export function isCaughtUp(item: MediaItem, cache: AiringCache): boolean {
|
||||
const aired = airedCount(item, cache)
|
||||
if (aired == null || !trackable([item]).length) return false
|
||||
const cap = episodeCap(item)
|
||||
return item.episodesWatched >= aired && !(cap && item.episodesWatched >= cap && cache[item.id]?.ended)
|
||||
}
|
||||
|
||||
/** Cache des sorties, relu quand il change (pour l'affichage). */
|
||||
export function useAiringCache(): AiringCache {
|
||||
const [cache, setCache] = useState(loadAiring)
|
||||
useEffect(() => {
|
||||
const reload = () => setCache(loadAiring())
|
||||
window.addEventListener(CACHE_EVENT, reload)
|
||||
return () => window.removeEventListener(CACHE_EVENT, reload)
|
||||
}, [])
|
||||
return cache
|
||||
}
|
||||
|
||||
// ───────── TMDB ─────────
|
||||
|
||||
interface TmdbTv {
|
||||
@@ -84,6 +164,7 @@ interface TmdbTv {
|
||||
last_episode_to_air?: { season_number: number; episode_number: number } | null
|
||||
next_episode_to_air?: { season_number: number; episode_number: number; air_date?: string } | null
|
||||
seasons?: { season_number: number; episode_count: number }[]
|
||||
backdrop_path?: string | null
|
||||
}
|
||||
|
||||
async function checkTmdb(tvId: string, key: string): Promise<Omit<AiringInfo, 'checkedAt'>> {
|
||||
@@ -116,6 +197,13 @@ async function checkTmdb(tvId: string, key: string): Promise<Omit<AiringInfo, 'c
|
||||
return {
|
||||
aired,
|
||||
seasons: n0(d.number_of_seasons) || undefined,
|
||||
seasonSizes: safeSeasons(
|
||||
(Array.isArray(d.seasons) ? d.seasons : [])
|
||||
.filter((s) => n0(s.season_number) > 0 && n0(s.episode_count) > 0)
|
||||
.sort((a, b) => a.season_number - b.season_number)
|
||||
.map((s) => n0(s.episode_count)),
|
||||
),
|
||||
backdrop: isSafeTmdbPath(d.backdrop_path) ? `https://image.tmdb.org/t/p/w780${d.backdrop_path}` : undefined,
|
||||
ended: d.status === 'Ended' || d.status === 'Canceled',
|
||||
next: nx && nextDate ? { episode: n0(nx.episode_number), season: n0(nx.season_number) || undefined, date: nextDate } : undefined,
|
||||
}
|
||||
@@ -149,7 +237,7 @@ async function checkAniList(ids: number[]): Promise<Map<number, Omit<AiringInfo,
|
||||
out.set(m.id, {
|
||||
aired: nx ? Math.max(0, n0(nx.episode) - 1) : n0(m.episodes),
|
||||
ended: m.status === 'FINISHED' || m.status === 'CANCELLED',
|
||||
next: nx && ts ? { episode: n0(nx.episode), date: new Date(ts * 1000).toISOString().slice(0, 10) } : undefined,
|
||||
next: nx && ts ? { episode: n0(nx.episode), date: localDay(new Date(ts * 1000)) } : undefined,
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -211,7 +299,7 @@ export function novelties(items: MediaItem[], cache: AiringCache): Novelty[] {
|
||||
const unwatched = Math.max(0, info.aired - item.episodesWatched)
|
||||
if (item.status === 'termine') {
|
||||
// Terminé de mon côté, mais de nouveaux épisodes sont sortis depuis → nouvelle saison
|
||||
if (unwatched > 0 && item.episodesTotal && info.aired > item.episodesTotal) out.push({ item, info, unwatched, kind: 'new_season' })
|
||||
if (unwatched > 0 && episodeCap(item) && info.aired > episodeCap(item)!) out.push({ item, info, unwatched, kind: 'new_season' })
|
||||
} else if (unwatched > 0) {
|
||||
out.push({ item, info, unwatched, kind: 'new_episodes' })
|
||||
} else if (info.next && new Date(info.next.date).getTime() < soon) {
|
||||
|
||||
+17
-4
@@ -1,6 +1,7 @@
|
||||
import { t } from '../i18n'
|
||||
import type { BackupFile, Criteria, CustomList, MediaItem, MediaType, Settings, TopCategory, TopEntry, WatchStatus } from '../types'
|
||||
import type { BackupFile, Criteria, CustomList, MediaItem, MediaType, NotifPrefs, Settings, TopCategory, TopEntry, WatchStatus } from '../types'
|
||||
import { ALL_TOP_CATEGORIES, MEDIA_TYPES, STATUSES } from './constants'
|
||||
import { episodeCap } from './franchise'
|
||||
import { convertLegacyBackup, isLegacyBackup } from './legacyImport'
|
||||
import {
|
||||
cleanText,
|
||||
@@ -12,7 +13,9 @@ import {
|
||||
safeCountries,
|
||||
safeDay,
|
||||
safeIso,
|
||||
remoteImage,
|
||||
safePosterUrl,
|
||||
safeSeasons,
|
||||
safeStringList,
|
||||
} from './security'
|
||||
import { todayISO, uid } from './utils'
|
||||
@@ -59,7 +62,7 @@ function safeDates(v: unknown): string[] | undefined {
|
||||
return out.length ? out : undefined
|
||||
}
|
||||
|
||||
/** Valide et nettoie une fiche venant d'un fichier importé. Renvoie null si inutilisable. */
|
||||
/** Valide et nettoie une fiche (import, synchro, écriture locale). Renvoie null si inutilisable. */
|
||||
export function normalizeItem(raw: unknown): MediaItem | null {
|
||||
if (!isPlainObject(raw)) return null
|
||||
const r = raw
|
||||
@@ -74,8 +77,11 @@ export function normalizeItem(raw: unknown): MediaItem | null {
|
||||
}
|
||||
const type = (TYPES.has(r.type as string) ? r.type : 'autre') as MediaType
|
||||
const episodesTotal = int(r.episodesTotal, 0, 100000) || undefined
|
||||
const seasons = safeSeasons(r.seasons)
|
||||
let episodesWatched = int(r.episodesWatched, 0, 100000) ?? 0
|
||||
if (episodesTotal && episodesWatched > episodesTotal) episodesWatched = episodesTotal
|
||||
// Plafond : toutes les saisons connues (la fiche peut en avoir plus que le total enregistré)
|
||||
const cap = episodeCap({ episodesTotal, seasons })
|
||||
if (cap && episodesWatched > cap) episodesWatched = cap
|
||||
const listIds = safeStringList(r.listIds, LIMITS.lists, 64).filter(isSafeId)
|
||||
return {
|
||||
id: isSafeId(r.id) ? r.id : uid(),
|
||||
@@ -91,6 +97,7 @@ export function normalizeItem(raw: unknown): MediaItem | null {
|
||||
episodesWatched,
|
||||
episodesTotal,
|
||||
season: int(r.season, 0, 1000) || undefined,
|
||||
seasons,
|
||||
episodeDuration: int(r.episodeDuration, 0, 1440) || undefined,
|
||||
duration: int(r.duration, 0, 6000) || undefined,
|
||||
startDate: safeDay(r.startDate),
|
||||
@@ -98,8 +105,8 @@ export function normalizeItem(raw: unknown): MediaItem | null {
|
||||
genres: safeStringList(r.genres, LIMITS.genres),
|
||||
platform: cleanText(r.platform, LIMITS.shortText),
|
||||
notes: cleanText(r.notes, LIMITS.notes),
|
||||
notesPublic: r.notesPublic === true || undefined,
|
||||
poster: safePosterUrl(r.poster),
|
||||
backdrop: remoteImage(r.backdrop),
|
||||
overview: cleanText(r.overview, LIMITS.overview),
|
||||
externalId: isSafeExternalId(r.externalId) ? r.externalId : undefined,
|
||||
top: normalizeTop(r.top),
|
||||
@@ -122,6 +129,12 @@ export function normalizeSettings(raw: unknown): Partial<Settings> | undefined {
|
||||
if (raw.ratingScale === '5' || raw.ratingScale === '10') out.ratingScale = raw.ratingScale
|
||||
if (Array.isArray(raw.topCategories)) out.topCategories = ALL_TOP_CATEGORIES.filter((c) => (raw.topCategories as unknown[]).includes(c))
|
||||
if (isHexColor(raw.accentColor)) out.accentColor = raw.accentColor.toLowerCase()
|
||||
if (raw.themeMode === 'auto' || raw.themeMode === 'light' || raw.themeMode === 'dark' || raw.themeMode === 'night' || raw.themeMode === 'starfield') out.themeMode = raw.themeMode
|
||||
if (isPlainObject(raw.notifPrefs)) {
|
||||
const np: NotifPrefs = {}
|
||||
for (const k of ['episodes', 'follows', 'accepted', 'reactions'] as const) if (typeof raw.notifPrefs[k] === 'boolean') np[k] = raw.notifPrefs[k] as boolean
|
||||
out.notifPrefs = np
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
|
||||
+113
-6
@@ -3,7 +3,9 @@ import { region, t, tmdbLanguage } from '../i18n'
|
||||
import { tmdbViaCloud } from './cloud/api'
|
||||
import { TYPE_BY_VALUE } from './constants'
|
||||
import { subtypeLabel, tmdbGenres } from './genres'
|
||||
import { cleanText, isSafeExternalId, isSafeTmdbPath, LIMITS, safeCountries, safePosterUrl, safeStringList } from './security'
|
||||
import { franchiseKey } from './franchise'
|
||||
import { cleanText, isSafeExternalId, isSafeTmdbPath, LIMITS, remoteImage, safeCountries, safeDay, safePosterUrl, safeSeasons, safeStringList } from './security'
|
||||
import { localDay } from './utils'
|
||||
|
||||
/**
|
||||
* Recherche dans les bases publiques :
|
||||
@@ -29,6 +31,8 @@ export interface SearchResult {
|
||||
prefill?: Partial<MediaInput>
|
||||
/** URL de l'affiche en bonne qualité */
|
||||
posterUrl?: string
|
||||
/** Autres titres connus (romaji…), pour repérer les doublons */
|
||||
altTitles?: string[]
|
||||
}
|
||||
|
||||
// ─────────────────────────── Nettoyage des réponses ───────────────────────────
|
||||
@@ -50,10 +54,12 @@ export function sanitizeMeta(d: Partial<MediaInput>): Partial<MediaInput> {
|
||||
platform: cleanText(d.platform, LIMITS.shortText),
|
||||
duration: count(d.duration, 6000),
|
||||
episodesTotal: count(d.episodesTotal, 100000),
|
||||
seasons: safeSeasons(d.seasons),
|
||||
episodeDuration: count(d.episodeDuration, 1440),
|
||||
externalId: isSafeExternalId(d.externalId) ? d.externalId : undefined,
|
||||
countries: safeCountries(d.countries),
|
||||
poster: safePosterUrl(d.poster),
|
||||
backdrop: remoteImage(d.backdrop),
|
||||
publicRating:
|
||||
typeof d.publicRating === 'number' && d.publicRating > 0 && d.publicRating <= 10 ? Math.round(d.publicRating * 10) / 10 : undefined,
|
||||
}
|
||||
@@ -75,6 +81,7 @@ function safeResult(r: SearchResult): SearchResult | null {
|
||||
thumb: safePosterUrl(r.thumb),
|
||||
posterUrl: safePosterUrl(r.posterUrl),
|
||||
kindLabel: cleanText(r.kindLabel, 40) ?? '',
|
||||
altTitles: r.altTitles?.map((x) => cleanText(x, LIMITS.title)).filter((x): x is string => !!x).slice(0, 3),
|
||||
prefill: r.prefill ? sanitizeMeta(r.prefill) : undefined,
|
||||
}
|
||||
}
|
||||
@@ -207,7 +214,9 @@ interface TmdbDetails {
|
||||
release_date?: string
|
||||
first_air_date?: string
|
||||
poster_path?: string | null
|
||||
backdrop_path?: string | null
|
||||
last_episode_to_air?: { runtime?: number } | null
|
||||
seasons?: { season_number?: number; episode_count?: number }[]
|
||||
vote_average?: number
|
||||
vote_count?: number
|
||||
'watch/providers'?: { results?: Record<string, { flatrate?: { provider_name: string }[] }> }
|
||||
@@ -279,7 +288,9 @@ export async function getTmdbDetails(result: SearchResult, key: string): Promise
|
||||
genres: tmdbGenres((d.genres ?? []).map((g) => g.id)).filter((g) => guess.type === 'film' || g !== 'Animation'),
|
||||
platform: provider ? (PROVIDER_NAMES[provider] ?? provider) : undefined,
|
||||
duration: kind === 'movie' ? d.runtime || undefined : undefined,
|
||||
episodesTotal: kind === 'tv' ? d.number_of_episodes || undefined : undefined,
|
||||
episodesTotal: kind === 'tv' ? Math.max(d.number_of_episodes || 0, sumSeasons(tmdbSeasons(d))) || undefined : undefined,
|
||||
seasons: kind === 'tv' ? tmdbSeasons(d) : undefined,
|
||||
backdrop: tmdbBackdrop(d.backdrop_path),
|
||||
episodeDuration: kind === 'tv' ? epRuntime : undefined,
|
||||
externalId: result.externalId,
|
||||
countries: d.origin_country?.length ? d.origin_country : d.production_countries?.map((c) => c.iso_3166_1).slice(0, 3),
|
||||
@@ -287,6 +298,65 @@ export async function getTmdbDetails(result: SearchResult, key: string): Promise
|
||||
})
|
||||
}
|
||||
|
||||
/** Épisodes par saison (hors épisodes spéciaux « saison 0 », et saisons annoncées sans épisode). */
|
||||
function tmdbSeasons(d: TmdbDetails): number[] | undefined {
|
||||
const list = (Array.isArray(d.seasons) ? d.seasons : [])
|
||||
.filter((s) => typeof s.season_number === 'number' && s.season_number > 0 && typeof s.episode_count === 'number' && s.episode_count > 0)
|
||||
.sort((a, b) => a.season_number! - b.season_number!)
|
||||
.map((s) => s.episode_count!)
|
||||
return safeSeasons(list)
|
||||
}
|
||||
const sumSeasons = (s?: number[]) => (s ?? []).reduce((a, b) => a + b, 0)
|
||||
|
||||
const tmdbBackdrop = (path?: string | null) => (isSafeTmdbPath(path) ? `${TMDB_IMG}/w780${path}` : undefined)
|
||||
|
||||
/** Grande image et saisons d'un titre déjà dans la bibliothèque (fiches ajoutées avant ces nouveautés). */
|
||||
export async function getTmdbExtras(externalId: string, key: string): Promise<{ seasons?: number[]; total?: number; backdrop?: string }> {
|
||||
if (!isSafeExternalId(externalId) || !externalId.startsWith('tmdb:')) return {}
|
||||
const [, kind, id] = externalId.split(':') as ['tmdb', 'movie' | 'tv', string]
|
||||
const d = await tmdbFetch<TmdbDetails>(`/${kind}/${id}`, key)
|
||||
const seasons = kind === 'tv' ? tmdbSeasons(d) : undefined
|
||||
return {
|
||||
seasons,
|
||||
total: kind === 'tv' ? Math.max(d.number_of_episodes || 0, sumSeasons(seasons)) || undefined : undefined,
|
||||
backdrop: tmdbBackdrop(d.backdrop_path),
|
||||
}
|
||||
}
|
||||
|
||||
export interface EpisodeInfo {
|
||||
number: number
|
||||
name?: string
|
||||
still?: string
|
||||
date?: string
|
||||
runtime?: number
|
||||
}
|
||||
|
||||
const seasonCache = new Map<string, EpisodeInfo[]>()
|
||||
|
||||
/** Épisodes d'une saison (titre, image, date de diffusion). Gardés en mémoire le temps de la session. */
|
||||
export async function getTmdbSeasonEpisodes(externalId: string, season: number, key: string): Promise<EpisodeInfo[]> {
|
||||
if (!isSafeExternalId(externalId) || !externalId.startsWith('tmdb:tv:') || !Number.isInteger(season) || season < 1 || season > 999) return []
|
||||
const cacheKey = `${externalId}:${season}:${tmdbLanguage()}`
|
||||
const cached = seasonCache.get(cacheKey)
|
||||
if (cached) return cached
|
||||
const d = await tmdbFetch<{ episodes?: { episode_number?: number; name?: string; still_path?: string | null; air_date?: string; runtime?: number }[] }>(
|
||||
`/tv/${externalId.split(':')[2]}/season/${season}`,
|
||||
key,
|
||||
)
|
||||
const list = (Array.isArray(d.episodes) ? d.episodes : [])
|
||||
.filter((e) => Number.isInteger(e.episode_number) && e.episode_number! > 0)
|
||||
.slice(0, 1000)
|
||||
.map((e) => ({
|
||||
number: e.episode_number!,
|
||||
name: cleanText(e.name, LIMITS.title),
|
||||
still: isSafeTmdbPath(e.still_path) ? `${TMDB_IMG}/w300${e.still_path}` : undefined,
|
||||
date: safeDay(e.air_date),
|
||||
runtime: typeof e.runtime === 'number' && e.runtime > 0 && e.runtime < 1000 ? Math.round(e.runtime) : undefined,
|
||||
}))
|
||||
seasonCache.set(cacheKey, list)
|
||||
return list
|
||||
}
|
||||
|
||||
/** Vérifie qu'une clé TMDB fonctionne. */
|
||||
export async function testTmdbKey(key: string): Promise<boolean> {
|
||||
try {
|
||||
@@ -399,6 +469,7 @@ function aniToResult(m: AniMedia): SearchResult | null {
|
||||
externalId: `anilist:${m.id}`,
|
||||
title,
|
||||
originalTitle: original && original !== title ? original : undefined,
|
||||
altTitles: [m.title.romaji, m.title.english, m.title.native].filter((x): x is string => !!x).slice(0, 3),
|
||||
year: year ?? undefined,
|
||||
thumb: m.coverImage?.medium ?? undefined,
|
||||
posterUrl: m.coverImage?.large ?? m.coverImage?.medium ?? undefined,
|
||||
@@ -421,6 +492,44 @@ function aniToResult(m: AniMedia): SearchResult | null {
|
||||
})
|
||||
}
|
||||
|
||||
const titlesOf = (r: SearchResult) => [r.title, r.originalTitle, ...(r.altTitles ?? [])].filter((x): x is string => !!x)
|
||||
const exactKey = (s: string) => s.normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLowerCase().replace(/[^\p{L}\p{N}]+/gu, '')
|
||||
|
||||
/**
|
||||
* Recherche unique : films, séries et animes.
|
||||
* TMDB d'abord (il regroupe toutes les saisons d'une série sous une seule fiche), puis les animes
|
||||
* d'AniList qu'il ne connaît pas. Les saisons séparées d'AniList (« … Season 2 ») ne sont pas répétées.
|
||||
*/
|
||||
export async function searchAll(query: string, key?: string): Promise<SearchResult[]> {
|
||||
const [tm, an] = await Promise.allSettled([key ? searchTmdb(query, key) : Promise.resolve([]), searchAniList(query)])
|
||||
if (tm.status === 'rejected' && an.status === 'rejected') throw tm.reason
|
||||
const tmdb = tm.status === 'fulfilled' ? tm.value : []
|
||||
const ani = an.status === 'fulfilled' ? an.value : []
|
||||
|
||||
const seriesKeys = new Set(tmdb.filter((r) => r.typeGuess !== 'film').flatMap(titlesOf).map(franchiseKey))
|
||||
const movieKeys = new Set(tmdb.filter((r) => r.typeGuess === 'film').flatMap(titlesOf).map(exactKey))
|
||||
const seen = new Set<string>()
|
||||
const extra = ani.filter((r) => {
|
||||
const titles = titlesOf(r)
|
||||
if (r.typeGuess === 'film') return !titles.some((x) => movieKeys.has(exactKey(x)))
|
||||
const keys = titles.map(franchiseKey)
|
||||
if (keys.some((k) => seriesKeys.has(k) || seen.has(k))) return false
|
||||
keys.forEach((k) => seen.add(k))
|
||||
return true
|
||||
})
|
||||
return [...tmdb, ...extra]
|
||||
}
|
||||
|
||||
/** Retrouve sur TMDB la série (toutes saisons) correspondant à une saison d'anime AniList. */
|
||||
export async function findTmdbSeries(titles: (string | undefined)[], key: string): Promise<SearchResult | undefined> {
|
||||
const keys = new Set(titles.filter((x): x is string => !!x).map(franchiseKey))
|
||||
for (const q of titles.filter((x): x is string => !!x).slice(0, 2)) {
|
||||
const found = (await searchTmdb(q, key)).find((r) => r.typeGuess !== 'film' && r.externalId.startsWith('tmdb:tv:') && titlesOf(r).some((x) => keys.has(franchiseKey(x))))
|
||||
if (found) return found
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
|
||||
/** Animes recommandés par AniList à partir d'un anime. */
|
||||
export async function aniListRecommendations(externalId: string): Promise<SearchResult[]> {
|
||||
if (!isSafeExternalId(externalId) || !externalId.startsWith('anilist:')) return []
|
||||
@@ -558,7 +667,7 @@ export async function getTmdbRelease(externalId: string, key: string): Promise<R
|
||||
const pick = (type: number) => day(local.filter((r) => r.type === type).map((r) => r.release_date ?? '').sort()[0])
|
||||
const cinema = pick(3) ?? pick(2)
|
||||
const online = pick(4)
|
||||
const today = new Date().toISOString().slice(0, 10)
|
||||
const today = localDay()
|
||||
if (cinema && cinema >= today) return { date: cinema, label: t('release.cinema') }
|
||||
if (online && online >= today) return { date: online, label: t('release.online') }
|
||||
const primary = day(d.release_date)
|
||||
@@ -600,7 +709,7 @@ export async function getAniListReleases(ids: number[]): Promise<Map<number, Rel
|
||||
if (!Number.isInteger(m?.id)) continue
|
||||
const nx = m.nextAiringEpisode
|
||||
if (nx && typeof nx.airingAt === 'number' && nx.airingAt > 0 && nx.airingAt < 4102444800) {
|
||||
out.set(m.id, { date: new Date(nx.airingAt * 1000).toISOString().slice(0, 10), label: nx.episode === 1 ? t('release.firstEpisode') : nx.episode ? t('release.episode', { ep: nx.episode }) : t('release.newEpisode') })
|
||||
out.set(m.id, { date: localDay(new Date(nx.airingAt * 1000)), label: nx.episode === 1 ? t('release.firstEpisode') : nx.episode ? t('release.episode', { ep: nx.episode }) : t('release.newEpisode') })
|
||||
} else if (m.startDate?.year && m.startDate.month && m.startDate.day) {
|
||||
const d = `${m.startDate.year}-${String(m.startDate.month).padStart(2, '0')}-${String(m.startDate.day).padStart(2, '0')}`
|
||||
if (day(d)) out.set(m.id, { date: d, label: t('release.firstEpisode') })
|
||||
@@ -629,8 +738,6 @@ export interface GlobalRelease {
|
||||
pop: number
|
||||
}
|
||||
|
||||
const localDay = (d: Date) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`
|
||||
|
||||
function safeRelease(r: GlobalRelease): GlobalRelease | null {
|
||||
const title = cleanText(r.title, LIMITS.title)
|
||||
const date = day(r.date)
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
import { t } from '../../i18n'
|
||||
import { cloudFetch } from './api'
|
||||
|
||||
/**
|
||||
* Accès à la partie administration (réservée aux comptes de la table `admins`).
|
||||
* Toutes les fonctions appellent des RPC Supabase verrouillées côté serveur par is_admin() :
|
||||
* même en forçant l'URL, un non-admin reçoit une erreur.
|
||||
*/
|
||||
|
||||
async function rpc<T>(name: string, args: Record<string, unknown> = {}): Promise<T> {
|
||||
const res = await cloudFetch(`/rest/v1/rpc/${name}`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(args),
|
||||
})
|
||||
if (!res.ok) throw new Error(t('social.err.server', { status: res.status }))
|
||||
return res.json() as Promise<T>
|
||||
}
|
||||
|
||||
export interface AdminOverview {
|
||||
users: number
|
||||
profiles: number
|
||||
public_profiles: number
|
||||
private_profiles: number
|
||||
suspended: number
|
||||
items: number
|
||||
reviews: number
|
||||
films: number
|
||||
series: number
|
||||
follows: number
|
||||
pending_follows: number
|
||||
media_files: number
|
||||
signups_7d: number
|
||||
signups_30d: number
|
||||
active_7d: number
|
||||
new_items_7d: number
|
||||
signups_by_day: { day: string; n: number }[]
|
||||
}
|
||||
|
||||
export interface AdminUser {
|
||||
id: string
|
||||
email: string | null
|
||||
created_at: string
|
||||
last_sign_in_at: string | null
|
||||
username: string | null
|
||||
display_name: string | null
|
||||
is_private: boolean | null
|
||||
suspended: boolean
|
||||
items: number
|
||||
reviews: number
|
||||
followers: number
|
||||
}
|
||||
|
||||
export interface AdminReview {
|
||||
item_id: string
|
||||
user_id: string
|
||||
updated_at: string
|
||||
username: string | null
|
||||
display_name: string | null
|
||||
suspended: boolean
|
||||
title: string | null
|
||||
type: string | null
|
||||
notes: string | null
|
||||
rating: number | null
|
||||
}
|
||||
|
||||
/** Le compte connecté est-il administrateur ? (false si l'app est en mode local sans compte) */
|
||||
export async function isAdmin(): Promise<boolean> {
|
||||
try {
|
||||
return (await rpc<boolean>('is_admin')) === true
|
||||
} catch {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
export const adminOverview = () => rpc<AdminOverview>('admin_overview')
|
||||
export const adminUsers = (q: string, offset = 0) => rpc<AdminUser[]>('admin_users', { q: q || null, p_offset: offset })
|
||||
export const adminRecentReviews = (offset = 0) => rpc<AdminReview[]>('admin_recent_reviews', { p_offset: offset })
|
||||
|
||||
export async function adminSetSuspended(userId: string, value: boolean): Promise<void> {
|
||||
await rpc('admin_set_suspended', { p_user: userId, p_value: value })
|
||||
}
|
||||
|
||||
export async function adminClearReview(userId: string, itemId: string): Promise<void> {
|
||||
await rpc('admin_clear_review', { p_user: userId, p_item: itemId })
|
||||
}
|
||||
@@ -261,12 +261,14 @@ async function refresh(): Promise<Session | null> {
|
||||
try {
|
||||
const data = await gotrue('/token?grant_type=refresh_token', { body: { refresh_token: s.refreshToken } })
|
||||
const next = toSession(data)
|
||||
if (next && next.user.id === s.user.id) setSession(next)
|
||||
// Déconnexion (ou autre compte) pendant le renouvellement : on ne ressuscite pas l'ancienne session
|
||||
if (!next || next.user.id !== s.user.id || current?.user.id !== s.user.id) return null
|
||||
setSession(next)
|
||||
return next
|
||||
} catch (e) {
|
||||
// Jeton de renouvellement refusé (révoqué, compte supprimé…) : on déconnecte
|
||||
const status = (e as { status?: number }).status
|
||||
if (status === 400 || status === 401 || status === 403) setSession(null)
|
||||
if ((status === 400 || status === 401 || status === 403) && current?.user.id === s.user.id) setSession(null)
|
||||
return null
|
||||
} finally {
|
||||
refreshing = null
|
||||
@@ -300,6 +302,7 @@ export async function consumeAuthRedirect(): Promise<{ type?: string; error?: st
|
||||
return { error: code === 'otp_expired' ? t('auth.err.linkExpired') : t('auth.err.linkUsed') }
|
||||
}
|
||||
const accessToken = params.get('access_token') ?? ''
|
||||
if (!TOKEN.test(accessToken)) return { error: t('auth.err.linkInvalid') }
|
||||
try {
|
||||
const user = await gotrue('/user', { method: 'GET', token: accessToken })
|
||||
const s = toSession({
|
||||
@@ -310,6 +313,8 @@ export async function consumeAuthRedirect(): Promise<{ type?: string; error?: st
|
||||
user,
|
||||
})
|
||||
if (!s) return { error: t('auth.err.linkInvalid') }
|
||||
// Un lien ne doit jamais remplacer en douce le compte déjà ouvert sur cet appareil
|
||||
if (current && current.user.id !== s.user.id) return { error: t('auth.err.linkInvalid') }
|
||||
setSession(s)
|
||||
return { type: params.get('type') ?? undefined }
|
||||
} catch (e) {
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
import { t } from '../../i18n'
|
||||
import { cloudFetch } from './api'
|
||||
|
||||
/** Notifications (cloche) : abonnements, demandes acceptées, réactions reçues. */
|
||||
|
||||
export type NotificationKind = 'follow_request' | 'follow_accepted' | 'new_follower' | 'reaction' | 'new_episode' | 'new_season'
|
||||
|
||||
export interface AppNotification {
|
||||
id: number
|
||||
kind: NotificationKind
|
||||
created_at: string
|
||||
read_at: string | null
|
||||
emoji: string | null
|
||||
item_id: string | null
|
||||
/** Numéro du dernier épisode sorti (épisodes) */
|
||||
episode: number | null
|
||||
/** Nombre de nouveaux épisodes (épisodes) */
|
||||
ep_count: number | null
|
||||
actor: { username: string; display_name: string; avatar_url: string | null } | null
|
||||
/** Titre de la fiche concernée (réactions, épisodes) */
|
||||
title: string | null
|
||||
}
|
||||
|
||||
/** Épisode/saison à signaler (envoyé après la vérification des sorties). */
|
||||
export interface EpisodeNotice {
|
||||
item_id: string
|
||||
kind: 'new_episode' | 'new_season'
|
||||
/** Dernier épisode sorti */
|
||||
episode: number
|
||||
/** Nombre de nouveaux épisodes */
|
||||
count: number
|
||||
}
|
||||
|
||||
/** Enregistre les nouveaux épisodes des séries suivies (dédoublonné côté serveur). Renvoie le nombre créé. */
|
||||
export async function addEpisodeNotifications(list: EpisodeNotice[]): Promise<number> {
|
||||
if (!list.length) return 0
|
||||
try {
|
||||
const n = await rpc<number>('add_episode_notifications', { p_list: list })
|
||||
return typeof n === 'number' ? n : 0
|
||||
} catch {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
async function rpc<T>(name: string, args: Record<string, unknown> = {}): Promise<T> {
|
||||
const res = await cloudFetch(`/rest/v1/rpc/${name}`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(args),
|
||||
})
|
||||
if (!res.ok) throw new Error(t('social.err.server', { status: res.status }))
|
||||
return res.json() as Promise<T>
|
||||
}
|
||||
|
||||
export const listNotifications = (offset = 0) => rpc<AppNotification[]>('get_notifications', { p_offset: offset })
|
||||
|
||||
export async function unreadCount(): Promise<number> {
|
||||
try {
|
||||
const n = await rpc<number>('notifications_unread')
|
||||
return typeof n === 'number' ? n : 0
|
||||
} catch {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
export async function markNotificationsRead(): Promise<void> {
|
||||
await rpc('mark_notifications_read')
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import { t } from '../../i18n'
|
||||
import { cloudFetch } from './api'
|
||||
|
||||
/** Avis des autres membres sur un même titre, et réactions (emoji). */
|
||||
|
||||
export const REACTION_EMOJIS = ['👍', '❤️', '🔥', '😂', '😮', '😢'] as const
|
||||
export type ReactionEmoji = (typeof REACTION_EMOJIS)[number]
|
||||
|
||||
export interface ReviewAuthor {
|
||||
id: string
|
||||
username: string
|
||||
display_name: string
|
||||
avatar_url: string | null
|
||||
is_private: boolean
|
||||
relation: string
|
||||
}
|
||||
|
||||
export interface TitleReview {
|
||||
user: ReviewAuthor
|
||||
user_id: string
|
||||
item_id: string
|
||||
updated_at: string
|
||||
rating: number | null
|
||||
notes: string
|
||||
/** emoji -> nombre */
|
||||
reactions: Record<string, number>
|
||||
total: number
|
||||
/** mon emoji sur cet avis, ou null */
|
||||
mine: string | null
|
||||
}
|
||||
|
||||
export interface TitleReviews {
|
||||
friends: TitleReview[]
|
||||
others: TitleReview[]
|
||||
}
|
||||
|
||||
async function rpc<T>(name: string, args: Record<string, unknown> = {}): Promise<T> {
|
||||
const res = await cloudFetch(`/rest/v1/rpc/${name}`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(args),
|
||||
})
|
||||
if (!res.ok) throw new Error(t('social.err.server', { status: res.status }))
|
||||
return res.json() as Promise<T>
|
||||
}
|
||||
|
||||
/** Tous les avis publics sur un titre (séparés : amis / autres). */
|
||||
export const titleReviews = (externalId: string, offset = 0) =>
|
||||
rpc<TitleReviews>('title_reviews', { p_external_id: externalId, p_offset: offset })
|
||||
|
||||
export async function reactToReview(author: string, item: string, emoji: ReactionEmoji): Promise<void> {
|
||||
await rpc('react_to_review', { p_author: author, p_item: item, p_emoji: emoji })
|
||||
}
|
||||
|
||||
export async function unreactReview(author: string, item: string): Promise<void> {
|
||||
await rpc('unreact_review', { p_author: author, p_item: item })
|
||||
}
|
||||
+14
-3
@@ -15,7 +15,7 @@ import { cloudFetch } from './api'
|
||||
* En cas de conflit, la modification la plus récente gagne (vérifié aussi par la base).
|
||||
*/
|
||||
|
||||
export type SyncedSettings = Pick<Settings, 'ratingScale' | 'topCategories' | 'accentColor'>
|
||||
export type SyncedSettings = Pick<Settings, 'ratingScale' | 'topCategories' | 'accentColor' | 'themeMode' | 'notifPrefs'>
|
||||
|
||||
export interface SyncHooks {
|
||||
getLists: () => CustomList[]
|
||||
@@ -299,15 +299,26 @@ export function createSync(userId: string, hooks: SyncHooks): SyncEngine {
|
||||
}
|
||||
setStatus({ state: 'syncing', error: undefined })
|
||||
try {
|
||||
await push()
|
||||
// Un envoi refusé (fiche trop lourde, quota…) ne doit pas empêcher de recevoir les autres appareils
|
||||
let pushError: unknown
|
||||
try {
|
||||
await push()
|
||||
} catch (e) {
|
||||
pushError = e
|
||||
}
|
||||
// Déconnexion pendant la synchro : on n'écrit plus rien dans la base de cet utilisateur
|
||||
if (stopped) return
|
||||
await pullItems()
|
||||
if (stopped) return
|
||||
await pullLists()
|
||||
if (stopped) return
|
||||
await pullSettings()
|
||||
if (pushError) throw pushError
|
||||
meta.lastSyncAt = new Date().toISOString()
|
||||
saveMeta()
|
||||
setStatus({ state: 'idle', lastSyncAt: meta.lastSyncAt })
|
||||
} catch (e) {
|
||||
setStatus({ state: navigator.onLine ? 'error' : 'offline', error: (e as Error).message })
|
||||
if (!stopped) setStatus({ state: navigator.onLine ? 'error' : 'offline', error: (e as Error).message })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -47,12 +47,6 @@ export const CRITERIA: { key: CriteriaKey; readonly label: string }[] = [
|
||||
{ key: 'ost', get label() { return t('criteria.ost') } },
|
||||
]
|
||||
|
||||
export const PLATFORM_SUGGESTIONS = [
|
||||
'Netflix', 'Prime Video', 'Disney+', 'Crunchyroll', 'ADN', 'Viki', 'Apple TV+', 'Max',
|
||||
'Canal+', 'Paramount+', 'YouTube', 'iQIYI', 'WeTV', 'Youku',
|
||||
]
|
||||
export const platformSuggestions = () => [...PLATFORM_SUGGESTIONS, t('platform.cinema'), t('platform.dvd'), t('platform.tv')]
|
||||
|
||||
export const TOP_CATEGORIES: { value: TopCategory; readonly label: string; readonly plural: string }[] = [
|
||||
{ value: 'film', get label() { return t('type.film') }, get plural() { return t('typePlural.film') } },
|
||||
{ value: 'serie', get label() { return t('type.serie') }, get plural() { return t('typePlural.serie') } },
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import { useEffect, useRef } from 'react'
|
||||
|
||||
/**
|
||||
* Touche Échap : seule la fenêtre ouverte en dernier se ferme
|
||||
* (sinon une confirmation par-dessus une fiche fermait les deux d'un coup).
|
||||
*/
|
||||
const stack: { current: () => void }[] = []
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window.addEventListener('keydown', (e) => {
|
||||
if (e.key !== 'Escape' || !stack.length) return
|
||||
e.preventDefault()
|
||||
stack[stack.length - 1].current()
|
||||
})
|
||||
}
|
||||
|
||||
export function useEscape(onEscape: () => void, active = true) {
|
||||
const ref = useRef(onEscape)
|
||||
ref.current = onEscape
|
||||
useEffect(() => {
|
||||
if (!active) return
|
||||
const entry = { current: () => ref.current() }
|
||||
stack.push(entry)
|
||||
return () => {
|
||||
const k = stack.indexOf(entry)
|
||||
if (k >= 0) stack.splice(k, 1)
|
||||
}
|
||||
}, [active])
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
import { TYPE_BY_VALUE } from './constants'
|
||||
import type { MediaItem, MediaType } from '../types'
|
||||
|
||||
/**
|
||||
* Saisons et « franchises » de séries.
|
||||
*
|
||||
* TMDB range toutes les saisons d'une série sous une seule fiche ; AniList, lui, crée une entrée par saison
|
||||
* (« Black Clover », « Black Clover Season 2 »…). Pour éviter les doublons, on compare les titres
|
||||
* débarrassés de leurs marqueurs de saison.
|
||||
*/
|
||||
|
||||
const SEASON_MARKERS = [
|
||||
/\b(season|saison|temporada|stagione|staffel|part|partie|cour)\s*\d+\b/g,
|
||||
/\b\d+(st|nd|rd|th|e|eme|ème)\s*(season|saison|part)\b/g,
|
||||
/\b(the\s+)?(final|last)\s*season\b/g,
|
||||
/第\s*\d+\s*(期|シーズン|部)/g,
|
||||
/\s(ii|iii|iv|v|vi)$/g,
|
||||
]
|
||||
|
||||
/** « Black Clover Season 2 », « Aoashi 2nd Season » → « blackclover », « aoashi ». */
|
||||
export function franchiseKey(title: string): string {
|
||||
let s = title.normalize('NFD').replace(/[̀-ͯ]/g, '').toLowerCase()
|
||||
for (const re of SEASON_MARKERS) s = s.replace(re, ' ')
|
||||
s = s.replace(/[^\p{L}\p{N}]+/gu, ' ').trim()
|
||||
// « Black Clover 2 » : nombre final isolé (mais « 86 » reste « 86 »)
|
||||
const stripped = s.replace(/\s\d{1,2}$/, '').trim()
|
||||
return (stripped || s).replace(/\s+/g, '')
|
||||
}
|
||||
|
||||
const episodic = (type: MediaType) => TYPE_BY_VALUE[type]?.episodic ?? false
|
||||
|
||||
/** Fiche de ma bibliothèque qui correspond à la même série (n'importe quelle saison). */
|
||||
export function findFranchiseItem(items: MediaItem[], titles: (string | undefined)[], opts: { type?: MediaType; excludeId?: string } = {}): MediaItem | undefined {
|
||||
if (opts.type && !episodic(opts.type)) return undefined
|
||||
const keys = new Set(titles.filter((x): x is string => !!x).map(franchiseKey).filter((k) => k.length >= 2))
|
||||
if (!keys.size) return undefined
|
||||
return items.find(
|
||||
(i) => i.id !== opts.excludeId && episodic(i.type) && [i.title, i.originalTitle].some((x) => x && keys.has(franchiseKey(x))),
|
||||
)
|
||||
}
|
||||
|
||||
export interface SeasonPosition {
|
||||
/** Saison en cours (1 = première) */
|
||||
season: number
|
||||
/** Épisodes vus dans cette saison */
|
||||
episode: number
|
||||
/** Nombre d'épisodes de la saison */
|
||||
size: number
|
||||
/** Épisodes des saisons précédentes */
|
||||
before: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Où en est-on, saison par saison ? (à partir du nombre total d'épisodes vus)
|
||||
* À la fin exacte d'une saison, on reste sur cette saison (« S1 · 24/24 ») : l'épisode suivant fait passer à la S2…
|
||||
* sauf si la saison suivante a été choisie (`season`), auquel cas on affiche « S2 · 0/24 ».
|
||||
*/
|
||||
export function seasonPosition(item: Pick<MediaItem, 'episodesWatched' | 'seasons' | 'season'>): SeasonPosition | undefined {
|
||||
const seasons = item.seasons
|
||||
if (!seasons || seasons.length < 2) return undefined
|
||||
const chosen = item.season
|
||||
if (chosen && chosen >= 2 && chosen <= seasons.length) {
|
||||
const start = episodesBeforeSeason(seasons, chosen)
|
||||
if (item.episodesWatched === start) return { season: chosen, episode: 0, size: seasons[chosen - 1], before: start }
|
||||
}
|
||||
let before = 0
|
||||
for (let k = 0; k < seasons.length; k++) {
|
||||
const size = seasons[k]
|
||||
if (item.episodesWatched <= before + size || k === seasons.length - 1) {
|
||||
return { season: k + 1, episode: Math.min(size, Math.max(0, item.episodesWatched - before)), size, before }
|
||||
}
|
||||
before += size
|
||||
}
|
||||
return undefined
|
||||
}
|
||||
|
||||
/** Nombre d'épisodes vus au début de la saison n (1 = première). */
|
||||
export const episodesBeforeSeason = (seasons: number[], n: number) => seasons.slice(0, Math.max(0, n - 1)).reduce((a, b) => a + b, 0)
|
||||
|
||||
/** Nombre maximum d'épisodes : toutes les saisons connues, sinon le total enregistré. */
|
||||
export function episodeCap(item: Pick<MediaItem, 'episodesTotal' | 'seasons'>): number | undefined {
|
||||
const sum = item.seasons?.reduce((a, b) => a + b, 0) ?? 0
|
||||
return Math.max(sum, item.episodesTotal ?? 0) || undefined
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
import { useEffect, useState } from 'react'
|
||||
|
||||
/** Événement non standard déclenché par le navigateur avant l'invite d'installation. */
|
||||
interface BeforeInstallPromptEvent extends Event {
|
||||
prompt: () => Promise<void>
|
||||
userChoice: Promise<{ outcome: 'accepted' | 'dismissed'; platform: string }>
|
||||
}
|
||||
|
||||
let deferredPrompt: BeforeInstallPromptEvent | null = null
|
||||
const listeners = new Set<() => void>()
|
||||
|
||||
function notify() {
|
||||
listeners.forEach((fn) => fn())
|
||||
}
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window.addEventListener('beforeinstallprompt', (e) => {
|
||||
e.preventDefault()
|
||||
deferredPrompt = e as BeforeInstallPromptEvent
|
||||
notify()
|
||||
})
|
||||
window.addEventListener('appinstalled', () => {
|
||||
deferredPrompt = null
|
||||
notify()
|
||||
})
|
||||
}
|
||||
|
||||
function isStandalone(): boolean {
|
||||
if (typeof window === 'undefined') return false
|
||||
return window.matchMedia?.('(display-mode: standalone)').matches || (navigator as { standalone?: boolean }).standalone === true
|
||||
}
|
||||
|
||||
/** Plateforme, pour expliquer comment ajouter l'app à l'écran d'accueil. */
|
||||
export type Platform = 'ios' | 'android' | 'desktop' | 'other'
|
||||
|
||||
export function detectPlatform(): Platform {
|
||||
if (typeof navigator === 'undefined') return 'other'
|
||||
const ua = navigator.userAgent || ''
|
||||
const touch = navigator.maxTouchPoints ?? 0
|
||||
// iPhone / iPad (iPadOS récent se présente comme « MacIntel » mais avec un écran tactile)
|
||||
if (/iphone|ipod|ipad/i.test(ua) || ((navigator.platform === 'MacIntel' || /Mac/.test(ua)) && touch > 1)) return 'ios'
|
||||
if (/android/i.test(ua)) return 'android'
|
||||
// Ordinateur « classique » : pas d'écran tactile principal
|
||||
if (/windows|macintosh|linux|cros/i.test(ua) && touch <= 1) return 'desktop'
|
||||
return 'other'
|
||||
}
|
||||
|
||||
export function useInstallPrompt(): { canInstall: boolean; installed: boolean; install: () => Promise<boolean> } {
|
||||
const [canInstall, setCanInstall] = useState(() => deferredPrompt !== null)
|
||||
const [installed, setInstalled] = useState(isStandalone)
|
||||
|
||||
useEffect(() => {
|
||||
const update = () => {
|
||||
setCanInstall(deferredPrompt !== null)
|
||||
setInstalled(isStandalone())
|
||||
}
|
||||
listeners.add(update)
|
||||
const mql = window.matchMedia?.('(display-mode: standalone)')
|
||||
mql?.addEventListener?.('change', update)
|
||||
update()
|
||||
return () => {
|
||||
listeners.delete(update)
|
||||
mql?.removeEventListener?.('change', update)
|
||||
}
|
||||
}, [])
|
||||
|
||||
const install = async (): Promise<boolean> => {
|
||||
if (!deferredPrompt) return false
|
||||
const prompt = deferredPrompt
|
||||
deferredPrompt = null
|
||||
notify()
|
||||
await prompt.prompt()
|
||||
const { outcome } = await prompt.userChoice
|
||||
return outcome === 'accepted'
|
||||
}
|
||||
|
||||
return { canInstall, installed, install }
|
||||
}
|
||||
+2
-2
@@ -3,7 +3,7 @@ import type { MediaItem } from '../types'
|
||||
import { loadAiring, trackable, CACHE_EVENT } from './airing'
|
||||
import { getAniListReleases, getTmdbRelease, type ReleaseInfo } from './catalogApi'
|
||||
import { isPlainObject, isSafeExternalId, isSafeId, readStorage, safeDay, safeIso } from './security'
|
||||
import { todayISO } from './utils'
|
||||
import { localDay, todayISO } from './utils'
|
||||
|
||||
/**
|
||||
* Calendrier des sorties :
|
||||
@@ -92,7 +92,7 @@ export async function refreshReleases(items: MediaItem[], tmdbKey?: string, forc
|
||||
|
||||
/** Tous les évènements connus, triés par date (à partir d'il y a 7 jours). */
|
||||
export function calendarEvents(items: MediaItem[], releases: ReleaseCache = loadReleases()): CalendarEvent[] {
|
||||
const from = new Date(Date.now() - 7 * 86400000).toISOString().slice(0, 10)
|
||||
const from = localDay(new Date(Date.now() - 7 * 86400000))
|
||||
const airing = loadAiring()
|
||||
const events: CalendarEvent[] = []
|
||||
for (const item of trackable(items)) {
|
||||
|
||||
+18
-3
@@ -40,7 +40,7 @@ export function cleanText(value: unknown, max: number): string | undefined {
|
||||
|
||||
/** Identifiant interne : lettres, chiffres, tirets, max 64 caractères. */
|
||||
export function isSafeId(value: unknown): value is string {
|
||||
return typeof value === 'string' && /^[A-Za-z0-9_-]{1,64}$/.test(value)
|
||||
return typeof value === 'string' && /^[A-Za-z0-9_-]{1,64}$/.test(value) && value !== '__proto__'
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -77,8 +77,10 @@ export function safePosterUrl(value: unknown): string | undefined {
|
||||
/** Date au format AAAA-MM-JJ valide. */
|
||||
export function safeDay(value: unknown): string | undefined {
|
||||
if (typeof value !== 'string' || !/^\d{4}-\d{2}-\d{2}$/.test(value)) return undefined
|
||||
const d = new Date(value + 'T12:00:00')
|
||||
return Number.isNaN(d.getTime()) ? undefined : value
|
||||
const [y, m, day] = value.split('-').map(Number)
|
||||
const d = new Date(Date.UTC(y, m - 1, day))
|
||||
// « 2026-02-31 » n'existe pas (le moteur JS l'aurait transformé en 3 mars)
|
||||
return d.getUTCFullYear() === y && d.getUTCMonth() === m - 1 && d.getUTCDate() === day ? value : undefined
|
||||
}
|
||||
|
||||
/** Date-heure ISO valide (ou undefined). */
|
||||
@@ -125,3 +127,16 @@ export function readStorage<T>(key: string, fallback: T): unknown | T {
|
||||
/** Objet « simple » (pas un tableau, pas null). */
|
||||
export const isPlainObject = (v: unknown): v is Record<string, unknown> =>
|
||||
typeof v === 'object' && v !== null && !Array.isArray(v) && Object.getPrototypeOf(v) === Object.prototype
|
||||
|
||||
/** Épisodes par saison : liste d'entiers bornée (au plus 100 saisons). */
|
||||
export function safeSeasons(v: unknown): number[] | undefined {
|
||||
if (!Array.isArray(v)) return undefined
|
||||
const out = v.slice(0, 100).map((n) => (typeof n === 'number' && Number.isInteger(n) && n > 0 && n <= 5000 ? n : 0))
|
||||
return out.length > 1 && out.every((n) => n > 0) ? out : undefined
|
||||
}
|
||||
|
||||
/** Image distante autorisée (jamais d'image intégrée : la grande image n'est qu'un décor). */
|
||||
export function remoteImage(value: unknown): string | undefined {
|
||||
const url = safePosterUrl(value)
|
||||
return url && !url.startsWith('data:') && url.length <= 300 ? url : undefined
|
||||
}
|
||||
@@ -2,6 +2,7 @@ import { genreLabel } from './genres'
|
||||
import { t } from '../i18n'
|
||||
import type { MediaItem, RatingScale } from '../types'
|
||||
import { TYPE_BY_VALUE } from './constants'
|
||||
import { episodeCap } from './franchise'
|
||||
import { safePosterUrl } from './security'
|
||||
import { formatRating } from './utils'
|
||||
|
||||
@@ -255,8 +256,9 @@ export async function renderItemCard(item: MediaItem, scale: RatingScale, credit
|
||||
const episodic = TYPE_BY_VALUE[item.type].episodic
|
||||
const minutes = credits?.runtime ?? item.duration
|
||||
const rows: [string, string][] = []
|
||||
if (episodic && item.episodesTotal) {
|
||||
rows.push([t('form.episodes'), `${t('stats.episodesN', { count: item.episodesTotal })}${item.episodeDuration ? ` · ${t('common.minutes', { n: item.episodeDuration })}` : ''}`])
|
||||
const totalEps = episodeCap(item)
|
||||
if (episodic && totalEps) {
|
||||
rows.push([t('form.episodes'), `${t('stats.episodesN', { count: totalEps })}${item.episodeDuration ? ` · ${t('common.minutes', { n: item.episodeDuration })}` : ''}`])
|
||||
} else if (!episodic && minutes) {
|
||||
rows.push([t('form.duration'), t('share.minutesLong', { n: minutes })])
|
||||
}
|
||||
|
||||
+5
-1
@@ -1,5 +1,6 @@
|
||||
import { locale } from '../i18n'
|
||||
import type { MediaItem, MediaType, WatchStatus } from '../types'
|
||||
import { episodeCap } from './franchise'
|
||||
import { DEFAULT_FILM_MINUTES, MEDIA_TYPES, STATUSES, TYPE_BY_VALUE } from './constants'
|
||||
|
||||
/** Temps estimé (minutes) passé sur une fiche. */
|
||||
@@ -7,7 +8,10 @@ export function watchMinutes(item: MediaItem): number {
|
||||
const epMin = item.episodeDuration || TYPE_BY_VALUE[item.type].episodeMinutes
|
||||
if (item.type === 'film') return item.status === 'termine' ? (item.duration || DEFAULT_FILM_MINUTES) * (1 + (item.rewatchDates?.length ?? 0)) : 0
|
||||
if (item.episodesWatched > 0) return item.episodesWatched * epMin
|
||||
if (item.status === 'termine') return item.episodesTotal ? item.episodesTotal * epMin : item.duration || 0
|
||||
if (item.status === 'termine') {
|
||||
const cap = episodeCap(item)
|
||||
return cap ? cap * epMin : item.duration || 0
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
+53
-16
@@ -1,7 +1,8 @@
|
||||
import { t } from '../i18n'
|
||||
import type { ThemeMode } from '../types'
|
||||
/**
|
||||
* Thèmes de couleur : à partir d'une seule couleur, on calcule
|
||||
* - accent : version lisible sur fond noir (texte, icônes, filets)
|
||||
* - accent : version lisible comme TEXTE sur le fond du thème résolu
|
||||
* - accentFill : la couleur choisie, pour les boutons pleins
|
||||
* - onAccent : texte blanc ou noir sur ces boutons, selon ce qui se lit le mieux
|
||||
*/
|
||||
@@ -23,7 +24,13 @@ export const THEME_PRESETS: { readonly name: string; color: string; accent?: str
|
||||
{ get name() { return t('theme.white') }, color: '#e7e5e4' },
|
||||
]
|
||||
|
||||
const BG = '#0a0a0a'
|
||||
/** Couleur de fond (canvas) de chaque thème résolu, pour calculer un accent lisible. */
|
||||
const CANVAS: Record<Exclude<ThemeMode, 'auto'>, string> = {
|
||||
light: '#ffffff',
|
||||
dark: '#0a0a0a',
|
||||
night: '#000000',
|
||||
starfield: '#0a1230',
|
||||
}
|
||||
|
||||
export const isHexColor = (v: unknown): v is string => typeof v === 'string' && /^#[0-9a-f]{6}$/i.test(v)
|
||||
|
||||
@@ -49,12 +56,17 @@ export function contrast(a: string, b: string): number {
|
||||
return (x + 0.05) / (y + 0.05)
|
||||
}
|
||||
|
||||
/** Éclaircit la couleur vers le blanc jusqu'à être lisible sur le fond noir. */
|
||||
function readableOnBlack(color: string): string {
|
||||
/**
|
||||
* Rend la couleur lisible comme texte sur le canvas donné :
|
||||
* - canvas clair → on assombrit vers le noir jusqu'à un contraste suffisant
|
||||
* - canvas sombre → on éclaircit vers le blanc (comme avant)
|
||||
*/
|
||||
function readableOn(color: string, canvas: string): string {
|
||||
const target = luminance(canvas) > 0.5 ? 0 : 255 // vers noir ou vers blanc
|
||||
let c = color
|
||||
const base = rgb(color)
|
||||
for (let t = 0; t <= 1 && contrast(c, BG) < 4.8; t += 0.05) {
|
||||
c = hex(base.map((v) => v + (255 - v) * t) as [number, number, number])
|
||||
for (let m = 0; m <= 1 && contrast(c, canvas) < 4.8; m += 0.05) {
|
||||
c = hex(base.map((v) => v + (target - v) * m) as [number, number, number])
|
||||
}
|
||||
return c
|
||||
}
|
||||
@@ -65,21 +77,46 @@ export interface ThemeColors {
|
||||
onAccent: string
|
||||
}
|
||||
|
||||
export function themeFromColor(color: string): ThemeColors {
|
||||
function themeColors(color: string, resolved: Exclude<ThemeMode, 'auto'>): ThemeColors {
|
||||
const fill = isHexColor(color) ? color.toLowerCase() : DEFAULT_ACCENT
|
||||
const canvas = CANVAS[resolved]
|
||||
const darkCanvas = '#0a0a0a'
|
||||
const preset = THEME_PRESETS.find((p) => p.color === fill)
|
||||
// Les overrides d'accent des presets sont pensés pour un fond sombre :
|
||||
// sur fond clair on recalcule un accent assombri.
|
||||
const accent = resolved === 'light' ? readableOn(fill, canvas) : (preset?.accent ?? readableOn(fill, canvas))
|
||||
return {
|
||||
accent: preset?.accent ?? readableOnBlack(fill),
|
||||
accent,
|
||||
accentFill: fill,
|
||||
onAccent: contrast('#ffffff', fill) >= contrast(BG, fill) ? '#ffffff' : BG,
|
||||
onAccent: contrast('#ffffff', fill) >= contrast(darkCanvas, fill) ? '#ffffff' : darkCanvas,
|
||||
}
|
||||
}
|
||||
|
||||
/** Applique le thème à toute l'app (les classes Tailwind lisent ces variables). */
|
||||
export function applyTheme(color: string) {
|
||||
const t = themeFromColor(color)
|
||||
const root = document.documentElement.style
|
||||
root.setProperty('--color-accent', t.accent)
|
||||
root.setProperty('--color-accent-fill', t.accentFill)
|
||||
root.setProperty('--color-on-accent', t.onAccent)
|
||||
/** Compat : thème calculé pour le rendu sombre par défaut. */
|
||||
export function themeFromColor(color: string): ThemeColors {
|
||||
return themeColors(color, 'dark')
|
||||
}
|
||||
|
||||
/** Applique le thème à toute l'app (les classes Tailwind lisent ces variables). */
|
||||
export function applyTheme(accentColor: string, mode: ThemeMode) {
|
||||
const resolved: Exclude<ThemeMode, 'auto'> =
|
||||
mode === 'auto'
|
||||
? window.matchMedia?.('(prefers-color-scheme: light)').matches
|
||||
? 'light'
|
||||
: 'dark'
|
||||
: mode
|
||||
document.documentElement.dataset.theme = resolved
|
||||
const c = themeColors(accentColor, resolved)
|
||||
const root = document.documentElement.style
|
||||
root.setProperty('--color-accent', c.accent)
|
||||
root.setProperty('--color-accent-fill', c.accentFill)
|
||||
root.setProperty('--color-on-accent', c.onAccent)
|
||||
}
|
||||
|
||||
export const THEME_MODES: { value: ThemeMode; readonly label: string }[] = [
|
||||
{ value: 'auto', get label() { return t('theme.modeAuto') } },
|
||||
{ value: 'light', get label() { return t('theme.modeLight') } },
|
||||
{ value: 'dark', get label() { return t('theme.modeDark') } },
|
||||
{ value: 'night', get label() { return t('theme.modeNight') } },
|
||||
{ value: 'starfield', get label() { return t('theme.modeStarfield') } },
|
||||
]
|
||||
+4
-2
@@ -12,12 +12,14 @@ export function uid(): string {
|
||||
return Date.now().toString(36) + Math.random().toString(36).slice(2, 10)
|
||||
}
|
||||
|
||||
export function todayISO(): string {
|
||||
const d = new Date()
|
||||
/** Jour local AAAA-MM-JJ (et pas le jour UTC : un épisode diffusé à 1 h du matin reste au bon jour). */
|
||||
export function localDay(d: Date = new Date()): string {
|
||||
const pad = (n: number) => String(n).padStart(2, '0')
|
||||
return `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}`
|
||||
}
|
||||
|
||||
export const todayISO = () => localDay()
|
||||
|
||||
export function cx(...classes: (string | false | null | undefined)[]): string {
|
||||
return classes.filter(Boolean).join(' ')
|
||||
}
|
||||
|
||||
@@ -0,0 +1,430 @@
|
||||
import { ArrowLeft, Ban, Loader2, MessageSquareOff, RotateCcw, Search, Star } from 'lucide-react'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import ConfirmDialog from '../components/ConfirmDialog'
|
||||
import { EmptyState, PageHeader, SectionTitle, StatTile } from '../components/ui'
|
||||
import { fmtNumber, t } from '../i18n'
|
||||
import {
|
||||
adminClearReview,
|
||||
adminOverview,
|
||||
adminRecentReviews,
|
||||
adminSetSuspended,
|
||||
adminUsers,
|
||||
isAdmin,
|
||||
type AdminOverview,
|
||||
type AdminReview,
|
||||
type AdminUser,
|
||||
} from '../lib/cloud/admin'
|
||||
import { cx, formatDate } from '../lib/utils'
|
||||
|
||||
type Tab = 'overview' | 'users' | 'reviews'
|
||||
|
||||
const USERS_PAGE = 50
|
||||
const REVIEWS_PAGE = 30
|
||||
|
||||
/** Nom affichable d'un compte (nom, sinon pseudo, sinon « sans profil »). */
|
||||
function personName(p: { display_name: string | null; username: string | null }): string {
|
||||
return p.display_name || p.username || t('admin.anon')
|
||||
}
|
||||
|
||||
function Spinner() {
|
||||
return (
|
||||
<div className="flex justify-center py-16">
|
||||
<Loader2 className="size-6 animate-spin text-ink-3" aria-hidden />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ Vue d'ensemble */
|
||||
|
||||
function OverviewTab() {
|
||||
const [data, setData] = useState<AdminOverview | null>(null)
|
||||
const [error, setError] = useState(false)
|
||||
|
||||
useEffect(() => {
|
||||
let alive = true
|
||||
adminOverview()
|
||||
.then((d) => alive && setData(d))
|
||||
.catch(() => alive && setError(true))
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [])
|
||||
|
||||
if (error) return <EmptyState title={t('admin.loadError')} />
|
||||
if (!data) return <Spinner />
|
||||
|
||||
const max = data.signups_by_day.reduce((m, d) => Math.max(m, d.n), 1)
|
||||
const days = data.signups_by_day
|
||||
|
||||
return (
|
||||
<div className="mt-6">
|
||||
<div className="grid grid-cols-2 gap-3 sm:grid-cols-3">
|
||||
<StatTile
|
||||
label={t('admin.users')}
|
||||
value={fmtNumber(data.users)}
|
||||
hint={`${fmtNumber(data.public_profiles)} ${t('admin.public')} · ${fmtNumber(data.private_profiles)} ${t('admin.private')}`}
|
||||
/>
|
||||
<StatTile
|
||||
label={t('admin.items')}
|
||||
value={fmtNumber(data.items)}
|
||||
hint={`${fmtNumber(data.films)} ${t('admin.films')} · ${fmtNumber(data.series)} ${t('admin.series')}`}
|
||||
/>
|
||||
<StatTile label={t('admin.reviews')} value={fmtNumber(data.reviews)} />
|
||||
<StatTile label={t('admin.follows')} value={fmtNumber(data.follows)} hint={`${fmtNumber(data.pending_follows)} ${t('admin.pending')}`} />
|
||||
<StatTile label={t('admin.media')} value={fmtNumber(data.media_files)} />
|
||||
<StatTile label={t('admin.suspended')} value={fmtNumber(data.suspended)} />
|
||||
</div>
|
||||
|
||||
<div className="mt-3 grid grid-cols-2 gap-3 sm:grid-cols-4">
|
||||
<StatTile label={t('admin.signups7')} value={fmtNumber(data.signups_7d)} />
|
||||
<StatTile label={t('admin.signups30')} value={fmtNumber(data.signups_30d)} />
|
||||
<StatTile label={t('admin.active7')} value={fmtNumber(data.active_7d)} />
|
||||
<StatTile label={t('admin.newItems7')} value={fmtNumber(data.new_items_7d)} />
|
||||
</div>
|
||||
|
||||
<SectionTitle>{t('admin.signupsChart')}</SectionTitle>
|
||||
<div className="card p-4">
|
||||
<div className="flex h-32 items-end gap-1">
|
||||
{days.map((d) => (
|
||||
<div
|
||||
key={d.day}
|
||||
className="min-h-[2px] flex-1 rounded-t bg-accent-fill"
|
||||
style={{ height: `${Math.max((d.n / max) * 100, 2)}%` }}
|
||||
title={`${d.day}: ${fmtNumber(d.n)}`}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
{days.length > 0 && (
|
||||
<div className="mt-2 flex justify-between text-xs text-ink-3">
|
||||
<span>{formatDate(days[0].day)}</span>
|
||||
<span>{formatDate(days[days.length - 1].day)}</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ Utilisateurs */
|
||||
|
||||
function UsersTab() {
|
||||
const [q, setQ] = useState('')
|
||||
const [users, setUsers] = useState<AdminUser[]>([])
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [loadingMore, setLoadingMore] = useState(false)
|
||||
const [hasMore, setHasMore] = useState(false)
|
||||
const [busyId, setBusyId] = useState<string | null>(null)
|
||||
const [confirmUser, setConfirmUser] = useState<AdminUser | null>(null)
|
||||
const reqId = useRef(0)
|
||||
|
||||
// Recherche débattue : chaque frappe relance une requête après 350 ms,
|
||||
// et un `reqId` évite qu'une réponse en retard n'écrase une plus récente.
|
||||
useEffect(() => {
|
||||
const id = ++reqId.current
|
||||
setLoading(true)
|
||||
const timer = setTimeout(async () => {
|
||||
try {
|
||||
const rows = await adminUsers(q, 0)
|
||||
if (reqId.current !== id) return
|
||||
setUsers(rows)
|
||||
setHasMore(rows.length === USERS_PAGE)
|
||||
} catch {
|
||||
if (reqId.current === id) setUsers([])
|
||||
} finally {
|
||||
if (reqId.current === id) setLoading(false)
|
||||
}
|
||||
}, 350)
|
||||
return () => clearTimeout(timer)
|
||||
}, [q])
|
||||
|
||||
const loadMore = async () => {
|
||||
const id = reqId.current
|
||||
setLoadingMore(true)
|
||||
try {
|
||||
const rows = await adminUsers(q, users.length)
|
||||
if (reqId.current !== id) return
|
||||
setUsers((prev) => [...prev, ...rows])
|
||||
setHasMore(rows.length === USERS_PAGE)
|
||||
} catch {
|
||||
/* on garde la liste en l'état */
|
||||
} finally {
|
||||
if (reqId.current === id) setLoadingMore(false)
|
||||
}
|
||||
}
|
||||
|
||||
const applySuspend = async (u: AdminUser) => {
|
||||
const next = !u.suspended
|
||||
setConfirmUser(null)
|
||||
setBusyId(u.id)
|
||||
try {
|
||||
await adminSetSuspended(u.id, next)
|
||||
setUsers((prev) => prev.map((x) => (x.id === u.id ? { ...x, suspended: next } : x)))
|
||||
} catch {
|
||||
/* on laisse la ligne telle quelle */
|
||||
} finally {
|
||||
setBusyId(null)
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="mt-6">
|
||||
<label className="relative block">
|
||||
<Search className="pointer-events-none absolute left-3.5 top-1/2 size-4 -translate-y-1/2 text-ink-3" aria-hidden />
|
||||
<input
|
||||
type="search"
|
||||
className="field pl-10"
|
||||
placeholder={t('admin.searchUsers')}
|
||||
value={q}
|
||||
onChange={(e) => setQ(e.target.value)}
|
||||
/>
|
||||
</label>
|
||||
|
||||
{loading ? (
|
||||
<Spinner />
|
||||
) : users.length === 0 ? (
|
||||
<EmptyState title={t('admin.noUsers')} />
|
||||
) : (
|
||||
<ul className="mt-4 space-y-2">
|
||||
{users.map((u) => (
|
||||
<li key={u.id} className="card flex items-start gap-3 p-4">
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="truncate font-semibold">{personName(u)}</span>
|
||||
{u.suspended && (
|
||||
<span className="shrink-0 rounded-full border border-accent px-2 py-0.5 text-[11px] font-medium text-accent">
|
||||
{t('admin.suspendedBadge')}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
{(u.username || u.email) && (
|
||||
<div className="mt-0.5 truncate text-xs text-ink-3">
|
||||
{u.username ? `@${u.username}` : ''}
|
||||
{u.username && u.email ? ' · ' : ''}
|
||||
{u.email ?? ''}
|
||||
</div>
|
||||
)}
|
||||
<div className="mt-1.5 text-xs text-ink-2">
|
||||
{`${fmtNumber(u.items)} ${t('admin.statItems')} · ${fmtNumber(u.reviews)} ${t('admin.statReviews')} · ${fmtNumber(u.followers)} ${t('admin.statFollowers')}`}
|
||||
</div>
|
||||
<div className="mt-0.5 text-xs text-ink-3">{t('admin.joined', { date: formatDate(u.created_at) })}</div>
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setConfirmUser(u)}
|
||||
disabled={busyId === u.id}
|
||||
className="btn btn-ghost shrink-0 px-3 py-1.5 text-xs"
|
||||
>
|
||||
{busyId === u.id ? (
|
||||
<Loader2 className="size-4 animate-spin" aria-hidden />
|
||||
) : u.suspended ? (
|
||||
<RotateCcw className="size-4" aria-hidden />
|
||||
) : (
|
||||
<Ban className="size-4" aria-hidden />
|
||||
)}
|
||||
{u.suspended ? t('admin.unsuspend') : t('admin.suspend')}
|
||||
</button>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
)}
|
||||
|
||||
{hasMore && !loading && (
|
||||
<div className="mt-4 flex justify-center">
|
||||
<button type="button" onClick={loadMore} disabled={loadingMore} className="btn btn-ghost">
|
||||
{loadingMore && <Loader2 className="size-4 animate-spin" aria-hidden />}
|
||||
{t('social.loadMore')}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<ConfirmDialog
|
||||
open={confirmUser !== null}
|
||||
title={confirmUser?.suspended ? t('admin.confirmUnsuspendTitle') : t('admin.confirmSuspendTitle')}
|
||||
message={confirmUser?.suspended ? t('admin.confirmUnsuspendMsg') : t('admin.confirmSuspendMsg')}
|
||||
confirmLabel={confirmUser?.suspended ? t('admin.unsuspend') : t('admin.suspend')}
|
||||
onConfirm={() => confirmUser && applySuspend(confirmUser)}
|
||||
onCancel={() => setConfirmUser(null)}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ Avis */
|
||||
|
||||
function ReviewsTab() {
|
||||
const [reviews, setReviews] = useState<AdminReview[]>([])
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [loadingMore, setLoadingMore] = useState(false)
|
||||
const [hasMore, setHasMore] = useState(false)
|
||||
const [busyKey, setBusyKey] = useState<string | null>(null)
|
||||
const [confirmRev, setConfirmRev] = useState<AdminReview | null>(null)
|
||||
|
||||
const keyOf = (r: AdminReview) => `${r.user_id}:${r.item_id}`
|
||||
|
||||
useEffect(() => {
|
||||
let alive = true
|
||||
adminRecentReviews(0)
|
||||
.then((rows) => {
|
||||
if (!alive) return
|
||||
setReviews(rows)
|
||||
setHasMore(rows.length === REVIEWS_PAGE)
|
||||
})
|
||||
.catch(() => alive && setReviews([]))
|
||||
.finally(() => alive && setLoading(false))
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [])
|
||||
|
||||
const loadMore = async () => {
|
||||
setLoadingMore(true)
|
||||
try {
|
||||
const rows = await adminRecentReviews(reviews.length)
|
||||
setReviews((prev) => [...prev, ...rows])
|
||||
setHasMore(rows.length === REVIEWS_PAGE)
|
||||
} catch {
|
||||
/* on garde la liste en l'état */
|
||||
} finally {
|
||||
setLoadingMore(false)
|
||||
}
|
||||
}
|
||||
|
||||
const applyClear = async (r: AdminReview) => {
|
||||
const key = keyOf(r)
|
||||
setConfirmRev(null)
|
||||
setBusyKey(key)
|
||||
try {
|
||||
await adminClearReview(r.user_id, r.item_id)
|
||||
setReviews((prev) => prev.filter((x) => keyOf(x) !== key))
|
||||
} catch {
|
||||
/* on laisse la carte en place */
|
||||
} finally {
|
||||
setBusyKey(null)
|
||||
}
|
||||
}
|
||||
|
||||
if (loading) return <Spinner />
|
||||
if (reviews.length === 0) return <EmptyState title={t('admin.noReviews')} />
|
||||
|
||||
return (
|
||||
<div className="mt-6">
|
||||
<ul className="space-y-2">
|
||||
{reviews.map((r) => {
|
||||
const key = keyOf(r)
|
||||
return (
|
||||
<li key={key} className="card flex items-start gap-3 p-4">
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex flex-wrap items-center gap-x-2 gap-y-1">
|
||||
<span className="font-semibold">{r.title || t('admin.anon')}</span>
|
||||
{r.type && <span className="text-xs uppercase tracking-wide text-ink-3">{r.type}</span>}
|
||||
{r.rating != null && (
|
||||
<span className="inline-flex items-center gap-1 text-xs text-ink-2">
|
||||
<Star className="size-3.5 text-accent" aria-hidden />
|
||||
{fmtNumber(r.rating)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
<div className="mt-0.5 text-xs text-ink-3">
|
||||
{personName(r)}
|
||||
{r.username ? ` · @${r.username}` : ''}
|
||||
</div>
|
||||
{r.notes && <p className="mt-2 line-clamp-4 text-sm leading-relaxed text-ink-2">{r.notes}</p>}
|
||||
</div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setConfirmRev(r)}
|
||||
disabled={busyKey === key}
|
||||
aria-label={t('admin.clearReview')}
|
||||
title={t('admin.clearReview')}
|
||||
className="btn btn-ghost shrink-0 px-3 py-1.5 text-xs"
|
||||
>
|
||||
{busyKey === key ? <Loader2 className="size-4 animate-spin" aria-hidden /> : <MessageSquareOff className="size-4" aria-hidden />}
|
||||
</button>
|
||||
</li>
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
|
||||
{hasMore && (
|
||||
<div className="mt-4 flex justify-center">
|
||||
<button type="button" onClick={loadMore} disabled={loadingMore} className="btn btn-ghost">
|
||||
{loadingMore && <Loader2 className="size-4 animate-spin" aria-hidden />}
|
||||
{t('social.loadMore')}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<ConfirmDialog
|
||||
open={confirmRev !== null}
|
||||
title={t('admin.confirmClearTitle')}
|
||||
message={t('admin.confirmClearMsg')}
|
||||
confirmLabel={t('admin.clearReview')}
|
||||
onConfirm={() => confirmRev && applyClear(confirmRev)}
|
||||
onCancel={() => setConfirmRev(null)}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ Page */
|
||||
|
||||
const TABS: { id: Tab; label: () => string }[] = [
|
||||
{ id: 'overview', label: () => t('admin.tabOverview') },
|
||||
{ id: 'users', label: () => t('admin.tabUsers') },
|
||||
{ id: 'reviews', label: () => t('admin.tabReviews') },
|
||||
]
|
||||
|
||||
export default function AdminPage({ onBack }: { onBack: () => void }) {
|
||||
const [allowed, setAllowed] = useState<boolean | null>(null)
|
||||
const [tab, setTab] = useState<Tab>('overview')
|
||||
|
||||
useEffect(() => {
|
||||
let alive = true
|
||||
isAdmin()
|
||||
.then((ok) => alive && setAllowed(ok))
|
||||
.catch(() => alive && setAllowed(false))
|
||||
return () => {
|
||||
alive = false
|
||||
}
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<>
|
||||
<button type="button" onClick={onBack} className="mt-7 inline-flex items-center gap-1.5 text-sm font-medium text-ink-3 transition-colors hover:text-ink">
|
||||
<ArrowLeft className="size-4" aria-hidden />
|
||||
{t('settings.admin')}
|
||||
</button>
|
||||
|
||||
<PageHeader title={t('admin.title')} />
|
||||
|
||||
{allowed === null ? (
|
||||
<Spinner />
|
||||
) : !allowed ? (
|
||||
<EmptyState title={t('admin.title')} text={t('admin.loadError')} />
|
||||
) : (
|
||||
<>
|
||||
<div className="grid grid-cols-3 gap-1 rounded-full border border-line p-1">
|
||||
{TABS.map((tb) => {
|
||||
const on = tab === tb.id
|
||||
return (
|
||||
<button
|
||||
key={tb.id}
|
||||
type="button"
|
||||
aria-pressed={on}
|
||||
onClick={() => setTab(tb.id)}
|
||||
className={cx('rounded-full py-2 text-sm font-medium transition-colors', on ? 'bg-ink text-bg' : 'text-ink-3')}
|
||||
>
|
||||
{tb.label()}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
|
||||
{tab === 'overview' && <OverviewTab />}
|
||||
{tab === 'users' && <UsersTab />}
|
||||
{tab === 'reviews' && <ReviewsTab />}
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
}
|
||||
@@ -125,13 +125,13 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
|
||||
<div className="sticky top-0 z-20 -mx-4 space-y-3 bg-bg/90 px-4 pb-3 pt-[max(0.5rem,env(safe-area-inset-top))] backdrop-blur-xl">
|
||||
<div className="flex gap-2">
|
||||
<div className="relative flex-1">
|
||||
<Search size={18} className="pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<Search size={18} className="pointer-events-none absolute start-3 top-1/2 -translate-y-1/2 text-ink-3" />
|
||||
<input
|
||||
type="search"
|
||||
value={query}
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
placeholder={t('catalog.searchPh')}
|
||||
className="field pl-10"
|
||||
className="field ps-10"
|
||||
enterKeyHint="search"
|
||||
/>
|
||||
</div>
|
||||
@@ -143,7 +143,7 @@ export default function CatalogPage({ onOpen, onAdd }: Props) {
|
||||
>
|
||||
<SlidersHorizontal size={18} />
|
||||
{activeAdvanced > 0 && (
|
||||
<span className="absolute -right-1.5 -top-1.5 grid size-5 place-items-center rounded-full bg-accent-fill text-[10px] text-on-accent">{activeAdvanced}</span>
|
||||
<span className="absolute -end-1.5 -top-1.5 grid size-5 place-items-center rounded-full bg-accent-fill text-[10px] text-on-accent">{activeAdvanced}</span>
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
+94
-34
@@ -1,16 +1,19 @@
|
||||
import { useSocial } from '../components/social/SocialProvider'
|
||||
import { t } from '../i18n'
|
||||
import { CalendarDays, Dices, Plus } from 'lucide-react'
|
||||
import { useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { MediaRow } from '../components/MediaCard'
|
||||
import { Bell, CalendarDays, Dices, Plus } from 'lucide-react'
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { TYPE_BY_VALUE } from '../lib/constants'
|
||||
import Avatar from '../components/social/Avatar'
|
||||
import FriendsFeed from '../components/social/FriendsFeed'
|
||||
import Poster from '../components/Poster'
|
||||
import TopFive from '../components/TopFive'
|
||||
import Recommendations from '../components/Recommendations'
|
||||
import HomeHero, { ContinueCard } from '../components/HomeHero'
|
||||
import type { Tab } from '../components/BottomNav'
|
||||
import { EmptyState, LinkArrow, PageHeader, SectionTitle, StatTile } from '../components/ui'
|
||||
import { CACHE_EVENT, loadAiring, needsCheck, refreshAiring, saveAiring, trackable } from '../lib/airing'
|
||||
import { CACHE_EVENT, isCaughtUp, loadAiring, needsCheck, novelties, refreshAiring, saveAiring, trackable } from '../lib/airing'
|
||||
import { addEpisodeNotifications } from '../lib/cloud/notifications'
|
||||
import { useOnResume } from '../lib/onResume'
|
||||
import { calendarEvents } from '../lib/releases'
|
||||
import { computeStats } from '../lib/stats'
|
||||
import { formatDuration, todayISO } from '../lib/utils'
|
||||
@@ -29,9 +32,10 @@ function PosterStrip({ items, onOpen }: { items: MediaItem[]; onOpen: (item: Med
|
||||
return (
|
||||
<div className="no-scrollbar -mx-4 flex gap-3 overflow-x-auto px-4 pb-1">
|
||||
{items.map((item) => (
|
||||
<button key={item.id} onClick={() => onOpen(item)} className="w-24 shrink-0 text-left">
|
||||
<button key={item.id} onClick={() => onOpen(item)} className="w-32 shrink-0 text-start">
|
||||
<Poster src={item.poster} title={item.title} />
|
||||
<p className="mt-2 line-clamp-2 text-xs font-medium leading-snug text-ink-2">{item.title}</p>
|
||||
<p className="mt-2 truncate text-sm font-semibold leading-snug">{item.title}</p>
|
||||
<p className="truncate text-[11px] text-ink-3">{[TYPE_BY_VALUE[item.type].label, item.year].filter(Boolean).join(' · ')}</p>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -44,22 +48,53 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
const stats = useMemo(() => computeStats(items), [items])
|
||||
// Sorties dans les 7 prochains jours (pastille sur l'icône calendrier)
|
||||
// Vérification discrète des nouveaux épisodes (au plus toutes les 12 h) : pastille du calendrier et nombre d'épisodes à jour
|
||||
// Revérifié aussi au retour dans l'app : un épisode sorti entre-temps fait réapparaître la série dans « Continuer »
|
||||
const airingStarted = useRef(false)
|
||||
useEffect(() => {
|
||||
if (loading || airingStarted.current || !navigator.onLine) return
|
||||
airingStarted.current = true
|
||||
const airingRunning = useRef(false)
|
||||
const latest = useRef({ items, tmdbKey: settings.tmdbKey })
|
||||
latest.current = { items, tmdbKey: settings.tmdbKey }
|
||||
const checkAiring = useCallback(() => {
|
||||
const { items, tmdbKey } = latest.current
|
||||
if (airingRunning.current || !navigator.onLine) return
|
||||
const cache = loadAiring()
|
||||
if (!trackable(items).some((i) => needsCheck(i, cache))) return
|
||||
void refreshAiring(items, cache, settings.tmdbKey)
|
||||
airingRunning.current = true
|
||||
void refreshAiring(items, cache, tmdbKey)
|
||||
.then((next) => {
|
||||
saveAiring(next)
|
||||
const patches = trackable(items)
|
||||
.filter((i) => i.status !== 'termine' && next[i.id] && next[i.id].aired > (i.episodesTotal ?? 0))
|
||||
.map((i) => ({ id: i.id, patch: { episodesTotal: next[i.id].aired } }))
|
||||
const patches = trackable(items).flatMap((i) => {
|
||||
const info = next[i.id]
|
||||
if (!info) return []
|
||||
const patch: Partial<MediaItem> = {}
|
||||
if (i.status !== 'termine' && info.aired > (i.episodesTotal ?? 0)) patch.episodesTotal = info.aired
|
||||
// Découpage par saison (nouvelle saison annoncée, ou fiche ajoutée avant le suivi par saison)
|
||||
if (info.seasonSizes && info.seasonSizes.join() !== (i.seasons ?? []).join()) patch.seasons = info.seasonSizes
|
||||
if (info.backdrop && !i.backdrop) patch.backdrop = info.backdrop
|
||||
return Object.keys(patch).length ? [{ id: i.id, patch }] : []
|
||||
})
|
||||
// Notifications : nouveaux épisodes / saisons des séries suivies (dédoublonné côté serveur)
|
||||
if (social.enabled) {
|
||||
const notices = novelties(items, next)
|
||||
.filter((nv) => nv.kind !== 'upcoming')
|
||||
.map((nv) => ({ item_id: nv.item.id, kind: nv.kind === 'new_season' ? ('new_season' as const) : ('new_episode' as const), episode: nv.info.aired, count: nv.unwatched }))
|
||||
if (notices.length)
|
||||
void addEpisodeNotifications(notices).then((n) => {
|
||||
if (n > 0) void social.refresh()
|
||||
})
|
||||
}
|
||||
if (patches.length) return patchMany(patches)
|
||||
})
|
||||
.catch(() => {})
|
||||
}, [loading, items, settings.tmdbKey, patchMany])
|
||||
.finally(() => {
|
||||
airingRunning.current = false
|
||||
})
|
||||
}, [patchMany, social])
|
||||
useEffect(() => {
|
||||
if (loading || airingStarted.current) return
|
||||
airingStarted.current = true
|
||||
checkAiring()
|
||||
}, [loading, checkAiring])
|
||||
useOnResume(checkAiring, !loading)
|
||||
|
||||
const [cacheVersion, setCacheVersion] = useState(0)
|
||||
useEffect(() => {
|
||||
@@ -75,7 +110,13 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [items, cacheVersion])
|
||||
|
||||
const inProgress = items.filter((i) => i.status === 'en_cours')
|
||||
// En cours, sans les séries où j'ai tout vu en attendant le prochain épisode
|
||||
const airing = useMemo(() => loadAiring(), [cacheVersion]) // eslint-disable-line react-hooks/exhaustive-deps
|
||||
const inProgress = items.filter((i) => i.status === 'en_cours' && !isCaughtUp(i, airing))
|
||||
// Bannière : ce que je regarde en ce moment (le plus récemment touché), sinon le prochain « à voir »
|
||||
const byRecent = [...inProgress].sort((a, b) => b.updatedAt.localeCompare(a.updatedAt))
|
||||
const firstToWatch = items.find((i) => i.status === 'a_voir')
|
||||
const featured = (byRecent.length ? byRecent.slice(0, 8) : firstToWatch ? [firstToWatch] : [])
|
||||
const toWatch = items.filter((i) => i.status === 'a_voir').slice(0, 12)
|
||||
const recent = items
|
||||
.filter((i) => i.status === 'termine')
|
||||
@@ -99,14 +140,26 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
>
|
||||
<CalendarDays size={20} />
|
||||
{soon > 0 && (
|
||||
<span className="absolute -right-1 -top-1 grid min-w-5 place-items-center rounded-full bg-accent-fill px-1 text-[10px] font-bold text-on-accent">{soon}</span>
|
||||
<span className="absolute -end-1 -top-1 grid min-w-5 place-items-center rounded-full bg-accent-fill px-1 text-[10px] font-bold text-on-accent">{soon}</span>
|
||||
)}
|
||||
</button>
|
||||
{social.enabled && (
|
||||
<button
|
||||
onClick={social.openNotifications}
|
||||
className="relative grid size-11 shrink-0 place-items-center rounded-full border border-line text-ink-2 transition-colors active:bg-surface-2"
|
||||
aria-label={social.unread > 0 ? t('home.notificationsN', { count: social.unread }) : t('home.notifications')}
|
||||
>
|
||||
<Bell size={20} />
|
||||
{social.unread > 0 && (
|
||||
<span className="absolute -end-1 -top-1 grid min-w-5 place-items-center rounded-full bg-accent-fill px-1 text-[10px] font-bold text-on-accent">{social.unread}</span>
|
||||
)}
|
||||
</button>
|
||||
)}
|
||||
{social.enabled && (
|
||||
<button onClick={() => (social.me ? social.openProfile(social.me.username) : social.openSearch())} className="relative shrink-0 rounded-full" aria-label={t('social.myProfile')}>
|
||||
<Avatar url={social.me?.avatarUrl} name={social.me?.displayName ?? '?'} size={44} />
|
||||
{social.requests.length > 0 && (
|
||||
<span className="absolute -right-1 -top-1 grid min-w-5 place-items-center rounded-full bg-accent-fill px-1 text-[10px] font-bold text-on-accent">{social.requests.length}</span>
|
||||
<span className="absolute -end-1 -top-1 grid min-w-5 place-items-center rounded-full bg-accent-fill px-1 text-[10px] font-bold text-on-accent">{social.requests.length}</span>
|
||||
)}
|
||||
</button>
|
||||
)}
|
||||
@@ -129,15 +182,12 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<StatTile label={t('home.completed')} value={stats.completed} hint={t('home.thisYear', { count: stats.completedThisYear })} />
|
||||
<StatTile label={t('status.en_cours')} value={stats.inProgress} hint={t('home.toWatchN', { count: stats.toWatch })} />
|
||||
<StatTile label={t('home.screenTime')} value={formatDuration(stats.totalMinutes)} hint={t('home.estimate')} />
|
||||
<StatTile label={t('home.episodesSeen')} value={stats.episodesWatched} />
|
||||
</div>
|
||||
{featured.length > 0 && <HomeHero items={featured} onOpen={onOpen} />}
|
||||
|
||||
<FriendsFeed />
|
||||
|
||||
{/* Roulette : pour les soirs sans idée */}
|
||||
<button onClick={onRoulette} className="card mt-3 flex w-full items-center gap-4 p-4 text-left transition-colors active:bg-surface-2">
|
||||
<button onClick={onRoulette} className="card mt-8 flex w-full items-center gap-4 p-4 text-start transition-colors active:bg-surface-2">
|
||||
<span className="grid size-12 shrink-0 place-items-center rounded-full bg-accent-fill text-on-accent">
|
||||
<Dices size={24} />
|
||||
</span>
|
||||
@@ -152,23 +202,20 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
<span className="text-accent">→</span>
|
||||
</button>
|
||||
|
||||
<FriendsFeed />
|
||||
|
||||
{inProgress.length > 0 && (
|
||||
<>
|
||||
<SectionTitle>{t('status.en_cours')}</SectionTitle>
|
||||
<div className="space-y-2.5">
|
||||
{inProgress.map((item) => (
|
||||
<MediaRow key={item.id} item={item} onOpen={onOpen} />
|
||||
))}
|
||||
<SectionTitle>{t('homeHero.continueRow')}</SectionTitle>
|
||||
<div className="no-scrollbar -mx-4 flex gap-3 overflow-x-auto px-4 pb-1">
|
||||
{[...inProgress]
|
||||
.sort((x, y) => y.updatedAt.localeCompare(x.updatedAt))
|
||||
.map((item) => (
|
||||
<ContinueCard key={item.id} item={item} onOpen={onOpen} />
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
<TopFive onOpen={onOpen} />
|
||||
|
||||
<Recommendations />
|
||||
|
||||
{toWatch.length > 0 && (
|
||||
<>
|
||||
<SectionTitle action={seeAll}>{t('status.a_voir')}</SectionTitle>
|
||||
@@ -176,12 +223,25 @@ export default function HomePage({ onOpen, onAdd, onNavigate, onRoulette, onCale
|
||||
</>
|
||||
)}
|
||||
|
||||
<TopFive onOpen={onOpen} />
|
||||
|
||||
<Recommendations />
|
||||
|
||||
{recent.length > 0 && (
|
||||
<>
|
||||
<SectionTitle action={seeAll}>{t('home.recentlyFinished')}</SectionTitle>
|
||||
<PosterStrip items={recent} onOpen={onOpen} />
|
||||
</>
|
||||
)}
|
||||
|
||||
<SectionTitle>{t('nav.stats')}</SectionTitle>
|
||||
<div className="grid grid-cols-2 gap-3">
|
||||
<StatTile label={t('home.completed')} value={stats.completed} hint={t('home.thisYear', { count: stats.completedThisYear })} />
|
||||
<StatTile label={t('status.en_cours')} value={stats.inProgress} hint={t('home.toWatchN', { count: stats.toWatch })} />
|
||||
<StatTile label={t('home.screenTime')} value={formatDuration(stats.totalMinutes)} hint={t('home.estimate')} />
|
||||
<StatTile label={t('home.episodesSeen')} value={stats.episodesWatched} />
|
||||
</div>
|
||||
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
|
||||
+125
-7
@@ -1,6 +1,6 @@
|
||||
import { t } from '../i18n'
|
||||
import { LanguageSelect } from '../i18n/react'
|
||||
import { Check, Download, Eye, EyeOff, HardDrive, Trash2, Upload, UserX } from 'lucide-react'
|
||||
import { Check, Download, Eye, EyeOff, HardDrive, ShieldCheck, Smartphone, Trash2, Upload, UserX } from 'lucide-react'
|
||||
import { useEffect, useRef, useState, type ReactNode } from 'react'
|
||||
import AccountSection from '../components/AccountSection'
|
||||
import ConfirmDialog from '../components/ConfirmDialog'
|
||||
@@ -9,15 +9,25 @@ import { exportBackup, parseBackupFile, type ParsedBackup } from '../lib/backup'
|
||||
import { testTmdbKey } from '../lib/catalogApi'
|
||||
import { checkTmdbProxy, type ProxyState } from '../lib/cloud/api'
|
||||
import { ALL_TOP_CATEGORIES, TOP_CATEGORIES } from '../lib/constants'
|
||||
import { isHexColor, THEME_PRESETS } from '../lib/theme'
|
||||
import { isHexColor, THEME_MODES, THEME_PRESETS } from '../lib/theme'
|
||||
import { detectPlatform, useInstallPrompt } from '../lib/pwa'
|
||||
import { isAdmin } from '../lib/cloud/admin'
|
||||
import type { NotifPrefs } from '../types'
|
||||
import { cx } from '../lib/utils'
|
||||
import { useMedia } from '../store'
|
||||
|
||||
type Message = { kind: 'ok' | 'error'; text: string }
|
||||
|
||||
const NOTIF_PREFS: { key: keyof NotifPrefs; readonly label: () => string }[] = [
|
||||
{ key: 'episodes', label: () => t('settings.notifEpisodes') },
|
||||
{ key: 'follows', label: () => t('settings.notifFollows') },
|
||||
{ key: 'accepted', label: () => t('settings.notifAccepted') },
|
||||
{ key: 'reactions', label: () => t('settings.notifReactions') },
|
||||
]
|
||||
|
||||
function Row({ icon, title, hint, onClick, danger }: { icon: ReactNode; title: string; hint?: string; onClick: () => void; danger?: boolean }) {
|
||||
return (
|
||||
<button onClick={onClick} className={cx('flex w-full items-center gap-3.5 px-4 py-4 text-left transition-colors active:bg-surface-2', danger && 'text-accent')}>
|
||||
<button onClick={onClick} className={cx('flex w-full items-center gap-3.5 px-4 py-4 text-start transition-colors active:bg-surface-2', danger && 'text-accent')}>
|
||||
<span className={danger ? 'text-accent' : 'text-ink-2'}>{icon}</span>
|
||||
<span className="flex-1">
|
||||
<span className="block font-medium">{title}</span>
|
||||
@@ -28,8 +38,14 @@ function Row({ icon, title, hint, onClick, danger }: { icon: ReactNode; title: s
|
||||
)
|
||||
}
|
||||
|
||||
export default function SettingsPage() {
|
||||
export default function SettingsPage({ onOpenAdmin }: { onOpenAdmin: () => void }) {
|
||||
const { items, settings, updateSettings, importItems, clearAll, lists, mergeLists, account } = useMedia()
|
||||
const { canInstall, installed, install } = useInstallPrompt()
|
||||
const [admin, setAdmin] = useState(false)
|
||||
useEffect(() => {
|
||||
if (account) void isAdmin().then(setAdmin)
|
||||
else setAdmin(false)
|
||||
}, [account])
|
||||
const fileRef = useRef<HTMLInputElement>(null)
|
||||
const [pending, setPending] = useState<ParsedBackup>()
|
||||
const [message, setMessage] = useState<Message>()
|
||||
@@ -131,6 +147,15 @@ export default function SettingsPage() {
|
||||
setMessage({ kind: 'ok', text: t('settings.cleared') })
|
||||
}
|
||||
|
||||
const [showInstall, setShowInstall] = useState(false)
|
||||
const platform = detectPlatform()
|
||||
|
||||
const doNativeInstall = async () => {
|
||||
const ok = await install()
|
||||
setShowInstall(false)
|
||||
if (ok) setMessage({ kind: 'ok', text: t('settings.installed') })
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageHeader title={t('settings.pageTitle')} accent={t('settings.pageAccent')} />
|
||||
@@ -149,6 +174,15 @@ export default function SettingsPage() {
|
||||
|
||||
{account && <AccountSection account={account} onMessage={(kind, text) => setMessage({ kind, text })} />}
|
||||
|
||||
{admin && (
|
||||
<>
|
||||
<SectionTitle>{t('settings.admin')}</SectionTitle>
|
||||
<div className="card overflow-hidden">
|
||||
<Row icon={<ShieldCheck size={19} />} title={t('admin.title')} onClick={onOpenAdmin} />
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
<SectionTitle>{t('settings.language')}</SectionTitle>
|
||||
<LanguageSelect />
|
||||
<p className="mt-2.5 text-xs text-ink-3">{t('settings.languageHint')}</p>
|
||||
@@ -167,7 +201,21 @@ export default function SettingsPage() {
|
||||
</div>
|
||||
<p className="mt-2.5 text-xs text-ink-3">{t('settings.ratingHint')}</p>
|
||||
|
||||
<SectionTitle>{t('settings.theme')}</SectionTitle>
|
||||
<SectionTitle>{t('settings.appearance')}</SectionTitle>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{THEME_MODES.map(({ value, label }) => {
|
||||
const on = settings.themeMode === value
|
||||
return (
|
||||
<button key={value} onClick={() => updateSettings({ themeMode: value })} className={cx('chip', on && 'chip-on')} aria-pressed={on}>
|
||||
{on && <Check size={14} />}
|
||||
{label}
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
<p className="mt-2.5 text-xs text-ink-3">{t('settings.appearanceHint')}</p>
|
||||
|
||||
<SectionTitle>{t('settings.accentColor')}</SectionTitle>
|
||||
<div className="grid grid-cols-6 gap-3">
|
||||
{THEME_PRESETS.map((p) => {
|
||||
const on = settings.accentColor.toLowerCase() === p.color
|
||||
@@ -207,6 +255,76 @@ export default function SettingsPage() {
|
||||
<span className="text-xs uppercase text-ink-3">{settings.accentColor}</span>
|
||||
</label>
|
||||
|
||||
<SectionTitle>{t('settings.installApp')}</SectionTitle>
|
||||
<div className="card overflow-hidden">
|
||||
{installed ? (
|
||||
<div className="flex w-full items-center gap-3.5 px-4 py-4 text-start">
|
||||
<span className="text-ink-2"><Check size={19} /></span>
|
||||
<span className="flex-1 font-medium text-ink-3">{t('settings.installed')}</span>
|
||||
</div>
|
||||
) : (
|
||||
<button onClick={() => setShowInstall(true)} className="flex w-full items-center gap-3.5 px-4 py-4 text-start transition-colors active:bg-surface-2">
|
||||
<span className="text-ink-2"><Smartphone size={19} /></span>
|
||||
<span className="flex-1 font-medium">{t('settings.installApp')}</span>
|
||||
<span className="text-ink-3">→</span>
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
<p className="mt-2.5 text-xs text-ink-3">{t('settings.installHint')}</p>
|
||||
|
||||
{showInstall && (
|
||||
<div className="fixed inset-0 z-[70] flex items-end justify-center bg-black/70 p-4 sm:items-center" onClick={() => setShowInstall(false)}>
|
||||
<div role="dialog" aria-modal="true" className="sheet-in safe-bottom w-full max-w-sm rounded-3xl border border-line-strong bg-surface p-5" onClick={(e) => e.stopPropagation()}>
|
||||
<h2 className="flex items-center gap-2 text-lg"><Smartphone size={20} className="text-accent" /> {t('install.title')}</h2>
|
||||
<ol className="mt-4 space-y-3">
|
||||
{t(`install.${platform}`).split('\n').map((step, i) => (
|
||||
<li key={i} className="flex gap-3 text-sm leading-relaxed text-ink-2">
|
||||
<span className="grid size-6 shrink-0 place-items-center rounded-full bg-surface-2 text-xs font-bold text-ink">{i + 1}</span>
|
||||
<span>{step}</span>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
<div className="mt-5 flex gap-2">
|
||||
{canInstall && (
|
||||
<button onClick={doNativeInstall} className="btn btn-primary flex-1">
|
||||
<Download size={17} /> {t('settings.installApp')}
|
||||
</button>
|
||||
)}
|
||||
<button onClick={() => setShowInstall(false)} className={cx('btn', canInstall ? 'btn-ghost px-5' : 'btn-light flex-1')}>
|
||||
{t('install.gotIt')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{account && (
|
||||
<>
|
||||
<SectionTitle>{t('settings.notifs')}</SectionTitle>
|
||||
<p className="mb-3 text-xs text-ink-3">{t('settings.notifsHint')}</p>
|
||||
<div className="card divide-y divide-line overflow-hidden">
|
||||
{NOTIF_PREFS.map(({ key, label }) => {
|
||||
const on = settings.notifPrefs?.[key] !== false
|
||||
return (
|
||||
<button
|
||||
key={key}
|
||||
type="button"
|
||||
role="switch"
|
||||
aria-checked={on}
|
||||
onClick={() => updateSettings({ notifPrefs: { ...settings.notifPrefs, [key]: !on } })}
|
||||
className="flex w-full items-center gap-3.5 px-4 py-3.5 text-start"
|
||||
>
|
||||
<span className="flex-1 text-sm font-medium">{label()}</span>
|
||||
<span className={cx('relative h-6 w-11 shrink-0 rounded-full transition-colors', on ? 'bg-accent-fill' : 'border border-line-strong bg-surface-2')}>
|
||||
<span className={cx('absolute top-0.5 size-5 rounded-full bg-ink transition-all', on ? 'start-[22px] bg-on-accent' : 'start-0.5')} />
|
||||
</span>
|
||||
</button>
|
||||
)
|
||||
})}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
<SectionTitle>{t('settings.databases')}</SectionTitle>
|
||||
<div className="card space-y-4 p-4">
|
||||
<div>
|
||||
@@ -263,7 +381,7 @@ export default function SettingsPage() {
|
||||
<div className="mt-3 flex gap-2">
|
||||
<div className="relative flex-1">
|
||||
<input
|
||||
className="field pr-11 text-sm"
|
||||
className="field pe-11 text-sm"
|
||||
type={showKey ? 'text' : 'password'}
|
||||
value={keyDraft}
|
||||
onChange={(e) => {
|
||||
@@ -275,7 +393,7 @@ export default function SettingsPage() {
|
||||
autoCapitalize="off"
|
||||
spellCheck={false}
|
||||
/>
|
||||
<button type="button" onClick={() => setShowKey((v) => !v)} className="absolute right-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={showKey ? t('settings.hideKey') : t('settings.showKey')}>
|
||||
<button type="button" onClick={() => setShowKey((v) => !v)} className="absolute end-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={showKey ? t('settings.hideKey') : t('settings.showKey')}>
|
||||
{showKey ? <EyeOff size={17} /> : <Eye size={17} />}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -208,8 +208,8 @@ export default function StatsPage() {
|
||||
<span className="size-3 shrink-0 rounded-full" style={{ background: TYPE_COLORS[row.type] }} />
|
||||
<span className="flex-1 text-ink-2">{row.label}</span>
|
||||
<span className="text-xs text-ink-3">{t('journal.seen', { count: row.completed })}</span>
|
||||
<span className="w-16 text-right text-xs font-semibold tabular-nums">{formatDuration(row.minutes)}</span>
|
||||
<span className="w-10 text-right text-xs tabular-nums text-ink-3">{Math.round((row.minutes / typeTotal) * 100)} %</span>
|
||||
<span className="w-16 text-end text-xs font-semibold tabular-nums">{formatDuration(row.minutes)}</span>
|
||||
<span className="w-10 text-end text-xs tabular-nums text-ink-3">{Math.round((row.minutes / typeTotal) * 100)} %</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
@@ -375,7 +375,7 @@ export default function StatsPage() {
|
||||
title={t('account.nTitles', { count: g.value })}
|
||||
>
|
||||
{genreLabel(g.label)}
|
||||
<sup className="ml-0.5 text-[10px] font-medium text-ink-3">{g.value}</sup>
|
||||
<sup className="ms-0.5 text-[10px] font-medium text-ink-3">{g.value}</sup>
|
||||
</span>
|
||||
)
|
||||
})}
|
||||
@@ -394,7 +394,7 @@ export default function StatsPage() {
|
||||
<span className="h-2 flex-1 overflow-hidden rounded-full bg-surface-2">
|
||||
<span className="block h-full rounded-full bg-accent" style={{ width: `${(c.count / maxCountry) * 100}%` }} />
|
||||
</span>
|
||||
<span className="w-8 text-right text-xs font-semibold tabular-nums">{c.count}</span>
|
||||
<span className="w-8 text-end text-xs font-semibold tabular-nums">{c.count}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
+45
-23
@@ -13,6 +13,8 @@ import { dbNameFor, scopedKey } from './lib/scope'
|
||||
import { isPlainObject, LIMITS, readStorage } from './lib/security'
|
||||
import { mediaDB, requestPersistentStorage } from './lib/db'
|
||||
import { todayISO, uid } from './lib/utils'
|
||||
import { episodeCap, seasonPosition } from './lib/franchise'
|
||||
import { airedCount } from './lib/airing'
|
||||
|
||||
// Clés propres à l'espace actif (compte connecté, ou appareil sans compte)
|
||||
const settingsKey = () => scopedKey('settings')
|
||||
@@ -29,7 +31,7 @@ function persistLists(lists: CustomList[]) {
|
||||
/* ignore */
|
||||
}
|
||||
}
|
||||
const DEFAULT_SETTINGS: Settings = { ratingScale: '5', topCategories: ALL_TOP_CATEGORIES, accentColor: DEFAULT_ACCENT }
|
||||
const DEFAULT_SETTINGS: Settings = { ratingScale: '5', topCategories: ALL_TOP_CATEGORIES, accentColor: DEFAULT_ACCENT, themeMode: 'auto' }
|
||||
|
||||
/** Relit les réglages en ne gardant que des valeurs valides (le localStorage peut avoir été modifié). */
|
||||
function loadSettings(): Settings {
|
||||
@@ -109,7 +111,13 @@ const byUpdatedDesc = (a: MediaItem, b: MediaItem) => b.updatedAt.localeCompare(
|
||||
* IndexedDB est la source persistante (chaque écriture y est répercutée).
|
||||
*/
|
||||
export function MediaProvider({ children, cloudUser }: { children: ReactNode; cloudUser?: { id: string; email: string } }) {
|
||||
const [items, setItems] = useState<MediaItem[]>([])
|
||||
const [items, setItemsState] = useState<MediaItem[]>([])
|
||||
// Copie toujours à jour (deux « +1 » rapides ne doivent pas partir de la même version)
|
||||
const itemsRef = useRef(items)
|
||||
const setItems = useCallback((next: MediaItem[] | ((prev: MediaItem[]) => MediaItem[])) => {
|
||||
itemsRef.current = typeof next === 'function' ? next(itemsRef.current) : next
|
||||
setItemsState(itemsRef.current)
|
||||
}, [])
|
||||
const [loading, setLoading] = useState(true)
|
||||
const [error, setError] = useState<string>()
|
||||
const [settings, setSettings] = useState<Settings>(loadSettings)
|
||||
@@ -160,8 +168,8 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
getLists: () => listsRef.current,
|
||||
applyLists: (next) => setLists(() => next, true),
|
||||
getSettings: () => {
|
||||
const { ratingScale, topCategories, accentColor } = settingsRef.current
|
||||
return { ratingScale, topCategories, accentColor }
|
||||
const { ratingScale, topCategories, accentColor, themeMode, notifPrefs } = settingsRef.current
|
||||
return { ratingScale, topCategories, accentColor, themeMode, notifPrefs }
|
||||
},
|
||||
applySettings: (patch) => updateSettingsRef.current(patch, true),
|
||||
itemsChanged: () => void reloadItems(),
|
||||
@@ -191,10 +199,18 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
}, [cloudUser?.id])
|
||||
|
||||
// Thème de couleur appliqué avant l'affichage (pas de flash de rouge)
|
||||
useLayoutEffect(() => applyTheme(settings.accentColor), [settings.accentColor])
|
||||
useLayoutEffect(() => applyTheme(settings.accentColor, settings.themeMode), [settings.accentColor, settings.themeMode])
|
||||
// En mode « auto », suit le clair/sombre du navigateur en direct
|
||||
useEffect(() => {
|
||||
if (settings.themeMode !== 'auto' || !window.matchMedia) return
|
||||
const mq = window.matchMedia('(prefers-color-scheme: light)')
|
||||
const onChange = () => applyTheme(settingsRef.current.accentColor, 'auto')
|
||||
mq.addEventListener('change', onChange)
|
||||
return () => mq.removeEventListener('change', onChange)
|
||||
}, [settings.themeMode])
|
||||
|
||||
const updateSettings = useCallback((patch: Partial<Settings>, silent = false) => {
|
||||
if (!silent && syncRef.current && ('ratingScale' in patch || 'topCategories' in patch || 'accentColor' in patch)) syncRef.current.markSettings()
|
||||
if (!silent && syncRef.current && ('ratingScale' in patch || 'topCategories' in patch || 'accentColor' in patch || 'themeMode' in patch || 'notifPrefs' in patch)) syncRef.current.markSettings()
|
||||
setSettings((prev) => {
|
||||
const next = { ...prev, ...patch }
|
||||
try {
|
||||
@@ -229,11 +245,11 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
|
||||
const update = useCallback(
|
||||
async (id: string, patch: Partial<MediaInput>) => {
|
||||
const current = items.find((i) => i.id === id)
|
||||
const current = itemsRef.current.find((i) => i.id === id)
|
||||
if (!current) return
|
||||
await save({ ...current, ...patch, updatedAt: new Date().toISOString() })
|
||||
},
|
||||
[items, save],
|
||||
[save],
|
||||
)
|
||||
|
||||
const remove = useCallback(async (id: string) => {
|
||||
@@ -243,23 +259,30 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
|
||||
const incrementEpisode = useCallback(
|
||||
async (id: string, delta = 1) => {
|
||||
const item = items.find((i) => i.id === id)
|
||||
const item = itemsRef.current.find((i) => i.id === id)
|
||||
if (!item) return
|
||||
let next = Math.max(0, item.episodesWatched + delta)
|
||||
if (item.episodesTotal) next = Math.min(next, item.episodesTotal)
|
||||
const cap = episodeCap(item)
|
||||
if (cap) next = Math.min(next, cap)
|
||||
// On ne peut pas cocher un épisode qui n'est pas encore sorti
|
||||
const aired = airedCount(item)
|
||||
if (delta > 0 && aired != null) next = Math.min(next, Math.max(aired, item.episodesWatched))
|
||||
if (next === item.episodesWatched) return
|
||||
const patch: Partial<MediaInput> = { episodesWatched: next }
|
||||
// Série en plusieurs saisons : la saison suit les épisodes vus
|
||||
const pos = seasonPosition({ episodesWatched: next, seasons: item.seasons })
|
||||
if (pos && pos.season !== item.season) patch.season = pos.season
|
||||
if (delta > 0 && (item.status === 'a_voir' || item.status === 'pause')) {
|
||||
patch.status = 'en_cours'
|
||||
if (!item.startDate) patch.startDate = todayISO()
|
||||
}
|
||||
if (item.episodesTotal && next === item.episodesTotal && delta > 0) {
|
||||
if (cap && next === cap && delta > 0) {
|
||||
patch.status = 'termine'
|
||||
if (!item.endDate) patch.endDate = todayISO()
|
||||
}
|
||||
await update(id, patch)
|
||||
},
|
||||
[items, update],
|
||||
[update],
|
||||
)
|
||||
|
||||
const importItems = useCallback(async (incoming: MediaItem[], mode: 'merge' | 'replace') => {
|
||||
@@ -274,7 +297,7 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
const ids = orderedIds.slice(0, 5)
|
||||
const now = new Date().toISOString()
|
||||
const changed: MediaItem[] = []
|
||||
for (const item of items) {
|
||||
for (const item of itemsRef.current) {
|
||||
const rank = ids.indexOf(item.id) + 1
|
||||
const wasHere = item.top?.category === category
|
||||
if (rank > 0) {
|
||||
@@ -288,7 +311,7 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
const byId = new Map(changed.map((c) => [c.id, c]))
|
||||
setItems((prev) => prev.map((i) => byId.get(i.id) ?? i))
|
||||
},
|
||||
[items],
|
||||
[setItems],
|
||||
)
|
||||
|
||||
const clearAll = useCallback(async () => {
|
||||
@@ -298,7 +321,7 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
|
||||
const patchMany = useCallback(
|
||||
async (patches: { id: string; patch: Partial<MediaInput> }[]) => {
|
||||
const byId = new Map(items.map((i) => [i.id, i]))
|
||||
const byId = new Map(itemsRef.current.map((i) => [i.id, i]))
|
||||
const changed = patches.flatMap(({ id, patch }) => {
|
||||
const cur = byId.get(id)
|
||||
const next = cur ? normalizeItem({ ...cur, ...patch }) : null
|
||||
@@ -309,7 +332,7 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
const map = new Map(changed.map((c) => [c.id, c]))
|
||||
setItems((prev) => prev.map((i) => map.get(i.id) ?? i))
|
||||
},
|
||||
[items],
|
||||
[setItems],
|
||||
)
|
||||
|
||||
const createList = useCallback(
|
||||
@@ -329,27 +352,26 @@ export function MediaProvider({ children, cloudUser }: { children: ReactNode; cl
|
||||
const deleteList = useCallback(
|
||||
async (id: string) => {
|
||||
setLists((prev) => prev.filter((l) => l.id !== id))
|
||||
const changed = items.filter((i) => i.listIds?.includes(id)).map((i) => ({ ...i, listIds: i.listIds!.filter((x) => x !== id) }))
|
||||
const now = new Date().toISOString()
|
||||
const changed = itemsRef.current.filter((i) => i.listIds?.includes(id)).map((i) => ({ ...i, listIds: i.listIds!.filter((x) => x !== id), updatedAt: now }))
|
||||
if (changed.length) {
|
||||
await mediaDB.putMany(changed)
|
||||
const map = new Map(changed.map((c) => [c.id, c]))
|
||||
setItems((prev) => prev.map((i) => map.get(i.id) ?? i))
|
||||
}
|
||||
},
|
||||
[items, setLists],
|
||||
[setItems, setLists],
|
||||
)
|
||||
|
||||
const toggleInList = useCallback(
|
||||
async (itemId: string, listId: string) => {
|
||||
const item = items.find((i) => i.id === itemId)
|
||||
const item = itemsRef.current.find((i) => i.id === itemId)
|
||||
if (!item) return
|
||||
const has = item.listIds?.includes(listId)
|
||||
const listIds = has ? item.listIds!.filter((x) => x !== listId) : [...(item.listIds ?? []), listId]
|
||||
const next = { ...item, listIds }
|
||||
await mediaDB.put(next)
|
||||
setItems((prev) => prev.map((i) => (i.id === itemId ? next : i)))
|
||||
await update(itemId, { listIds })
|
||||
},
|
||||
[items],
|
||||
[update],
|
||||
)
|
||||
|
||||
const mergeLists = useCallback(
|
||||
|
||||
+24
-2
@@ -24,6 +24,8 @@ export interface MediaItem {
|
||||
episodesWatched: number
|
||||
episodesTotal?: number
|
||||
season?: number
|
||||
/** Nombre d'épisodes de chaque saison (TMDB), ex. [24, 24]. Les épisodes vus restent comptés au total. */
|
||||
seasons?: number[]
|
||||
/** Durée d'un épisode en minutes (sinon valeur par défaut selon le type). */
|
||||
episodeDuration?: number
|
||||
/** Durée totale en minutes (films / formats uniques). */
|
||||
@@ -33,11 +35,12 @@ export interface MediaItem {
|
||||
endDate?: string // AAAA-MM-JJ
|
||||
genres: string[]
|
||||
platform?: string
|
||||
/** Mon avis (visible sur mon profil, comme ma note) */
|
||||
notes?: string
|
||||
/** Avis visible sur mon profil public (sinon il reste privé) */
|
||||
notesPublic?: boolean
|
||||
/** URL d'image ou image compressée en data URL (reste locale). */
|
||||
poster?: string
|
||||
/** Grande image horizontale (TMDB), pour l'en-tête de la fiche et l'accueil. */
|
||||
backdrop?: string
|
||||
/** Synopsis (rempli depuis TMDB / AniList). */
|
||||
overview?: string
|
||||
/** Référence dans une base externe, ex. « tmdb:tv:1396 » ou « anilist:154587 ». */
|
||||
@@ -61,6 +64,9 @@ export type MediaInput = Omit<MediaItem, 'id' | 'createdAt' | 'updatedAt'>
|
||||
|
||||
export type RatingScale = '5' | '10'
|
||||
|
||||
/** Apparence : auto suit le navigateur (clair/sombre), les autres sont forcés. */
|
||||
export type ThemeMode = 'auto' | 'light' | 'dark' | 'night' | 'starfield'
|
||||
|
||||
/** Catégories de Top 5 */
|
||||
export type TopCategory = 'film' | 'serie' | 'anime' | 'kdrama' | 'cdrama'
|
||||
|
||||
@@ -78,6 +84,22 @@ export interface Settings {
|
||||
topCategories: TopCategory[]
|
||||
/** Couleur du thème (hex), rouge par défaut. */
|
||||
accentColor: string
|
||||
/** Apparence (clair, sombre, nuit, bleu nuit étoilé). « auto » suit le navigateur. */
|
||||
themeMode: ThemeMode
|
||||
/** Notifications reçues (true par défaut si absent). Nécessite un compte. */
|
||||
notifPrefs?: NotifPrefs
|
||||
}
|
||||
|
||||
/** Types de notifications que l'on choisit de recevoir (true par défaut). */
|
||||
export interface NotifPrefs {
|
||||
/** Nouveaux épisodes / saisons des séries suivies */
|
||||
episodes?: boolean
|
||||
/** Nouveaux abonnés et demandes d'abonnement */
|
||||
follows?: boolean
|
||||
/** Demandes d'abonnement acceptées */
|
||||
accepted?: boolean
|
||||
/** Réactions reçues sur mes avis */
|
||||
reactions?: boolean
|
||||
}
|
||||
|
||||
export interface CustomList {
|
||||
|
||||
@@ -22,21 +22,25 @@ Deno.serve(async (req) => {
|
||||
}
|
||||
if (body.confirm !== 'SUPPRIMER') return json(req, 400, { error: 'confirm' })
|
||||
|
||||
// Photos de profil et bannières (le stockage n'est pas effacé automatiquement avec le compte)
|
||||
// Photos de profil et bannières : elles sont publiques et ne partent pas avec le compte.
|
||||
// Si on n'arrive pas à les effacer, on ne supprime rien (l'utilisateur pourra réessayer).
|
||||
const admin = { apikey: SERVICE_KEY, Authorization: `Bearer ${SERVICE_KEY}`, 'Content-Type': 'application/json' }
|
||||
try {
|
||||
const admin = { apikey: SERVICE_KEY, Authorization: `Bearer ${SERVICE_KEY}`, 'Content-Type': 'application/json' }
|
||||
const list = await fetch(`${SUPABASE_URL}/storage/v1/object/list/profile-media`, {
|
||||
method: 'POST',
|
||||
headers: admin,
|
||||
body: JSON.stringify({ prefix: userId, limit: 1000 }),
|
||||
})
|
||||
const files = list.ok ? ((await list.json()) as { name?: string }[]) : []
|
||||
const prefixes = files.filter((f) => typeof f.name === 'string').map((f) => `${userId}/${f.name}`)
|
||||
if (prefixes.length) {
|
||||
await fetch(`${SUPABASE_URL}/storage/v1/object/profile-media`, { method: 'DELETE', headers: admin, body: JSON.stringify({ prefixes }) })
|
||||
for (let round = 0; round < 20; round++) {
|
||||
const list = await fetch(`${SUPABASE_URL}/storage/v1/object/list/profile-media`, {
|
||||
method: 'POST',
|
||||
headers: admin,
|
||||
body: JSON.stringify({ prefix: userId, limit: 100, offset: 0 }),
|
||||
})
|
||||
if (!list.ok) throw new Error('list')
|
||||
const files = (await list.json()) as { name?: unknown }[]
|
||||
const prefixes = files.filter((f) => typeof f.name === 'string' && /^[A-Za-z0-9_.-]{1,120}$/.test(f.name)).map((f) => `${userId}/${f.name}`)
|
||||
if (!prefixes.length) break
|
||||
const del = await fetch(`${SUPABASE_URL}/storage/v1/object/profile-media`, { method: 'DELETE', headers: admin, body: JSON.stringify({ prefixes }) })
|
||||
if (!del.ok) throw new Error('remove')
|
||||
}
|
||||
} catch {
|
||||
/* on supprime le compte quand même */
|
||||
return json(req, 500, { error: 'storage' })
|
||||
}
|
||||
|
||||
const res = await fetch(`${SUPABASE_URL}/auth/v1/admin/users/${encodeURIComponent(userId)}`, {
|
||||
|
||||
@@ -87,8 +87,15 @@ as $$
|
||||
declare
|
||||
n integer;
|
||||
max_rows integer := case tg_table_name when 'items' then 20000 else 300 end;
|
||||
already boolean;
|
||||
begin
|
||||
execute format('select count(*) from public.%I where user_id = $1', tg_table_name) into n using new.user_id;
|
||||
-- Un « upsert » d'une ligne qui existe déjà n'en ajoute pas : jamais bloqué (sinon plus aucune modification possible)
|
||||
execute format('select exists (select 1 from public.%I where user_id = $1 and id = $2)', tg_table_name) into already using new.user_id, new.id;
|
||||
if already then
|
||||
return new;
|
||||
end if;
|
||||
-- Les fiches supprimées (gardées pour la synchro) ne comptent pas
|
||||
execute format('select count(*) from public.%I where user_id = $1 and not deleted', tg_table_name) into n using new.user_id;
|
||||
if n >= max_rows then
|
||||
raise exception 'quota exceeded for %', tg_table_name;
|
||||
end if;
|
||||
@@ -110,7 +117,8 @@ alter table public.lists force row level security;
|
||||
alter table public.settings force row level security;
|
||||
|
||||
-- Les visiteurs non connectés n'ont accès à rien
|
||||
revoke all on public.items, public.lists, public.settings from anon;
|
||||
-- Rien d'autre que lire / écrire ses lignes (pas de TRUNCATE, TRIGGER, REFERENCES…)
|
||||
revoke all on public.items, public.lists, public.settings from anon, authenticated;
|
||||
grant select, insert, update, delete on public.items, public.lists, public.settings to authenticated;
|
||||
|
||||
drop policy if exists "own items" on public.items;
|
||||
|
||||
@@ -25,7 +25,8 @@ create table if not exists public.profiles (
|
||||
updated_at timestamptz not null default now()
|
||||
);
|
||||
|
||||
create index if not exists profiles_display_name_idx on public.profiles (lower(display_name));
|
||||
-- (ancien index inutile : la recherche par nom se fait avec « like '%…%' »)
|
||||
drop index if exists public.profiles_display_name_idx;
|
||||
|
||||
-- Pseudo de départ aléatoire (l'email n'est jamais utilisé : il resterait visible de tous)
|
||||
create or replace function public.azuu_random_username()
|
||||
@@ -84,7 +85,7 @@ language plpgsql
|
||||
set search_path = ''
|
||||
as $$
|
||||
declare
|
||||
media text := '^https?://[^/?#]+/storage/v1/object/public/profile-media/' || new.id::text || '/[A-Za-z0-9_.-]{1,80}$';
|
||||
media text := '^https://[a-z0-9-]{1,63}\.supabase\.(co|in)/storage/v1/object/public/profile-media/' || new.id::text || '/[A-Za-z0-9_.-]{1,80}$';
|
||||
begin
|
||||
if tg_op = 'UPDATE' and new.id <> old.id then
|
||||
raise exception 'id is immutable';
|
||||
@@ -261,10 +262,11 @@ begin
|
||||
end if;
|
||||
|
||||
if st = 'termine' and old_st is distinct from 'termine'
|
||||
and coalesce(public.azuu_day(new.data->>'endDate'), current_date) >= recent then
|
||||
-- Fiche importée sans date : pas d'activité ; changement de statut fait maintenant : aujourd'hui
|
||||
and coalesce(public.azuu_day(new.data->>'endDate'), case when tg_op = 'UPDATE' then current_date end) >= recent then
|
||||
perform public.azuu_log(new.user_id, new.id, 'finished');
|
||||
elsif st = 'en_cours' and old_st is distinct from 'en_cours'
|
||||
and coalesce(public.azuu_day(new.data->>'startDate'), current_date) >= recent then
|
||||
and coalesce(public.azuu_day(new.data->>'startDate'), case when tg_op = 'UPDATE' then current_date end) >= recent then
|
||||
perform public.azuu_log(new.user_id, new.id, 'started');
|
||||
elsif st = 'a_voir' and tg_op = 'INSERT' and new.updated_at > now() - interval '2 days' then
|
||||
perform public.azuu_log(new.user_id, new.id, 'added');
|
||||
@@ -288,7 +290,7 @@ alter table public.profiles force row level security;
|
||||
alter table public.follows force row level security;
|
||||
alter table public.activity force row level security;
|
||||
|
||||
revoke all on public.profiles, public.follows, public.activity from anon;
|
||||
revoke all on public.profiles, public.follows, public.activity from anon, authenticated;
|
||||
grant select, update on public.profiles to authenticated;
|
||||
grant select, insert, update, delete on public.follows to authenticated;
|
||||
grant select on public.activity to authenticated;
|
||||
@@ -407,7 +409,13 @@ begin
|
||||
),
|
||||
'top', (
|
||||
select coalesce(jsonb_agg(public.public_item(data) order by data->'top'->>'category', (data->'top'->>'rank')), '[]'::jsonb)
|
||||
from public.items where user_id = p.id and not deleted and jsonb_typeof(data->'top') = 'object'
|
||||
from public.items i
|
||||
where i.user_id = p.id and not i.deleted and jsonb_typeof(i.data->'top') = 'object'
|
||||
-- Seulement les catégories de Top 5 que la personne a choisi d'afficher (toutes si rien n'est réglé)
|
||||
and coalesce(
|
||||
(select s.data->'topCategories' ? (i.data->'top'->>'category')
|
||||
from public.settings s where s.user_id = p.id and jsonb_typeof(s.data->'topCategories') = 'array'),
|
||||
true)
|
||||
),
|
||||
'recent', (
|
||||
select coalesce(jsonb_agg(public.public_item(s.data) order by s.k desc nulls last), '[]'::jsonb)
|
||||
@@ -598,12 +606,27 @@ on conflict (id) do update
|
||||
drop policy if exists "profile media read own" on storage.objects;
|
||||
create policy "profile media read own" on storage.objects for select to authenticated
|
||||
using (bucket_id = 'profile-media' and (storage.foldername(name))[1] = (select auth.uid())::text);
|
||||
create or replace function public.azuu_media_count()
|
||||
returns integer
|
||||
language sql
|
||||
stable
|
||||
security definer
|
||||
set search_path = ''
|
||||
as $$
|
||||
select count(*)::integer from storage.objects
|
||||
where bucket_id = 'profile-media' and (storage.foldername(name))[1] = (select auth.uid())::text
|
||||
$$;
|
||||
revoke all on function public.azuu_media_count() from public, anon;
|
||||
grant execute on function public.azuu_media_count() to authenticated;
|
||||
|
||||
drop policy if exists "profile media upload own" on storage.objects;
|
||||
create policy "profile media upload own" on storage.objects for insert to authenticated
|
||||
with check (
|
||||
bucket_id = 'profile-media'
|
||||
and (storage.foldername(name))[1] = (select auth.uid())::text
|
||||
and name ~ '^[0-9a-f-]{36}/(avatar|banner)-[0-9]{1,15}\.(jpg|webp|png)$'
|
||||
-- Pas plus de 6 images par compte (l'app supprime les anciennes à chaque changement)
|
||||
and public.azuu_media_count() < 6
|
||||
);
|
||||
drop policy if exists "profile media delete own" on storage.objects;
|
||||
create policy "profile media delete own" on storage.objects for delete to authenticated
|
||||
|
||||
@@ -0,0 +1,228 @@
|
||||
-- Durcissement (audit du 4 octobre 2026)
|
||||
|
||||
create or replace function public.azuu_quota()
|
||||
returns trigger
|
||||
language plpgsql
|
||||
security definer
|
||||
set search_path = ''
|
||||
as $$
|
||||
declare
|
||||
n integer;
|
||||
max_rows integer := case tg_table_name when 'items' then 20000 else 300 end;
|
||||
already boolean;
|
||||
begin
|
||||
-- Un « upsert » d'une ligne qui existe déjà n'en ajoute pas : jamais bloqué (sinon plus aucune modification possible)
|
||||
execute format('select exists (select 1 from public.%I where user_id = $1 and id = $2)', tg_table_name) into already using new.user_id, new.id;
|
||||
if already then
|
||||
return new;
|
||||
end if;
|
||||
-- Les fiches supprimées (gardées pour la synchro) ne comptent pas
|
||||
execute format('select count(*) from public.%I where user_id = $1 and not deleted', tg_table_name) into n using new.user_id;
|
||||
if n >= max_rows then
|
||||
raise exception 'quota exceeded for %', tg_table_name;
|
||||
end if;
|
||||
return new;
|
||||
end;
|
||||
$$;
|
||||
|
||||
revoke all on public.items, public.lists, public.settings from anon, authenticated;
|
||||
grant select, insert, update, delete on public.items, public.lists, public.settings to authenticated;
|
||||
|
||||
create or replace function public.azuu_profile_guard()
|
||||
returns trigger
|
||||
language plpgsql
|
||||
set search_path = ''
|
||||
as $$
|
||||
declare
|
||||
media text := '^https://[a-z0-9-]{1,63}\.supabase\.(co|in)/storage/v1/object/public/profile-media/' || new.id::text || '/[A-Za-z0-9_.-]{1,80}$';
|
||||
begin
|
||||
if tg_op = 'UPDATE' and new.id <> old.id then
|
||||
raise exception 'id is immutable';
|
||||
end if;
|
||||
new.username := lower(trim(new.username));
|
||||
new.display_name := trim(regexp_replace(new.display_name, '[[:cntrl:]]', '', 'g'));
|
||||
new.bio := trim(regexp_replace(new.bio, '[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]', '', 'g'));
|
||||
if new.username in ('admin', 'administrator', 'azuucine', 'support', 'moderator', 'root', 'system', 'null', 'undefined', 'me', 'settings') then
|
||||
raise exception 'username reserved';
|
||||
end if;
|
||||
-- Les images ne peuvent venir que du dossier de l'utilisateur dans le stockage de l'app
|
||||
if new.avatar_url is not null and new.avatar_url !~ media then
|
||||
raise exception 'invalid avatar url';
|
||||
end if;
|
||||
if new.banner_url is not null and new.banner_url !~ media then
|
||||
raise exception 'invalid banner url';
|
||||
end if;
|
||||
new.updated_at := now();
|
||||
return new;
|
||||
end;
|
||||
$$;
|
||||
|
||||
create or replace function public.azuu_item_activity()
|
||||
returns trigger
|
||||
language plpgsql
|
||||
security definer
|
||||
set search_path = ''
|
||||
as $$
|
||||
declare
|
||||
st text;
|
||||
old_st text;
|
||||
recent date := current_date - 7;
|
||||
rw_new int := 0;
|
||||
rw_old int := 0;
|
||||
begin
|
||||
if new.deleted or new.data is null then
|
||||
return new;
|
||||
end if;
|
||||
st := new.data->>'status';
|
||||
if jsonb_typeof(new.data->'rewatchDates') = 'array' then
|
||||
rw_new := jsonb_array_length(new.data->'rewatchDates');
|
||||
end if;
|
||||
if tg_op = 'UPDATE' then
|
||||
if not old.deleted and old.data is not null then
|
||||
old_st := old.data->>'status';
|
||||
if jsonb_typeof(old.data->'rewatchDates') = 'array' then
|
||||
rw_old := jsonb_array_length(old.data->'rewatchDates');
|
||||
end if;
|
||||
end if;
|
||||
end if;
|
||||
|
||||
if st = 'termine' and old_st is distinct from 'termine'
|
||||
-- Fiche importée sans date : pas d'activité ; changement de statut fait maintenant : aujourd'hui
|
||||
and coalesce(public.azuu_day(new.data->>'endDate'), case when tg_op = 'UPDATE' then current_date end) >= recent then
|
||||
perform public.azuu_log(new.user_id, new.id, 'finished');
|
||||
elsif st = 'en_cours' and old_st is distinct from 'en_cours'
|
||||
and coalesce(public.azuu_day(new.data->>'startDate'), case when tg_op = 'UPDATE' then current_date end) >= recent then
|
||||
perform public.azuu_log(new.user_id, new.id, 'started');
|
||||
elsif st = 'a_voir' and tg_op = 'INSERT' and new.updated_at > now() - interval '2 days' then
|
||||
perform public.azuu_log(new.user_id, new.id, 'added');
|
||||
end if;
|
||||
if tg_op = 'UPDATE' and rw_new > rw_old then
|
||||
perform public.azuu_log(new.user_id, new.id, 'rewatched');
|
||||
end if;
|
||||
return new;
|
||||
end;
|
||||
$$;
|
||||
|
||||
create or replace function public.get_profile(p_username text)
|
||||
returns jsonb
|
||||
language plpgsql
|
||||
stable
|
||||
security definer
|
||||
set search_path = ''
|
||||
as $$
|
||||
declare
|
||||
p public.profiles;
|
||||
me uuid := auth.uid();
|
||||
res jsonb;
|
||||
begin
|
||||
if me is null then
|
||||
return null;
|
||||
end if;
|
||||
select * into p from public.profiles where username = lower(trim(p_username));
|
||||
if not found then
|
||||
return null;
|
||||
end if;
|
||||
res := public.profile_card(p) || jsonb_build_object(
|
||||
'bio', p.bio,
|
||||
'banner_url', p.banner_url,
|
||||
'is_me', p.id = me,
|
||||
'follows_me', exists (select 1 from public.follows where follower_id = p.id and following_id = me and status = 'accepted'),
|
||||
'followers', (select count(*) from public.follows where following_id = p.id and status = 'accepted'),
|
||||
'following', (select count(*) from public.follows where follower_id = p.id and status = 'accepted'),
|
||||
'visible', public.can_view(p.id)
|
||||
);
|
||||
if public.can_view(p.id) then
|
||||
res := res || jsonb_build_object(
|
||||
'stats', (
|
||||
select jsonb_build_object(
|
||||
'total', count(*),
|
||||
'finished', count(*) filter (where data->>'status' = 'termine'),
|
||||
'finished_year', count(*) filter (where data->>'status' = 'termine' and left(data->>'endDate', 4) = to_char(now(), 'YYYY')),
|
||||
'films', count(*) filter (where data->>'status' = 'termine' and data->>'type' = 'film'),
|
||||
'series', count(*) filter (where data->>'status' = 'termine' and data->>'type' <> 'film'),
|
||||
'episodes', coalesce(sum(case when data->>'episodesWatched' ~ '^\d{1,6}$' then (data->>'episodesWatched')::int else 0 end), 0),
|
||||
'rated', count(*) filter (where data ? 'rating')
|
||||
)
|
||||
from public.items where user_id = p.id and not deleted
|
||||
),
|
||||
'top', (
|
||||
select coalesce(jsonb_agg(public.public_item(data) order by data->'top'->>'category', (data->'top'->>'rank')), '[]'::jsonb)
|
||||
from public.items i
|
||||
where i.user_id = p.id and not i.deleted and jsonb_typeof(i.data->'top') = 'object'
|
||||
-- Seulement les catégories de Top 5 que la personne a choisi d'afficher (toutes si rien n'est réglé)
|
||||
and coalesce(
|
||||
(select s.data->'topCategories' ? (i.data->'top'->>'category')
|
||||
from public.settings s where s.user_id = p.id and jsonb_typeof(s.data->'topCategories') = 'array'),
|
||||
true)
|
||||
),
|
||||
'recent', (
|
||||
select coalesce(jsonb_agg(public.public_item(s.data) order by s.k desc nulls last), '[]'::jsonb)
|
||||
from (
|
||||
-- Date de visionnage (pas la date de modification : un import ou une synchro ne doit pas tout faire remonter)
|
||||
select data, coalesce(data->>'endDate', data->>'startDate') as k
|
||||
from public.items
|
||||
where user_id = p.id and not deleted and data->>'status' = 'termine'
|
||||
order by k desc nulls last
|
||||
limit 12
|
||||
) s
|
||||
),
|
||||
-- En cours et « à voir » : ce qu'on voit aussi dans le fil des abonnements
|
||||
'watching', (
|
||||
select coalesce(jsonb_agg(public.public_item(s.data) order by s.k desc nulls last), '[]'::jsonb)
|
||||
from (
|
||||
select data, coalesce(data->>'startDate', left(data->>'updatedAt', 10)) as k
|
||||
from public.items
|
||||
where user_id = p.id and not deleted and data->>'status' = 'en_cours'
|
||||
order by k desc nulls last
|
||||
limit 8
|
||||
) s
|
||||
),
|
||||
'watchlist', (
|
||||
select coalesce(jsonb_agg(public.public_item(s.data) order by s.k desc nulls last), '[]'::jsonb)
|
||||
from (
|
||||
select data, data->>'createdAt' as k
|
||||
from public.items
|
||||
where user_id = p.id and not deleted and data->>'status' = 'a_voir'
|
||||
order by k desc nulls last
|
||||
limit 8
|
||||
) s
|
||||
)
|
||||
);
|
||||
end if;
|
||||
return res;
|
||||
end;
|
||||
$$;
|
||||
|
||||
revoke all on function public.get_profile(text) from public, anon;
|
||||
grant execute on function public.get_profile(text) to authenticated;
|
||||
|
||||
revoke all on public.profiles, public.follows, public.activity from anon, authenticated;
|
||||
grant select, update on public.profiles to authenticated;
|
||||
grant select, insert, update, delete on public.follows to authenticated;
|
||||
grant select on public.activity to authenticated;
|
||||
|
||||
create or replace function public.azuu_media_count()
|
||||
returns integer
|
||||
language sql
|
||||
stable
|
||||
security definer
|
||||
set search_path = ''
|
||||
as $$
|
||||
select count(*)::integer from storage.objects
|
||||
where bucket_id = 'profile-media' and (storage.foldername(name))[1] = (select auth.uid())::text
|
||||
$$;
|
||||
revoke all on function public.azuu_media_count() from public, anon;
|
||||
grant execute on function public.azuu_media_count() to authenticated;
|
||||
|
||||
drop policy if exists "profile media upload own" on storage.objects;
|
||||
create policy "profile media upload own" on storage.objects for insert to authenticated
|
||||
with check (
|
||||
bucket_id = 'profile-media'
|
||||
and (storage.foldername(name))[1] = (select auth.uid())::text
|
||||
and name ~ '^[0-9a-f-]{36}/(avatar|banner)-[0-9]{1,15}\.(jpg|webp|png)$'
|
||||
-- Pas plus de 6 images par compte (l'app supprime les anciennes à chaque changement)
|
||||
and public.azuu_media_count() < 6
|
||||
);
|
||||
|
||||
|
||||
drop index if exists public.profiles_display_name_idx;
|
||||
@@ -0,0 +1,39 @@
|
||||
-- Partie administration d'AzuuCine (5 octobre 2026).
|
||||
-- Un espace réservé au(x) compte(s) de la table public.admins :
|
||||
-- - vue d'ensemble (chiffres), liste des utilisateurs, avis publics récents ;
|
||||
-- - actions réversibles : suspendre/réactiver un compte, effacer l'avis d'une fiche.
|
||||
-- Tout est verrouillé côté serveur par is_admin() (pas seulement masqué dans l'app).
|
||||
|
||||
-- ── Table des administrateurs : écriture réservée au rôle service_role ──
|
||||
create table if not exists public.admins (
|
||||
user_id uuid primary key references auth.users(id) on delete cascade,
|
||||
created_at timestamptz not null default now()
|
||||
);
|
||||
alter table public.admins enable row level security;
|
||||
revoke all on public.admins from anon, authenticated;
|
||||
|
||||
-- Suspension d'un compte : masque le profil publiquement (réversible), jamais une suppression.
|
||||
alter table public.profiles add column if not exists suspended boolean not null default false;
|
||||
|
||||
create or replace function public.is_admin()
|
||||
returns boolean language sql stable security definer set search_path = '' as $$
|
||||
select exists (select 1 from public.admins a where a.user_id = auth.uid())
|
||||
$$;
|
||||
revoke all on function public.is_admin() from public, anon;
|
||||
grant execute on function public.is_admin() to authenticated;
|
||||
|
||||
-- Romain est administrateur.
|
||||
insert into public.admins (user_id) values ('4529202d-618c-4b40-ab13-228eef3f71ad') on conflict do nothing;
|
||||
|
||||
-- ── Intégration de la suspension dans les fonctions sociales ──
|
||||
-- (can_view, search_profiles, get_feed, get_follow_list, get_follow_requests, get_profile
|
||||
-- excluent désormais les comptes suspendus pour les autres utilisateurs. Voir la base de données
|
||||
-- pour les définitions complètes — appliquées par le même déploiement.)
|
||||
|
||||
-- ── Fonctions d'administration (toutes : si not is_admin() -> exception) ──
|
||||
-- admin_overview() : chiffres globaux + inscriptions des 14 derniers jours
|
||||
-- admin_users(q, offset) : liste des comptes (recherche e-mail/pseudo/nom)
|
||||
-- admin_recent_reviews(offset): avis publics récents (modération)
|
||||
-- admin_set_suspended(id, on) : suspendre/réactiver (jamais soi-même)
|
||||
-- admin_clear_review(id, item): efface l'avis d'une fiche (renvoyé à l'appareil du membre à la synchro)
|
||||
-- Définitions complètes appliquées en base ; droits : execute réservé à authenticated, gate interne is_admin().
|
||||
@@ -0,0 +1,198 @@
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
-- AzuuCine — Avis par titre, réactions et notifications (5 octobre 2026)
|
||||
-- 1. Voir tous les avis sur un titre (amis / autres).
|
||||
-- 2. Réagir aux avis (emoji).
|
||||
-- 3. Notifications (cloche) : abonnements, demandes acceptées, réactions reçues.
|
||||
--
|
||||
-- À coller dans Supabase → SQL Editor → Run. Idempotent (réexécutable sans risque).
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
-- ── Tables ──
|
||||
create table if not exists public.review_reactions (
|
||||
author_id uuid not null references auth.users(id) on delete cascade, -- auteur de l'avis
|
||||
item_id text not null,
|
||||
user_id uuid not null default auth.uid() references auth.users(id) on delete cascade, -- qui réagit
|
||||
emoji text not null,
|
||||
created_at timestamptz not null default now(),
|
||||
primary key (author_id, item_id, user_id)
|
||||
);
|
||||
create index if not exists review_reactions_target_idx on public.review_reactions (author_id, item_id);
|
||||
alter table public.review_reactions enable row level security;
|
||||
alter table public.review_reactions force row level security;
|
||||
revoke all on public.review_reactions from anon, authenticated;
|
||||
|
||||
create table if not exists public.notifications (
|
||||
id bigint generated always as identity primary key,
|
||||
user_id uuid not null references auth.users(id) on delete cascade, -- destinataire
|
||||
kind text not null check (kind in ('follow_request','follow_accepted','new_follower','reaction')),
|
||||
actor_id uuid references auth.users(id) on delete cascade,
|
||||
item_id text,
|
||||
emoji text,
|
||||
created_at timestamptz not null default now(),
|
||||
read_at timestamptz
|
||||
);
|
||||
create index if not exists notifications_user_idx on public.notifications (user_id, created_at desc);
|
||||
alter table public.notifications enable row level security;
|
||||
alter table public.notifications force row level security;
|
||||
revoke all on public.notifications from anon, authenticated;
|
||||
|
||||
-- ── Création de notifications + bornage de l'historique ──
|
||||
create or replace function public.azuu_notify(p_user uuid, p_kind text, p_actor uuid, p_item text default null, p_emoji text default null)
|
||||
returns void language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if p_user is null or p_actor is null or p_user = p_actor then return; end if;
|
||||
insert into public.notifications (user_id, kind, actor_id, item_id, emoji)
|
||||
values (p_user, p_kind, p_actor, p_item, p_emoji);
|
||||
delete from public.notifications
|
||||
where user_id = p_user and id not in (
|
||||
select id from public.notifications where user_id = p_user order by created_at desc limit 300
|
||||
);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- Abonnement / demande -> notifie le compte suivi ; demande acceptée -> notifie le demandeur
|
||||
create or replace function public.azuu_follow_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if tg_op = 'INSERT' then
|
||||
perform public.azuu_notify(new.following_id,
|
||||
case when new.status = 'pending' then 'follow_request' else 'new_follower' end, new.follower_id);
|
||||
elsif tg_op = 'UPDATE' and old.status = 'pending' and new.status = 'accepted' then
|
||||
perform public.azuu_notify(new.follower_id, 'follow_accepted', new.following_id);
|
||||
end if;
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists follows_notify on public.follows;
|
||||
create trigger follows_notify after insert or update on public.follows
|
||||
for each row execute function public.azuu_follow_notify();
|
||||
|
||||
-- Réaction reçue -> notifie l'auteur de l'avis
|
||||
create or replace function public.azuu_reaction_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
perform public.azuu_notify(new.author_id, 'reaction', new.user_id, new.item_id, new.emoji);
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists reactions_notify on public.review_reactions;
|
||||
create trigger reactions_notify after insert on public.review_reactions
|
||||
for each row execute function public.azuu_reaction_notify();
|
||||
|
||||
-- ── Réagir à un avis ──
|
||||
create or replace function public.react_to_review(p_author uuid, p_item text, p_emoji text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
if p_author = auth.uid() then raise exception 'cannot react to your own review'; end if;
|
||||
if p_emoji is null or p_emoji <> all (array['👍','❤️','🔥','😂','😮','😢']) then raise exception 'bad emoji'; end if;
|
||||
if not public.can_view(p_author) or not exists (
|
||||
select 1 from public.items i join public.profiles pr on pr.id = i.user_id
|
||||
where i.user_id = p_author and i.id = p_item and not i.deleted
|
||||
and coalesce(i.data->>'notes','') <> '' and not pr.suspended
|
||||
) then
|
||||
raise exception 'review not found';
|
||||
end if;
|
||||
insert into public.review_reactions (author_id, item_id, user_id, emoji)
|
||||
values (p_author, p_item, auth.uid(), p_emoji)
|
||||
on conflict (author_id, item_id, user_id) do update set emoji = excluded.emoji, created_at = now();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
create or replace function public.unreact_review(p_author uuid, p_item text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
delete from public.review_reactions where author_id = p_author and item_id = p_item and user_id = auth.uid();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Tous les avis sur un titre (amis / autres) ──
|
||||
create or replace function public.title_reviews(p_external_id text, p_offset integer default 0)
|
||||
returns jsonb language plpgsql stable security definer set search_path = '' as $$
|
||||
declare me uuid := auth.uid(); res jsonb;
|
||||
begin
|
||||
if me is null or p_external_id !~ '^(tmdb:(movie|tv):[0-9]{1,10}|anilist:[0-9]{1,10})$' then
|
||||
return jsonb_build_object('friends', '[]'::jsonb, 'others', '[]'::jsonb);
|
||||
end if;
|
||||
with revs as (
|
||||
select i.user_id, i.id as item_id, i.updated_at,
|
||||
nullif(i.data->>'rating','')::numeric as rating,
|
||||
i.data->>'notes' as notes, pr,
|
||||
exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted') as friend
|
||||
from public.items i
|
||||
join public.profiles pr on pr.id = i.user_id
|
||||
where i.data->>'externalId' = p_external_id
|
||||
and not i.deleted and coalesce(i.data->>'notes','') <> ''
|
||||
and i.user_id <> me and not pr.suspended
|
||||
and (not pr.is_private
|
||||
or exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted'))
|
||||
),
|
||||
enriched as (
|
||||
select r.*,
|
||||
(select coalesce(jsonb_object_agg(e.emoji, e.c), '{}'::jsonb)
|
||||
from (select emoji, count(*) c from public.review_reactions rr
|
||||
where rr.author_id = r.user_id and rr.item_id = r.item_id group by emoji) e) as reactions,
|
||||
(select count(*) from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id) as total,
|
||||
(select emoji from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id and rr.user_id = me) as mine
|
||||
from revs r
|
||||
)
|
||||
select jsonb_build_object(
|
||||
'friends', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where friend offset greatest(p_offset, 0) limit 40) f), '[]'::jsonb),
|
||||
'others', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where not friend offset greatest(p_offset, 0) limit 40) o), '[]'::jsonb)
|
||||
) into res;
|
||||
return res;
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Notifications ──
|
||||
create or replace function public.get_notifications(p_offset integer default 0)
|
||||
returns jsonb language sql stable security definer set search_path = '' as $$
|
||||
select coalesce(jsonb_agg(x order by created_at desc), '[]'::jsonb)
|
||||
from (
|
||||
select n.id, n.kind, n.created_at, n.read_at, n.emoji, n.item_id,
|
||||
case when p.id is null then null else
|
||||
jsonb_build_object('username', p.username, 'display_name', p.display_name, 'avatar_url', p.avatar_url) end as actor,
|
||||
case when n.kind = 'reaction'
|
||||
then (select it.data->>'title' from public.items it where it.user_id = n.user_id and it.id = n.item_id) end as title
|
||||
from public.notifications n
|
||||
left join public.profiles p on p.id = n.actor_id
|
||||
where n.user_id = auth.uid()
|
||||
order by n.created_at desc
|
||||
offset greatest(p_offset, 0) limit 30
|
||||
) x
|
||||
$$;
|
||||
|
||||
create or replace function public.notifications_unread()
|
||||
returns integer language sql stable security definer set search_path = '' as $$
|
||||
select count(*)::int from public.notifications where user_id = auth.uid() and read_at is null
|
||||
$$;
|
||||
|
||||
create or replace function public.mark_notifications_read()
|
||||
returns void language sql security definer set search_path = '' as $$
|
||||
update public.notifications set read_at = now() where user_id = auth.uid() and read_at is null
|
||||
$$;
|
||||
|
||||
-- ── Droits (gate interne : auth.uid() / can_view) ──
|
||||
revoke all on function public.react_to_review(uuid, text, text) from public, anon;
|
||||
revoke all on function public.unreact_review(uuid, text) from public, anon;
|
||||
revoke all on function public.title_reviews(text, integer) from public, anon;
|
||||
revoke all on function public.get_notifications(integer) from public, anon;
|
||||
revoke all on function public.notifications_unread() from public, anon;
|
||||
revoke all on function public.mark_notifications_read() from public, anon;
|
||||
grant execute on function public.react_to_review(uuid, text, text) to authenticated;
|
||||
grant execute on function public.unreact_review(uuid, text) to authenticated;
|
||||
grant execute on function public.title_reviews(text, integer) to authenticated;
|
||||
grant execute on function public.get_notifications(integer) to authenticated;
|
||||
grant execute on function public.notifications_unread() to authenticated;
|
||||
grant execute on function public.mark_notifications_read() to authenticated;
|
||||
@@ -0,0 +1,262 @@
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
-- AzuuCine — Avis par titre, réactions, notifications (7 octobre 2026)
|
||||
-- 1. Voir tous les avis sur un titre (amis / autres).
|
||||
-- 2. Réagir aux avis (emoji).
|
||||
-- 3. Notifications (cloche) : abonnements, demandes acceptées, réactions reçues,
|
||||
-- nouveaux épisodes / nouvelles saisons des séries suivies.
|
||||
-- 4. Préférences : chacun choisit les notifications qu'il reçoit (réglages synchronisés).
|
||||
--
|
||||
-- À coller dans Supabase → SQL Editor → Run. Idempotent (réexécutable sans risque).
|
||||
-- Remplace le fichier du 5 octobre (jamais appliqué).
|
||||
-- ════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
-- ── Tables ──
|
||||
create table if not exists public.review_reactions (
|
||||
author_id uuid not null references auth.users(id) on delete cascade, -- auteur de l'avis
|
||||
item_id text not null,
|
||||
user_id uuid not null default auth.uid() references auth.users(id) on delete cascade, -- qui réagit
|
||||
emoji text not null,
|
||||
created_at timestamptz not null default now(),
|
||||
primary key (author_id, item_id, user_id)
|
||||
);
|
||||
create index if not exists review_reactions_target_idx on public.review_reactions (author_id, item_id);
|
||||
alter table public.review_reactions enable row level security;
|
||||
alter table public.review_reactions force row level security;
|
||||
revoke all on public.review_reactions from anon, authenticated;
|
||||
|
||||
create table if not exists public.notifications (
|
||||
id bigint generated always as identity primary key,
|
||||
user_id uuid not null references auth.users(id) on delete cascade, -- destinataire
|
||||
kind text not null,
|
||||
actor_id uuid references auth.users(id) on delete cascade,
|
||||
item_id text,
|
||||
emoji text,
|
||||
created_at timestamptz not null default now(),
|
||||
read_at timestamptz
|
||||
);
|
||||
-- Épisodes : numéro du dernier épisode sorti, nombre de nouveaux, clé anti-doublon
|
||||
alter table public.notifications add column if not exists episode integer;
|
||||
alter table public.notifications add column if not exists ep_count integer;
|
||||
alter table public.notifications add column if not exists dedup text;
|
||||
alter table public.notifications drop constraint if exists notifications_kind_check;
|
||||
alter table public.notifications add constraint notifications_kind_check
|
||||
check (kind in ('follow_request','follow_accepted','new_follower','reaction','new_episode','new_season'));
|
||||
create index if not exists notifications_user_idx on public.notifications (user_id, created_at desc);
|
||||
create unique index if not exists notifications_dedup_idx on public.notifications (user_id, dedup) where dedup is not null;
|
||||
alter table public.notifications enable row level security;
|
||||
alter table public.notifications force row level security;
|
||||
revoke all on public.notifications from anon, authenticated;
|
||||
|
||||
-- ── Préférences : la personne veut-elle ce type de notification ? (oui par défaut) ──
|
||||
-- Réglage synchronisé : settings.data.notifPrefs = { episodes, follows, accepted, reactions }
|
||||
create or replace function public.azuu_wants(p_user uuid, p_kind text)
|
||||
returns boolean language sql stable security definer set search_path = '' as $$
|
||||
select coalesce((
|
||||
select (s.data->'notifPrefs'->>(case p_kind
|
||||
when 'follow_request' then 'follows'
|
||||
when 'new_follower' then 'follows'
|
||||
when 'follow_accepted' then 'accepted'
|
||||
when 'reaction' then 'reactions'
|
||||
else 'episodes' end)) is distinct from 'false'
|
||||
from public.settings s where s.user_id = p_user
|
||||
), true)
|
||||
$$;
|
||||
|
||||
-- ── Création de notifications (abonnements, réactions) + bornage de l'historique ──
|
||||
create or replace function public.azuu_notify(p_user uuid, p_kind text, p_actor uuid, p_item text default null, p_emoji text default null)
|
||||
returns void language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if p_user is null or p_actor is null or p_user = p_actor then return; end if;
|
||||
if not public.azuu_wants(p_user, p_kind) then return; end if;
|
||||
insert into public.notifications (user_id, kind, actor_id, item_id, emoji)
|
||||
values (p_user, p_kind, p_actor, p_item, p_emoji);
|
||||
delete from public.notifications
|
||||
where user_id = p_user and id not in (
|
||||
select id from public.notifications where user_id = p_user order by created_at desc limit 300
|
||||
);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- Abonnement / demande -> notifie le compte suivi ; demande acceptée -> notifie le demandeur
|
||||
create or replace function public.azuu_follow_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if tg_op = 'INSERT' then
|
||||
perform public.azuu_notify(new.following_id,
|
||||
case when new.status = 'pending' then 'follow_request' else 'new_follower' end, new.follower_id);
|
||||
elsif tg_op = 'UPDATE' and old.status = 'pending' and new.status = 'accepted' then
|
||||
perform public.azuu_notify(new.follower_id, 'follow_accepted', new.following_id);
|
||||
end if;
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists follows_notify on public.follows;
|
||||
create trigger follows_notify after insert or update on public.follows
|
||||
for each row execute function public.azuu_follow_notify();
|
||||
|
||||
-- Réaction reçue -> notifie l'auteur de l'avis
|
||||
create or replace function public.azuu_reaction_notify()
|
||||
returns trigger language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
perform public.azuu_notify(new.author_id, 'reaction', new.user_id, new.item_id, new.emoji);
|
||||
return null;
|
||||
end;
|
||||
$$;
|
||||
drop trigger if exists reactions_notify on public.review_reactions;
|
||||
create trigger reactions_notify after insert on public.review_reactions
|
||||
for each row execute function public.azuu_reaction_notify();
|
||||
|
||||
-- ── Nouveaux épisodes : signalés par l'app après sa vérification des sorties ──
|
||||
-- p_list = [{ item_id, kind: 'new_episode'|'new_season', episode, count }]
|
||||
-- Une seule notification par fiche et par épisode, même si plusieurs appareils la signalent.
|
||||
create or replace function public.add_episode_notifications(p_list jsonb)
|
||||
returns integer language plpgsql security definer set search_path = '' as $$
|
||||
declare
|
||||
me uuid := auth.uid();
|
||||
e jsonb;
|
||||
k text;
|
||||
n integer := 0;
|
||||
begin
|
||||
if me is null or jsonb_typeof(p_list) is distinct from 'array' then return 0; end if;
|
||||
if not public.azuu_wants(me, 'new_episode') then return 0; end if;
|
||||
for e in select value from jsonb_array_elements(p_list) limit 50 loop
|
||||
k := e->>'kind';
|
||||
if k is null or k not in ('new_episode', 'new_season') then continue; end if;
|
||||
if coalesce(e->>'episode', '') !~ '^[0-9]{1,6}$' or coalesce(e->>'count', '1') !~ '^[0-9]{1,4}$' then continue; end if;
|
||||
if not exists (select 1 from public.items i where i.user_id = me and i.id = e->>'item_id' and not i.deleted) then continue; end if;
|
||||
insert into public.notifications (user_id, kind, actor_id, item_id, episode, ep_count, dedup)
|
||||
values (me, k, null, e->>'item_id', (e->>'episode')::int, greatest(1, coalesce((e->>'count')::int, 1)),
|
||||
'ep:' || (e->>'item_id') || ':' || (e->>'episode'))
|
||||
on conflict (user_id, dedup) where dedup is not null do nothing;
|
||||
if found then n := n + 1; end if;
|
||||
end loop;
|
||||
delete from public.notifications
|
||||
where user_id = me and id not in (
|
||||
select id from public.notifications where user_id = me order by created_at desc limit 300
|
||||
);
|
||||
return n;
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Réagir à un avis ──
|
||||
create or replace function public.react_to_review(p_author uuid, p_item text, p_emoji text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
if p_author = auth.uid() then raise exception 'cannot react to your own review'; end if;
|
||||
if p_emoji is null or p_emoji <> all (array['👍','❤️','🔥','😂','😮','😢']) then raise exception 'bad emoji'; end if;
|
||||
if not public.can_view(p_author) or not exists (
|
||||
select 1 from public.items i join public.profiles pr on pr.id = i.user_id
|
||||
where i.user_id = p_author and i.id = p_item and not i.deleted
|
||||
and coalesce(i.data->>'notes','') <> '' and not pr.suspended
|
||||
) then
|
||||
raise exception 'review not found';
|
||||
end if;
|
||||
insert into public.review_reactions (author_id, item_id, user_id, emoji)
|
||||
values (p_author, p_item, auth.uid(), p_emoji)
|
||||
on conflict (author_id, item_id, user_id) do update set emoji = excluded.emoji, created_at = now();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
create or replace function public.unreact_review(p_author uuid, p_item text)
|
||||
returns jsonb language plpgsql security definer set search_path = '' as $$
|
||||
begin
|
||||
if auth.uid() is null then raise exception 'auth'; end if;
|
||||
delete from public.review_reactions where author_id = p_author and item_id = p_item and user_id = auth.uid();
|
||||
return jsonb_build_object('ok', true);
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Tous les avis sur un titre (amis / autres) ──
|
||||
create or replace function public.title_reviews(p_external_id text, p_offset integer default 0)
|
||||
returns jsonb language plpgsql stable security definer set search_path = '' as $$
|
||||
declare me uuid := auth.uid(); res jsonb;
|
||||
begin
|
||||
if me is null or p_external_id !~ '^(tmdb:(movie|tv):[0-9]{1,10}|anilist:[0-9]{1,10})$' then
|
||||
return jsonb_build_object('friends', '[]'::jsonb, 'others', '[]'::jsonb);
|
||||
end if;
|
||||
with revs as (
|
||||
select i.user_id, i.id as item_id, i.updated_at,
|
||||
nullif(i.data->>'rating','')::numeric as rating,
|
||||
i.data->>'notes' as notes, pr,
|
||||
exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted') as friend
|
||||
from public.items i
|
||||
join public.profiles pr on pr.id = i.user_id
|
||||
where i.data->>'externalId' = p_external_id
|
||||
and not i.deleted and coalesce(i.data->>'notes','') <> ''
|
||||
and i.user_id <> me and not pr.suspended
|
||||
and (not pr.is_private
|
||||
or exists(select 1 from public.follows f where f.follower_id = me and f.following_id = i.user_id and f.status = 'accepted'))
|
||||
),
|
||||
enriched as (
|
||||
select r.*,
|
||||
(select coalesce(jsonb_object_agg(e.emoji, e.c), '{}'::jsonb)
|
||||
from (select emoji, count(*) c from public.review_reactions rr
|
||||
where rr.author_id = r.user_id and rr.item_id = r.item_id group by emoji) e) as reactions,
|
||||
(select count(*) from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id) as total,
|
||||
(select emoji from public.review_reactions rr where rr.author_id = r.user_id and rr.item_id = r.item_id and rr.user_id = me) as mine
|
||||
from revs r
|
||||
)
|
||||
select jsonb_build_object(
|
||||
'friends', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where friend offset greatest(p_offset, 0) limit 40) f), '[]'::jsonb),
|
||||
'others', coalesce((select jsonb_agg(entry order by total desc, updated_at desc) from (
|
||||
select jsonb_build_object('user', public.profile_card(pr), 'user_id', user_id, 'item_id', item_id,
|
||||
'updated_at', updated_at, 'rating', rating, 'notes', notes,
|
||||
'reactions', reactions, 'total', total, 'mine', mine) entry, total, updated_at
|
||||
from enriched where not friend offset greatest(p_offset, 0) limit 40) o), '[]'::jsonb)
|
||||
) into res;
|
||||
return res;
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- ── Lecture des notifications (les types désactivés sont masqués) ──
|
||||
create or replace function public.get_notifications(p_offset integer default 0)
|
||||
returns jsonb language sql stable security definer set search_path = '' as $$
|
||||
select coalesce(jsonb_agg(x order by created_at desc), '[]'::jsonb)
|
||||
from (
|
||||
select n.id, n.kind, n.created_at, n.read_at, n.emoji, n.item_id, n.episode, n.ep_count,
|
||||
case when p.id is null then null else
|
||||
jsonb_build_object('username', p.username, 'display_name', p.display_name, 'avatar_url', p.avatar_url) end as actor,
|
||||
case when n.kind in ('reaction', 'new_episode', 'new_season')
|
||||
then (select it.data->>'title' from public.items it where it.user_id = n.user_id and it.id = n.item_id) end as title
|
||||
from public.notifications n
|
||||
left join public.profiles p on p.id = n.actor_id
|
||||
where n.user_id = auth.uid() and public.azuu_wants(n.user_id, n.kind)
|
||||
order by n.created_at desc
|
||||
offset greatest(p_offset, 0) limit 30
|
||||
) x
|
||||
$$;
|
||||
|
||||
create or replace function public.notifications_unread()
|
||||
returns integer language sql stable security definer set search_path = '' as $$
|
||||
select count(*)::int from public.notifications n
|
||||
where n.user_id = auth.uid() and n.read_at is null and public.azuu_wants(n.user_id, n.kind)
|
||||
$$;
|
||||
|
||||
create or replace function public.mark_notifications_read()
|
||||
returns void language sql security definer set search_path = '' as $$
|
||||
update public.notifications set read_at = now() where user_id = auth.uid() and read_at is null
|
||||
$$;
|
||||
|
||||
-- ── Droits (gate interne : auth.uid() / can_view) ──
|
||||
revoke all on function public.azuu_wants(uuid, text) from public, anon, authenticated;
|
||||
revoke all on function public.azuu_notify(uuid, text, uuid, text, text) from public, anon, authenticated;
|
||||
revoke all on function public.react_to_review(uuid, text, text) from public, anon;
|
||||
revoke all on function public.unreact_review(uuid, text) from public, anon;
|
||||
revoke all on function public.title_reviews(text, integer) from public, anon;
|
||||
revoke all on function public.get_notifications(integer) from public, anon;
|
||||
revoke all on function public.notifications_unread() from public, anon;
|
||||
revoke all on function public.mark_notifications_read() from public, anon;
|
||||
revoke all on function public.add_episode_notifications(jsonb) from public, anon;
|
||||
grant execute on function public.react_to_review(uuid, text, text) to authenticated;
|
||||
grant execute on function public.unreact_review(uuid, text) to authenticated;
|
||||
grant execute on function public.title_reviews(text, integer) to authenticated;
|
||||
grant execute on function public.get_notifications(integer) to authenticated;
|
||||
grant execute on function public.notifications_unread() to authenticated;
|
||||
grant execute on function public.mark_notifications_read() to authenticated;
|
||||
grant execute on function public.add_episode_notifications(jsonb) to authenticated;
|
||||
Loaded 100 of 102 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user