Skip to content

Commit

Permalink
fix: small improvements in labels and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoreilly committed Oct 27, 2024
1 parent ae4d0e5 commit 873ef4c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function App() {
const [mediaUrl, setMediaUrl] = useState<string>('');
const [currentTime, setCurrentTime] = useState<number>(0);
const [isPlaying, setIsPlaying] = useState(false);
const [activeTab, setActiveTab] = useState<'timeline' | 'list' | 'options'>('timeline');
const [activeTab, setActiveTab] = useState<'timeline' | 'list' | 'options'>('list');
const [mediaType, setMediaType] = useState<string>('');
const [mediaFileName, setMediaFileName] = useState<string>('');
const mediaRef = useRef<MediaPlayerRef | null>(null);
Expand Down
2 changes: 1 addition & 1 deletion src/components/TrackEditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const TrackEditModal: React.FC<TrackEditModalProps> = ({
value={speed}
onChange={(e) => setSpeed(Number(e.target.value))}
step="0.1"
min="0.1"
min="1"
max="2"
/>
<Label>{t('speaker')}</Label>
Expand Down
18 changes: 9 additions & 9 deletions src/locales/ca.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"timeline": "Línia de Temps",
"list": "Llista",
"downloadResult": "Descarregar",
"zoomOut": "Allunyar",
"zoomIn": "Apropar",
"downloadResult": "Descarrega",
"zoomOut": "Allunya",
"zoomIn": "Apropa",
"resetZoom": "Restablir Zoom",
"closeMedia": "Tancar Arxiu",
"openFile": "Obrir fitxer",
"selectFileOrUUID": "Selecciona un fitxer o introdueix UUID",
"closeMedia": "Tanca Arxiu",
"openFile": "Obre Arxiu",
"selectFileOrUUID": "Selecciona un arxiu o introdueix UUID",
"enterUUID": "Introdueix UUID",
"submit": "Enviar",
"submit": "Envia",
"save": "Desar",
"cancel": "Cancel·lar",
"errorLoadingUUID": "Error carregant el vídeo, potser ja no existeix",
"originalText": "Text Original",
"translatedText": "Text Traduit",
"translatedText": "Text Traduït",
"startTime": "Temps Inicial",
"endTime": "Temps Final",
"text": "Text",
"speed": "Velocitat",
"options": "Opcions",
"audioTracks": "Pistes d'Àudio",
"deleteTrack": "Eliminar",
"deleteTrack": "Elimina",
"subtitles": "Subtítols",
"noSubtitles": "Sense Subtítols",
"originalSubtitles": "Subtítols Originals",
Expand Down
16 changes: 8 additions & 8 deletions src/services/MatxaSynthesisProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "male",
language: "cat",
region: "balear",
label: "Quim (Balear)",
label: "Home - Balear (Quim)",
provider: this.providerName,
},
{
Expand All @@ -30,7 +30,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "female",
language: "cat",
region: "balear",
label: "Olga (Balear)",
label: "Dona - Balear (Olga)",
provider: this.providerName,
},
{
Expand All @@ -39,7 +39,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "male",
language: "cat",
region: "central",
label: "Grau (Central)",
label: "Dona - Central (Grau)",
provider: this.providerName,
},
{
Expand All @@ -48,7 +48,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "female",
language: "cat",
region: "central",
label: "Elia (Central)",
label: "Dona - Central (Èlia)",
provider: this.providerName,
},
{
Expand All @@ -57,7 +57,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "male",
language: "cat",
region: "nord",
label: "Pere (Nord)",
label: "Home - Nord-occidental (Pere)",
provider: this.providerName,
},
{
Expand All @@ -66,7 +66,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "female",
language: "cat",
region: "nord",
label: "Emma (Nord)",
label: "Dona - Nord-occidental (Emma)",
provider: this.providerName,
},
{
Expand All @@ -75,7 +75,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "male",
language: "cat",
region: "valencia",
label: "Lluc (València)",
label: "Home - Valencià (Lluc)",
provider: this.providerName,
},
{
Expand All @@ -84,7 +84,7 @@ class MatxaSynthesisProvider implements SynthesisProvider {
gender: "female",
language: "cat",
region: "valencia",
label: "Gina (València)",
label: "Dona - Valencià (Gina)",
provider: this.providerName,
},
];
Expand Down

0 comments on commit 873ef4c

Please sign in to comment.