[Android General] Chupi383:
[MENTION=8661519]Andylain[/MENTION] I've extracted all the user-facing strings from my code. The text in [square brackets] are comments giving some context for the message that follows, and don't appear anywhere in the program.

=====
[this message is shown in a dialog box if you click cancel on the open photos dialog]

You can use this program 3 different ways:

GUI USE: Just run it. You'll get an file-open dialog where you can open .jpg files. Use ctrl or shift or drag to select more than one.

DRAG & DROP USE: Drag one or more motion photos onto the icon for this exe.

COMMAND LINE USE: Run this program with one or more motion photo file names as arguments. Remember to use "quotes" if there are spaces in the names.

Any way you run it, the original files will not be modified. The extracted photo and video will be stored in *_photo.jpg and *_video.mp4 where * is the name of the original file, minus the .jpg extension.

Coded by Chupi383. All credit for the method goes to goofwear at the XDA forums. I've just ported their .bat file to plain C and Win32.

=====
[this is the title of the program]

Samsung Motion Photo Batch Extractor

=====
[this is displayed in the open dialog, under the box where you can type a filename, in a drop-down list]

Motion Photos (*.jpg)

All Files (*.*)

=====
[this is the title bar of the open dialog]

Open some Samsung Motion Photos

=====
[this message is shown if the user selected a file with a really really long name]

Skipping too-long path: <filename goes here>

=====
[title bar for error dialogs]

Error

=====
[error if the user selects over the maximum number of files (currently 10000)]

You've selected too many files. I can only do up to 10000 at a time.

=====
[error if the user selects so many files the Windows "open" dialog box gives up]

You've selected too many files. Try selecting fewer files and process them in bunches.

=====
[appended to names of extracted files - not sure if these should be translated]

_photo
_video

=====
[error if enough memory couldn't be allocated, possibly because the computer is out of RAM]

Can't allocate RAM to read <number> bytes from <filename>

=====
[error if a file can't be read for some reason, perhaps a damaged disk]

Skipping due to read error:
<filename>

=====
[error if an output file can't be written, generally because of full disk, read only disk, file exists and is read only, or permissions on the folder]

Can't write to <filename>

=====
[message on completion]

Finished extracting Motion Photos
Photos extracted: <number>
Videos extracted: <number>

=====
[added to the end of the previous success message if some files didn't contain a photo and a video]

<number> files were skipped because they weren't Motion Photos

=====
[title bar of completion message if at least 1 file was processed successfully]

Success

=====
[title bar of completion message if nothing was done successfully]

Failure

=====
["description" shown in right-click->properties dialog for the exe file]

Extract Samsung Motion Photos to jpg and mp4

=====
["product name" shown in properties dialog for the exe file]

Motion Photo Batch Extractor Utility

If you translate these for me, I'll put them back into my program to make either a Chinese or multi-language version.