Translations:Plugin:PackUpdater/4/en: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 1: Line 1:
# Import settings from <tt>Autoexec_PackUpdater.ini</tt> to profile. Add strings needed for plugin (e.g. descriptions of update components) to your <tt>langpack_*.txt</tt>.
# Import settings from <tt>Autoexec_PackUpdater.ini</tt> to profile. Add strings needed for plugin (e.g., descriptions of update components) to your <tt>langpack_*.txt</tt>.
#; Variables in <tt>Autoexec_PackUpdater.ini</tt>
#; Variables in <tt>Autoexec_PackUpdater.ini</tt>
#* <tt>AutoUpdate</tt> – check updates automatically on Miranda startup. Can be configured in {{Menu|Events|Pack updates}}.
#* <tt>AutoUpdate</tt> – check updates automatically on Miranda startup. Can be configured in {{Menu|Events|Pack updates}}.

Latest revision as of 14:11, 31 December 2017

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Plugin:PackUpdater)
# Import settings from <tt>Autoexec_PackUpdater.ini</tt> to profile. Add strings needed for plugin (e.g., descriptions of update components) to your <tt>langpack_*.txt</tt>.
#; Variables in <tt>Autoexec_PackUpdater.ini</tt>
#* <tt>AutoUpdate</tt> – check updates automatically on Miranda startup. Can be configured in {{Menu|Events|Pack updates}}.
#* <tt>File_VersionURL</tt> – URL where file with information about versions for all files (<tt>File1.ini</tt>) is stored.
#* <tt>FileCount</tt> – number of files to check updates for. Plugin supports checking for several files, but in most cases it is enough to check only pack setup file.
#* <tt>File_x_CurrentVersion</tt> and <tt>File_x_LastVersion</tt> where
#** <tt>x</tt> is a serial number of file beginning with <tt>1</tt>
#** <tt>CurrentVersion</tt> – set it to 1.0.0 (or any other you like) and don't change it any more
#** <tt>LastVersion</tt> – the same.
# Create file with information about versions (<tt>File1.ini</tt>), one for all files to check.
#; Options of <tt>File1.ini</tt>
#* Handle <tt>[FileInfo_х]</tt> where <tt>х</tt> is a serial number of file beginning with <tt>1</tt>. Must match the number in profile.
#* <tt>FileVersion</tt> – current version of file (i.e. version of file in new pack).
#* <tt>Message</tt> – the message that user will see when plugin finds new version.
#* <tt>DownloadURL</tt> – URL of update file (pack setup).
#* <tt>DiskFileName</tt> – name of file saved on user's PC.
#* <tt>FileType</tt> – type of file. Defines final destination of file:
#** 1 – pack
#** 2 – plugin (will be installed into <tt>Plugins</tt> folder)
#** 3 – icon set (will be installed into <tt>Icons</tt> folder)
#** 4 – files in Miranda root folder
#* <tt>Descr</tt> – description to show in update list.
#* <tt>InfoURL</tt> (optional) – sets the URL to be opened by click on ''See information'' button in update message box.
#* <tt>AdvFolder</tt> (optional) – sets subfolder in the folder defined by <tt>FileType</tt>.
#* <tt>Force</tt> (optional) – to update a non-existent file, i.e. add file which is not present in current Miranda installation.
# Upload your updates and file with information on server.
  1. Import settings from Autoexec_PackUpdater.ini to profile. Add strings needed for plugin (e.g., descriptions of update components) to your langpack_*.txt.
    Variables in Autoexec_PackUpdater.ini
    • AutoUpdate – check updates automatically on Miranda startup. Can be configured in Events → Pack updates.
    • File_VersionURL – URL where file with information about versions for all files (File1.ini) is stored.
    • FileCount – number of files to check updates for. Plugin supports checking for several files, but in most cases it is enough to check only pack setup file.
    • File_x_CurrentVersion and File_x_LastVersion where
      • x is a serial number of file beginning with 1
      • CurrentVersion – set it to 1.0.0 (or any other you like) and don't change it any more
      • LastVersion – the same.
  2. Create file with information about versions (File1.ini), one for all files to check.
    Options of File1.ini
    • Handle [FileInfo_х] where х is a serial number of file beginning with 1. Must match the number in profile.
    • FileVersion – current version of file (i.e. version of file in new pack).
    • Message – the message that user will see when plugin finds new version.
    • DownloadURL – URL of update file (pack setup).
    • DiskFileName – name of file saved on user's PC.
    • FileType – type of file. Defines final destination of file:
      • 1 – pack
      • 2 – plugin (will be installed into Plugins folder)
      • 3 – icon set (will be installed into Icons folder)
      • 4 – files in Miranda root folder
    • Descr – description to show in update list.
    • InfoURL (optional) – sets the URL to be opened by click on See information button in update message box.
    • AdvFolder (optional) – sets subfolder in the folder defined by FileType.
    • Force (optional) – to update a non-existent file, i.e. add file which is not present in current Miranda installation.
  3. Upload your updates and file with information on server.