diff --git a/source/libublsettings-gtk3-packages.c b/source/libublsettings-gtk3-packages.c index 803c44b..ad2896e 100644 --- a/source/libublsettings-gtk3-packages.c +++ b/source/libublsettings-gtk3-packages.c @@ -314,24 +314,24 @@ yon_packages_info *yon_packages_get_info_struct(enum YON_PACKAGES_DB_TYPE type, char *yon_packages_get_info_string(yon_packages_info *info){ char *packager = yon_char_return_if_exist(info->packager,""); char *info_label = yon_char_unite( - "Repository :",yon_char_return_if_exist(info->repo_name,""),"\n", - "Name :",yon_char_return_if_exist(info->package_name,""),"\n", - "Version :",yon_char_return_if_exist(info->version,""),"\n", - "Description :",yon_char_return_if_exist(info->description,""),"\n", - "Architecture :",yon_char_return_if_exist(info->architecture,""),"\n", - "URL :",yon_char_return_if_exist(info->url,""),"\n", - "Licenses :",yon_char_return_if_exist(info->licence,""),"\n", - "Groups :",yon_char_return_if_exist(info->groups,""),"\n", - "Provides :",yon_char_return_if_exist(info->provides,""),"\n", - "Depends On :",yon_char_return_if_exist(info->depends,""),"\n", - "Optional Deps :",yon_char_return_if_exist(info->optional_depends,""),"\n", - "Conflicts With :",yon_char_return_if_exist(info->conflicts,""),"\n", - "Replaces :",yon_char_return_if_exist(info->replaces,""),"\n", - "Download Size :",yon_char_return_if_exist(info->download_size,""),"\n", - "Installed Size :",yon_char_return_if_exist(info->install_size,""),"\n", - "Packager :",g_markup_escape_text(packager,strlen(packager)),"\n", - "Build Date :",yon_char_return_if_exist(info->build_date,""),"\n", - "Validated By :",yon_char_return_if_exist(info->architecture,""), + "",_("Repository"),"\t\t:",yon_char_return_if_exist(info->repo_name,""),"\n", + "",_("Name"),"\t\t\t:",yon_char_return_if_exist(info->package_name,""),"\n", + "",_("Version"),"\t\t:",yon_char_return_if_exist(info->version,""),"\n", + "",_("Description"),"\t:",yon_char_return_if_exist(info->description,""),"\n", + "",_("Architecture"),"\t:",yon_char_return_if_exist(info->architecture,""),"\n", + "",_("URL"),"\t\t\t:",yon_char_return_if_exist(info->url,""),"\n", + "",_("Licenses"),"\t\t:",yon_char_return_if_exist(info->licence,""),"\n", + "",_("Groups"),"\t\t\t:",yon_char_return_if_exist(info->groups,""),"\n", + "",_("Provides"),"\t\t:",yon_char_return_if_exist(info->provides,""),"\n", + "",_("Depends On"),"\t:",yon_char_return_if_exist(info->depends,""),"\n", + "",_("Optional Deps"),"\t:",yon_char_return_if_exist(info->optional_depends,""),"\n", + "",_("Conflicts With"),"\t:",yon_char_return_if_exist(info->conflicts,""),"\n", + "",_("Replaces"),"\t\t:",yon_char_return_if_exist(info->replaces,""),"\n", + "",_("Download Size"),"\t:",yon_char_return_if_exist(info->download_size,""),"\n", + "",_("Installed Size"),"\t:",yon_char_return_if_exist(info->install_size,""),"\n", + "",_("Packager"),"\t\t:",g_markup_escape_text(packager,strlen(packager)),"\n", + "",_("Build Date"),"\t\t:",yon_char_return_if_exist(info->build_date,""),"\n", + // "",_("Validated By"),"\t:",yon_char_return_if_exist(info->architecture,""), NULL); return info_label; } diff --git a/source/libublsettings-gtk3.h b/source/libublsettings-gtk3.h index 2b1c6ab..b254390 100644 --- a/source/libublsettings-gtk3.h +++ b/source/libublsettings-gtk3.h @@ -3,6 +3,7 @@ #include #include #include +#include #include #define _(String) gettext(String)