

(function(globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    var v=(n != 1);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "%curr% of %total%": "%curr% av %total%", 
    "<a href=\"%url%\" target=\"_blank\">The image</a> could not be loaded.": "<a href=\"%url%\" target=\"_blank\">Bilden</a> kunde inte laddas.", 
    "Add User": "L\u00e4gg till anv\u00e4ndare", 
    "Added user {user}": "Lade till anv\u00e4ndare {user}", 
    "Are you sure you want to clear trash?": "\u00c4r du s\u00e4ker p\u00e5 att du vill t\u00f6mma papperskorgen?", 
    "Are you sure you want to delete %s ?": "\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s ?", 
    "Are you sure you want to delete %s completely?": "\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort %s helt?", 
    "Are you sure you want to delete all %s's libraries?": "\u00c4r du s\u00e4ker p\u00e5 att du vill ta bort alla bibliotek tillh\u00f6rande %s?", 
    "Are you sure you want to delete these selected items?": "\u00c4r du s\u00e4ker att du vill ta bort valda objekt?", 
    "Are you sure you want to quit this group?": "\u00c4r du s\u00e4ker att du vill l\u00e4mna gruppen?", 
    "Are you sure you want to restore %s?": "\u00c4r du s\u00e4ker p\u00e5 att du vill \u00e5terst\u00e4lla %s?", 
    "Are you sure you want to unlink this device?": "\u00c4r du s\u00e4ker p\u00e5 att du vill avl\u00e4nka enheten?", 
    "Are you sure you want to unshare %s ?": "\u00c4r du s\u00e4ker p\u00e5 att du vill sluta dela %s ?", 
    "Cancel": "Avbryt", 
    "Canceled.": "Avbruten.", 
    "Change Password of Library {placeholder}": "\u00c4ndra l\u00f6senord f\u00f6r bibliotek {placeholder}", 
    "Clear Trash": "Rensa Papperskorg", 
    "Close (Esc)": "St\u00e4ng (Esc)", 
    "Copy selected item(s) to:": "Kopiera valda objekt till:", 
    "Copy {placeholder} to:": "Kopiera {placeholder} till:", 
    "Copying %(name)s": "Kopierar %(name)s", 
    "Copying file %(index)s of %(total)s": "Kopierar fil %(index)s av %(total)s", 
    "Create Group": "Skapa grupp", 
    "Create Library": "Skapa Katalog", 
    "Created group {group_name}": "Skapade grupp {group_name}", 
    "Created library {library_name} with {owner} as its owner": "Skapade katalog {library_name} med {owner} som \u00e4gare", 
    "Delete": "Ta bort", 
    "Delete Department": "Ta bort Avdelning", 
    "Delete Group": "Ta bort grupp", 
    "Delete Items": "Ta bort objekt", 
    "Delete Library": "Ta bort bibliotek", 
    "Delete Library By Owner": "Ta bort bibliotek av \u00e4gare", 
    "Delete Member": "Ta bort medlem", 
    "Delete User": "Ta bort anv\u00e4ndare", 
    "Delete failed": "Borttagning misslyckades", 
    "Delete files from this device the next time it comes online.": "Ta bort filer fr\u00e5n denna enhet n\u00e4sta g\u00e5ng den kommer online.", 
    "Deleted directories": "Borttagna kataloger", 
    "Deleted files": "Borttagna filer", 
    "Deleted group {group_name}": "Tog bort grupp {group_name}", 
    "Deleted library {library_name}": "Tog bort bibliotek {library_name}", 
    "Deleted user {user}": "Tog bort anv\u00e4ndare {user}", 
    "Dismiss Group": "Ta bort grupp", 
    "Edit Page": "Skapa sida", 
    "Edit failed": "\u00c4ndring misslyckades", 
    "Empty file upload result": "Uppladdning resulterade i en tom fil", 
    "Encrypted library": "Krypterat bibliotek", 
    "Error": "Fel", 
    "Expired": "Utg\u00e5ngen", 
    "Failed to copy %(name)s": "Misslyckades att kopiera %(name)s", 
    "Failed to delete %(name)s and %(amount)s other items.": "Misslyckades att ta bort %(name)s och %(amount)s andra objekt.", 
    "Failed to delete %(name)s and 1 other item.": "Misslyckades att ta bort %(name)s och 1 annat objekt.", 
    "Failed to delete %(name)s.": "Misslyckades att ta bort %(name)s.", 
    "Failed to move %(name)s": "Misslyckades att flytta %(name)s", 
    "Failed to send to {placeholder}": "Misslyckades att skicka till {placeholder}", 
    "Failed.": "Misslyckades", 
    "Failed. Please check the network.": "Misslyckades. Kontrollera n\u00e4tverket.", 
    "File Upload canceled": "Filuppladdning avbruten", 
    "File Upload complete": "Filuppladdning klar", 
    "File Upload failed": "Filuppladdning misslyckad", 
    "File Uploading...": "Filen laddas upp...", 
    "File is locked": "Filen \u00e4r l\u00e5st", 
    "File is too big": "Filen \u00e4r f\u00f6r stor", 
    "File is too small": "Filen \u00e4r f\u00f6r liten", 
    "Filetype not allowed": "Filtypen st\u00f6ds ej", 
    "Hide": "D\u00f6lj", 
    "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Internt fel. Misslyckades att kopiera %(name)s och %(amount)s andra objekt", 
    "Internal error. Failed to copy %(name)s.": "Internt fel. Misslyckades att kopiera %(name)s.", 
    "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Internt fel. Misslyckades att flytta %(name)s och %(amount)s andra objekt.", 
    "Internal error. Failed to move %(name)s.": "Internt fel. Misslyckades att flytta %(name)s.", 
    "Invalid destination path": "Felaktig destinationss\u00f6kv\u00e4g", 
    "Invalid quota.": "Felaktig kvot.", 
    "It is required.": "Det kr\u00e4vs.", 
    "Just now": "Precis nyss", 
    "Last Update": "Senaste uppdatering", 
    "Loading failed": "Laddning misslyckades", 
    "Loading...": "Laddar...", 
    "Log in": "Logga in", 
    "Log out": "Logga ut", 
    "Maximum number of files exceeded": "Max antal filer \u00f6verskriden", 
    "Modified files": "\u00c4ndrade filer", 
    "Move selected item(s) to:": "Flytta valda objekt till:", 
    "Move {placeholder} to:": "Flytta {placeholder} till:", 
    "Moving %(name)s": "Flyttar %(name)s", 
    "Moving file %(index)s of %(total)s": "Flyttar fil %(index)s av %(total)s", 
    "Name": "Namn", 
    "Name is required": "Namn kr\u00e4vs", 
    "Name is required.": "Namn kr\u00e4vs.", 
    "Name should not include '/'.": "Namn ska inte inneh\u00e5lla '/'.", 
    "New Department": "Ny Avdelning", 
    "New Excel File": "Ny Excel-fil", 
    "New File": "Ny fil", 
    "New Folder": "Ny Katalog", 
    "New Markdown File": "Ny Markdown-fil", 
    "New PowerPoint File": "Ny PowerPoint-fil", 
    "New Sub-department": "Ny Underavdelning", 
    "New Word File": "Ny Word-fil", 
    "New directories": "Nya kataloger", 
    "New files": "Nya filer", 
    "New password is too short": "Det nya l\u00f6senordet \u00e4r f\u00f6r kort", 
    "New passwords don't match": "De nya l\u00f6senorden \u00f6verensst\u00e4mmer inte", 
    "Next (Right arrow key)": "N\u00e4sta (H\u00f6ger piltangent)", 
    "No matches": "Inga tr\u00e4ffar", 
    "Only an extension there, please input a name.": "Bara en \u00e4ndelse, v\u00e4nligen ange ett namn", 
    "Open in New Tab": "\u00d6ppna i ny flik", 
    "Packaging...": "Paketerar...", 
    "Pages": "Sidor", 
    "Password is required.": "L\u00f6senord kr\u00e4vs.", 
    "Password is too short": "L\u00f6senordet \u00e4r f\u00f6r kort", 
    "Passwords don't match": "L\u00f6senorden \u00f6verensst\u00e4mmer inte", 
    "Permission error": "Beh\u00f6righetsfel", 
    "Please check the network.": "Kontrollera n\u00e4tverksanslutningen", 
    "Please choose a CSV file": "V\u00e4nligen v\u00e4lj en CSV-fil", 
    "Please click and choose a directory.": "Klicka och v\u00e4lj en katalog.", 
    "Please enter 1 or more character": "V\u00e4nligen ange 1 eller fler tecken", 
    "Please enter a new password": "V\u00e4nligen ange det nya l\u00f6senordet", 
    "Please enter days.": "V\u00e4nligen ange dagar.", 
    "Please enter password": "V\u00e4nligen ange l\u00f6senordet", 
    "Please enter the new password again": "V\u00e4nligen ange det nya l\u00f6senordet igen", 
    "Please enter the old password": "V\u00e4nligen ange det gamla l\u00f6senordet", 
    "Please enter the password again": "V\u00e4nligen ange l\u00f6senordet igen", 
    "Please enter valid days": "V\u00e4nligen ange giltiga dagar", 
    "Please input at least an email.": "V\u00e4nligen ange minst en e-postadress.", 
    "Previous (Left arrow key)": "F\u00f6reg\u00e5ende (V\u00e4nster piltangent)", 
    "Processing...": "Arbetar...", 
    "Quit Group": "L\u00e4mna grupp", 
    "Read-Only": "L\u00e4s enbart", 
    "Read-Only library": "Skrivskyddat bibliotek", 
    "Read-Write": "L\u00e4s/Skriv", 
    "Read-Write library": "Skrivbart bibliotek", 
    "Really want to dismiss this group?": "Vill du verkligen ta bort denna grupp?", 
    "Refresh": "Uppdatera", 
    "Removed all items from trash.": "Rensade alla objekt fr\u00e5n papperskorgen.", 
    "Removed items older than {n} days from trash.": "Rensade objekt som \u00e4r \u00e4ldre \u00e4n {n} dagar fr\u00e5n papperskorgen.", 
    "Rename": "D\u00f6p om", 
    "Rename File": "D\u00f6p om fil", 
    "Rename Folder": "D\u00f6p om mapp", 
    "Renamed or Moved files": "Omd\u00f6pta eller flyttade filer", 
    "Replace file {filename}?": "Ers\u00e4tt filen {filename}?", 
    "Restore Library": "\u00c5terst\u00e4ll bibliotek", 
    "Saving...": "Sparar...", 
    "Search files in this wiki": "S\u00f6k i alla filer i denna wiki", 
    "Search groups": "S\u00f6k grupper", 
    "Search user or enter email and press Enter": "S\u00f6k anv\u00e4ndare eller ange mejladress och tryck Enter", 
    "Search users or enter emails and press Enter": "S\u00f6k anv\u00e4ndare eller ange mejladress och tryck Enter", 
    "Searching...": "S\u00f6ker...", 
    "Select a group": "V\u00e4lj en grupp", 
    "Select groups": "V\u00e4lj grupper", 
    "Set {placeholder}'s permission": "S\u00e4tt {placeholder}s r\u00e4ttigheter", 
    "Settings": "Inst\u00e4llningar", 
    "Share {placeholder}": "Dela {placeholder}", 
    "Show": "Visa", 
    "Size": "Storlek", 
    "Start": "Starta", 
    "Submit": "OK", 
    "Success": "Lyckades", 
    "Successfully added label(s) for library {placeholder}": "Lyckades l\u00e4gga till markering(ar) till biblioteket {placeholder}", 
    "Successfully changed library password.": "\u00c4ndrade l\u00f6senord f\u00f6r bibliotek.", 
    "Successfully clean all errors.": "Rensade alla meddelanden", 
    "Successfully copied %(name)s": "Lyckades kopiera %(name)s", 
    "Successfully copied %(name)s and %(amount)s other items.": "Lyckades kopiera %(name)s och %(amount)s andra filer.", 
    "Successfully copied %(name)s and 1 other item.": "Lyckades kopiera %(name)s och 1 annan fil.", 
    "Successfully copied %(name)s.": "Lyckades kopiera %(name)s.", 
    "Successfully deleted %(name)s": "Lyckades ta bort %(name)s", 
    "Successfully deleted %(name)s and %(amount)s other items.": "Lyckades ta bort %(name)s och %(amount)s andra filer.", 
    "Successfully deleted %(name)s and 1 other item.": "Lyckades ta bort %(name)s och 1 annat objekt.", 
    "Successfully deleted %(name)s.": "Lyckades ta bort %(name)s.", 
    "Successfully deleted 1 item": "Lyckades ta bort 1 sak", 
    "Successfully deleted 1 item.": "Lyckades ta bort 1 sak.", 
    "Successfully deleted library {placeholder}": "Lyckades tabort katalogen {placeholder}", 
    "Successfully deleted member {placeholder}": "Lyckades ta bort medlem {placeholder}", 
    "Successfully deleted.": "Lyckades ta bort.", 
    "Successfully imported.": "Import lyckades.", 
    "Successfully invited %(email) and %(num) other people.": "Lyckades bjuda in %(email) och %(num) andra personer.", 
    "Successfully invited %(email).": "Lyckades bjuda in %(email).", 
    "Successfully modified permission": "Lyckades modifiera r\u00e4ttigheter", 
    "Successfully moved %(name)s": "Lyckades flytta %(name)s", 
    "Successfully moved %(name)s and %(amount)s other items.": "Lyckades flytta %(name)s och %(amount)s andra filer.", 
    "Successfully moved %(name)s and 1 other item.": "Lyckades flytta %(name)s och 1 annan fil.", 
    "Successfully moved %(name)s.": "Lyckades flytta %(name)s.", 
    "Successfully restored library {placeholder}": "Lyckades \u00e5terst\u00e4lla katalogen {placeholder}", 
    "Successfully sent to {placeholder}": "Lyckades skicka till {placeholder}", 
    "Successfully set library history.": "Satte biblioteks historik.", 
    "Successfully transferred the group.": "Gruppen \u00f6verf\u00f6rd.", 
    "Successfully transferred the group. You are now a normal member of the group.": "\u00d6verf\u00f6ring av gruppen lyckades. Du \u00e4r nu en vanlig medlem i gruppen.", 
    "Successfully transferred the library.": "Biblioteket \u00f6verf\u00f6rdes.", 
    "Successfully unlink %(name)s.": "Tog bort %(name)s.", 
    "Successfully unshared 1 item.": "Lyckades avdela 1 sak.", 
    "Successfully unshared library {placeholder}": "Slutade dela bibliotek {placeholder}", 
    "Successfully unstared {placeholder}": "Tog bort {placeholder} fr\u00e5n favoriter", 
    "System Admin": "Systemadmin", 
    "Tag should not include ','.": "Tagg ska inte inkludera ','.", 
    "Transfer Group": "\u00d6verf\u00f6r grupp", 
    "Transfer Group {group_name} To": "\u00d6verf\u00f6r Grupp {group_name} Till", 
    "Transfer Library": "\u00d6verf\u00f6r bibliotek", 
    "Transfer Library {library_name} To": "\u00d6verf\u00f6r bibliotek {library_name} till", 
    "Transferred group {group_name} from {user_from} to {user_to}": "\u00d6verf\u00f6rde grupp {group_name} fr\u00e5n {user_from} till {user_to}", 
    "Transferred library {library_name} from {user_from} to {user_to}": "\u00d6verf\u00f6rde bibliotek {library_name} fr\u00e5n {user_from} till {user_to}", 
    "Unlink device": "Avl\u00e4nka enhet", 
    "Unshare Library": "Sluta dela bibliotek", 
    "Uploaded bytes exceed file size": "Uppladdade bytes \u00f6verskrider filstorleken", 
    "Used": "Anv\u00e4nt", 
    "Wikis": "Wikis", 
    "You can only select 1 item": "Du kan bara v\u00e4lja 1 objekt", 
    "You cannot select any more choices": "Du kan inte v\u00e4lja fler alternativ", 
    "You have logged out.": "Du har loggat ut.", 
    "canceled": "avbruten", 
    "locked by {placeholder}": "l\u00e5st av {placeholder}", 
    "uploaded": "uppladdad", 
    "{placeholder} Folder Permission": "{placeholder} Katalogr\u00e4ttigheter", 
    "{placeholder} History Setting": "{placeholder} Historikinst\u00e4llning", 
    "{placeholder} Members": "{placeholder} Medlemmar", 
    "{placeholder} Share Links": "{placeholder} Dela L\u00e4nkar"
  };
  for (var key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      var value = django.catalog[msgid];
      if (typeof(value) == 'undefined') {
        return msgid;
      } else {
        return (typeof(value) == 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      var value = django.catalog[singular];
      if (typeof(value) == 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value[django.pluralidx(count)];
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      var value = django.gettext(context + '\x04' + msgid);
      if (value.indexOf('\x04') != -1) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.indexOf('\x04') != -1) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "j F Y H:i", 
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S", 
      "%Y-%m-%d %H:%M:%S.%f", 
      "%Y-%m-%d %H:%M", 
      "%Y-%m-%d", 
      "%m/%d/%Y %H:%M:%S", 
      "%m/%d/%Y %H:%M:%S.%f", 
      "%m/%d/%Y %H:%M", 
      "%m/%d/%Y", 
      "%m/%d/%y %H:%M:%S", 
      "%m/%d/%y %H:%M:%S.%f", 
      "%m/%d/%y %H:%M", 
      "%m/%d/%y"
    ], 
    "DATE_FORMAT": "j F Y", 
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d", 
      "%m/%d/%Y", 
      "%m/%d/%y"
    ], 
    "DECIMAL_SEPARATOR": ",", 
    "FIRST_DAY_OF_WEEK": "1", 
    "MONTH_DAY_FORMAT": "j F", 
    "NUMBER_GROUPING": "3", 
    "SHORT_DATETIME_FORMAT": "Y-m-d H:i", 
    "SHORT_DATE_FORMAT": "Y-m-d", 
    "THOUSAND_SEPARATOR": "\u00a0", 
    "TIME_FORMAT": "H:i", 
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S", 
      "%H:%M:%S.%f", 
      "%H:%M"
    ], 
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      var value = django.formats[format_type];
      if (typeof(value) == 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }

}(this));

