.. _lua_tribes_time_strings: time_strings.lua ---------------- This file contains some global time naming functions for uniform translations. .. function:: format_seconds(seconds) :arg seconds: number of seconds :type seconds: An unsigned integer Returns a localized string to tell the time in seconds with the proper plural form. :returns: "1 second", or "20 seconds" etc. .. function:: format_minutes(minutes) :arg minutes: number of minutes :type minutes: An unsigned integer Returns a localized string to tell the time in minutes with the proper plural form. :returns: "1 minute", or "20 minutes" etc. .. function:: format_minutes_seconds(minutes, seconds) :arg minutes: number of minutes :type minutes: An unsigned integer :arg seconds: number of seconds :type seconds: An unsigned integer Returns a localized string to tell the time in minutes and seconds with the proper plural form. :returns: "1 minute and 20 seconds" etc.