generated from obsproject/obs-plugintemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from obs-ai/roy.add_module_text_and_translations
Locale and translations
- Loading branch information
Showing
9 changed files
with
190 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,39 @@ | ||
LocalVocalPlugin="LocalVocal Plugin" | ||
transcription_filterAudioFilter="LocalVocal Transcription" | ||
vad_enabled="VAD Enabled" | ||
log_level="Log Level" | ||
log_words="Log Output Words" | ||
caption_to_stream="Stream Captions" | ||
step_by_step_processing="Step-by-step processing (⚠️ processing will increase)" | ||
step_size_msec="Step size (ms)" | ||
subtitle_sources="Subtitles Output" | ||
none_no_output="None / No output" | ||
text_file_output="Text File output" | ||
output_filename="Output filename" | ||
whisper_model="Whisper Model" | ||
external_model_file="External model file" | ||
whisper_parameters="Whisper Parameters" | ||
language="Language" | ||
whisper_sampling_method="Whisper Sampling Method" | ||
n_threads="Number of threads" | ||
n_max_text_ctx="Max text context" | ||
translate="Translate" | ||
no_context="No context" | ||
single_segment="Single segment" | ||
print_special="Print special" | ||
print_progress="Print progress" | ||
print_realtime="Print realtime" | ||
print_timestamps="Print timestamps" | ||
token_timestamps="Token timestamps" | ||
thold_pt="Token prob. threshold" | ||
thold_ptsum="Token sum prob. threshold" | ||
max_len="Max length in chars" | ||
split_on_word="Split on word" | ||
max_tokens="Max tokens" | ||
speed_up="Speed up" | ||
initial_prompt="Initial prompt" | ||
suppress_blank="Suppress blank" | ||
suppress_non_speech_tokens="Suppress non-speech tokens" | ||
temperature="Temperature" | ||
max_initial_ts="Max initial timestamps" | ||
length_penalty="Length penalty" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Portuguese (Brazil) translation | ||
LocalVocalPlugin="Plugin LocalVocal" | ||
transcription_filterAudioFilter="LocalVocal Transcrição" | ||
vad_enabled="VAD Habilitado" | ||
log_level="Nível de log" | ||
log_words="Log Palavras" | ||
caption_to_stream="Legendas de fluxo" | ||
step_by_step_processing="Processamento passo a passo (⚠️ o processamento aumentará)" | ||
step_size_msec="Tamanho do passo (ms)" | ||
subtitle_sources="Legendas de saída" | ||
none_no_output="Nenhum / Sem saída" | ||
text_file_output="Saída do arquivo de texto" | ||
output_filename="Nome do arquivo de saída" | ||
whisper_model="Modelo Whisper" | ||
external_model_file="Arquivo de modelo externo" | ||
whisper_parameters="Parâmetros Whisper" | ||
language="Língua" | ||
whisper_sampling_method="Método de amostragem Whisper" | ||
n_threads="Número de threads" | ||
n_max_text_ctx="Máximo de contexto de texto" | ||
translate="Traduzir" | ||
no_context="Sem contexto" | ||
single_segment="Segmento único" | ||
print_special="Imprimir especial" | ||
print_progress="Imprimir progresso" | ||
print_realtime="Imprimir em tempo real" | ||
print_timestamps="Imprimir carimbos de data" | ||
token_timestamps="Carimbos de data" | ||
thold_pt="Limiar token probabilidade" | ||
thold_ptsum="Limiar token soma probabilidade" | ||
max_len="Comprimento máximo em caracteres" | ||
split_on_word="Dividir na palavra" | ||
max_tokens="Máximo de tokens" | ||
speed_up="Acelerar" | ||
initial_prompt="Prompt inicial" | ||
suppress_blank="Suprimir em branco" | ||
suppress_non_speech_tokens="Suprimir tokens não fala" | ||
temperature="Temperatura" | ||
max_initial_ts="Tempo inicial máximo" | ||
length_penalty="Pena de comprimento" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
LocalVocalPlugin="Плагин LocalVocal" | ||
transcription_filterAudioFilter="LocalVocal Транскрипция" | ||
vad_enabled="VAD Включен" | ||
log_level="Уровень логирования" | ||
log_words="Логировать слова" | ||
caption_to_stream="Потоковые субтитры" | ||
step_by_step_processing="Пошаговая обработка (⚠️ обработка будет увеличена)" | ||
step_size_msec="Размер шага (мс)" | ||
subtitle_sources="Выходные субтитры" | ||
none_no_output="Нет / Нет выхода" | ||
text_file_output="Выходной текстовый файл" | ||
output_filename="Имя выходного файла" | ||
whisper_model="Whisper Модель" | ||
external_model_file="Внешний файл модели" | ||
whisper_parameters="Параметры Whisper" | ||
language="Язык" | ||
whisper_sampling_method="Метод выборки Whisper" | ||
n_threads="Количество потоков" | ||
n_max_text_ctx="Максимальный текстовый контекст" | ||
translate="Перевести" | ||
no_context="Нет контекста" | ||
single_segment="Одиночный сегмент" | ||
print_special="Печать специальных" | ||
print_progress="Печать прогресса" | ||
print_realtime="Печать в реальном времени" | ||
print_timestamps="Печать временных меток" | ||
token_timestamps="Временные метки токенов" | ||
thold_pt="Порог вероятности токена" | ||
thold_ptsum="Порог суммы вероятностей токена" | ||
max_len="Максимальная длина в символах" | ||
split_on_word="Разделить по слову" | ||
max_tokens="Максимальное количество токенов" | ||
speed_up="Ускорить" | ||
initial_prompt="Начальный приглашение" | ||
suppress_blank="Подавить пустое" | ||
suppress_non_speech_tokens="Подавить токены, не относящиеся к речи" | ||
temperature="Температура" | ||
max_initial_ts="Максимальное начальное время" | ||
length_penalty="Штраф за длину" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
Plugin Name | ||
Copyright (C) <Year> <Developer> <Email Address> | ||
obs-localvocal | ||
Copyright (C) 2023 Roy Shilkrot [email protected] | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
@@ -32,7 +32,7 @@ extern struct obs_source_info transcription_filter_info; | |
bool obs_module_load(void) | ||
{ | ||
obs_register_source(&transcription_filter_info); | ||
blog(LOG_INFO, "plugin loaded successfully (version %s)", PLUGIN_VERSION); | ||
obs_log(LOG_INFO, "plugin loaded successfully (version %s)", PLUGIN_VERSION); | ||
return true; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
Plugin Name | ||
Copyright (C) <Year> <Developer> <Email Address> | ||
obs-localvocal | ||
Copyright (C) 2023 Roy Shilkrot [email protected] | ||
|
||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
Plugin Name | ||
Copyright (C) <Year> <Developer> <Email Address> | ||
obs-localvocal | ||
Copyright (C) 2023 Roy Shilkrot [email protected] | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.