Codebase list ruby-fxruby / 3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a rdoc-sources / FXTranslator.rb
3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a

Tree @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2a (Download .tar.gz)

FXTranslator.rb @3d5a4e82-a43d-42a1-b45b-3cdbad1db042/upstream/1.6.45+git20221125.1.7d76b2araw · history · blame

module Fox
  #
  # A translator translates a message to another language.
  #
  class FXTranslator

    # The application associated with this translator {FXApp}
    attr_reader :app

    #
    # Return a new translator for the application _a_ (an FXApp instance).
    #
    def initialize(a); end

    #
    # Translate a message.
    #
    def tr(context, message, hint=nil); end

    #
    # Change the text codec used to decode the messages embedded in the
    # source.
    #
    def textCodec=(codec); end

    #
    # Return a reference to the text codec.
    #
    def textCodec; end
  end
end