
var RES = {
    extranet : {
        facturer: {
            date        : "Date",
            order   : "Order",
            client  : "Client",
            size        : "Size",
            paper   : "Paper",
            ammount     : "Ammount"
        },
        production: {
            status_change : "New status has been saved"
        }
    },

    group : {
        images: {
            details : {
                    first : "First",
                    next    : "Next",
                    prev    : "Prev",
                    last    : "Last",
                    from    : "From",
                    delfmgr : "Remove from group"
            },

            by:"By"
        }
    },

    home : {
        edit: {
            del : "del",
            profile_was_succesfully_updated : "Profile was succesfully updated",
            profile_data_is_incorrect : "Your profile was not saved. Please have a look at recommendation below.",
            data_was_saved : "Data was saved",
            error : "Error"
        }
    },

    magazine : {
        article: {
            comments : "COMMENTS",
            no_comments : "NO COMMENTS",
            article_was_added  : "Article was added in your selection",
            article_already  : "Article already in your selection"
        },

        compose: {
            article_submitted : "Article was successfully submitted"
        },

        honouredmembers: {
            no_members : "No honour members",
            view_more : "View more"
        },

        popular: {
            view_image : "VIEW IMAGE",
            view_profile : "VIEW PROFILE",
            view_portfolio : "VIEW PORTFOLIO",
            view_gallerie : "VIEW GALLERIE"
        }

    },

    my : {
        library: "Library",
        choose_folder: "Choose a folder",
        choose_portfolio: "Choose a portfolio",
        choose_group: "Choose a group",
        choose_print_folder: "Choose a print folder",
        email1_emailn: "email1, email2...",
        folder: {
            del : "DELETE",
            folder: "Folder:"
        },

        portfolio: {
            settings: {
                del : "Del",
                no_description : "No description"
            },
            portfolio: "Portfolio:",
            del : "DELETE",
            unpublish : "UNPUBLISH",
            publish : "PUBLISH"
        },

        image: {
            settings: {
                price_has_been_set : "Price of your image has been set.",
                message_sent_to_recipients: "Message sent to recipient(s)."
            }
        },
        
        download_image: {
            titles: {
                small : "Small",
                medium : "Medium",
                large : "Large",
                xlarge : "XLarge",
                original : "Original"
            }
        },

        watermark_size: {
            "0": "Small",
            "1": "Large"
        },

        watermark_opacity: {
            "0": "Light",
            "1": "Strong"
        }
    },

    mygallery : {
        library: "Library",
        portfolio: "Portfolio:",
        common: {
            alternative_content : "Alternative content",
            get_flash_player : "Get Adobe Flash player"
        },
        gallery: {
            no_contact : "No contact",
            no_bio : "No bio",
            no_news : "No news"
        },

        uploader: {
            error : "Error",
            error_ext : "Wrong extension. Extention should be mp3.",
            file_was_uploaded : "File was uploaded"
        },
        email1_emailn: "email1, email2..."
    },

    portfolio : {
        journal: {
            uploaded_on : "Uploaded on",
            viewed : "Viewed",
            loved : "Loved",
            times : "times",
            comments : "comments"
        },

        main: {
            separate_tags : "Separate each tag with a comma",
            uploaded_on : "Uploaded on",
            viewed : "Viewed",
            loved_0_times : "Loved 0 times",
            comments : ["comments","comment"],
            edit_settings : "Full edit",
            remove : "Unpublish",
            remove_from_portfolio : "Remove from portfolio",
            images : "Images",
            portfolios : "Portfolios",
            launch_gallery_view : "Launch photo gallery",
            click_to_change_title : "Click here to change title",
            no_tags_available : "no tags available",
            tags : "Tags:",
            add_more_tags : "add more tags",
            all_rights_reserved : "All rights reserved",
            some_rights_reserved : "Some rights reserved",
            edit_image_title : "Edit"
        },

        view: {
            share_twitter : "I like this image seen on DarQroom",
            share_this_image : "would like to share this image from DarQroom",
            del : "Delete",
            first : "First",
            prev : "Prev",
            next : "Next",
            last : "Last",
            from : "From:",
            by : "by",
            num_votes: ["%s voters", "One vote"],
            meta_cats_tags : "Photo %s: %s",
            meta_cats : "Photo %s",
            meta_tags : "Photo: %s",
            alt_cats_tags : "%s (photo %s) by %s - %s",
            alt_cats : "%s (photo %s) by %s",
            alt_tags : "%s by %s - %s",
            alt : "%s by %s",
                        title_no_tags : "\"%s\" by %s, %s - A photo from portfolio \"%s\" on DarQroom",
                        title_tags : "\"%s\" by %s, %s - A photo from portfolio \"%s\" on DarQroom - %s"
        },

        visibility: {
            all : "all",
            contacts : "Contacts",
            dqr_members : "DQR members",
            nobody : "Nobody"
        },

        image: {
            votes : ["votes","vote"],
            comments : ["comments","comment"]
        }
    },

    register : {
        step1: {
            yes : "yes",
            no : "no"
        }
    },

    common : {
        table : "Table:",
        not_supported : "not supported",
        notitle : "no title"
    },

    upload : {
        upload_in_progress : "UPLOAD in progress:",
        error_invalid_url : "Sorry. No image can be found at this address."
    },

    lightbox : {
        add : "Add",
        remove : "Remove",
        order_a_print : "Order a print",
        info : "Info",
        image_was_added : "Image was added in your lightbox",
        image_already  : "Image already in your lightbox"
    },

    search : {
        add_to_cart : "Add to Cart",
        add_to_lightbox : "Add to LightBox"
    },

    validate : {
        custom: {
            no_spaces : "No spaces please",
            english_letters_digits_underscores : "Starts with english letter, contains english letters, digits and underscores only",
            english_letters_digits_points_underscores  : "Starts with english letter, contains english letters, digits, points and underscores only",
            wrong_link : "Wrong link",
            enter_email : "Please enter email",
            compare_emails : "Emails do not match"
        }
    },

    searchbox : {
        images : "Search images",
        members : "Search members",
        portfolios : "Search portfolios",
        groups : "Search groups"
    },

    messages : {
        select_all : "Select All",
        unselect_all : "Unselect All",
        sender : "Sender",
        receiver : "Receiver",
        invalid_email : "Please enter correct email"
    },

    date_format : {
        format1: "%d/%m/%y - %Gh%i",
        format2: "%d/%m/%y",
        format3: "%d/%m/%Y",
        format4: "%d.%m.%y %H:%i",
        format5: "%d-%m",
        format6: "%d %M",
        format7: "%M %j, %Y",
        format8: "%j, %F %Y",
        format9: "%l, %F %j %Y",
        format10: "%m/%d/%y",
        format11: "%l %j, %F %Y",
        format12: "%D, %M %jth %y %g:%i%A",
        format13: "%F %d, %Y",
        format14: "%F %jth %Y at %g:%i:%s%A",
        format15: "%Y%m%d",
        format16: "%Y/%m/%d - %H:%i",
        format17: "%Y-%m-%d",
        format18: "%I:%M:%S %p",
        format19: "%H:%M:%S",
        format20: "%Y-%m-%d %H:%M:%S",
        format21: "%F %d, %Y",
        format22: "%F, %j %Y",
        format23: "%M, %d %Y",
        format24: "%H:%i",
        format25: "%d-%m-%Y",
        format26: "%Y-%m-%dT%H:%M:%S",
        short_date_time: "%M %jth, %Y at %g:%i%A"


    },

    my_sortby_droplist : {
        ord: "sort images by user sort",
        add: "sort images by latest adds",
        date: "sort images by date",
        rating: "sort images by rating",
        title: "sort images by title",
        published : "Published images",
        unpublished : "Unpublished images"
    },

    limitLength: {
        left_chars: "Left chars:"
    },

    strings : {
        "Classic Prints in Pro Quality" : "Classic Prints in Pro Quality",
        "Fine Art Prints" : "Fine Art Prints",
        "Contact Sheet" : "Contact Sheet"
    },

    printlegend: {
        resolution: "Insufficient resolution to obtain an optimal quality. Please consider a smaller print format.",
        crop: "Image will be cropped to fit print format. Please click on thumbnail to create white margins so that image is fully printed.",
        shrink: "Image will be shrinked to be fully printed. Please click on thumbnail to crop image and remove white margins."
    },

    money: {
        format: function(o) {
            return parseFloat(o).toFixed(2).replace('.', '.')
        },
        parse: function(o) {
            return parseFloat(o.replace('.', '.'));
        }
    },

    prints: {
        print: "print",
        prints: "prints"
    },
    
    order: {
        free: "Free",
        fineart: {
            canvas: "Note: Our canvas prints are delivered as rolls. A 5cm white margin is required for later framing.",
            digigraphie: {
                note: "Note: Digigraphie prints require a minimum white margin of 2 cm where printer can place the authenticity relief stamp.",
                note_canvas: "Note: Digigraphie prints require a minimum white margin of 5 cm where printer can place the authenticity relief stamp.",
                
                name: "Please provide an official work-of-art name",
                count: "Please enter count"
            }
        }
    },

    gravity: {
        "0": "North-West",
        "1": "North",
        "2": "North-East",
        "3": "West",
        "4": "Center",
        "5": "East",
        "6": "South-West",
        "7": "South",
        "8": "South-East"
    },
    
    news: {
        dont_like:"I don't like anymore",
        like:"I like",
        loading_image:"Loading image",
        loading_link:"Loading link details",
        image_url:"Image URL",
        link_url:"Link URL",
        older_format:"%M %d, at %H:%i",
        yesterday_format:"Yesterday, at %H:%i",
        week_format:"%l, at %H:%i",
        hour_format:["%s hours ago", "One hour ago"],
        minute_format:["%s minutes ago", "One minute ago"],
        you:"You",
        source:"Source"              
    }

};


function ngettext(str, count, arg) {
    var ret = count == 1 ? str[1] : str[0];
    return typeof arg != 'undefined' ? sprintf(ret, arg) : ret;
}
