<commit_before>/* Copyright 2004 University of Helsinki, Department of Computer
   Science. See license.txt for details. */
    
// NOTE TO TRANSLATORS: Do not have any package definitions in your
// translation class if you intend to load it as a separate
// translation file. Keep this one if you intend to add the
// translation in the language settings file as well, making it one of
// the "official" options. Also, replace getContents with one just
// returning contents, rename emptyContents as contents and rename
// this class (Translations) as something more directly implied by the
// file name (eg. Trandlations_de for a German translation, in file
// Translations_de.java) before you start translating the nulls to
// your language. See Translations_fi.java for an example.
package fi.hu.cs.titokone.resources; 

import java.util.ListResourceBundle;

/** This translation is what all translations should be based on. It 
    translates keys to plain English. Note that not all keys are equal 
    to their values; the key may contain a specification part which
    should not be translated. The specification part ought to be 
    put between ? and :, eg. "?Menu:File" would mean "translate the 
    word 'File' as if you would see it on the common menu name" as 
    opposed to "?Utility item:File", which might mean "translate the 
    word 'File' as you would if it meant a nail file". */
public class Translations extends ListResourceBundle {
   public Object[][] getContents() { 
     // To be simultaneously compatible with the general ListResourceBundle
     // functionality and provide a base template array for other 
     // translations, we do not repeat every line in the emptyContents 
     // array, but instead arrange the duplication when asked for
     // the real contents. (Only necessary the first time.)
     if(contents == null) {
       contents = new String[emptyContents.length][];
       for(int i = 0; i < emptyContents.length; i++) {
         contents[i] = new String[2];
         contents[i][0] = emptyContents[i][0];
         contents[i][1] = emptyContents[i][0];
       }
     }
     return contents;
   }
     
   protected static Object[][] contents;

   protected static final Object[][] emptyContents = {
      // Localize below, pairs of key-value (what key is in your language)...
      // Remove lines which you do not wish to translate completely. Leaving
      // in a value of "" will translate the message to "" as well.

      // Class: Animator, not processed yet - TODO.

      // Class: Application.
      // General messages: (none)
      // Exception messages:
      { "No more keyboard data stored on application." , 
        null },
      { "No more stdin data stored on application.", 
	null },
      {	"Keyboard input string \"{0}\" invalid, should be eg. \\n-separated " +
	"list of integers." , 
	null },
      { "Stdin input string \"{0}\" invalid, should be eg. \\n-separated " +
	"list of integers.", 
	null },
      // Log messages:
      { "Application has no more keyboard data, read: {0}, buffer length " +
	"{1}.", 
	null },
      { "Application has no more stdin data, read: {0}, buffer length {1}.", 
	null },
      { "Accepted \"{0}\" as keyboard input, tokens found: {1}.", 
	null },
      { "Accepted \"{0}\" as stdin input, tokens found: {1}.", 
	null }, 

      // Class: BinaryInterpreter, no messages.

      // Class: Binary
      {"___b91___ is missing.", null},
      {"___code___ is missing.", null},
      {"Invalid code area value on line: {0}", null},
      {"Invalid code area length on line: {0}", null},
      {"Invalid command on line: {0}", null},
      {"Invalid number of code lines.", null},
      {"___data___ is missing.", null},
      {"Invalid data area value on line: {0}", null},
      {"Invalid data area length on line: {0}", null},
      {"Invalid data on line: {0}", null},
      {"___symboltable___ is missing.", null},
      {"Invalid symbol on line: {0}", null},
      {"Invalid symbol value on line: {0}", null},
      {"___end___ is missing.", null},
      {"Lines after ___end___", null},
      
      // Class: CompileDebugger, no messages.
      // Class: CompileInfo, no messages.

      // Class: Compiler				// line (approx)
      {"Compilation is not finished yet.", null},	// 203
      {"Invalid command.", null},			// 255
      {"Invalid label.", null},				// 271, 328, 345 and 349
      {"Found label {0} and variable {1}.", null},	// 323
      {"Variable {0} used.", null},			// 328
      {"Label {0} found.", null},			// 333
      {"Invalid size for a DS.", null},			// 358 and 362
      {"Invalid value for a DC.", null},		// 373
      {"Variable {0} defined as {1}.", null},		// 401
      {"Found variable {0}.", null},			// 419 and 436
      {"{0} defined as {1}.", null},			// 449
      {"Invalid DEF operation.", null},			// 454
      //ADDED 26.4. OLLI
      {"Missing referred label {0}.", null},		//662
      
      {"{0} --> {1} ({2}) ", null}, // symb --> bin (:-sep. bin); 650

      // Class: Control
      {"No default STDIN file set.", null},
      {"No default STDOUT file set.", null},
      {"No application to load.", null},
      {"STDIN data file unreadable: {0}", null}, 
      {"STDIN data file contains invalid data: {0}", null},
      {"STDIN files were null, data not inserted to the application.", null },
      {"Application contained an odd definition key '{0}'.", null},
      {"Trying to run an unsupported type of application. (The application " +
       "must be created using the same program.)", null},
      {"Cannot form a binary out of an unsupported type of an application. " +
       "(The application must be created using the same program.)", null},
      {"There is no application available to run from!", null},
      {"No STDOUT file set, not writing to it.", null},
      {"Memory size must be between 2^9 and 2^16, a change to 2^{0} failed.", 
      null},
      {"StdIn file contents are invalid; the file should contain only " +
       "integers and separators.", null},
      {"Modified source was null.", null},
      {"No source file set, use openSource first.", null},
      {"Cannot deduce the file to store the binary into; no source " +
       "file has been loaded.", null},
      {"Cannot save binary to file; no application has been compiled or " +
       "loaded.", null},

      // Class: DebugInfo, no messages.

      // Class: FileHandler
      {"{0} in loadResourceBundle(): {1}", null},
      {"No read access to {0}.", null},
      {"No write access to {0}.", null},
      
      // Class: GUI 
      {"File", null},
      {"Open", null},
      {"Compile", null},
      {"Run", null},
      {"Continue", null},
      {"Continue without pauses", null},
      {"Stop", null},
      {"Erase memory", null},
      {"Exit", null},
      {"Options", null},
      {"Set memory size", null},
      {"Help", null},
      {"Manual", null},
      {"About", null},
      {"Set compiling options", null},
      {"Set running options", null},
      {"Configure file system", null},
      {"Select default stdin file", null},
      {"Select default stdout file", null},
      {"Set language", null},
      {"Select from a file...", null},

      {"Line", null},   
      {"Numeric", null},    
      {"Symbolic", null},

      {"Open a new file", null},
      {"Compile the opened file", null},
      {"Run the loaded program", null}, 
      {"Continue current operation", null},
      {"Continue current operation without pauses", null},
      {"Stop current operation", null},
      {"Open the selected file", null},
      {"Enter", null}, // button used to enter a number to the KBD device.
      {"Symbol table", null}, 
      {"Registers", null}, 
      
      // Class: GUIBrain 
      {"Main path not found! (Trying to locate etc/settings.cfg.) " +
       "...exiting.", null}, //exception opening etc/settings.cfg
      {"I/O error while reading settings file: {0}", null}, 
      {"Parse error in settings file.", null},
      {"Titokone out of memory: {0}", null},
      {"Opened a new k91 source file.", null},
      {"File extension must be k91 or b91", null}, 
      {"Illegal input", null},   
      {"Illegal input. You must insert a number between {0}...{1}", null},
      {"Error", null},  
      {"Enter a number in the text field above.", null},
      {"Not a language file", null},    
      {"Cannot overwrite {0}", null},   
      {"Default stdin file set to {0}", null},    
      {"Default stdout file set to {0}", null},    
      {"Error while emptying {0}", null},    
      {"Overwrite?", null},    
      {"Do you want to overwrite the file? Select {1} to append or {0} " +
       "to overwrite.", null},
      {"B91 binary", null},   
      {"K91 source", null},  
      {"Class file", null},

      // Class: GUICompileSettingsDialog - not processed yet - TODO

      // Class: GUIRunSettingsDialog - not processed yet - TODO
      // Class: GUIThreader, no messages.
      // Class: Interpreter, no messages.
      // Class: InvalidDefinitionException, no messages.
      // Class: InvalidSymbolException, no messages.

      // Class: JFileChooser    
      {"Open", null},    
      {"Cancel", null},    
      {"Look in:", null},    
      {"File name:", null},    
      {"Files of type:", null},    
      {"Up one level", null},    
      {"Up", null},    
      {"Desktop", null},    
      {"Create new folder", null},    
      {"New folder", null},    
      {"List", null},    
      {"Details", null},    
      {"All files", null},    
      
      // Class: JOptionPane    <commit_msg>Oikeita päivityksiä<commit_after>/* Copyright 2004 University of Helsinki, Department of Computer
   Science. See license.txt for details. */
    
// NOTE TO TRANSLATORS: Do not have any package definitions in your
// translation class if you intend to load it as a separate
// translation file. Keep this one if you intend to add the
// translation in the language settings file as well, making it one of
// the "official" options. Also, replace getContents with one just
// returning contents, rename emptyContents as contents and rename
// this class (Translations) as something more directly implied by the
// file name (eg. Trandlations_de for a German translation, in file
// Translations_de.java) before you start translating the nulls to
// your language. See Translations_fi.java for an example.
package fi.hu.cs.titokone.resources; 

import java.util.ListResourceBundle;

/** This translation is what all translations should be based on. It 
    translates keys to plain English. Note that not all keys are equal 
    to their values; the key may contain a specification part which
    should not be translated. The specification part ought to be 
    put between ? and :, eg. "?Menu:File" would mean "translate the 
    word 'File' as if you would see it on the common menu name" as 
    opposed to "?Utility item:File", which might mean "translate the 
    word 'File' as you would if it meant a nail file". */
public class Translations extends ListResourceBundle {
   public Object[][] getContents() { 
     // To be simultaneously compatible with the general ListResourceBundle
     // functionality and provide a base template array for other 
     // translations, we do not repeat every line in the emptyContents 
     // array, but instead arrange the duplication when asked for
     // the real contents. (Only necessary the first time.)
     if(contents == null) {
       contents = new String[emptyContents.length][];
       for(int i = 0; i < emptyContents.length; i++) {
         contents[i] = new String[2];
         contents[i][0] = emptyContents[i][0];
         contents[i][1] = emptyContents[i][0];
       }
     }
     return contents;
   }
     
   protected static Object[][] contents;

   protected static final Object[][] emptyContents = {
      // Localize below, pairs of key-value (what key is in your language)...
      // Remove lines which you do not wish to translate completely. Leaving
      // in a value of "" will translate the message to "" as well.

      // Class: Animator, not processed yet - TODO.

      // Class: Application.
      // General messages: (none)
      // Exception messages:
      { "No more keyboard data stored on application." , 
        null },
      { "No more stdin data stored on application.", 
	null },
      {	"Keyboard input string \"{0}\" invalid, should be eg. \\n-separated " +
	"list of integers." , 
	null },
      { "Stdin input string \"{0}\" invalid, should be eg. \\n-separated " +
	"list of integers.", 
	null },
      // Log messages:
      { "Application has no more keyboard data, read: {0}, buffer length " +
	"{1}.", 
	null },
      { "Application has no more stdin data, read: {0}, buffer length {1}.", 
	null },
      { "Accepted \"{0}\" as keyboard input, tokens found: {1}.", 
	null },
      { "Accepted \"{0}\" as stdin input, tokens found: {1}.", 
	null }, 

      // Class: BinaryInterpreter, no messages.

      // Class: Binary
      {"___b91___ is missing.", null},
      {"___code___ is missing.", null},
      {"Invalid code area value on line: {0}", null},
      {"Invalid code area length on line: {0}", null},
      {"Invalid command on line: {0}", null},
      {"Invalid number of code lines.", null},
      {"___data___ is missing.", null},
      {"Invalid data area value on line: {0}", null},
      {"Invalid data area length on line: {0}", null},
      {"Invalid data on line: {0}", null},
      {"___symboltable___ is missing.", null},
      {"Invalid symbol on line: {0}", null},
      {"Invalid symbol value on line: {0}", null},
      {"___end___ is missing.", null},
      {"Lines after ___end___", null},
      
      // Class: CompileDebugger, no messages.
      // Class: CompileInfo, no messages.

      // Class: Compiler				// line (approx)
      {"Compilation is not finished yet.", null},	// 203
      {"Invalid command.", null},			// 255
      {"Invalid label.", null},				// 271, 328, 345 and 349
      {"Found label {0} and variable {1}.", null},	// 323
      {"Variable {0} used.", null},			// 328
      {"Label {0} found.", null},			// 333
      {"Invalid size for a DS.", null},			// 358 and 362
      {"Invalid value for a DC.", null},		// 373
      {"Variable {0} defined as {1}.", null},		// 401
      {"Found variable {0}.", null},			// 419 and 436
      {"{0} defined as {1}.", null},			// 449
      {"Invalid DEF operation.", null},			// 454
      //ADDED 26.4. OLLI
      {"Missing referred label {0}.", null},		//662
      
      {"{0} --> {1} ({2}) ", null}, // symb --> bin (:-sep. bin); 650

      // Class: Control
      {"No default STDIN file set.", null},
      {"No default STDOUT file set.", null},
      {"No application to load.", null},
      {"STDIN data file unreadable: {0}", null}, 
      {"STDIN data file contains invalid data: {0}", null},
      {"STDIN files were null, data not inserted to the application.", null },
      {"Application contained an odd definition key '{0}'.", null},
      {"Trying to run an unsupported type of application. (The application " +
       "must be created using the same program.)", null},
      {"Cannot form a binary out of an unsupported type of an application. " +
       "(The application must be created using the same program.)", null},
      {"There is no application available to run from!", null},
      {"No STDOUT file set, not writing to it.", null},
      {"Memory size must be between 2^9 and 2^16, a change to 2^{0} failed.", 
      null},
      {"StdIn file contents are invalid; the file should contain only " +
       "integers and separators.", null},
      {"Modified source was null.", null},
      {"No source file set, use openSource first.", null},
      {"Cannot deduce the file to store the binary into; no source " +
       "file has been loaded.", null},
      {"Cannot save binary to file; no application has been compiled or " +
       "loaded.", null},

      // Class: DebugInfo, no messages.

      // Class: FileHandler
      {"{0} in loadResourceBundle(): {1}", null},
      {"No read access to {0}.", null},
      {"No write access to {0}.", null},
      
      // Class: GUI 
      {"File", null},
      {"Open", null},
      {"Compile", null},
      {"Run", null},
      {"Continue", null},
      {"Continue without pauses", null},
      {"Stop", null},
      {"Erase memory", null},
      {"Exit", null},
      {"Options", null},
      {"Set memory size", null},
      {"Help", null},
      {"Manual", null},
      {"About", null},
      {"Set compiling options", null},
      {"Set running options", null},
      {"Configure file system", null},
      {"Select default stdin file", null},
      {"Select default stdout file", null},
      {"Set language", null},
      {"Select from a file...", null},

      {"Line", null},   
      {"Numeric", null},    
      {"Symbolic", null},

      {"Open a new file", null},
      {"Compile the opened file", null},
      {"Run the loaded program", null}, 
      {"Continue current operation", null},
      {"Continue current operation without pauses", null},
      {"Stop current operation", null},
      {"Open the selected file", null},
      {"Enter", null}, // button used to enter a number to the KBD device.
      {"Symbol table", null}, 
      {"Registers", null}, 
      
      // Class: GUIBrain 
      {"Main path not found! (Trying to locate etc/settings.cfg.) " +
       "...exiting.", null}, 
      {"I/O error while reading settings file: {0}", null}, 
      {"Parse error in settings file.", null},
      {"Titokone out of memory: {0}", null},
      {"Opened a new k91 source file.", null},
      {"File extension must be k91 or b91", null}, 
      {"Illegal input", null},   
      {"Illegal input. You must insert a number between {0}...{1}", null},
      {"Error", null},  
      {"Enter a number in the text field above.", null},
      {"Not a language file", null},    
      {"Cannot overwrite {0}", null},   
      {"Default stdin file set to {0}", null},    
      {"Default stdout file set to {0}", null},    
      {"Error while emptying {0}", null},    
      {"Overwrite?", null},    
      {"Do you want to overwrite the file? Select {1} to append or {0} " +
       "to overwrite.", null},
      {"B91 binary", null},   
      {"K91 source", null},  
      {"Class file", null},

      // Class: GUICompileSettingsDialog
      // (Set compiling options already defined in GUI.)
      {"Apply", null},
      {"Close", null},
      {"Compile line by line", null},
      {"Show comments", null},
      {"Set compiling options", null},
      // Pause whenever a comment occurs & show extra comments while compiling
      // represented in JOptionPane.

      // Class: GUIRunSettingsDialog 
      // (Set running options already defined in GUI, as are Apply and Close.)
      {"Execute line by line", null},
      {"Show comments", null},
      {"Show animation", null},
      // (execute code line by line, show extra comments while executing
      // and show animation while executing are represented in JOptionPane.

      // Class: GUIThreader, no messages.
      // Class: Interpreter, no messages.
      // Class: InvalidDefinitionException, no messages.
      // Class: InvalidSymbolException, no messages.

      // Class: JFileChooser    
      {"Open", null},    
      {"Cancel", null},    
      {"Look in:", null},    
      {"File name:", null},    
      {"Files of type:", null},    
      {"Up one level", null},    
      {"Up", null},    
      {"Desktop", null},    
      {"Create new folder", null},    
      {"New folder", null},    
      {"List", null},    
      {"Details", null},    
      {"All files", null},    
      
      // Class: JOptionPane    
{'fraction_non_alphanumeric': 0.1406628940986257, 'fraction_numerical': 0.013843977364591755, 'mean_word_length': 2.3793751067099196, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3391467', 'n_tokens_mistral': 5703, 'n_tokens_neox': 5353, 'n_words': 2352}