Commit Graph

1117 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
a827a407ab Removed some unnecessary padding 2013-07-14 18:33:24 -04:00
Ben Olden-Cooligan
74e996e390 More adjustments to Ukrainian resources to fit longer strings, etc. 2013-07-14 18:32:08 -04:00
Ben Olden-Cooligan
1fc6dbb3b8 Modified FChooseProfile button width for ukranian. 2013-07-14 18:25:19 -04:00
Ben Olden-Cooligan
3b15115a48 Updated FDesktop for more i18n tweaking. 2013-07-14 18:19:42 -04:00
Ben Olden-Cooligan
c81c1919ce Reverted toolbar button padding on the non-ukranian resources. 2013-07-14 18:05:20 -04:00
Ben Olden-Cooligan
f3e8085b54 Updated Ukranian strings. Added a mechanism to wrap strings in the toolbars on FDesktop. 2013-07-14 18:04:30 -04:00
Ben Olden-Cooligan
18906fb4da Added Ukranian language and translations (credit Alexander Abramov) 2013-07-14 16:02:06 -04:00
Ben Olden-Cooligan
9b01c2ec38 Added empty tmx file 2013-07-14 09:59:21 -04:00
Ben Olden-Cooligan
e074633254 Disabled french from the language dropdown 2013-07-13 20:22:33 -04:00
Ben Olden-Cooligan
f62c706b60 Fixed project file 2013-07-13 20:17:04 -04:00
Ben Olden-Cooligan
ff57103f3e Added some pseudo-localized resources 2013-07-13 20:13:36 -04:00
Ben Olden-Cooligan
7ab3635852 Minor improvement to code for description attributes 2013-07-13 20:13:19 -04:00
Ben Olden-Cooligan
c3af5454c0 Moved files into more appropriate folders, and adjusted namespaces accordingly. 2013-07-09 18:20:27 -04:00
Ben Olden-Cooligan
3cfda2c9d3 Finished internationalizing all user-visible strings. 2013-07-09 18:07:49 -04:00
Ben Olden-Cooligan
1944aca36c Localized scan settings enum values. 2013-07-09 17:49:13 -04:00
Ben Olden-Cooligan
85b770e3ef NAPS2 project internationalization and code issue fix WIP. 2013-07-09 17:28:40 -04:00
Ben Olden-Cooligan
976ca9c5b1 Internationalized console project. 2013-07-09 17:11:33 -04:00
Ben Olden-Cooligan
edc54dcb5d Removed some unnecessary strings. Added a mechanism to exclude languages from the dropdown whose codes are prefixed with "_" (so that I can leave the codes/language names in Languages.resx even if they aren't translated yet). 2013-07-09 16:56:55 -04:00
Ben Olden-Cooligan
7225e419e9 Reworked language dropdown to source language text and codes from a resources file, rather than hard-coded in the form. 2013-07-08 19:01:00 -04:00
Ben Olden-Cooligan
18b6e0d629 Updated language switcher to refresh the current form. 2013-07-08 16:44:19 -04:00
Ben Olden-Cooligan
772a2add14 Added language dropdown to main form. 2013-07-08 16:01:46 -04:00
Ben Olden-Cooligan
e4e0e0e95a Set "Localizable" to true on each form 2013-07-08 15:43:04 -04:00
Ben Olden-Cooligan
74cba3cb04 Merge branch 'master' into i18n 2013-07-08 15:40:10 -04:00
Ben Olden-Cooligan
7e934f2bcb Consumer IErrorOutput in more places as appropriate. 2013-07-07 21:07:04 -04:00
Ben Olden-Cooligan
d9b2fbe978 Updated setup for 2.0 and added IErrorOutput so that error messages are displayed differently for console/gui. 2013-07-07 20:37:29 -04:00
Ben Olden-Cooligan
aff715cf49 Saved project file 2013-07-07 20:03:50 -04:00
Ben Olden-Cooligan
f4cbfd01f2 Added test resources file 2013-07-07 20:03:13 -04:00
Ben Olden-Cooligan
b060bfbe31 Added logging to console. 2013-07-07 16:15:48 -04:00
Ben Olden-Cooligan
7d33f4c986 Changed logging configuration to archive after too many errors. 2013-07-07 16:11:10 -04:00
Ben Olden-Cooligan
208c5f96e9 Added logging configuration. Added logging to unhandled and unknown exceptions. Improved/re-organized exception handling to facilitate this. 2013-07-07 15:59:28 -04:00
Ben Olden-Cooligan
2525e178d4 Re-organized exception hierarchy, with ScanDriverException now abstract with a new Scan/Exceptions/ScanDriverUnknownException subclass for errors that should be logged. 2013-07-07 15:21:15 -04:00
Ben Olden-Cooligan
0214e004ed Added dependency to NLog. 2013-07-07 15:20:35 -04:00
Ben Olden-Cooligan
d844cf6ea7 Removed temporary debugging stuff. 2013-07-07 15:05:16 -04:00
Ben Olden-Cooligan
2b31148833 Command line functional. Yay! 2013-07-07 15:04:08 -04:00
Ben Olden-Cooligan
a5e4cb9496 Removed unnecessary precompiler condition. 2013-07-07 13:24:28 -04:00
Ben Olden-Cooligan
fb1473676b Updated license headers, especially adding to new project. 2013-07-07 13:23:20 -04:00
Ben Olden-Cooligan
b4f8dd3505 Extracted some code from the Desktop form to a new ImageSaver type for reuseability in the console project. 2013-07-07 13:16:18 -04:00
Ben Olden-Cooligan
477f5bbbde Changed NAPS2.Console platform target to x86. 2013-07-07 12:29:57 -04:00
Ben Olden-Cooligan
4775859f0f Separated out console/automation stuff into a separate project, NAPS2.Console. 2013-07-07 12:24:29 -04:00
Ben Olden-Cooligan
61363fec70 Added basic command line logic to Program.cs. 2013-07-07 12:04:49 -04:00
Ben Olden-Cooligan
bee4d53ed1 Added reference to the CommandLineParser library. Created some argument specifications. 2013-07-07 11:22:54 -04:00
Ben Olden-Cooligan
6e4f712cc8 Changed the way image files are named to be simpler.
It used to be that images were always named like abc001.jpg, no matter how many images there are.
Now, if there is only 1 image, it's named like abc.jpg. Two images abc1.jpg and abc2.jpg. Ten images abc01.jpg, abc02.jpg, etc.
2013-07-07 10:54:25 -04:00
Ben Olden-Cooligan
df31f66139 Merge branch 'master' of bitbucket.org:cyanfish/naps2 2013-07-07 10:37:36 -04:00
Ben Olden-Cooligan
3c516bb7b4 Added new logic to name image files (e.g. only use abc001.jpg when necessary; prefer abc.jpg or abc1.jpj). 2013-07-07 10:37:29 -04:00
Ben Olden-Cooligan
08e95488c4 Merge branch 'master' of ssh://bitbucket.org/cyanfish/naps2
Conflicts:
	NAPS2/NAPS2.csproj
	NAPS2/Properties/Settings.Designer.cs
2013-07-07 10:34:13 -04:00
Ben Olden-Cooligan
06c244c2d5 Changed the framework target from 3.5CP to 4.0CP. Changed the platform target for Tests to x86 to be compatible with the change to the main project. 2013-07-07 10:10:11 -04:00
Ben Olden-Cooligan
2d95577103 Merge branch 'master' of bitbucket.org:cyanfish/naps2 2013-07-07 09:40:48 -04:00
Ben Olden-Cooligan
becac6cedb Fix for TWAIN on x64.
Changed build target from "Any CPU" to x86. This ensures compatibility with TWAIN and doesn't seem to cause any other issues.
2013-07-06 23:37:05 -04:00
Ben Olden-Cooligan
8c44dd84eb Fixed issue where an exception was throw when scanning using the native WIA UI.
Null reference for settingsExt when trying to scale the image. A simple null check fixed the issue.
2013-07-06 23:26:56 -04:00
Ben Olden-Cooligan
7c32a5e854 Fix for TWAIN issue with TwainApi constructor.
TwainApi(ScanSettings) was called instead of TwainApi(ScanSettings, IWin32Window).
Fixed by removing the single-argument constructor and adding the DialogParent argument to the call.
2013-07-06 23:21:57 -04:00