Modified webpage: now tinymail repository is in gitorious.
[modest] / src / modest-text-utils.h
index e387c16..f0c685d 100644 (file)
 #define _HL_IB_FIND_COMPLETE _HL("ckct_ib_find_search_complete")
 #define _HL_IB_FIND_NO_MATCHES _HL("ckct_ib_find_no_matches")
 #define _HL_IB_ZOOM _HL("wdgt_ib_zoom")
+
+#define _CS_ILLEGAL_CHARACTERS_ENTERED _CS("ckdg_ib_illegal_characters_entered")
+#define _CS_CANNOT_ZOOM_HERE _CS("ckct_ib_cannot_zoom_here")
+#define _CS_MAX_ZOOM_LEVEL_REACHED _CS("ckct_ib_max_zoom_level_reached")
+#define _CS_MIN_ZOOM_LEVEL_REACHED _CS("ckct_ib_min_zoom_level_reached")
+#define _CS_MAXIMUM_CHARACTERS_REACHED _CS("ckdg_ib_maximum_characters_reached")
+#define _CS_FOLDER_ALREADY_EXISTS _CS("ckdg_ib_folder_already_exists")
+#define _CS_SET_PASSWORD_INCORRECT _CS("ecdg_ib_set_password_incorrect")
+#define _CS_UNABLE_TO_PASTE_HERE _CS("ckct_ib_unable_to_paste_here")
+#define _CS_UNABLE_TO_OPEN_FILE_NOT_FOUND _CS("sfil_ni_unable_to_open_file_not_found")
+#define _CS_UNABLE_TO_RENAME _CS("ckdg_ib_unable_to_rename")
+#define _CS_UNABLE_TO_DELETE _CS("ckdg_ib_unable_to_delete")
+#define _CS_NOTHING_TO_SORT _CS("ckdg_ib_nothing_to_sort")
+#define _CS_NOT_ENOUGH_MEMORY _CS("sfil_ni_not_enough_memory")
+#define _CS_FOLDER_ALREADY_EXISTS _CS("ckdg_ib_folder_already_exists")
+#define _CS_PASTING _CS("ckct_nw_pasting")
+#define _CS_GETTING_ITEMS _CS("mcen_ib_getting_items")
+#define _CS_COPIED _CS("ecoc_ib_edwin_copied")
+#define _CS_UNABLE_TO_SEND _CS("sfil_ib_unable_to_send")
+#define _CS_FIND_REP_ENTER_TEXT _CS("ecdg_ib_find_rep_enter_text")
+#define _CS_UPDATING _CS("ckdg_pb_updating")
+#define _CS_SAVED _CS("sfil_ib_saved")
+
+#define _FM_CHANGE_FOLDER _FM("ckdg_ti_change_folder")
+#define _FM_NEW_FOLDER_NAME_STUB _FM("ckdg_va_new_folder_name_stub")
+#define _FM_NEW_FOLDER_DIALOG_OK _FM("ckdg_bd_new_folder_dialog_ok")
+#define _FM_NEW_FOLDER_LOCATION _FM("ckdg_fi_new_folder_location")
+#define _FM_NEW_FOLDER_NAME _FM("ckdg_fi_new_folder_name")
+#define _FM_FOLDER_UP _FM("filemanager_folder_up")
+#define _FM_SIZE_KB _FM("sfil_li_size_kb")
+#define _FM_SIZE_1KB_99KB _FM("sfil_li_size_1kb_99kb")
+#define _FM_SIZE_100KB_1MB _FM("sfil_li_size_100kb_1mb")
+#define _FM_SIZE_1MB_10MB _FM("sfil_li_size_1mb_10mb")
+#define _FM_SIZE_10MB_1GB _FM("sfil_li_size_10mb_1gb")
+#define _FM_SIZE_1GB_OR_GREATER _FM("sfil_li_size_1gb_or_greater")
+#define _FM_OPENING_NOT_ALLOWED _FM("sfil_ib_opening_not_allowed")
+#define _FM_REPLACE_FILE _FM("docm_nc_replace_file")
+#define _FM_REPLACE_MULTIPLE _FM("docm_nc_replace_multiple")
+#define _FM_READ_ONLY_LOCATION _FM("sfil_ib_readonly_location")
+#define _FM_SAVE_OBJECT_FILES _FM("sfil_ti_save_object_files")
+#define _FM_CHANGE_FOLDER_NEW_FOLDER ("ckdg_bd_change_folder_new_folder")
 #else
 #define _HL_SAVE _("Save")
 #define _HL_YES _("Yes")
 #define _HL_IB_FIND_COMPLETE _("Search complete")
 #define _HL_IB_FIND_NO_MATCHES _("No matches")
 #define _HL_IB_ZOOM _("Zoom %d")
+
+#define _CS_ILLEGAL_CHARACTERS_ENTERED _("Illegal characters entered")
+#define _CS_CANNOT_ZOOM_HERE _("Cannot zoom here")
+#define _CS_MAX_ZOOM_LEVEL_REACHED _("Max. zoom level reached")
+#define _CS_MIN_ZOOM_LEVEL_REACHED _("Min. zoom level reached")
+#define _CS_MAXIMUM_CHARACTERS_REACHED _("Maximum characters reached")
+#define _CS_FOLDER_ALREADY_EXISTS _("Folder already exists")
+#define _CS_SET_PASSWORD_INCORRECT _("Password incorrect")
+#define _CS_UNABLE_TO_PASTE_HERE _("Unable to paste here")
+#define _CS_UNABLE_TO_OPEN_FILE_NOT_FOUND _("File not found")
+#define _CS_UNABLE_TO_RENAME _("Unable to rename")
+#define _CS_UNABLE_TO_DELETE _("Unable to delete")
+#define _CS_NOTHING_TO_SORT _("Nothing to sort")
+#define _CS_NOT_ENOUGH_MEMORY _("Not enough memory")
+#define _CS_FOLDER_ALREADY_EXISTS _("Folder already exists")
+#define _CS_PASTING _("Pasting")
+#define _CS_GETTING_ITEMS _("Getting items")
+#define _CS_COPIED _("Copied")
+#define _CS_UNABLE_TO_SEND _("Unable to send")
+#define _CS_FIND_REP_ENTER_TEXT _("Enter text to search")
+#define _CS_UPDATING _("Updating...")
+#define _CS_SAVED _("Saved")
+
+#define _FM_CHANGE_FOLDER _("Change folder")
+#define _FM_NEW_FOLDER_NAME_STUB _("Folder")
+#define _FM_NEW_FOLDER_DIALOG_OK _("Save")
+#define _FM_NEW_FOLDER_LOCATION _("Location")
+#define _FM_NEW_FOLDER_NAME _("Name")
+#define _FM_FOLDER_UP GTK_STOCK_GO_UP
+#define _FM_SIZE_KB _("%d KB")
+#define _FM_SIZE_1KB_99KB _("%d KB")
+#define _FM_SIZE_100KB_1MB _("%d KB")
+#define _FM_SIZE_1MB_10MB _("%.2f MB")
+#define _FM_SIZE_10MB_1GB _("%.1f MB")
+#define _FM_SIZE_1GB_OR_GREATER _("%.2f GB")
+#define _FM_OPENING_NOT_ALLOWED _("Opening not allowed")
+#define _FM_REPLACE_FILE _("Replace the existing file with another with the same name?")
+#define _FM_REPLACE_MULTIPLE _("Replace existing contents in folder with the same name?")
+#define _FM_READ_ONLY_LOCATION _("Selected location is read only")
+#define _FM_SAVE_OBJECT_FILES _("Save files")
+#define _FM_CHANGE_FOLDER_NEW_FOLDER ("New folder")
 #endif
 
 /* Forbidden char arrays */
@@ -611,4 +693,10 @@ gchar * modest_text_utils_get_secure_header (const gchar *value, const gchar *he
  **/
 gchar * modest_text_utils_quote_names (const gchar *recipients);
 
+gboolean modest_text_utils_no_recipient (GtkTextBuffer *buffer);
+
+gchar * modest_text_utils_create_colored_signature (const gchar *signature);
+
+gboolean modest_text_utils_live_search_find (const gchar *haystack, const gchar *needles);
+
 #endif /* __MODEST_TEXT_UTILS_H__ */