News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

FindFile update

Started by JohnF, December 13, 2013, 09:33:16 AM

Previous topic - Next topic

JohnF

FindFile has been updated.

From the change log.

=============================
12th December 2013. Version 3.0.0.0 (JF)
=============================
New 64Bit version. Changed Ole image loader to GdiPlus image loader.
Will now load PNG, TIF, JPG, GIF, EMF, BMP, DIB, WMF.
Icons are loaded with LoadImage API.

Improved the way the rename edit box is displayed with border
and horizontal scrolling.

Increased number of MRU items for Browsing to ten.

32bit and 64bit project files are included in zip.

Tidied up various things, deleted obsolete images, deleted
any other files not needed and some unused functions.

If an existing MRU is selected move to top and shuffle the
rest down.
============================

EDIT: timovjl found a bug, I'd used (DWORD) instead of (LONG_PTR) in func SubClassRenameEditBoxProc using API SetWindowLongPtr().

Thanks timovjl.

EDIT2: Another bug

1. If one has selected one of the MRU's then selects BROWSE and
then Cancel, the wrong MRU was placed at the top of the list.

The following code was added to the function OnCommand() case IDC_COMBO:

// Only do IfMruExists if selection is past the BROWSE
if(idx > g_dwLastNative){
    IfMruExists(g_sInitialDir);
    idx = g_dwLastNative+1; // If MRU was placed at top idx must reflect that
}

John

Grincheux

Nice work except for the french translation. may be I could help you.

TimoVJL

#2
No french language support?
But finnish supported?

Sure you can.
Just insert your translation to that rc-file.
John is pleased!

EDIT: There is french resource already, something wrong with it?
May the source be with you

Grincheux

I will do it, tht is in the rc file, there are English, German, Frech, Protugese, Finnish and Russian string tables.

Grincheux

#4
Here is the french translation :

QuoteLANGUAGE LANG_FRENCH,SUBLANG_FRENCH

STRINGTABLE
{
  IDI_FINDFILE, "Explorer le dossier"
  IDI_DELETE, "Voir les dépendances"
  IDI_MOVE, "Ouvrir"
  4, "Renommer"
  5, "Copier vers"
  6, "Déplacer vers"
  7, "Suppression"
  8, "Corbeille"
  9, "Propriétés"
  10, "Sortie"
  11, "Envoyer au Menu"
  12, "Recherche avancée"
  13, "A propos de FindFile32"
  14, "Résultats de la recherche"
  15, "Résultats de la recherche des textes"
}

STRINGTABLE
{
  16, "Envoyer à"
  17, "(aucun)"
  18, "Version %1d.%1d.%1d.%1d"
  19, "Type de fichier (*.exe)"
  20, "Choisir le programme"
  ID_LNK, "Vous devez écrire un nom d\'affichage !"
  22, "Vous devez choisir un dossier ou le programme !"
  23, "Déplacer"
  24, "%u fichier(s)"
  25, "Nom"
  26, "Dossier"
  27, "Taille"
  28, "Modifié"
  29, "Impossible de renommer le fichier ! Essayez un nom différent."
  30, "Recherche "
  31, "Recherche faite en %1.3f sec ...  %u fichier(s) trouvé(s)"
}

STRINGTABLE
{
  32, "Disques locaux "
  33, "Type de disque inconnu "
  34, "Aucun volume monté "
  35, "Lecteur de disquettes "
  36, "Disque amovible "
  37, "Disque distant "
  38, "Lecteur de CDROM "
  39, "Disque virtuel "
  40, "Date suivante"
  41, "Date précédente"
  42, "Taille supérieure"
  43, "Taille inférieure"
  44, "FindFile32"
  45, "FindFile32 -> "
  46, "Choisir un dossier pour \"Copier dans\""
  47, "Choisir un dossier pour \"Déplacer vers\""
}

STRINGTABLE
{
  48, "Êtes-vous sûr de déplacer ces articles \?"
  49, "Êtes-vous sûr de supprimer ces articles \?"
  50, "Tous les fichier n\'ont pu être supprimés !"
  51, "Permettre la recherche avancée"
  52, "Recherche de fichiers"
  53, "Recherche de textes"
  54, "Recherche dans les sous-dossiers"
  55, "*Jokers automatiques*"
  56, "Sensible à la casse"
  57, "Comptage des fichiers seulement"
  58, "Annulation"
  59, "Recherche"
  60, "Paramètres avancés de recherche"
  61, "FindFile32 - Confirmer l\'opération"
  62, "&Oui"
  63, "&Annulation"
}

STRINGTABLE
{
  64, "Message de FindFile32..."
  65, "OK"
  66, "Envoyer aux Articles de Menu"
  67, "Ajouter ou éditer une commande au menu « Envoyer vers »"
  68, "Éditer l\'item"
  69, "Éditer le menu « Envoyer vers »"
  70, "Programme"
  71, "Choisir un dossier ou un programme puis donnez lui un nom"
  72, "Nom affiché"
  73, "Le dossier ou le programme"
  74, "Vider tout"
  75, "RAZ"
  76, "Plus que des octets"
  77, "Moins que des octets"
  78, "Compléter un ou plusieurs paramètres (dates au format dd/mm/yyyy)"
  79, "Après"
}

STRINGTABLE
{
  80, "Avant"
  81, "Prêt"
  82, "&Fichier"
  83, "&Éditer"
  84, "&Aide"
  85, "Naviguer"
  86, "Recherche des textes Unicode"
  87, "Disque local"
  88, "Choisir un dossier pour rechercher"
  89, "Choisir un dossier"
  90, "Tous les types (*.*)"
}

Just one note : In French the symboles ?;!: must a space before. The symboles ';' and ':' needs a space before and after.
The symbole '.' needs no space before but one space after.
Examples :

How are you?  Comment allez-vous ?
It is hard! C'est dur !
End of line. Next line Fin de ligne. Début de la suivante

If that could help you for your future translations;
I was very suprised and apreciate this idea. Thanks a lot.

JohnF

Thank you. I assume this is to replace the French that is already in the RC file?

John

Grincheux

Yes.

I will take a look on the way you have speak many languages.
I think it's difficult to give the fields a good size, in French and in German words are longs.

JohnF

#7
I'm sure anyone interested will have done it them selves but it is now updated on my web site.


JohnF

Hello,

There is one more string I need translating into various languages.

"Are you sure you want to move these item(s) to the RecycleBin?"

I have English(obviously) and Russian, and would like to have

FRENCH
GERMAN
PORTUGUESE, PORTUGUESE_BRAZILIAN
FINNISH

Your kindness will be appreciated.

John



Grincheux

Quote"Are you sure you want to move these item(s) to the RecycleBin?"

Etes-vous certain de vouloir mettre ces éléments dans la corbeille .

My answer in French

Sam Steele

Sind Sie sicher, dass Sie diese Elemente in den Papierkorb verschieben?

JohnF


jj2007

Quote from: Sam Steele on April 09, 2016, 03:14:25 AM
Sind Sie sicher, dass Sie diese Elemente in den Papierkorb verschieben wollen?

Siekmanski

Dutch: Weet u zeker dat u deze onderdelen naar de prullenbak wilt verplaatsen?

JohnF

#14
Quote from: Siekmanski on April 12, 2016, 12:25:25 PM
Dutch: Weet u zeker dat u deze onderdelen naar de prullenbak wilt verplaatsen?

I would only need Dutch if you were to do the whole string resource in Dutch.

STRINGTABLE
{
  1, "Explore Folder"
  2, "View Dependencies"
  3, "Open"
  4, "Rename"
  5, "CopyTo"
  6, "MoveTo"
  7, "Delete"
  8, "Recycle Bin"
  9, "Properties"
  10, "Exit"
  11, "SendTo Menu"
  12, "Extended Search"
  13, "About FindFile32"
  14, "View Search Results"
  15, "Text Search Results"
}

STRINGTABLE
{
  16, "Send To"
  17, "(none)"
  18, "Version %1d.%1d\0"
  19, "File Type (*.exe)"
  20, "Choose Program"
  21, "You need to enter a Display Name!"
  22, "You need to select either a Folder or Program!"
  23, "Move"
  24, "%u File(s)"
  25, "Name"
  26, "Folder"
  27, "Size"
  28, "Modified"
  29, "Could not rename file! Try a different name."
  30, "Searching "
  31, "search done in %1.3f sec ...  %u File(s) found"
}

STRINGTABLE
{
  32, "Local Drives "
  33, "Unknown Drive Type "
  34, "No Mounted Volume "
  35, "Floppy Drive "
  36, "Removable Drive "
  37, "Remote Drive "
  38, "CDROM Drive "
  39, "RAM Drive "
  40, "Date After"
  41, "Date Before"
  42, "Size Greater"
  43, "Size Less"
  44, "FindFile32"
  45, "FindFile32 -> "
  46, "Choose a Folder to Copy To"
  47, "Choose a Folder to Move To"
}

STRINGTABLE
{
  48, "Are you sure you want to Move these item(s)\?"
  49, "Are you sure you want to Delete these item(s)\?"
  50, "Not all of the files could be deleted!"
  51, "Enable Extended Search"
  52, "File Search"
  53, "Text Search"
  54, "Search SubFolders"
  55, "*AutoWildcards*"
  56, "Case Sensitive"
  57, "File counts only"
  58, "Cancel"
  59, "Search"
  60, "Extended Search Parameters"
  61, "FindFile32 - Confirm Operation"
  62, "&Yes"
  63, "&Cancel"
}

STRINGTABLE
{
  64, "FindFile32 Message..."
  65, "OK"
  66, "SendTo Menu Items"
  67, "Add or Edit a SendTo Menu Item"
  68, "Edit Item"
  69, "Edit SendTo Menu"
  70, "Program"
  71, "Choose Either a Folder or Program and enter the Display Name"
  72, "Display Name"
  73, "The Folder Or Program"
  74, "Clear All"
  75, "Reset"
  76, "More Than Bytes"
  77, "Less Than Bytes"
  78, "Fill in one or more Parameters (dates require dd/mm/yyyy)"
  79, "After"
}

STRINGTABLE
{
  80, "Before"
  81, "Ready"
  82, "&File"
  83, "&Edit"
  84, "&Help"
  85, "BROWSE"
  86, "Unicode Text Search"
  87, "Local Drive "
  88, "Choose a Folder to Search"
  89, "Choose a Folder"
  90, "All Types (*.*)"
  91, "Are you sure you want to move these item(s) to the RecycleBin?"
}


If you do it thanks.

John