diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/es_MX.js | 36 | ||||
-rw-r--r-- | lib/l10n/es_MX.json | 36 | ||||
-rw-r--r-- | lib/private/User/OutOfOfficeData.php | 8 | ||||
-rw-r--r-- | lib/public/User/IOutOfOfficeData.php | 8 |
4 files changed, 80 insertions, 8 deletions
diff --git a/lib/l10n/es_MX.js b/lib/l10n/es_MX.js index da5b97bb354..6b841b3155e 100644 --- a/lib/l10n/es_MX.js +++ b/lib/l10n/es_MX.js @@ -271,10 +271,46 @@ OC.L10N.register( "Transcription" : "Transcripción", "The transcribed text" : "El texto transcrito", "ContextWrite" : "ContextWrite", + "Writes text in a given style based on the provided source material." : "Escribe el texto en un estilo dado basándose en el material fuente proporcionado.", + "Writing style" : "Estilo de escritura", + "Demonstrate a writing style that you would like to immitate" : "Demostrar un estilo de escritura que le gustaría imitar", + "Source material" : "Material fuente", + "The content that would like to be rewritten in the new writing style" : "El contenido que desea sea reescrito en un nuevo estilo de escritura", + "Generated text" : "Texto generado", + "The generated text with content from the source material in the given style" : "El texto generado con el contenido del material fuente en el estilo dado", + "Emoji generator" : "Generador de emojis", + "Takes text and generates a representative emoji for it." : "Toma un texto y genera un emoji representativo para éste.", + "The text to generate an emoji for" : "El texto para generar un emoji", + "Generated emoji" : "Emoji generado", + "The generated emoji based on the input text" : "El emoji generado basado en el texto de entrada", + "Generate image" : "Generar imagen", + "Generate an image from a text prompt" : "Generar una imagen desde un texto", + "Prompt" : "Prompt", + "Describe the image you want to generate" : "Describa la imagen que quiere generar", + "Number of images" : "Número de imágenes", + "How many images to generate" : "Cuántas imágenes generar", + "Output images" : "Salida de imágenes", + "The generated images" : "Las imágenes generadas", + "Free text to text prompt" : "Texto libre a prompt de texto", + "Runs an arbitrary prompt through a language model that retuns a reply" : "Ejecuta un prompt arbitrario a través de un modelo de lenguaje que regresa una respuesta.", + "Describe a task that you want the assistant to do or ask a question" : "Describa una tarea que quiere que haga el asistente o haga una pregunta", + "Generated reply" : "Respuesta generada", + "The generated text from the assistant" : "El texto generado por el asistente", + "Generate a headline" : "Generar un titular", "Generates a possible headline for a text." : "Genera un posible titular para un texto.", + "Original text" : "Texto original", + "The original text to generate a headline for" : "El texto original para generar un titular", + "The generated headline" : "El titular generado", "Summarize" : "Resumir", + "Summarizes a text" : "Resume un texto", + "The original text to summarize" : "El texto original a resumir", "Summary" : "Resumen", + "The generated summary" : "El resumen generado", "Extract topics" : "Extraer temas", + "Extracts topics from a text and outputs them separated by commas" : "Extrae temas desde un texto y los muestra separados por comas", + "The original text to extract topics from" : "El texto original desde donde extraer los temas", + "Topics" : "Temas", + "The list of extracted topics" : "La lista de temas extraídos", "Free prompt" : "Liberar prompt", "Runs an arbitrary prompt through the language model." : "Ejecuta un prompt arbitrario a través del modelo de lenguaje.", "Generate headline" : "Generar titular", diff --git a/lib/l10n/es_MX.json b/lib/l10n/es_MX.json index 196ddabbaf5..7a208b4a59e 100644 --- a/lib/l10n/es_MX.json +++ b/lib/l10n/es_MX.json @@ -269,10 +269,46 @@ "Transcription" : "Transcripción", "The transcribed text" : "El texto transcrito", "ContextWrite" : "ContextWrite", + "Writes text in a given style based on the provided source material." : "Escribe el texto en un estilo dado basándose en el material fuente proporcionado.", + "Writing style" : "Estilo de escritura", + "Demonstrate a writing style that you would like to immitate" : "Demostrar un estilo de escritura que le gustaría imitar", + "Source material" : "Material fuente", + "The content that would like to be rewritten in the new writing style" : "El contenido que desea sea reescrito en un nuevo estilo de escritura", + "Generated text" : "Texto generado", + "The generated text with content from the source material in the given style" : "El texto generado con el contenido del material fuente en el estilo dado", + "Emoji generator" : "Generador de emojis", + "Takes text and generates a representative emoji for it." : "Toma un texto y genera un emoji representativo para éste.", + "The text to generate an emoji for" : "El texto para generar un emoji", + "Generated emoji" : "Emoji generado", + "The generated emoji based on the input text" : "El emoji generado basado en el texto de entrada", + "Generate image" : "Generar imagen", + "Generate an image from a text prompt" : "Generar una imagen desde un texto", + "Prompt" : "Prompt", + "Describe the image you want to generate" : "Describa la imagen que quiere generar", + "Number of images" : "Número de imágenes", + "How many images to generate" : "Cuántas imágenes generar", + "Output images" : "Salida de imágenes", + "The generated images" : "Las imágenes generadas", + "Free text to text prompt" : "Texto libre a prompt de texto", + "Runs an arbitrary prompt through a language model that retuns a reply" : "Ejecuta un prompt arbitrario a través de un modelo de lenguaje que regresa una respuesta.", + "Describe a task that you want the assistant to do or ask a question" : "Describa una tarea que quiere que haga el asistente o haga una pregunta", + "Generated reply" : "Respuesta generada", + "The generated text from the assistant" : "El texto generado por el asistente", + "Generate a headline" : "Generar un titular", "Generates a possible headline for a text." : "Genera un posible titular para un texto.", + "Original text" : "Texto original", + "The original text to generate a headline for" : "El texto original para generar un titular", + "The generated headline" : "El titular generado", "Summarize" : "Resumir", + "Summarizes a text" : "Resume un texto", + "The original text to summarize" : "El texto original a resumir", "Summary" : "Resumen", + "The generated summary" : "El resumen generado", "Extract topics" : "Extraer temas", + "Extracts topics from a text and outputs them separated by commas" : "Extrae temas desde un texto y los muestra separados por comas", + "The original text to extract topics from" : "El texto original desde donde extraer los temas", + "Topics" : "Temas", + "The list of extracted topics" : "La lista de temas extraídos", "Free prompt" : "Liberar prompt", "Runs an arbitrary prompt through the language model." : "Ejecuta un prompt arbitrario a través del modelo de lenguaje.", "Generate headline" : "Generar titular", diff --git a/lib/private/User/OutOfOfficeData.php b/lib/private/User/OutOfOfficeData.php index 2d90dbfd39c..b1739126443 100644 --- a/lib/private/User/OutOfOfficeData.php +++ b/lib/private/User/OutOfOfficeData.php @@ -19,8 +19,8 @@ class OutOfOfficeData implements IOutOfOfficeData { private int $endDate, private string $shortMessage, private string $message, - private string $replacementUserId, - private string $replacementUserDisplayName) { + private ?string $replacementUserId, + private ?string $replacementUserDisplayName) { } public function getId(): string { @@ -47,11 +47,11 @@ class OutOfOfficeData implements IOutOfOfficeData { return $this->message; } - public function getReplacementUserId(): string { + public function getReplacementUserId(): ?string { return $this->replacementUserId; } - public function getReplacementUserDisplayName(): string { + public function getReplacementUserDisplayName(): ?string { return $this->replacementUserDisplayName; } diff --git a/lib/public/User/IOutOfOfficeData.php b/lib/public/User/IOutOfOfficeData.php index 19cc1120c4c..e3a4e2773bb 100644 --- a/lib/public/User/IOutOfOfficeData.php +++ b/lib/public/User/IOutOfOfficeData.php @@ -22,8 +22,8 @@ use OCP\IUser; * endDate: int, * shortMessage: string, * message: string, - * replacementUserId: string, - * replacementUserDisplayName: string + * replacementUserId: ?string, + * replacementUserDisplayName: ?string * } * * @since 28.0.0 @@ -76,14 +76,14 @@ interface IOutOfOfficeData extends JsonSerializable { * * @since 30.0.0 */ - public function getReplacementUserId(): string; + public function getReplacementUserId(): ?string; /** * Get the replacement user displayName for auto responders and similar * * @since 30.0.0 */ - public function getReplacementUserDisplayName(): string; + public function getReplacementUserDisplayName(): ?string; /** * @return OutOfOfficeData |