mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[loc] use a single rufus.loc as translator base
* Remove the need to maintain a new_translation.loc * Add a sed invocation to remove comments and unwanted stuff to generate a final embedded.loc * Note: sed is only invoked for MinGW. MS compilers still embed the unmodified rufus.loc. * Also fix a small bug when parsing the version.
This commit is contained in:
		
							parent
							
								
									c44fa3969d
								
							
						
					
					
						commit
						c544429606
					
				
					 25 changed files with 602 additions and 438 deletions
				
			
		
							
								
								
									
										15
									
								
								res/localization/Makefile.am
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								res/localization/Makefile.am
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| all-local: embedded.loc | ||||
| 
 | ||||
| BUILT_SOURCES = embedded.loc | ||||
| noinst_PROGRAMS = | ||||
| noinst_EXES = | ||||
| 
 | ||||
| pkg_v_sed = $(pkg_v_sed_$(V)) | ||||
| pkg_v_sed_ = $(pkg_v_sed_$(AM_DEFAULT_VERBOSITY)) | ||||
| pkg_v_sed_0 = @echo "  SED    $<"; | ||||
| 
 | ||||
| embedded.loc: rufus.loc | ||||
| 	$(pkg_v_sed)$(SED) -f embedded.sed $< > $@ | ||||
| 
 | ||||
| clean-local: | ||||
| 	-rm -rf embedded.loc | ||||
							
								
								
									
										312
									
								
								res/localization/Makefile.in
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										312
									
								
								res/localization/Makefile.in
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,312 @@ | |||
| # Makefile.in generated by automake 1.11.1 from Makefile.am.
 | ||||
| # @configure_input@
 | ||||
| 
 | ||||
| # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 | ||||
| # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
 | ||||
| # Inc.
 | ||||
| # This Makefile.in is free software; the Free Software Foundation
 | ||||
| # gives unlimited permission to copy and/or distribute it,
 | ||||
| # with or without modifications, as long as this notice is preserved.
 | ||||
| 
 | ||||
| # This program is distributed in the hope that it will be useful,
 | ||||
| # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 | ||||
| # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 | ||||
| # PARTICULAR PURPOSE.
 | ||||
| 
 | ||||
| @SET_MAKE@ | ||||
| 
 | ||||
| VPATH = @srcdir@ | ||||
| pkgdatadir = $(datadir)/@PACKAGE@ | ||||
| pkgincludedir = $(includedir)/@PACKAGE@ | ||||
| pkglibdir = $(libdir)/@PACKAGE@ | ||||
| pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||||
| am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||||
| install_sh_DATA = $(install_sh) -c -m 644 | ||||
| install_sh_PROGRAM = $(install_sh) -c | ||||
| install_sh_SCRIPT = $(install_sh) -c | ||||
| INSTALL_HEADER = $(INSTALL_DATA) | ||||
| transform = $(program_transform_name) | ||||
| NORMAL_INSTALL = : | ||||
| PRE_INSTALL = : | ||||
| POST_INSTALL = : | ||||
| NORMAL_UNINSTALL = : | ||||
| PRE_UNINSTALL = : | ||||
| POST_UNINSTALL = : | ||||
| noinst_PROGRAMS = | ||||
| subdir = res/localization | ||||
| DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am | ||||
| ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||||
| am__aclocal_m4_deps = $(top_srcdir)/configure.ac | ||||
| am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 | ||||
| 	$(ACLOCAL_M4) | ||||
| mkinstalldirs = $(install_sh) -d | ||||
| CONFIG_CLEAN_FILES = | ||||
| CONFIG_CLEAN_VPATH_FILES = | ||||
| PROGRAMS = $(noinst_PROGRAMS) | ||||
| depcomp = | ||||
| am__depfiles_maybe = | ||||
| AM_V_GEN = $(am__v_GEN_$(V)) | ||||
| am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||||
| am__v_GEN_0 = @echo "  GEN   " $@; | ||||
| AM_V_at = $(am__v_at_$(V)) | ||||
| am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||||
| am__v_at_0 = @ | ||||
| SOURCES = | ||||
| ACLOCAL = @ACLOCAL@ | ||||
| AMTAR = @AMTAR@ | ||||
| AM_CFLAGS = @AM_CFLAGS@ | ||||
| AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||||
| AM_LDFLAGS = @AM_LDFLAGS@ | ||||
| AUTOCONF = @AUTOCONF@ | ||||
| AUTOHEADER = @AUTOHEADER@ | ||||
| AUTOMAKE = @AUTOMAKE@ | ||||
| AWK = @AWK@ | ||||
| CC = @CC@ | ||||
| CFLAGS = @CFLAGS@ | ||||
| CPPFLAGS = @CPPFLAGS@ | ||||
| CYGPATH_W = @CYGPATH_W@ | ||||
| DEFS = @DEFS@ | ||||
| ECHO_C = @ECHO_C@ | ||||
| ECHO_N = @ECHO_N@ | ||||
| ECHO_T = @ECHO_T@ | ||||
| EXEEXT = @EXEEXT@ | ||||
| INSTALL = @INSTALL@ | ||||
| INSTALL_DATA = @INSTALL_DATA@ | ||||
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||||
| INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||||
| INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||||
| LDFLAGS = @LDFLAGS@ | ||||
| LIBOBJS = @LIBOBJS@ | ||||
| LIBS = @LIBS@ | ||||
| LTLIBOBJS = @LTLIBOBJS@ | ||||
| MAKEINFO = @MAKEINFO@ | ||||
| MKDIR_P = @MKDIR_P@ | ||||
| OBJEXT = @OBJEXT@ | ||||
| PACKAGE = @PACKAGE@ | ||||
| PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||||
| PACKAGE_NAME = @PACKAGE_NAME@ | ||||
| PACKAGE_STRING = @PACKAGE_STRING@ | ||||
| PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||||
| PACKAGE_URL = @PACKAGE_URL@ | ||||
| PACKAGE_VERSION = @PACKAGE_VERSION@ | ||||
| PATH_SEPARATOR = @PATH_SEPARATOR@ | ||||
| RANLIB = @RANLIB@ | ||||
| RM = @RM@ | ||||
| SED = @SED@ | ||||
| SET_MAKE = @SET_MAKE@ | ||||
| SHELL = @SHELL@ | ||||
| STRIP = @STRIP@ | ||||
| VERSION = @VERSION@ | ||||
| VISIBILITY_CFLAGS = @VISIBILITY_CFLAGS@ | ||||
| WINDRES = @WINDRES@ | ||||
| abs_builddir = @abs_builddir@ | ||||
| abs_srcdir = @abs_srcdir@ | ||||
| abs_top_builddir = @abs_top_builddir@ | ||||
| abs_top_srcdir = @abs_top_srcdir@ | ||||
| ac_ct_CC = @ac_ct_CC@ | ||||
| am__leading_dot = @am__leading_dot@ | ||||
| am__tar = @am__tar@ | ||||
| am__untar = @am__untar@ | ||||
| bindir = @bindir@ | ||||
| build_alias = @build_alias@ | ||||
| builddir = @builddir@ | ||||
| datadir = @datadir@ | ||||
| datarootdir = @datarootdir@ | ||||
| docdir = @docdir@ | ||||
| dvidir = @dvidir@ | ||||
| exec_prefix = @exec_prefix@ | ||||
| host_alias = @host_alias@ | ||||
| htmldir = @htmldir@ | ||||
| includedir = @includedir@ | ||||
| infodir = @infodir@ | ||||
| install_sh = @install_sh@ | ||||
| libdir = @libdir@ | ||||
| libexecdir = @libexecdir@ | ||||
| localedir = @localedir@ | ||||
| localstatedir = @localstatedir@ | ||||
| mandir = @mandir@ | ||||
| mkdir_p = @mkdir_p@ | ||||
| oldincludedir = @oldincludedir@ | ||||
| pdfdir = @pdfdir@ | ||||
| prefix = @prefix@ | ||||
| program_transform_name = @program_transform_name@ | ||||
| psdir = @psdir@ | ||||
| sbindir = @sbindir@ | ||||
| sharedstatedir = @sharedstatedir@ | ||||
| srcdir = @srcdir@ | ||||
| sysconfdir = @sysconfdir@ | ||||
| target_alias = @target_alias@ | ||||
| top_build_prefix = @top_build_prefix@ | ||||
| top_builddir = @top_builddir@ | ||||
| top_srcdir = @top_srcdir@ | ||||
| BUILT_SOURCES = embedded.loc | ||||
| noinst_EXES =  | ||||
| pkg_v_sed = $(pkg_v_sed_$(V)) | ||||
| pkg_v_sed_ = $(pkg_v_sed_$(AM_DEFAULT_VERBOSITY)) | ||||
| pkg_v_sed_0 = @echo "  SED    $<"; | ||||
| all: $(BUILT_SOURCES) | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) all-am | ||||
| 
 | ||||
| .SUFFIXES: | ||||
| $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps) | ||||
| 	@for dep in $?; do \
 | ||||
| 	  case '$(am__configure_deps)' in \
 | ||||
| 	    *$$dep*) \
 | ||||
| 	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 | ||||
| 	        && { if test -f $@; then exit 0; else break; fi; }; \
 | ||||
| 	      exit 1;; \
 | ||||
| 	  esac; \
 | ||||
| 	done; \
 | ||||
| 	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps res/localization/Makefile'; \
 | ||||
| 	$(am__cd) $(top_srcdir) && \
 | ||||
| 	  $(AUTOMAKE) --foreign --ignore-deps res/localization/Makefile | ||||
| .PRECIOUS: Makefile | ||||
| Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||||
| 	@case '$?' in \
 | ||||
| 	  *config.status*) \
 | ||||
| 	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 | ||||
| 	  *) \
 | ||||
| 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 | ||||
| 	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 | ||||
| 	esac; | ||||
| 
 | ||||
| $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| 
 | ||||
| $(top_srcdir)/configure:  $(am__configure_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| $(ACLOCAL_M4):  $(am__aclocal_m4_deps) | ||||
| 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh | ||||
| $(am__aclocal_m4_deps): | ||||
| 
 | ||||
| clean-noinstPROGRAMS: | ||||
| 	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) | ||||
| tags: TAGS | ||||
| TAGS: | ||||
| 
 | ||||
| ctags: CTAGS | ||||
| CTAGS: | ||||
| 
 | ||||
| check-am: all-am | ||||
| check: $(BUILT_SOURCES) | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) check-am | ||||
| all-am: Makefile $(PROGRAMS) all-local | ||||
| installdirs: | ||||
| install: $(BUILT_SOURCES) | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) install-am | ||||
| install-exec: install-exec-am | ||||
| install-data: install-data-am | ||||
| uninstall: uninstall-am | ||||
| 
 | ||||
| install-am: all-am | ||||
| 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||||
| 
 | ||||
| installcheck: installcheck-am | ||||
| install-strip: | ||||
| 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 | ||||
| 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 | ||||
| 	  `test -z '$(STRIP)' || \
 | ||||
| 	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||||
| mostlyclean-generic: | ||||
| 
 | ||||
| clean-generic: | ||||
| 
 | ||||
| distclean-generic: | ||||
| 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||||
| 	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||||
| 
 | ||||
| maintainer-clean-generic: | ||||
| 	@echo "This command is intended for maintainers to use" | ||||
| 	@echo "it deletes files that may require special tools to rebuild." | ||||
| 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) | ||||
| clean: clean-am | ||||
| 
 | ||||
| clean-am: clean-generic clean-local clean-noinstPROGRAMS \ | ||||
| 	mostlyclean-am | ||||
| 
 | ||||
| distclean: distclean-am | ||||
| 	-rm -f Makefile | ||||
| distclean-am: clean-am distclean-generic | ||||
| 
 | ||||
| dvi: dvi-am | ||||
| 
 | ||||
| dvi-am: | ||||
| 
 | ||||
| html: html-am | ||||
| 
 | ||||
| html-am: | ||||
| 
 | ||||
| info: info-am | ||||
| 
 | ||||
| info-am: | ||||
| 
 | ||||
| install-data-am: | ||||
| 
 | ||||
| install-dvi: install-dvi-am | ||||
| 
 | ||||
| install-dvi-am: | ||||
| 
 | ||||
| install-exec-am: | ||||
| 
 | ||||
| install-html: install-html-am | ||||
| 
 | ||||
| install-html-am: | ||||
| 
 | ||||
| install-info: install-info-am | ||||
| 
 | ||||
| install-info-am: | ||||
| 
 | ||||
| install-man: | ||||
| 
 | ||||
| install-pdf: install-pdf-am | ||||
| 
 | ||||
| install-pdf-am: | ||||
| 
 | ||||
| install-ps: install-ps-am | ||||
| 
 | ||||
| install-ps-am: | ||||
| 
 | ||||
| installcheck-am: | ||||
| 
 | ||||
| maintainer-clean: maintainer-clean-am | ||||
| 	-rm -f Makefile | ||||
| maintainer-clean-am: distclean-am maintainer-clean-generic | ||||
| 
 | ||||
| mostlyclean: mostlyclean-am | ||||
| 
 | ||||
| mostlyclean-am: mostlyclean-generic | ||||
| 
 | ||||
| pdf: pdf-am | ||||
| 
 | ||||
| pdf-am: | ||||
| 
 | ||||
| ps: ps-am | ||||
| 
 | ||||
| ps-am: | ||||
| 
 | ||||
| uninstall-am: | ||||
| 
 | ||||
| .MAKE: all check install install-am install-strip | ||||
| 
 | ||||
| .PHONY: all all-am all-local check check-am clean clean-generic \ | ||||
| 	clean-local clean-noinstPROGRAMS distclean distclean-generic \
 | ||||
| 	dvi dvi-am html html-am info info-am install install-am \
 | ||||
| 	install-data install-data-am install-dvi install-dvi-am \
 | ||||
| 	install-exec install-exec-am install-html install-html-am \
 | ||||
| 	install-info install-info-am install-man install-pdf \
 | ||||
| 	install-pdf-am install-ps install-ps-am install-strip \
 | ||||
| 	installcheck installcheck-am installdirs maintainer-clean \
 | ||||
| 	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
 | ||||
| 	pdf-am ps ps-am uninstall uninstall-am | ||||
| 
 | ||||
| all-local: embedded.loc | ||||
| 
 | ||||
| embedded.loc: rufus.loc | ||||
| 	$(pkg_v_sed)$(SED) -f embedded.sed $< > $@ | ||||
| 
 | ||||
| clean-local: | ||||
| 	-rm -rf embedded.loc | ||||
| 
 | ||||
| # Tell versions [3.59,3.63) of GNU make to not export all variables.
 | ||||
| # Otherwise a system limit (for SysV at least) may be exceeded.
 | ||||
| .NOEXPORT: | ||||
							
								
								
									
										17
									
								
								res/localization/embedded.sed
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								res/localization/embedded.sed
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| # This sed script removes everything we don't need from rufus.loc, for embedding. | ||||
| 
 | ||||
| # remove comments (aggressively!) | ||||
| s/#.*$// | ||||
| 
 | ||||
| # remove empty lines | ||||
| /^$/d | ||||
| 
 | ||||
| # remove trailing whitespaces | ||||
| s/[ \t]*$// | ||||
| 
 | ||||
| # remove the UI controls for "en-US" as they are just here for translators | ||||
| # 1,300 means we only do this for the the first 300 lines | ||||
| 1,300 {/g IDD_DIALOG/,/g IDD_MESSAGES/{/g IDD_MESSAGES/!d}} | ||||
| 
 | ||||
| # output file *MUST* be CR/LF | ||||
| s/$/\r/ | ||||
|  | @ -1,414 +0,0 @@ | |||
| # This file should be saved as UTF-8, no-BOM | ||||
| 
 | ||||
| ######################## HOW TO ADD A NEW TRANSLATION ########################### | ||||
| # For a more comprehensive set of instructions, please see the *FULL* Localization guide at: | ||||
| # https://github.com/pbatard/rufus/wiki/Localization | ||||
| # | ||||
| # 1. Rename this file as 'rufus.loc' and save it in the same directory where you have the Rufus executable. | ||||
| # 2. Start Rufus, and check the log a line starting with 'LCID' (eg. LCID 0x1809). | ||||
| # 3. Edit the 'l' line below and: | ||||
| #    - set the IETF language tag (in quotes) for your language, eg: "en-US", "fr-FR", "zh-CN" | ||||
| #      See http://en.wikipedia.org/wiki/IETF_language_tag as well as the table on page 9 of | ||||
| #      http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf | ||||
| #    - set the name under which you want your language to appear in the (future) language selection menu. | ||||
| #      As this is the name users will see, it should be in your language (eg. "正體字" rather than "Chinese") | ||||
| #    - replace "0x1234" with the LCID code you got in step 2. You should also look at the table on page 9 of | ||||
| #      the PDF above to add all the LCID codes your translation should cover. Separate these codes with a comma. | ||||
| # 4. Translate the messages that appear below into your language. The 'g' lines indicate the group a translated | ||||
| #    element belongs to. You shouldn't have to modify them. | ||||
| # 5. (Re)launch Rufus. If a 'rufus.loc' file is found in the current directory, it will be used over the one | ||||
| #    embedded in the application. Since there is only one translation in this file, it will be used by default | ||||
| # 6. Repeat steps 4 & 5 until you're happy with that translated elements. Note that you MUST restart Rufus every | ||||
| #    time you change your .loc file as there is no reload option. | ||||
| # 7. Once you are satisfied with your translation, you should pick up the official rufus.loc from: | ||||
| #    https://github.com/pbatard/rufus/raw/master/res/localization/rufus.loc | ||||
| #    You should then add your translation at the end of it, and confirm that it is still picked as the default | ||||
| #    for your system  You can also force the use of a translation by passing the option -l when starting Rufus. | ||||
| #    For instance, to have the "zz_ZZ" translation below apply, you could use either one of: | ||||
| #      rufus.exe -l zz-ZZ | ||||
| #      rufus.exe -l 0x1234 | ||||
| #      rufus.exe -l 0xabcd | ||||
| # 8. If you need to resize a control or a dialog to fid the translated text, use the 'm' (Move) or 's' (reSize) | ||||
| #    options. For an example of how these commands work, see how they are use in the French translation at: | ||||
| #    https://github.com/pbatard/rufus/blob/master/res/localization/rufus.loc | ||||
| # | ||||
| # Tips: | ||||
| # - Please make sure that you edit the language include *your* name in MSG_176. It will be displayed in the | ||||
| #   About dialog and I want to give you credit for your work! | ||||
| # - Use Alt-R in Rufus to delete the registry keys on exit, which will reset the update check policy. This | ||||
| #   will allow you to see your translation for the initial prompt about application updates. | ||||
| # - I strongly recommend installing and using DbgView to check for translation errors, as you will get more | ||||
| #   information about how Rufus initallly parses the translation file plus reports of any issue found (with | ||||
| #   the line number). Download DbgView from: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx | ||||
| # - As shown below, you can break a long message over multiple lines, as long as these fragments begin and end | ||||
| #   with a double quote ("). Also be careful to keep the special symbols such as %d, %s, \\b, \",  \n. Time | ||||
| #   permitting, I'll try to provide examples of the output that these lines generate. | ||||
| # - A more comprehensive guide WILL be available at https://github.com/pbatard/rufus/wiki/Localization | ||||
| #   This early set of instructions is provided only for impatient translators! ;) | ||||
| 
 | ||||
| ################################################################################ | ||||
| l "zz-ZZ" "LangName_EN (LangName_ZZ)" 0x1234, 0xabcd | ||||
| # See http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx or | ||||
| # http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf | ||||
| # for the LCID (0x####) codes you should use | ||||
| v 1.0.2 | ||||
| 
 | ||||
| # Main dialog | ||||
| g IDD_DIALOG | ||||
| t IDS_DEVICE_TXT "Device" | ||||
| t IDS_PARTITION_TYPE_TXT "Partition scheme and target system type" | ||||
| t IDS_FILESYSTEM_TXT "File system" | ||||
| t IDS_CLUSTERSIZE_TXT "Cluster size" | ||||
| t IDS_LABEL_TXT "New volume label" | ||||
| t IDS_FORMAT_OPTIONS_GRP "Format Options       " | ||||
| t IDC_BADBLOCKS "Check device for bad blocks:" | ||||
| t IDC_QUICKFORMAT "Quick format" | ||||
| t IDC_BOOT "Create a bootable disk using:" | ||||
| t IDC_SET_ICON "Create extended label and icon files" | ||||
| t IDC_ABOUT "About..." | ||||
| t IDC_LOG "Log" | ||||
| t IDCANCEL "Close" | ||||
| t IDC_START "Start" | ||||
| t IDS_ADVANCED_OPTIONS_GRP "Advanced Options" | ||||
| t IDC_ENABLE_FIXED_DISKS "List non removable or unpartitioned USB disks" | ||||
| t IDC_EXTRA_PARTITION "Add fixes for old BIOSes (extra partition, align, etc.)" | ||||
| t IDC_RUFUS_MBR "Use Rufus MBR with BIOS ID:" | ||||
| 
 | ||||
| # About dialog | ||||
| g IDD_ABOUTBOX | ||||
| t IDD_ABOUTBOX "About Rufus" | ||||
| t IDC_ABOUT_LICENSE "License" | ||||
| t IDC_ABOUT_UPDATES "Updates" | ||||
| 
 | ||||
| # About -> License dialog | ||||
| g IDD_LICENSE | ||||
| t IDD_LICENSE "Rufus License" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Notifications. You can trigger one of these by using Alt-R and re-launching Rufus | ||||
| g IDD_NOTIFICATION | ||||
| t IDC_MORE_INFO "More information" | ||||
| t IDYES "Yes" | ||||
| t IDNO "No" | ||||
| 
 | ||||
| # Log dialog | ||||
| g IDD_LOG | ||||
| t IDD_LOG "Log" | ||||
| t IDC_LOG_CLEAR "Clear Log" | ||||
| t IDC_LOG_SAVE "Save Log" | ||||
| t IDCANCEL "Close Log" | ||||
| 
 | ||||
| # About -> Updates | ||||
| g IDD_UPDATE_POLICY | ||||
| t IDD_UPDATE_POLICY "Update policy and settings" | ||||
| t IDS_UPDATE_SETTINGS_GRP "Settings" | ||||
| t IDS_UPDATE_FREQUENCY_TXT "Check for updates:" | ||||
| t IDS_INCLUDE_BETAS_TXT "Include beta versions:" | ||||
| t IDC_CHECK_NOW "Check Now" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Dialog that appears when a new version is available | ||||
| g IDD_NEW_VERSION | ||||
| t IDD_NEW_VERSION "Check For Updates - Rufus" | ||||
| t IDS_NEW_VERSION_AVAIL_TXT "A newer version is available. Please download the latest version!" | ||||
| t IDC_WEBSITE "Click here to go to the website" | ||||
| t IDS_NEW_VERSION_NOTES_GRP "Release Notes" | ||||
| t IDS_NEW_VERSION_DOWNLOAD_GRP "Download" | ||||
| t IDC_DOWNLOAD "Download" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Dialog that appears when scanning/extracting ISO files | ||||
| g IDD_ISO_EXTRACT | ||||
| t IDD_ISO_EXTRACT "Copying ISO files..." | ||||
| t IDC_ISO_FILENAME "Opening ISO image - please wait..." | ||||
| t IDC_ISO_ABORT "Cancel" | ||||
| 
 | ||||
| # Messages used throughout the application | ||||
| g IDD_MESSAGES | ||||
| t MSG_001 "Other instance detected" | ||||
| t MSG_002 "Another Rufus application is running.\n" | ||||
| 	"Please close the first application before running another one." | ||||
| t MSG_003 "WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n" | ||||
| 	"To continue with this operation, click OK. To quit click CANCEL." | ||||
| t MSG_004 "Rufus update policy" | ||||
| t MSG_005 "Do you want to allow Rufus to check for application updates online?" | ||||
| # Must be the same as IDD_DIALOG:IDCANCEL (i.e. "Close" - I know it's confusing) | ||||
| t MSG_006 "Close" | ||||
| t MSG_007 "Cancel" | ||||
| t MSG_008 "Yes" | ||||
| t MSG_009 "No" | ||||
| t MSG_010 "Bad blocks found" | ||||
| t MSG_011 "Check completed: %u bad block(s) found\n" | ||||
| 	"  %d read error(s)\n  %d write error(s)\n  %d corruption error(s)\n" | ||||
| # The following will contain the formatted message above as well as the name of the bad blocks logfile | ||||
| t MSG_012 "%s\nA more detailed report can be found in:\n%s" | ||||
| t MSG_013 "Disabled" | ||||
| t MSG_014 "Daily" | ||||
| t MSG_015 "Weekly" | ||||
| t MSG_016 "Monthly" | ||||
| t MSG_017 "Custom" | ||||
| t MSG_018 "Your version: %d.%d.%d (Build %d)" | ||||
| t MSG_019 "Latest version: %d.%d.%d (Build %d)" | ||||
| # *Short* size names. These can be used as suffixes | ||||
| t MSG_020 "bytes" | ||||
| t MSG_021 "KB" | ||||
| t MSG_022 "MB" | ||||
| t MSG_023 "GB" | ||||
| t MSG_024 "TB" | ||||
| t MSG_025 "PB" | ||||
| # *Long* size names, as they are displayed for the cluster size in the MS format dialog. | ||||
| t MSG_026 "bytes"	# Yes, this is a repeat from MSG_020 | ||||
| t MSG_027 "kilobytes" | ||||
| t MSG_028 "megabytes" | ||||
| t MSG_029 "Default" | ||||
| # The following gets appended to the file system, cluster size, etc. | ||||
| t MSG_030 "%s (Default)" | ||||
| t MSG_031 "%s partition scheme for BIOS computer" | ||||
| t MSG_032 "%s partition scheme for UEFI computer" | ||||
| t MSG_033 "%s partition scheme for BIOS or UEFI computers" | ||||
| # Number of bad block check passes (singular for 1 pass, plural for 2 or more passes) | ||||
| t MSG_034 "%d Pass" | ||||
| t MSG_035 "%d Passes" | ||||
| t MSG_036 "ISO Image" | ||||
| t MSG_037 "Application" | ||||
| t MSG_038 "Abort" | ||||
| t MSG_039 "Launch" | ||||
| t MSG_040 "Download" | ||||
| t MSG_041 "Operation cancelled by the user" | ||||
| t MSG_042 "Error" | ||||
| t MSG_043 "Error: %s" | ||||
| t MSG_044 "File download" | ||||
| t MSG_045 "USB Storage Device (Generic)" | ||||
| t MSG_046 "%s (Disk %d)" | ||||
| t MSG_047 "%s (%c:)" | ||||
| t MSG_048 "Rufus - Flushing buffers" | ||||
| t MSG_049 "Rufus - Cancellation" | ||||
| 
 | ||||
| # Error messages | ||||
| t MSG_050 "Success." | ||||
| t MSG_051 "Undetermined error while formatting." | ||||
| t MSG_052 "Cannot use the selected file system for this media." | ||||
| t MSG_053 "Access to the device is denied." | ||||
| t MSG_054 "Media is write protected." | ||||
| t MSG_055 "The device is in use by another process. " | ||||
| 	"Please close any other process that may be accessing the device." | ||||
| t MSG_056 "Quick format is not available for this device." | ||||
| t MSG_057 "The volume label is invalid." | ||||
| t MSG_058 "The device handle is invalid." | ||||
| t MSG_059 "The selected cluster size is not valid for this device." | ||||
| t MSG_060 "The volume size is invalid." | ||||
| t MSG_061 "Please insert a removable media in drive." | ||||
| t MSG_062 "An unsupported command was received." | ||||
| t MSG_063 "Memory allocation error." | ||||
| t MSG_064 "Read error." | ||||
| t MSG_065 "Write error." | ||||
| t MSG_066 "Installation failure" | ||||
| t MSG_067 "Could not open media. It may be in use by another process. " | ||||
| 	"Please re-plug the media and try again." | ||||
| t MSG_068 "Error while partitioning drive." | ||||
| t MSG_069 "Could not copy files to target drive." | ||||
| t MSG_070 "Cancelled by user." | ||||
| # See http://en.wikipedia.org/wiki/Thread_%28computing%29 | ||||
| t MSG_071 "Unable to start thread." | ||||
| t MSG_072 "Bad blocks check didn't complete." | ||||
| t MSG_073 "ISO image scan failure." | ||||
| t MSG_074 "ISO image extraction failure." | ||||
| t MSG_075 "Unable to remount volume." | ||||
| t MSG_076 "Unable to patch/setup files for boot." | ||||
| t MSG_077 "Unable to assign a drive letter." | ||||
| t MSG_078 "Can't mount GUID volume." | ||||
| 
 | ||||
| t MSG_080 "Rufus detected that Windows is still flushing its internal buffers onto the USB device.\n\n" | ||||
| 	"Depending on the speed of your USB device, this operation may take a long time to complete, " | ||||
| 	"especially for large files.\n\nWe recommend that you let Windows finish, to avoid corruption. " | ||||
| 	"But if you grow tired of waiting, you can just unplug the device..." | ||||
| t MSG_081 "Unsupported ISO" | ||||
| t MSG_082 "This version of Rufus only supports bootable ISOs based on bootmgr/WinPE, isolinux or EFI.\n" | ||||
| 	"This ISO doesn't appear to use either..." | ||||
| t MSG_083 "Replace %s?" | ||||
| t MSG_084 "This ISO image seems to use an obsolete version of '%s'.\n" | ||||
| 	"Boot menus may not display properly because of this.\n\n" | ||||
| 	"A newer version can be downloaded by Rufus to fix this issue:\n" | ||||
| 	"- Choose 'Yes' to connect to the internet and download the file\n" | ||||
| 	"- Choose 'No' to leave the existing ISO file unmodified\n" | ||||
| 	"If you don't know what to do, you should select 'Yes'.\n\n" | ||||
| 	"Note: The new file will be downloaded in the current directory and once a " | ||||
| 	"'%s' exists there, it will be reused automatically." | ||||
| t MSG_085 "Downloading %s" | ||||
| t MSG_086 "No ISO image selected" | ||||
| # The content between the quotes below (\"Create a bootable disk\") should match | ||||
| # the beginning of the IDC_BOOT text | ||||
| t MSG_087 "Please click on the disc button to select a bootable ISO, " | ||||
| 	"or uncheck the \"Create a bootable disk...\" checkbox." | ||||
| t MSG_088 "ISO too big" | ||||
| t MSG_089 "This ISO image is too big for the selected target." | ||||
| t MSG_090 "Unsupported ISO" | ||||
| t MSG_091 "When using UEFI Target Type, only EFI bootable ISO images are supported. " | ||||
| 	"Please select an EFI bootable ISO or set the Target Type to BIOS." | ||||
| t MSG_092 "Unsupported filesystem" | ||||
| t MSG_093 "When using UEFI Target Type, only FAT/FAT32 is supported. " | ||||
| 	"Please select FAT/FAT32 as the File system or set the Target Type to BIOS." | ||||
| t MSG_094 "Non UEFI compatible ISO" | ||||
| t MSG_095 "This ISO image contains a file larger than 4 GB and cannot be used to create an EFI bootable USB.\n" | ||||
| 	"This is a limitation of UEFI/FAT32, not Rufus." | ||||
| t MSG_096 "Only FAT/FAT32 is supported for this type of ISO. Please select FAT/FAT32 as the File system." | ||||
| t MSG_097 "Only 'bootmgr' or 'WinPE' based ISO images can currently be used with NTFS." | ||||
| t MSG_098 "FAT/FAT32 can only be used for isolinux based ISO images or when the Target Type is UEFI." | ||||
| t MSG_099 "Filesystem limitation" | ||||
| t MSG_100 "This ISO image contains a file larger than 4GB file, which is more than the " | ||||
| 	"maximum size allowed for a FAT or FAT32 file system." | ||||
| t MSG_101 "Missing WIM support" | ||||
| t MSG_102 "Your platform cannot extract files from WIM archives. WIM extraction " | ||||
| 	"is required to create EFI bootable Windows 7 and Windows Vista USB drives. You can fix that " | ||||
| 	"by installing a recent version of 7-Zip.\nDo you want to visit the 7-zip download page?" | ||||
| t MSG_103 "Download %s?" | ||||
| t MSG_104 "Syslinux v5.0 or later requires a '%s' file to be installed.\n" | ||||
| 	"Because this file is more than 100 KB in size, and always present on Syslinux v5+ ISO images, " | ||||
| 	"it is not embedded in Rufus.\n\nRufus can download the missing file for you:\n" | ||||
| 	"- Select 'Yes' to connect to the internet and download the file\n" | ||||
| 	"- Select 'No' if you want to manually copy this file on the drive later\n\n" | ||||
| 	"Note: The file will be downloaded in the current directory and once a " | ||||
| 	"'%s' exists there, it will be reused automatically.\n" | ||||
| t MSG_105 "Cancelling may leave the device in an UNUSABLE state.\n" | ||||
| 	"If you are sure you want to cancel, click YES. Otherwise, click NO." | ||||
| t MSG_106 "Please select folder" | ||||
| t MSG_107 "All files" | ||||
| t MSG_108 "Rufus log" | ||||
| t MSG_109 "0x%02X (Disk %d)" | ||||
| # "Cluster size" below should be the same as the label for IDS_CLUSTERSIZE_TXT | ||||
| # "kilobytes" should be the same as in MSG_027 | ||||
| t MSG_110 "MS-DOS cannot boot from a drive using a 64 kilobytes Cluster size.\n" | ||||
| 	"Please change the Cluster size or use FreeDOS." | ||||
| t MSG_111 "Incompatible Cluster size" | ||||
| # "%d:%02d" below is a duration (mins:secs) | ||||
| t MSG_112 "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting " | ||||
| 	"duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!" | ||||
| t MSG_113 "Large UDF volume" | ||||
| 
 | ||||
| # Tootips | ||||
| # Partition Scheme and Target Type | ||||
| t MSG_150 "Usually the safest choice. If you have an UEFI computer and want to install " | ||||
| 	"an OS in EFI mode however, you should select one of the other options" | ||||
| t MSG_151 "Use this if you want to install an OS in EFI mode, but need to access " | ||||
| 	"the USB content from Windows XP" | ||||
| t MSG_152 "The preferred option to install an OS in EFI mode and when " | ||||
| 	"USB access is not required for Windows XP" | ||||
| t MSG_153 "Test pattern: 0x%02X" | ||||
| t MSG_154 "Test pattern: 0x%02X, 0x%02X" | ||||
| t MSG_155 "Test pattern: 0x%02X, 0x%02X, 0x%02X" | ||||
| t MSG_156 "Test pattern: 0x%02X, 0x%02X, 0x%02X, 0x%02X" | ||||
| t MSG_157 "Sets the target filesystem" | ||||
| t MSG_158 "Minimum size that a block of data will occupy in the filesystem" | ||||
| t MSG_159 "Use this field to set the drive label\nInternational characters are accepted" | ||||
| t MSG_160 "Toggle advanced options" | ||||
| t MSG_161 "Check the device for bad blocks using a test pattern" | ||||
| t MSG_162 "Uncheck this box to use the \"slow\" format method" | ||||
| t MSG_163 "Check this box to make the USB drive bootable" | ||||
| t MSG_164 "Method that will be used to make the drive bootable" | ||||
| t MSG_165 "Click to select an ISO..." | ||||
| t MSG_166 "Check this box to allow the display of international labels " | ||||
| 	"and set a device icon (creates an autorun.inf)" | ||||
| t MSG_167 "Install an MBR that allows boot selection and can masquerade the BIOS USB drive ID" | ||||
| t MSG_168 "Try to masquerade first bootable USB drive (usually 0x80) as a different disk.\n" | ||||
| 	"This should only be necessary if you install Windows XP and have more than one disk" | ||||
| t MSG_169 "Create an extra hidden partition and try to align partitions boundaries.\n" | ||||
| 	"This can improve boot detection for older BIOSes" | ||||
| t MSG_170 "Enable detection for disks not normally detected by Rufus. USE AT YOUR OWN RISKS!!!" | ||||
| t MSG_171 "Start the formatting operation.\nThis will DESTROY any data on the target!" | ||||
| t MSG_172 "Licensing information and credits" | ||||
| t MSG_173 "Click to select..." | ||||
| # The following will appear in the about dialog | ||||
| t MSG_174 "Rufus - The Reliable USB Formatting Utility" | ||||
| t MSG_175 "Version %d.%d.%d (Build %d)" | ||||
| t MSG_176 "English translation: Pete Batard <mailto:pete@akeo.ie>" | ||||
| t MSG_177 "Report bugs or request enhancements at:" | ||||
| t MSG_178 "Additional Copyrights:" | ||||
| t MSG_179 "Update Policy:" | ||||
| t MSG_180 "If you choose to allow this program to check for application updates, " | ||||
| 	"you agree that the following information may be collected on our server(s):" | ||||
| t MSG_181 "Your operating system's architecture and version" | ||||
| t MSG_182 "The version of the application you use" | ||||
| t MSG_183 "Your IP address" | ||||
| t MSG_184 "For the purpose of generating private usage statistics, we may keep the information collected, " | ||||
| 	"\\b for at most a year\\b0 . However, we will not willingly disclose any of this individual data to third parties." | ||||
| t MSG_185 "Update Process:" | ||||
| t MSG_186 "Rufus does not install or run background services, therefore update checks are performed only when the main application is running.\\line\n" | ||||
| 	"Internet access is of course required when checking for updates." | ||||
| 
 | ||||
| # Status messages - these messages will appear on the status bar | ||||
| t MSG_201 "Cancelling - Please wait..." | ||||
| t MSG_202 "Scanning ISO image..." | ||||
| t MSG_203 "Failed to scan ISO image" | ||||
| # Parameter: the name of an obsolete Syslinux .c32 module. eg: "Obsolete vesamenu.c32 detected" | ||||
| t MSG_204 "Obsolete %s detected" | ||||
| # Display the name of the ISO selected. eg: "Using ISO: en_win7_x64_sp1.iso" | ||||
| t MSG_205 "Using ISO: %s" | ||||
| # Typically "Missing ldlinux.c32 file" | ||||
| t MSG_206 "Missing %s file" | ||||
| # The name proposed by Windows' Computer Management -> Disk Management when you try to format a drive | ||||
| # with an empty label. See http://rufus.akeo.ie/pics/default_name.png | ||||
| t MSG_207 "New Volume" | ||||
| # Same message, once for singular and plural ("1 device found", "2 devices found") | ||||
| t MSG_208 "%d device found" | ||||
| t MSG_209 "%d devices found" | ||||
| t MSG_210 "DONE." | ||||
| t MSG_211 "Cancelled." | ||||
| t MSG_212 "FAILED." | ||||
| # Used when a new update has been downloaded and lauched | ||||
| t MSG_213 "Launching new application..." | ||||
| t MSG_214 "Failed to launch new application" | ||||
| # Open/Save file | ||||
| t MSG_215 "Opened %s" | ||||
| t MSG_216 "Saved %s" | ||||
| # Formatting status (make sure you use a double % to print the percent sign) | ||||
| t MSG_217 "Formatting: %0.1f%% completed" | ||||
| t MSG_218 "Creating file system: Task %d/%d completed" | ||||
| t MSG_219 "NTFS Fixup: %d%% completed" | ||||
| # Parameter: the file system and an estimated duration in mins and secs. | ||||
| # eg. "Formatting (UDF) - Estimated duration 3:21..." | ||||
| # NB: if "estimated duration" is too long, just use "estimated" or an abbreviation | ||||
| t MSG_220 "Formatting (%s) - estimated duration %d:%02d..." | ||||
| t MSG_221 "Setting Label (This may take while)..." | ||||
| # Parameter: the file system. eg. "Formatting (NTFS)..." | ||||
| t MSG_222 "Formatting (%s)..." | ||||
| t MSG_223 "NTFS Fixup (Checkdisk)..." | ||||
| t MSG_224 "Clearing MBR/PBR/GPT structures..." | ||||
| t MSG_225 "Requesting disk access..." | ||||
| t MSG_226 "Analyzing existing boot records..." | ||||
| t MSG_227 "Closing existing volume..." | ||||
| t MSG_228 "Writing master boot record..." | ||||
| t MSG_229 "Writing partition boot record..." | ||||
| t MSG_230 "Copying DOS files..." | ||||
| t MSG_231 "Copying ISO files..." | ||||
| t MSG_232 "Win7 EFI boot setup (this may take a while)..." | ||||
| t MSG_233 "Finalizing, please wait..." | ||||
| # Takes the Syslinux version as paramete. eg. "Installing Syslinux v5..." | ||||
| t MSG_234 "Installing Syslinux v%d..." | ||||
| # Bad blocks status. eg: "Bad Blocks: PASS 1/2 - 12.34% (0/0/1 errors)" | ||||
| t MSG_235 "Bad Blocks: PASS %d/%d - %0.2f%% (%d/%d/%d errors)" | ||||
| t MSG_236 "Bad Blocks: Testing with random pattern" | ||||
| t MSG_237 "Bad Blocks: Testing with pattern 0x%02X" | ||||
| # eg. "Partitioning (MBR)..." | ||||
| t MSG_238 "Partitioning (%s)..." | ||||
| t MSG_239 "Deleting partitions..." | ||||
| t MSG_240 "Downloading %s: Connecting..." | ||||
| t MSG_241 "Downloading: %0.1f%%" | ||||
| t MSG_242 "Failed to download file." | ||||
| t MSG_243 "Checking for Rufus updates..." | ||||
| t MSG_244 "Updates: Unable to connect to the internet" | ||||
| t MSG_245 "Updates: Unable to acces version data" | ||||
| t MSG_246 "A new version of Rufus is available!" | ||||
| t MSG_247 "No new version of Rufus was found" | ||||
| t MSG_248 "Application registry keys successfully deleted" | ||||
| t MSG_249 "Failed to delete application registry keys" | ||||
| # eg. "Fixed disk detection enabled" "ISO size check disabled" | ||||
| t MSG_250 "%s enabled" | ||||
| t MSG_251 "%s disabled" | ||||
| t MSG_252 "Size checks" | ||||
| t MSG_253 "Fixed disks detection" | ||||
| t MSG_254 "Force large FAT32 formatting" | ||||
| t MSG_255 "NoDriveTypeAutorun will be deleted on exit" | ||||
| t MSG_256 "Fake drive detection" | ||||
| t MSG_257 "Joliet support" | ||||
| t MSG_258 "Rock Ridge support" | ||||
| t MSG_259 "Force update" | ||||
|  | @ -1,8 +1,134 @@ | |||
| # This file should be saved as UTF-8, no-BOM | ||||
| # This file should be saved as UTF-8, no-BOM, with CR/LF | ||||
| 
 | ||||
| ######################## HOW TO ADD A NEW TRANSLATION ########################### | ||||
| # For a more comprehensive set of instructions, please see the *FULL* Localization guide at: | ||||
| # https://github.com/pbatard/rufus/wiki/Localization | ||||
| # | ||||
| # 0. Download the latest Rufus executable, start it and check the log for a line starting with 'LCID' | ||||
| #    (eg. LCID 0x1809). | ||||
| # 1. Save this file in the same directory where you have the Rufus executable. | ||||
| # 2. Copy the lines between ### TRANSLATOR START COPY ### and ### TRANSLATOR END COPY ### and paste them at | ||||
| #    the end of the file. | ||||
| # 3. Edit the 'l' line in the section you copied and: | ||||
| #    - replace the "en-US" IETF language tag for your language, eg: "fr-FR", "zh-CN". | ||||
| #      See http://en.wikipedia.org/wiki/IETF_language_tag as well as the table on page 9 of | ||||
| #      http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf | ||||
| #    - set the name of your language first in English and then, in parenthesis, in your own language. | ||||
| #      eg: "Chinese Simplified (简体中文)" | ||||
| #    - remove the end of the line starting with 0x0409 and replaced it with the LCID code you got in step 0. | ||||
| #      You also may want to look at the table on page 9 of the PDF above to add all the LCID codes your | ||||
| #      translation should cover. Make sure you separate these codes with a comma. | ||||
| # 4. Translate the messages that appear below into your language. The 'g' lines indicate the group a translated | ||||
| #    element belongs to. You shouldn't have to modify them. | ||||
| # 5. (Re)launch Rufus. If a 'rufus.loc' file is found in the current directory, it will be used over the one | ||||
| #    embedded in the application. Since there is only one translation in this file, it will be used by default | ||||
| # 6. Repeat steps 4 & 5 until you're happy with that translated elements. Note that you MUST restart Rufus every | ||||
| #    time you change your .loc file as there is no reload option. | ||||
| # 7. Once you are satisfied with your translation, you should pick up the official rufus.loc from: | ||||
| #    https://github.com/pbatard/rufus/raw/master/res/localization/rufus.loc | ||||
| #    You should then add your translation at the end of it, and confirm that it is still picked as the default | ||||
| #    for your system  You can also force the use of a translation by passing the option -l when starting Rufus. | ||||
| #    For instance, to have the "zh_CN" translation below apply, you could use either one of: | ||||
| #      rufus.exe -l zh-CN | ||||
| #      rufus.exe -l 0x0404 | ||||
| #      rufus.exe -l 0x0804 | ||||
| # 8. If you need to resize a control or a dialog to fid the translated text, use the 'm' (Move) or 's' (reSize) | ||||
| #    options. For an example of how these commands work, see https://github.com/pbatard/rufus/wiki/Localization | ||||
| # | ||||
| # Tips: | ||||
| # - Please make sure that you edit the language include *your* name and e-mail in MSG_176. It will be displayed | ||||
| #   in the About dialog and I want to give you credit for your work! | ||||
| # - I strongly recommend installing and using DbgView to check for translation errors, as you will get more | ||||
| #   information about how Rufus initallly parses the translation file plus reports of any issue found (with | ||||
| #   the line number). Download DbgView from: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx | ||||
| # - As shown below, you can break a long message over multiple lines, as long as these fragments begin and end | ||||
| #   with a double quote ("). Also be careful to keep the special symbols such as %d, %s, \\b, \",  \n. | ||||
| # - Don't forget to check the translation guide from https://github.com/pbatard/rufus/wiki/Localization | ||||
| 
 | ||||
| 
 | ||||
| ################################################################################ | ||||
| ############################ TRANSLATOR START COPY ############################# | ||||
| ################################################################################ | ||||
| # See http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx or | ||||
| # http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-LCID%5D.pdf | ||||
| # for the LCID (0x####) codes you should use | ||||
| l "en-US" "English (English)" 0x0409, 0x0809, 0x0c09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x3809, 0x3c09, 0x4009, 0x4409, 0x4809 | ||||
| v 1.0.2 | ||||
| 
 | ||||
| # Main dialog | ||||
| g IDD_DIALOG | ||||
| t IDS_DEVICE_TXT "Device" | ||||
| t IDS_PARTITION_TYPE_TXT "Partition scheme and target system type" | ||||
| t IDS_FILESYSTEM_TXT "File system" | ||||
| t IDS_CLUSTERSIZE_TXT "Cluster size" | ||||
| t IDS_LABEL_TXT "New volume label" | ||||
| t IDS_FORMAT_OPTIONS_GRP "Format Options       " | ||||
| t IDC_BADBLOCKS "Check device for bad blocks:" | ||||
| t IDC_QUICKFORMAT "Quick format" | ||||
| t IDC_BOOT "Create a bootable disk using:" | ||||
| t IDC_SET_ICON "Create extended label and icon files" | ||||
| t IDC_ABOUT "About..." | ||||
| t IDC_LOG "Log" | ||||
| t IDCANCEL "Close" | ||||
| t IDC_START "Start" | ||||
| t IDS_ADVANCED_OPTIONS_GRP "Advanced Options" | ||||
| t IDC_ENABLE_FIXED_DISKS "List non removable or unpartitioned USB disks" | ||||
| t IDC_EXTRA_PARTITION "Add fixes for old BIOSes (extra partition, align, etc.)" | ||||
| # 'MBR': See bhttp://en.wikipedia.org/wiki/Master_boot_record | ||||
| # Rufus can install it's own custom MBR (the Rufus MBR), which also allows users | ||||
| # to specify a custom disk ID for the BIOS. Note: the tooltip for this control is MSG_167. | ||||
| t IDC_RUFUS_MBR "Use Rufus MBR with BIOS ID:" | ||||
| 
 | ||||
| # About dialog | ||||
| g IDD_ABOUTBOX | ||||
| t IDD_ABOUTBOX "About Rufus" | ||||
| t IDC_ABOUT_LICENSE "License" | ||||
| t IDC_ABOUT_UPDATES "Updates" | ||||
| 
 | ||||
| # About -> License dialog | ||||
| g IDD_LICENSE | ||||
| t IDD_LICENSE "Rufus License" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Notifications. You can trigger one of these by using Alt-R and re-launching Rufus | ||||
| g IDD_NOTIFICATION | ||||
| t IDC_MORE_INFO "More information" | ||||
| t IDYES "Yes" | ||||
| t IDNO "No" | ||||
| 
 | ||||
| # Log dialog | ||||
| g IDD_LOG | ||||
| t IDD_LOG "Log" | ||||
| t IDC_LOG_CLEAR "Clear Log" | ||||
| t IDC_LOG_SAVE "Save Log" | ||||
| t IDCANCEL "Close Log" | ||||
| 
 | ||||
| # About -> Updates | ||||
| g IDD_UPDATE_POLICY | ||||
| t IDD_UPDATE_POLICY "Update policy and settings" | ||||
| t IDS_UPDATE_SETTINGS_GRP "Settings" | ||||
| t IDS_UPDATE_FREQUENCY_TXT "Check for updates:" | ||||
| t IDS_INCLUDE_BETAS_TXT "Include beta versions:" | ||||
| t IDC_CHECK_NOW "Check Now" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Dialog that appears when a new version is available | ||||
| g IDD_NEW_VERSION | ||||
| t IDD_NEW_VERSION "Check For Updates - Rufus" | ||||
| t IDS_NEW_VERSION_AVAIL_TXT "A newer version is available. Please download the latest version!" | ||||
| t IDC_WEBSITE "Click here to go to the website" | ||||
| t IDS_NEW_VERSION_NOTES_GRP "Release Notes" | ||||
| t IDS_NEW_VERSION_DOWNLOAD_GRP "Download" | ||||
| t IDC_DOWNLOAD "Download" | ||||
| t IDCANCEL "Close" | ||||
| 
 | ||||
| # Dialog that appears when scanning/extracting ISO files | ||||
| g IDD_ISO_EXTRACT | ||||
| t IDD_ISO_EXTRACT "Copying ISO files..." | ||||
| t IDC_ISO_FILENAME "Opening ISO image - please wait..." | ||||
| t IDC_ISO_ABORT "Cancel" | ||||
| 
 | ||||
| # Messages used throughout the application | ||||
| g IDD_MESSAGES | ||||
| t MSG_001 "Other instance detected" | ||||
| t MSG_002 "Another Rufus application is running.\n" | ||||
|  | @ -11,7 +137,8 @@ t MSG_003 "WARNING: ALL DATA ON DEVICE '%s' WILL BE DESTROYED.\n" | |||
| 	"To continue with this operation, click OK. To quit click CANCEL." | ||||
| t MSG_004 "Rufus update policy" | ||||
| t MSG_005 "Do you want to allow Rufus to check for application updates online?" | ||||
| t MSG_006 "Close"	# Must be the same as IDD_DIALOG:IDCANCEL (i.e. "Close" - I know it's confusing) | ||||
| # Must be the same as IDD_DIALOG:IDCANCEL (i.e. "Close" - I know it's confusing) | ||||
| t MSG_006 "Close" | ||||
| t MSG_007 "Cancel" | ||||
| t MSG_008 "Yes" | ||||
| t MSG_009 "No" | ||||
|  | @ -86,6 +213,7 @@ t MSG_067 "Could not open media. It may be in use by another process. " | |||
| t MSG_068 "Error while partitioning drive." | ||||
| t MSG_069 "Could not copy files to target drive." | ||||
| t MSG_070 "Cancelled by user." | ||||
| # See http://en.wikipedia.org/wiki/Thread_%28computing%29 | ||||
| t MSG_071 "Unable to start thread." | ||||
| t MSG_072 "Bad blocks check didn't complete." | ||||
| t MSG_073 "ISO image scan failure." | ||||
|  | @ -152,9 +280,12 @@ t MSG_106 "Please select folder" | |||
| t MSG_107 "All files" | ||||
| t MSG_108 "Rufus log" | ||||
| t MSG_109 "0x%02X (Disk %d)" | ||||
| t MSG_110 "MS-DOS cannot boot from a drive using a 64 kilobyte Cluster size.\n" | ||||
| # "Cluster size" below should be the same as the label for IDS_CLUSTERSIZE_TXT | ||||
| # "kilobytes" should be the same as in MSG_027 | ||||
| t MSG_110 "MS-DOS cannot boot from a drive using a 64 kilobytes Cluster size.\n" | ||||
| 	"Please change the Cluster size or use FreeDOS." | ||||
| t MSG_111 "Incompatible Cluster size" | ||||
| # "%d:%02d" below is a duration (mins:secs) | ||||
| t MSG_112 "Formatting a large UDF volumes can take a lot of time. At USB 2.0 speeds, the estimated formatting " | ||||
| 	"duration is %d:%02d, during which the progress bar will appear frozen. Please be patient!" | ||||
| t MSG_113 "Large UDF volume" | ||||
|  | @ -194,7 +325,7 @@ t MSG_173 "Click to select..." | |||
| # The following will appear in the about dialog | ||||
| t MSG_174 "Rufus - The Reliable USB Formatting Utility" | ||||
| t MSG_175 "Version %d.%d.%d (Build %d)" | ||||
| t MSG_176 "" | ||||
| t MSG_176 "English translation: Pete Batard <mailto:pete@akeo.ie>" | ||||
| t MSG_177 "Report bugs or request enhancements at:" | ||||
| t MSG_178 "Additional Copyrights:" | ||||
| t MSG_179 "Update Policy:" | ||||
|  | @ -238,9 +369,12 @@ t MSG_216 "Saved %s" | |||
| t MSG_217 "Formatting: %0.1f%% completed" | ||||
| t MSG_218 "Creating file system: Task %d/%d completed" | ||||
| t MSG_219 "NTFS Fixup: %d%% completed" | ||||
| # Parameter: the file system and an estimated duration in mins and secs | ||||
| # Parameter: the file system and an estimated duration in mins and secs. | ||||
| # eg. "Formatting (UDF) - Estimated duration 3:21..." | ||||
| # NB: if "estimated duration" is too long, just use "estimated" or an abbreviation | ||||
| t MSG_220 "Formatting (%s) - estimated duration %d:%02d..." | ||||
| t MSG_221 "Setting Label (This may take while)..." | ||||
| # Parameter: the file system. eg. "Formatting (NTFS)..." | ||||
| t MSG_222 "Formatting (%s)..." | ||||
| t MSG_223 "NTFS Fixup (Checkdisk)..." | ||||
| t MSG_224 "Clearing MBR/PBR/GPT structures..." | ||||
|  | @ -283,6 +417,10 @@ t MSG_256 "Fake drive detection" | |||
| t MSG_257 "Joliet support" | ||||
| t MSG_258 "Rock Ridge support" | ||||
| t MSG_259 "Force update" | ||||
| ################################################################################ | ||||
| ############################# TRANSLATOR END COPY ############################## | ||||
| ################################################################################ | ||||
| 
 | ||||
| 
 | ||||
| ################################################################################ | ||||
| l "zh-CN" "Chinese Simplified (简体中文)" 0x0404, 0x0804, 0x0c04, 0x1004, 0x1404 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue