none
Anyone want to help me translate PowerPlusExtension? RRS feed

  • General discussion

  • Hi guys! As some of you might already know, NoahBuscher and I work on a little software development team together: IndyDev Software. He wrote the Power Extension and I wrote the PlusPlus and Joysticks extension. We are working on making a Spanish translation of the Power Extension (a German edition has already been made).

    I am a third year Spanish student in high school but would like some help translating. I know a lot of grammar and such, but little computer vocabulary, so help would be appreciated!

    Here is a little I have already done:

    Imports System
    Imports Microsoft.SmallBasic.Library
    Imports System.Threading
    Imports System.IO
    Imports System.Windows.Forms
    Imports System.Net.Mail
    Imports System.Collections.Generic
    Imports System.Text
    Imports System.Windows
    Imports System.Reflection
    Imports System.Diagnostics
    Imports System.Speech.Synthesis
        ''' <summary>
    ''' Se permite performar diversas operaciones de archivo
        ''' </summary>
    <SmallBasicType()> _
    Public Module PoderExpediente
        ''' <summary>
        ''' Se permite renombar archivos
        ''' </summary>
        ''' <param name="filePath">La ruta del archivo</param>
        ''' <param name="newName">Nuevo nombre del archivo</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function RenameFile(ByVal FilePath As Primitive, ByVal NewName As Primitive) As Primitive
            My.Computer.FileSystem.RenameFile(FilePath.ToString, NewName.ToString)
        End Function
        ''' <summary>
        ''' Se permite mover archivos
        ''' </summary>
        ''' <param name="SourceFilePath">La ruta del archivo</param>
        ''' <param name="NewFilePath">La ruta nueva del archivo</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function ReLocate(ByVal SourceFilePath As Primitive, ByVal NewFilePath As Primitive) As Primitive
            My.Computer.FileSystem.MoveFile(SourceFilePath.ToString, NewFilePath.ToString)
        End Function
        ''' <summary>
        ''' Se permite comprobar si existe un archivo
        ''' </summary>
        ''' <param name="SourceFilePath">La ruta del archivo</param>
        ''' <returns>Cierto si existe un archivo, o Flaso si no lo existe</returns>
        ''' <remarks></remarks>
        Public Function FileExists(ByVal SourceFilePath As Primitive) As Primitive
            If My.Computer.FileSystem.FileExists(SourceFilePath.ToString) = "True" Then
                Return "Cierto"
            Else
                Return "Falso"
            End If
        End Function
        ''' <summary>
        ''' Se permite leer el contenido de un archivo
        ''' </summary>
        ''' <param name="SourceFilePath">La ruta del archivo</param>
        ''' <returns>El texto del archivo</returns>
        ''' <remarks></remarks>
        Public Function Read(ByVal SourceFilePath As Primitive) As Primitive
            Return My.Computer.FileSystem.ReadAllText(SourceFilePath)
        End Function
        ''' <summary>
        ''' Se permite escribir a un archivo de texto
        ''' </summary>
        ''' <param name="SourceFilePath">La ruta del archivo</param>
        ''' <param name="Contents">El texto para escribir</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function Write(ByVal SourceFilePath As Primitive, ByVal Contents As Primitive) As Primitive
            My.Computer.FileSystem.WriteAllText(SourceFilePath.ToString, Contents.ToString, True)
        End Function
        ''' <summary>
        ''' Se permite eliminar un archivo
        ''' </summary>
        ''' <param name="DeleteFilePath">El archivo para eliminar</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function DeleteFile(ByVal DeleteFilePath As Primitive) As Primitive
            My.Computer.FileSystem.DeleteFile(DeleteFilePath.ToString)
        End Function
        ''' <summary>
        ''' Se permite crear directorios
        ''' </summary>
        ''' <param name="FilePath">La ruta del directorio nuevo</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function CreateDirectory(ByVal FilePath As Primitive) As Primitive
            My.Computer.FileSystem.CreateDirectory(FilePath.ToString)
        End Function
        ''' <summary>
        '''Se permite eliminar directorios
        ''' </summary>
        ''' <param name="FilePath">La ruta del directiorio para deleter</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Function DeleteDirectory(ByVal FilePath As Primitive) As Primitive
            My.Computer.FileSystem.DeleteDirectory(FilePath.ToString, FileIO.DeleteDirectoryOption.DeleteAllContents)
        End Function
    End Module

    Por favor me da ayuda =)

    ¡Muchas gracias!
    gungan37

    Tuesday, October 16, 2012 2:20 AM
    Answerer

All replies

  • I only speak Portuguese, but since Spanish is so similar...

    I've found 1 misspell and 1 unknown word. At least from my mother language's  perspective!   :P

    ''' <returns>Cierto si existe un archivo, o Flaso si no lo existe</returns>  ->  It's Falso, both in Spanish & Portuguese.

    ''' <param name="FilePath">La ruta del directiorio para deleter</param> -> couldn't identify what is deleter.

    Rest seems OK. But only a Spanish speaker can decide that!  >;-)

    P.S.: In Portuguese, the word "True" means "Verdadeiro". And there is the corresponding "Verdadero" in Spanish. Perhaps instead of "Cierto" the most correct one is "Verdadero"?!


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Tuesday, October 16, 2012 2:57 AM
    Answerer
  • ¡Gracias por su ayuda, GoToLoop! Yo voy a arreglar el errore de "Flaso" pronto.

    Hmm... I will look into verdadero. I have heard both... just figured:

    If returnVal = "Cierto"...

    would be shorter than

    If returnVal = "Verdadero"...

    Any input from native Spanish speakers on the "Verdadero" vs "Cierto" issue? Again, thanks for the help GoToLoop!
    Wednesday, October 17, 2012 12:24 AM
    Answerer
  • When I look it up on an online dictionary, I find that the definition for 'cierto' is true and 'verdadero' means real or genuine.

    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."

    Wednesday, October 17, 2012 12:31 AM
  • I think I was worrying too much. Portuguese & Spanish translation is a problematic minefield due to lotsa false cognate words!

    The Portuguese "certo", which is cognate to Spanish's "cierto", means -> "correct, right or sure" in English.

    "Verdadeiro", cognate to "verdadero", means -> "true".

    So, in Portuguese case, a translation like:

    If returnVal = "Certo"...

    would be the same in English:

    If returnVal = "Correct"...

    A little awkward!  :P

    But it seems like it is just one more Spanish to Portuguese false cognate case!


    Click on "Propose As Answer" if some post solves your problem or "Vote As Helpful" if some post has been useful to you! (^_^)

    Wednesday, October 17, 2012 2:16 AM
    Answerer