localisation WIP; saving for main window

pull/30/head
parent ad5a1dea9b
commit ac7d4fe0ef

@ -4,6 +4,88 @@ config main_config;
//functions //functions
void yon_save_interface(main_window *widgets){
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->AutoUpdateCheck))){
yon_config_register(AUTOUPDATE,AUTOUPDATE_command,"enable");
}
int save_mode = gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->UpdateModeCombo));
switch (save_mode){
case 0: yon_config_remove_by_key(AUTOUPDATE_mode);
break;
case 1:yon_config_register(AUTOUPDATE_mode,AUTOUPDATE_mode_command,"modsys");
break;
case 2:yon_config_register(AUTOUPDATE_mode,AUTOUPDATE_mode_command,"modules");
break;
case 3:yon_config_register(AUTOUPDATE_mode,AUTOUPDATE_mode_command,"system");
break;
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->UpdateIntervalDefaultCheck))){
yon_config_remove_by_key(AUTOUPDATE_interval);
} else {
char *int_str = yon_char_from_long(gtk_spin_button_get_value(GTK_SPIN_BUTTON(widgets->UpdateIntervalSpin)));
char *interval = NULL;
switch(gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo))){
case 0: interval = "boost";
break;
case 1: interval = yon_char_append(int_str,"min");
break;
case 2: interval = yon_char_append(int_str,"h");
break;
case 3: interval = yon_char_append(int_str,"d");
break;
case 4: interval = yon_char_append(int_str,"M");
break;
}
yon_config_register(AUTOUPDATE,AUTOUPDATE_command,interval);
}
if (gtk_combo_box_get_active(GTK_COMBO_BOX(widgets->UpdateRepoListCombo))){
yon_config_remove_by_key(AUTOUPDATE_repos);
} else {
char *repos = "";
GtkTreeIter iter;
for_iter(GTK_TREE_MODEL(widgets->UpdateRepoList),&iter){
char *target;
int status;
gtk_tree_model_get(GTK_TREE_MODEL(widgets->UpdateRepoList),&iter,0,&status,1,&target,-1);
if (status){
char *temp = yon_char_unite(repos,!yon_char_is_empty(repos)?",":"",target,NULL);
if (!yon_char_is_empty(repos)) free(repos);
repos = temp;
}
}
yon_config_register(AUTOUPDATE_repos,AUTOUPDATE_repos_command,repos);
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck))){
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesDisableSystemReposCheck))){
yon_config_register(REPOSITORY_parameter,REPOSITORY_parameter_command,"only");
} else {
yon_config_register(REPOSITORY_parameter,REPOSITORY_parameter_command,"enable");
}
} else {
yon_config_register(REPOSITORY_parameter,REPOSITORY_parameter_command,"disable");
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->PublicationConnectPublicCheck))){
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->RecieveDBFromNetCheck))){
yon_config_register(REPOPUBLIC_NET_parameter,REPOPUBLIC_NET_parameter_command,"db");
} else {
yon_config_register(REPOPUBLIC_NET_parameter,REPOPUBLIC_NET_parameter_command,"enable");
}
} else {
yon_config_register(REPOPUBLIC_NET_parameter,REPOPUBLIC_NET_parameter_command,"disable");
}
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widgets->MirrorPublicCheck))){
yon_config_register(REPOPUBLIC_CACHE,REPOPUBLIC_CACHE_command,"enable");
} else {
yon_config_register(REPOPUBLIC_CACHE,REPOPUBLIC_CACHE_command,"disable");
}
}
void yon_load_proceed(YON_CONFIG_TYPE type){ void yon_load_proceed(YON_CONFIG_TYPE type){
yon_config_clean(); yon_config_clean();
if (!yon_char_is_empty(config_get_default_command)) if (!yon_char_is_empty(config_get_default_command))
@ -46,193 +128,213 @@ void yon_interface_update(main_window *widgets){
gtk_list_store_clear(widgets->PublicationList); gtk_list_store_clear(widgets->PublicationList);
gtk_list_store_clear(widgets->WebPublicationList); gtk_list_store_clear(widgets->WebPublicationList);
int size; int size;
char *repo_config = config(REPOSITORY_parameter);
if (!yon_char_is_empty(repo_config)){
if (!strcmp(repo_config,"disable")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck),0);
} else if (!strcmp(repo_config,"enable")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck),1);
}else if (!strcmp(repo_config,"only")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesDisableSystemReposCheck),1);
}
}
config_str repos = yon_config_get_all_by_key(REPOSITORY_search,&size);
GtkTreeIter iter; GtkTreeIter iter;
for (int i=0;i<size;i++){ {
char *current = yon_char_new(repos[i]); char *repo_config = config(REPOSITORY_parameter);
char *key = yon_char_divide_search(current,"=",-1); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck),0);
free(yon_char_divide_search(key,"[",-1)); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesDisableSystemReposCheck),0);
key[strlen(key)-1]='\0'; if (!yon_char_is_empty(repo_config)){
int cur_size; if (!strcmp(repo_config,"disable")){
config_str parsed = yon_char_parse(current,&cur_size,";"); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck),0);
if (cur_size){ } else if (!strcmp(repo_config,"enable")){
gtk_list_store_append(widgets->ReposList,&iter); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesRepoListConfigurationCheck),1);
char *temp = yon_char_replace(parsed[0],",","\n"); }else if (!strcmp(repo_config,"only")){
free(parsed[0]); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RepositoriesDisableSystemReposCheck),1);
parsed[0] = temp; }
gtk_list_store_set(widgets->ReposList,&iter,0,cur_size>3&&!strcmp(parsed[3],"")?1:0,1,key,2,parsed[0],3,cur_size>1?parsed[1]:"",4,cur_size>2?parsed[2]:"",-1);
} }
free(key);
free(current);
yon_char_parsed_free(parsed,cur_size);
}
yon_char_parsed_free(repos,size);
char *publish = config(REPOPUBLIC_NET); config_str repos = yon_config_get_all_by_key(REPOSITORY_search,&size);
if (publish) { for (int i=0;i<size;i++){
int cur_size; char *current = yon_char_new(repos[i]);
config_str parsed = yon_char_parse(publish,&cur_size,","); char *key = yon_char_divide_search(current,"=",-1);
if (cur_size){ free(yon_char_divide_search(key,"[",-1));
if (!strcmp(parsed[0],"disable")||!strcmp(parsed[0],"no")||!strcmp(parsed[0],"none")){ key[strlen(key)-1]='\0';
int cur_size;
config_str parsed = yon_char_parse(current,&cur_size,";");
if (cur_size){
gtk_list_store_append(widgets->ReposList,&iter);
char *temp = yon_char_replace(parsed[0],",","\n");
free(parsed[0]);
parsed[0] = temp;
gtk_list_store_set(widgets->ReposList,&iter,0,cur_size>3&&!strcmp(parsed[3],"")?1:0,1,key,2,parsed[0],3,cur_size>1?parsed[1]:"",4,cur_size>2?parsed[2]:"",-1);
} else if (!strcmp(parsed[0],"enable")||!strcmp(parsed[0],"yes")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PublicationConnectPublicCheck),1);
}
if (cur_size>1&&!strcmp(parsed[1],"db")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RecieveDBFromNetCheck),1);
}
if (cur_size>2){
for (int i=2;i<cur_size;i++){
gtk_list_store_append(widgets->PublicationList,&iter);
gtk_list_store_set(widgets->PublicationList,&iter,1,parsed[i],-1);
}
} }
free(key);
free(current);
yon_char_parsed_free(parsed,cur_size); yon_char_parsed_free(parsed,cur_size);
} }
yon_char_parsed_free(repos,size);
} }
{
char *mirror = config(REPOPUBLIC_CACHE); int repos_size;
if (!yon_char_is_empty(mirror)){ config_str publish_repos = yon_config_load(get_publication_list_command,&repos_size);
if (!strcmp(mirror,"enable")||!strcmp(mirror,"yes")){ for (int i=0;i<repos_size;i++){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->MirrorPublicCheck),1); yon_char_remove_last_symbol(publish_repos[i],'\n');
} else if (!strcmp(mirror,"disable")||!strcmp(mirror,"no")||!strcmp(mirror,"none")){ gtk_list_store_append(widgets->PublicationList,&iter);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->MirrorPublicCheck),0); gtk_list_store_set(widgets->PublicationList,&iter,0,1,1,publish_repos[i],-1);
} }
} char *publish = config(REPOPUBLIC_NET_parameter);
if (publish) {
config_str mirror_list = yon_config_get_all_by_key(REPOPUBLIC_CACHE_search,&size);
if (size){
for (int i=0;i<size;i++){
char *cur = yon_char_new(mirror_list[i]);
char *key = yon_char_divide_search(cur,"=",-1);
if (yon_char_is_empty(key)) continue;
free(yon_char_divide_search(key,"[",-1));
key[strlen(key)-1]='\0';
gtk_list_store_append(widgets->MirrorList,&iter);
int cur_size; int cur_size;
config_str parsed = yon_char_parse(cur,&cur_size,","); config_str parsed = yon_char_parse(publish,&cur_size,",");
if (cur_size){ if (cur_size){
gtk_list_store_set(widgets->MirrorList,&iter,0,key,2,yon_char_parsed_to_string(parsed,cur_size,"\n"),-1); if (!strcmp(parsed[0],"disable")||!strcmp(parsed[0],"no")||!strcmp(parsed[0],"none")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PublicationConnectPublicCheck),0);
} else if (!strcmp(parsed[0],"enable")||!strcmp(parsed[0],"yes")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->PublicationConnectPublicCheck),1);
}
if (cur_size>1&&!strcmp(parsed[1],"db")){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RecieveDBFromNetCheck),1);
} else {
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->RecieveDBFromNetCheck),0);
}
if (cur_size>2){
for (int i=2;i<cur_size;i++){
gtk_list_store_append(widgets->PublicationList,&iter);
gtk_list_store_set(widgets->PublicationList,&iter,1,parsed[i],-1);
}
}
yon_char_parsed_free(parsed,cur_size);
} }
} }
} }
{
char *autoupdate_config = config(AUTOUPDATE); char *mirror = config(REPOPUBLIC_CACHE);
if (!yon_char_is_empty(autoupdate_config)&&!strcmp(autoupdate_config,"enable")){ if (!yon_char_is_empty(mirror)){
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->AutoUpdateCheck),1); if (!strcmp(mirror,"enable")||!strcmp(mirror,"yes")){
} gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->MirrorPublicCheck),1);
} else if (!strcmp(mirror,"disable")||!strcmp(mirror,"no")||!strcmp(mirror,"none")){
autoupdate_config = config(AUTOUPDATE_mode); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->MirrorPublicCheck),0);
if (!yon_char_is_empty(autoupdate_config)){ }
if (!strcmp(autoupdate_config,"modsys")){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),1);
} else if (!strcmp(autoupdate_config,"modules")){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),2);
} else if (!strcmp(autoupdate_config,"system")){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),3);
} }
}
char *autoupdate_repos = config(AUTOUPDATE_repos); config_str mirror_list = yon_config_get_all_by_key(REPOPUBLIC_CACHE_search,&size);
if (!yon_char_is_empty(autoupdate_repos)){ if (size){
int parsed_size; for (int i=0;i<size;i++){
GtkTreeIter iter; char *cur = yon_char_new(mirror_list[i]);
config_str parsed = yon_char_parse(autoupdate_repos,&parsed_size,","); char *key = yon_char_divide_search(cur,"=",-1);
for (int i=0;i<parsed_size;i++){ if (yon_char_is_empty(key)) continue;
gtk_list_store_append(GTK_LIST_STORE(widgets->UpdateRepoList),&iter); free(yon_char_divide_search(key,"[",-1));
gtk_list_store_set(widgets->UpdateRepoList,&iter,1,parsed[i],-1); key[strlen(key)-1]='\0';
gtk_list_store_append(widgets->MirrorList,&iter);
int cur_size;
config_str parsed = yon_char_parse(cur,&cur_size,",");
if (cur_size){
gtk_list_store_set(widgets->MirrorList,&iter,0,key,2,yon_char_parsed_to_string(parsed,cur_size,"\n"),-1);
}
}
} }
yon_char_parsed_free(parsed,parsed_size);
} }
{
autoupdate_config = config(AUTOUPDATE_interval); char *autoupdate_config = config(AUTOUPDATE);
if (!yon_char_is_empty(autoupdate_config)){ if (!yon_char_is_empty(autoupdate_config)&&!strcmp(autoupdate_config,"enable")){
if (!strcmp(autoupdate_config,"boot")){ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->AutoUpdateCheck),1);
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),0);
} else { } else {
if (strstr(autoupdate_config,"min")){ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(widgets->AutoUpdateCheck),0);
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),1); }
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='h'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),2);
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='d'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),3);
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='M'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),4);
}
gtk_spin_button_set_value(GTK_SPIN_BUTTON(widgets->UpdateIntervalSpin),atol(autoupdate_config));
}
}
config_str web_publish = yon_config_get_all_by_key(REPOPUBLIC_WEB_search,&size); autoupdate_config = config(AUTOUPDATE_mode);
for (int i=0;i<size;i++){ if (!yon_char_is_empty(autoupdate_config)){
gtk_list_store_append(widgets->WebPublicationList,&iter); if (!strcmp(autoupdate_config,"modsys")){
char *cur = yon_char_new(web_publish[i]); gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),1);
char *key = yon_char_divide_search(cur,"=",-1); } else if (!strcmp(autoupdate_config,"modules")){
free(yon_char_divide_search(key,"[",-1)); gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),2);
key[strlen(key)-1]='\0'; } else if (!strcmp(autoupdate_config,"system")){
char *path = NULL; gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),3);
if (!strstr(key,":")){ }
path=key;
key=NULL;
} else { } else {
path = yon_char_divide_search(key,":",-1); gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateModeCombo),0);
} }
int repos_size;
config_str repos = yon_char_parse(key,&repos_size,",");
gtk_list_store_set(widgets->WebPublicationList,&iter,1,path,2,yon_char_parsed_to_string(repos,repos_size,"\n"),-1);
int cur_size;
config_str parsed = yon_char_parse(cur,&cur_size,":");
if (cur_size){
if (!strcmp(parsed[0],"enable")||!strcmp(parsed[0],"yes")){
gtk_list_store_set(widgets->WebPublicationList,&iter,0,1,-1);
} else if (!strcmp(parsed[0],"disable")||!strcmp(parsed[0],"no")||!strcmp(parsed[0],"none")) {
gtk_list_store_set(widgets->WebPublicationList,&iter,0,0,-1);
}
if (cur_size>1&&!strcmp(parsed[1],"listing")){
int repos_size;
config_str overall_repos = yon_config_load(get_publication_list_command,&repos_size);
char *autoupdate_repos = config(AUTOUPDATE_repos);
if (repos_size){
int parsed_size;
GtkTreeIter iter;
config_str parsed = yon_char_parse(autoupdate_repos,&parsed_size,",");
for (int i=0;i<repos_size;i++){
yon_char_remove_last_symbol(overall_repos[i],'\n');
gtk_list_store_append(GTK_LIST_STORE(widgets->UpdateRepoList),&iter);
gtk_list_store_set(widgets->UpdateRepoList,&iter,1,overall_repos[i],0,!parsed_size||(parsed_size&&yon_char_parsed_check_exist(overall_repos,repos_size,overall_repos[i])>-1)?1:0,-1);
} }
if (cur_size>2&&!yon_char_is_empty(parsed[2])){ yon_char_parsed_free(parsed,parsed_size);
gtk_list_store_set(widgets->WebPublicationList,&iter,4,parsed[2],-1); }
autoupdate_config = config(AUTOUPDATE_interval);
if (!yon_char_is_empty(autoupdate_config)){
if (!strcmp(autoupdate_config,"boot")){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),0);
} else {
if (strstr(autoupdate_config,"min")){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),1);
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='h'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),2);
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='d'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),3);
} else if (autoupdate_config[strlen(autoupdate_config)-1]=='M'){
gtk_combo_box_set_active(GTK_COMBO_BOX(widgets->UpdateIntervalCombo),4);
}
gtk_spin_button_set_value(GTK_SPIN_BUTTON(widgets->UpdateIntervalSpin),atol(autoupdate_config));
} }
if (cur_size>3&&!yon_char_is_empty(parsed[3])){ }
gtk_list_store_set(widgets->WebPublicationList,&iter,5,parsed[3],-1);
char *timestamp = config("AUTOUPDATE[timestamp]");
if (!yon_char_is_empty(timestamp)){
gtk_label_set_text(GTK_LABEL(widgets->HeadLabel),timestamp);
}
}
{
config_str web_publish = yon_config_get_all_by_key(REPOPUBLIC_WEB_search,&size);
for (int i=0;i<size;i++){
gtk_list_store_append(widgets->WebPublicationList,&iter);
char *cur = yon_char_new(web_publish[i]);
char *key = yon_char_divide_search(cur,"=",-1);
free(yon_char_divide_search(key,"[",-1));
key[strlen(key)-1]='\0';
char *path = NULL;
if (!strstr(key,":")){
path=key;
key=NULL;
} else {
path = yon_char_divide_search(key,":",-1);
} }
if (cur_size>4&&!yon_char_is_empty(parsed[4])){ int repos_size;
if (!strcmp(parsed[4],"sha256")||!strcmp(parsed[4],"sha512")){ config_str repos = yon_char_parse(key,&repos_size,",");
gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1);
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1); gtk_list_store_set(widgets->WebPublicationList,&iter,1,path,2,yon_char_parsed_to_string(repos,repos_size,"\n"),-1);
} else { int cur_size;
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1); config_str parsed = yon_char_parse(cur,&cur_size,":");
if (cur_size>5&&!yon_char_is_empty(parsed[5])){ if (cur_size){
if (!strcmp(parsed[0],"enable")||!strcmp(parsed[0],"yes")){
gtk_list_store_set(widgets->WebPublicationList,&iter,0,1,-1);
} else if (!strcmp(parsed[0],"disable")||!strcmp(parsed[0],"no")||!strcmp(parsed[0],"none")) {
gtk_list_store_set(widgets->WebPublicationList,&iter,0,0,-1);
}
if (cur_size>1&&!strcmp(parsed[1],"listing")){
}
if (cur_size>2&&!yon_char_is_empty(parsed[2])){
gtk_list_store_set(widgets->WebPublicationList,&iter,4,parsed[2],-1);
}
if (cur_size>3&&!yon_char_is_empty(parsed[3])){
gtk_list_store_set(widgets->WebPublicationList,&iter,5,parsed[3],-1);
}
if (cur_size>4&&!yon_char_is_empty(parsed[4])){
if (!strcmp(parsed[4],"sha256")||!strcmp(parsed[4],"sha512")){
gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1); gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1);
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1);
} else {
gtk_list_store_set(widgets->WebPublicationList,&iter,6,parsed[4],-1);
if (cur_size>5&&!yon_char_is_empty(parsed[5])){
gtk_list_store_set(widgets->WebPublicationList,&iter,7,parsed[5],-1);
}
} }
} }
} }
} }
} }
{
config_str parsed = yon_config_load(get_publication_list_command,&size);
for (int i=0;i<size;i++){
yon_char_remove_last_symbol(parsed[i],'\n');
gtk_list_store_append(widgets->PublicationList,&iter);
gtk_list_store_set(widgets->PublicationList,&iter,1,parsed[i],-1);
}
yon_char_parsed_free(parsed,size);
}
} }
// standard functions // standard functions

@ -51,21 +51,27 @@
#define REPOSITORY(target) yon_char_unite("REPOSITORY[",target,"]",NULL) #define REPOSITORY(target) yon_char_unite("REPOSITORY[",target,"]",NULL)
#define REPOSITORY_parameter "REPOSITORY" #define REPOSITORY_parameter "REPOSITORY"
#define REOSITORY_command(target) yon_char_unite("ubconfig --source global get [update] REPOSITORY[",target,"]",NULL) #define REOSITORY_command(target) yon_char_unite("ubconfig --source global get [update] REPOSITORY[",target,"]",NULL)
#define REPOSITORY_parameter_command yon_char_unite("ubconfig --source global get [update] REPOSITORY",NULL)
#define REPOSITORY_search "REPOSITORY[" #define REPOSITORY_search "REPOSITORY["
#define REPOPUBLIC_NET "REPOPUBLIC_NET" #define REPOPUBLIC_NET_parameter "REPOPUBLIC_NET"
#define REPOPUBLIC_NET_parameter_command "ubconfig --source global get [update] REPOPUBLIC_NET"
#define REPOPUBLIC_WEB "REPOPUBLIC_WEB" #define REPOPUBLIC_WEB "REPOPUBLIC_WEB"
#define REPOPUBLIC_WEB_search "REPOPUBLIC_WEB[" #define REPOPUBLIC_WEB_search "REPOPUBLIC_WEB["
#define REPOPUBLIC_WEB_full(target) yon_char_unite("REPOPUBLIC_WEB[",target,"]",NULL) #define REPOPUBLIC_WEB_full(target) yon_char_unite("REPOPUBLIC_WEB[",target,"]",NULL)
#define REPOPUBLIC_WEB_command(target) yon_char_unite("ubconfig --source global get [update] REPOPUBLIC_WEB[",target,"]",NULL) #define REPOPUBLIC_WEB_command(target) yon_char_unite("ubconfig --source global get [update] REPOPUBLIC_WEB[",target,"]",NULL)
#define REPOPUBLIC_CACHE "REPOPUBLIC_CACHE" #define REPOPUBLIC_CACHE "REPOPUBLIC_CACHE"
#define REPOPUBLIC_CACHE_command "ubconfig --source global get [update] REPOPUBLIC_CACHE"
#define REPOPUBLIC_CACHE_search "REPOPUBLIC_CACHE[" #define REPOPUBLIC_CACHE_search "REPOPUBLIC_CACHE["
#define REPOPUBLIC_CACHE_full(target) yon_char_unite("REPOPUBLIC_CACHE[",target,"]",NULL) #define REPOPUBLIC_CACHE_full(target) yon_char_unite("REPOPUBLIC_CACHE[",target,"]",NULL)
#define REPOPUBLIC_CACHE_full_command(target) yon_char_unite("ubconfig --source global get [update] REPOPUBLIC_CACHE[",target,"]",NULL) #define REPOPUBLIC_CACHE_full_command(target) yon_char_unite("ubconfig --source global get [update] REPOPUBLIC_CACHE[",target,"]",NULL)
#define AUTOUPDATE "AUTOUPDATE" #define AUTOUPDATE "AUTOUPDATE"
#define AUTOUPDATE_command "ubconfig --source global get [update] AUTOUPDATE"
#define AUTOUPDATE_mode "AUTOUPDATE[mode]" #define AUTOUPDATE_mode "AUTOUPDATE[mode]"
#define AUTOUPDATE_mode_command "ubconfig --source global get [update] AUTOUPDATE[mode]"
#define AUTOUPDATE_interval "AUTOUPDATE[interval]" #define AUTOUPDATE_interval "AUTOUPDATE[interval]"
#define AUTOUPDATE_repos "AUTOUPDATE[repos]" #define AUTOUPDATE_repos "AUTOUPDATE[repos]"
#define AUTOUPDATE_repos_command "bconfig --source global get [update] AUTOUPDATE[repos]"
#define AUTOUPDATE_timestamp "AUTOUPDATE[timestamp]" #define AUTOUPDATE_timestamp "AUTOUPDATE[timestamp]"
typedef char* string; typedef char* string;
@ -225,6 +231,7 @@ typedef struct {
GtkWidget *AcceptButton; GtkWidget *AcceptButton;
} documentation_confirmation_window; } documentation_confirmation_window;
void yon_save_interface(main_window *widgets);
void yon_load_proceed(YON_CONFIG_TYPE type); void yon_load_proceed(YON_CONFIG_TYPE type);
void config_init(); void config_init();

@ -9,4 +9,100 @@
#define REMOVE_REPO_WARNING_LABEL _("Are you sure want to remove repository?") #define REMOVE_REPO_WARNING_LABEL _("Are you sure want to remove repository?")
#define NO_SHARED_REPOS_LABEL _("No repositories were chosen to share") #define NO_SHARED_REPOS_LABEL _("No repositories were chosen to share")
// #define _LABEL _("Update")
// #define _LABEL _("Repositories")
// #define _LABEL _("Publication")
// #define _LABEL _("WEB-publication")
// #define _LABEL _("Mirror publication")
// #define _LABEL _("Date of last automatic update: ")
// #define _LABEL _("Automatic update")
// #define _LABEL _("First update all modules and then the system")
// #define _LABEL _("Update only modules")
// #define _LABEL _("Update everything in the order of the specified repositories")
// #define _LABEL _("Update mode:")
// #define _LABEL _("Update interval:")
// #define _LABEL _("Boot")
// #define _LABEL _("Minutes")
// #define _LABEL _("Hours")
// #define _LABEL _("Days")
// #define _LABEL _("Months")
// #define _LABEL _("Repositories from which the update will occur")
// #define _LABEL _("Repositories list:")
// #define _LABEL _("Default")
// #define _LABEL _("Choose")
// #define _LABEL _("Chosen")
// #define _LABEL _("Repository")
// #define _LABEL _("Manage repository list")
// #define _LABEL _("Disable system repositories")
// #define _LABEL _("Update")
// #define _LABEL _("Move up")
// #define _LABEL _("Move down")
// #define _LABEL _("Add")
// #define _LABEL _("Edit")
// #define _LABEL _("Remove")
// #define _LABEL _("Enabled")
// #define _LABEL _("Source")
// #define _LABEL _("Signature level")
// #define _LABEL _("Usage level")
// #define _LABEL _("Repository connection configuration")
// #define _LABEL _("Repository connection configuration")
// #define _LABEL _("Connect and publish")
// #define _LABEL _("Recieve DB packages from shared network")
// #define _LABEL _("Repositories for publishing")
// #define _LABEL _("Repositories list:")
// #define _LABEL _("All repositories")
// #define _LABEL _("Choose")
// #define _LABEL _("Repository name")
// #define _LABEL _("Repository connection configuration")
// #define _LABEL _("Authorization parameters")
// #define _LABEL _("Storage")
// #define _LABEL _("Chosen repositories")
// #define _LABEL _("Reviewer")
// #define _LABEL _("Port")
// #define _LABEL _("Name")
// #define _LABEL _("Password/Hash type")
// #define _LABEL _("Password/Password hash")
// #define _LABEL _("Repository connection configuration")
// #define _LABEL _("Publish lazy mirror")
// #define _LABEL _("Type")
// #define _LABEL _("Resource URL")
// #define _LABEL _("Configure")
// #define _LABEL _("Mirror publish configuration")
// #define _LABEL _("Service port:")
// #define _LABEL _("Cache directory:")
// #define _LABEL _("Duration of inactivity (in seconds):")
// #define _LABEL _("Timeout (in seconds) for loading internel cache:")
// #define _LABEL _("Work through proxy:")
// #define _LABEL _("User agent:")
// #define _LABEL _("Standard expression for cron:")
// #define _LABEL _("The number of consecutie days that systems on the network have not been updated:")
// #define _LABEL _("The number of consecutive days wthout an update requested:")
// #define _LABEL _("Add mirror")
// #define _LABEL _("Repository name:")
// #define _LABEL _("Repository type:")
// #define _LABEL _("WEB link")
// #define _LABEL _("Proxy server")
// #define _LABEL _("Mirrors file")
// #define _LABEL _("Source:")
// #define _LABEL _("Configuration")
// #define _LABEL _("Sign level:")
// #define _LABEL _("Enable repository update")
// #define _LABEL _("Enable repository search")
// #define _LABEL _("Enable installation of packages from this repository during --sync operation")
// #define _LABEL _("Allow this repository to be a valid source of packages when running --sysupgrade")
// #define _LABEL _("Add repository for publication")
// #define _LABEL _("Enable publishing of local repository as WEB resource")
// #define _LABEL _("Path to publication directory:")
// #define _LABEL _("Port:")
// #define _LABEL _("Publishing parameters")
// #define _LABEL _("Enable WEB file browser")
// #define _LABEL _("Authorization parameters")
// #define _LABEL _("Set")
// #define _LABEL _("Username:")
// #define _LABEL _("User password:")
// #define _LABEL _("Not encrypted")
// #define _LABEL _("Encrypted with SHA256")
// #define _LABEL _("Encrypted with SHA512")
// #define _LABEL _("System")
#endif #endif

@ -302,7 +302,7 @@
<object class="GtkLabel" id="HeadLabel"> <object class="GtkLabel" id="HeadLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Add repository</property> <property name="label" translatable="yes">Add mirror</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
</attributes> </attributes>

@ -547,7 +547,7 @@
<object class="GtkLabel" id="HeadLabel"> <object class="GtkLabel" id="HeadLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Add repository</property> <property name="label" translatable="yes">Mirror publish configuration</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
</attributes> </attributes>

@ -409,7 +409,7 @@
<object class="GtkLabel" id="HeadLabel"> <object class="GtkLabel" id="HeadLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Add repository</property> <property name="label" translatable="yes">Add repository for publication</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
</attributes> </attributes>

@ -57,7 +57,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<column type="gchararray"/> <column type="gchararray"/>
</columns> </columns>
</object> </object>
<object class="GtkListStore" id="UpdateRepoList"/> <object class="GtkListStore" id="UpdateRepoList">
<columns>
<!-- column-name enabled -->
<column type="gboolean"/>
<!-- column-name Repo -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="WebPublicationList"> <object class="GtkListStore" id="WebPublicationList">
<columns> <columns>
<!-- column-name Enabled --> <!-- column-name Enabled -->
@ -156,6 +163,98 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="icon-name">document-edit-symbolic</property> <property name="icon-name">document-edit-symbolic</property>
</object> </object>
<object class="GtkListStore" id="liststore1"/> <object class="GtkListStore" id="liststore1"/>
<object class="GtkMenu" id="menu1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="LoadGlobalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Load from global configuration</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="LoadLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Load from local configuration</property>
<style>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
<object class="GtkMenu" id="menu2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="take-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="DocumentationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Documentation</property>
<property name="use-underline">True</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="AboutMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">About</property>
<style>
<class name="menuitemsolo"/>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
<object class="GtkMenu" id="menu3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="SaveGlobalLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to global and local documentation</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="SaveGlobalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to global configuration</property>
<style>
<class name="menuitemmiddle"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="SaveLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to local configuration</property>
<style>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
<object class="GtkMenu" id="menu4">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
<object class="GtkBox" id="BoxMain"> <object class="GtkBox" id="BoxMain">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
@ -181,6 +280,66 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="margin-bottom">5</property> <property name="margin-bottom">5</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">5</property> <property name="spacing">5</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="halign">end</property>
<property name="spacing">5</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Date of last automatic update: </property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="UpdateDateLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkMenuButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="focus-on-click">False</property>
<property name="receives-default">True</property>
<property name="popup">menu4</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="icon-name">com.ublinux.libublsettingsui-gtk3.funnel-symbolic</property>
</object>
</child>
<style>
<class name="thin"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">2</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child> <child>
<object class="GtkCheckButton" id="AutoUpdateCheck"> <object class="GtkCheckButton" id="AutoUpdateCheck">
<property name="label" translatable="yes">Automatic update</property> <property name="label" translatable="yes">Automatic update</property>
@ -193,7 +352,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">0</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -236,7 +395,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">1</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -302,14 +461,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</items> </items>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">2</property> <property name="position">2</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
@ -318,7 +477,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">2</property> <property name="position">3</property>
</packing> </packing>
</child> </child>
<child> <child>
@ -350,7 +509,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="label" translatable="yes">Repository list:</property> <property name="label" translatable="yes">Repositories list:</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
@ -401,6 +560,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="title" translatable="yes">Chosen</property> <property name="title" translatable="yes">Chosen</property>
<child> <child>
<object class="GtkCellRendererToggle"/> <object class="GtkCellRendererToggle"/>
<attributes>
<attribute name="active">0</attribute>
</attributes>
</child> </child>
</object> </object>
</child> </child>
@ -411,6 +573,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<object class="GtkCellRendererText"> <object class="GtkCellRendererText">
<property name="ellipsize">end</property> <property name="ellipsize">end</property>
</object> </object>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child> </child>
</object> </object>
</child> </child>
@ -438,7 +603,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<packing> <packing>
<property name="expand">True</property> <property name="expand">True</property>
<property name="fill">True</property> <property name="fill">True</property>
<property name="position">3</property> <property name="position">4</property>
</packing> </packing>
</child> </child>
</object> </object>
@ -540,6 +705,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Update</property>
<property name="image">image1</property> <property name="image">image1</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -557,6 +723,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Move up</property>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="visible">True</property> <property name="visible">True</property>
@ -590,6 +757,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Move down</property>
<child> <child>
<object class="GtkMenuButton"> <object class="GtkMenuButton">
<property name="visible">True</property> <property name="visible">True</property>
@ -621,6 +789,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Add</property>
<property name="image">image5</property> <property name="image">image5</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -638,6 +807,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Edit</property>
<property name="image">image6</property> <property name="image">image6</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -655,6 +825,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Remove</property>
<property name="image">image7</property> <property name="image">image7</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -848,86 +1019,161 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkBox"> <object class="GtkFrame">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="margin-start">3</property> <property name="label-xalign">0.019999999552965164</property>
<property name="spacing">5</property> <property name="shadow-type">in</property>
<child> <child>
<object class="GtkBox"> <object class="GtkAlignment">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="orientation">vertical</property> <property name="bottom-padding">5</property>
<child> <property name="left-padding">5</property>
<object class="GtkButton" id="PublicationUpdateButton"> <property name="right-padding">5</property>
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="image">image2</property>
<style>
<class name="thin"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="shadow-type">in</property>
<child> <child>
<object class="GtkTreeView" id="PublicationTree"> <object class="GtkBox">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">False</property>
<property name="model">PublicationList</property> <property name="orientation">vertical</property>
<child internal-child="selection"> <property name="spacing">5</property>
<object class="GtkTreeSelection"/>
</child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkBox">
<property name="resizable">True</property> <property name="visible">True</property>
<property name="sizing">fixed</property> <property name="can-focus">False</property>
<property name="title" translatable="yes">Chosen</property> <property name="spacing">5</property>
<child> <child>
<object class="GtkCellRendererToggle"/> <object class="GtkLabel">
<attributes> <property name="visible">True</property>
<attribute name="active">0</attribute> <property name="can-focus">False</property>
</attributes> <property name="label" translatable="yes">Repositories list:</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkComboBoxText">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="active">0</property>
<items>
<item translatable="yes">All repositories</item>
<item translatable="yes">Choose</item>
</items>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child> </child>
</object> </object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child> </child>
<child> <child>
<object class="GtkTreeViewColumn"> <object class="GtkBox">
<property name="title" translatable="yes">Repository name</property> <property name="visible">True</property>
<property name="can-focus">False</property>
<property name="margin-start">3</property>
<property name="spacing">5</property>
<child> <child>
<object class="GtkCellRendererText"> <object class="GtkBox">
<property name="ellipsize">end</property> <property name="visible">True</property>
<property name="can-focus">False</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="PublicationUpdateButton">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Update</property>
<property name="image">image2</property>
<style>
<class name="thin"/>
</style>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
</object> </object>
<attributes> <packing>
<attribute name="text">1</attribute> <property name="expand">False</property>
</attributes> <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="shadow-type">in</property>
<child>
<object class="GtkTreeView" id="PublicationTree">
<property name="visible">True</property>
<property name="can-focus">True</property>
<property name="model">PublicationList</property>
<child>
<object class="GtkTreeViewColumn">
<property name="resizable">True</property>
<property name="sizing">fixed</property>
<property name="title" translatable="yes">Chosen</property>
<child>
<object class="GtkCellRendererToggle"/>
<attributes>
<attribute name="active">0</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="title" translatable="yes">Repository name</property>
<child>
<object class="GtkCellRendererText">
<property name="ellipsize">end</property>
</object>
<attributes>
<attribute name="text">1</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child> </child>
</object> </object>
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child> </child>
</object> </object>
</child> </child>
</object> </object>
<packing> </child>
<property name="expand">True</property> <child type="label">
<property name="fill">True</property> <object class="GtkLabel">
<property name="position">1</property> <property name="visible">True</property>
</packing> <property name="can-focus">False</property>
<property name="label" translatable="yes">Repositories for publishing</property>
</object>
</child> </child>
</object> </object>
<packing> <packing>
@ -996,6 +1242,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Update</property>
<property name="image">image3</property> <property name="image">image3</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1012,6 +1259,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Add</property>
<property name="image">image8</property> <property name="image">image8</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1029,6 +1277,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Edit</property>
<property name="image">image9</property> <property name="image">image9</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1046,6 +1295,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Remove</property>
<property name="image">image10</property> <property name="image">image10</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1318,6 +1568,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Update</property>
<property name="image">image11</property> <property name="image">image11</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1334,6 +1585,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Add</property>
<property name="image">image12</property> <property name="image">image12</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1351,6 +1603,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Edit</property>
<property name="image">image13</property> <property name="image">image13</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1368,6 +1621,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="sensitive">False</property> <property name="sensitive">False</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Remove</property>
<property name="image">image14</property> <property name="image">image14</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1384,6 +1638,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
<property name="tooltip-text" translatable="yes">Configure</property>
<property name="image">image15</property> <property name="image">image15</property>
<style> <style>
<class name="thin"/> <class name="thin"/>
@ -1503,92 +1758,4 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</packing> </packing>
</child> </child>
</object> </object>
<object class="GtkMenu" id="menu1">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="LoadGlobalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Load from global configuration</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="LoadLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Load from local configuration</property>
<style>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
<object class="GtkMenu" id="menu2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="take-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="DocumentationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Documentation</property>
<property name="use-underline">True</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="AboutMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">About</property>
<style>
<class name="menuitemsolo"/>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
<object class="GtkMenu" id="menu3">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="reserve-toggle-size">False</property>
<child>
<object class="GtkMenuItem" id="SaveGlobalLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to global and local documentation</property>
<style>
<class name="menuitemtop"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="SaveGlobalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to global configuration</property>
<style>
<class name="menuitemmiddle"/>
</style>
</object>
</child>
<child>
<object class="GtkMenuItem" id="SaveLocalConfigurationMenuItem">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">Save to local configuration</property>
<style>
<class name="menuitembottom"/>
</style>
</object>
</child>
</object>
</interface> </interface>

@ -17,233 +17,388 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: source/ubl-settings-update-strings.h:1 #: source/ubl-strings.h:4
msgid "Version:" msgid "System update"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:5
msgid "ubl-settings-update version:" msgid "System update settings management"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:6
msgid "update settings" msgid "Nothing were chosen"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:7
msgid "Usage:" msgid "Empty important field!"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:8
msgid "[OPTIONS]" msgid "Add repository"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:9
msgid "Options:" msgid "Are you sure want to remove repository?"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:10
msgid "Show this help" msgid "No repositories were chosen to share"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:12 source/ubl-strings.h:37
msgid "Show package version" msgid "Update"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:13
msgid "Lock this help menu" msgid "Repositories"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:14
msgid "Lock configuration saving" msgid "Publication"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:15
msgid "Lock local configration saving" msgid "WEB-publication"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:16
msgid "Lock global configration saving" msgid "Mirror publication"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:17
msgid "Lock global configration loading" msgid "Date of last automatic update: "
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:3 #: source/ubl-strings.h:18
msgid "System update" msgid "Automatic update"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:4 #: source/ubl-strings.h:19
msgid "System update settings management" msgid "First update all modules and then the system"
msgstr ""
#: source/ubl-strings.h:20
msgid "Update only modules"
msgstr ""
#: source/ubl-strings.h:21
msgid "Update everything in the order of the specified repositories"
msgstr ""
#: source/ubl-strings.h:22
msgid "Update mode:"
msgstr ""
#: source/ubl-strings.h:23
msgid "Update interval:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:5 #: source/ubl-strings.h:24
msgid "Check for updates" msgid "Boot"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:6 #: source/ubl-strings.h:25
msgid "About" msgid "Minutes"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:7 #: source/ubl-strings.h:26
msgid "Documentation" msgid "Hours"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:8 #: source/ubl-strings.h:27
msgid "Save to local configuration" msgid "Days"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:9 #: source/ubl-strings.h:28
msgid "Save to global configuration" msgid "Months"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:10 #: source/ubl-strings.h:29
msgid "Save configuration" msgid "Repositories from which the update will occur"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:11 #: source/ubl-strings.h:30 source/ubl-strings.h:52
#: source/ubl-settings-update-strings.h:36 msgid "Repositories list:"
msgid "Save"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:12 #: source/ubl-strings.h:31
msgid "Load local configuration" msgid "Default"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:13 #: source/ubl-strings.h:32 source/ubl-strings.h:54
msgid "Load global configuration" msgid "Choose"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:14 #: source/ubl-strings.h:33
msgid "load" msgid "Chosen"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:15 #: source/ubl-strings.h:34
msgid "Launch package manager" msgid "Repository"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:16 #: source/ubl-strings.h:35
msgid "Cache clean command: " msgid "Manage repository list"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:17 #: source/ubl-strings.h:36
msgid "Update command: " msgid "Disable system repositories"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:18 #: source/ubl-strings.h:38
msgid "Package manager: " msgid "Move up"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:19 #: source/ubl-strings.h:39
msgid "URI" msgid "Move down"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:20 #: source/ubl-strings.h:40
msgid "Add"
msgstr ""
#: source/ubl-strings.h:41
msgid "Edit"
msgstr ""
#: source/ubl-strings.h:42
msgid "Remove"
msgstr ""
#: source/ubl-strings.h:43
msgid "Enabled" msgid "Enabled"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:21 #: source/ubl-strings.h:44
msgid "Distribution" msgid "Source"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:22 #: source/ubl-strings.h:45
msgid "Activate UBUR" msgid "Signature level"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:23 #: source/ubl-strings.h:46
msgid "Activate AUR" msgid "Usage level"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:24 #: source/ubl-strings.h:47 source/ubl-strings.h:48 source/ubl-strings.h:56
msgid "Every 3 hours" #: source/ubl-strings.h:65
msgid "Repository connection configuration"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:25 #: source/ubl-strings.h:49
msgid "Every 2 hours" msgid "Connect and publish"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:26 #: source/ubl-strings.h:50
msgid "Every 1 hour" msgid "Recieve DB packages from shared network"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:27 #: source/ubl-strings.h:51
msgid "Download updates automatically" msgid "Repositories for publishing"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:28 #: source/ubl-strings.h:53
msgid "Hide icon of no updates found" msgid "All repositories"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:29 #: source/ubl-strings.h:55
msgid "Update checking frequency" msgid "Repository name"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:30 #: source/ubl-strings.h:57 source/ubl-strings.h:99
msgid "Extra" msgid "Authorization parameters"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:31 #: source/ubl-strings.h:58
msgid "Repositories" msgid "Storage"
msgstr ""
#: source/ubl-strings.h:59
msgid "Chosen repositories"
msgstr ""
#: source/ubl-strings.h:60
msgid "Reviewer"
msgstr ""
#: source/ubl-strings.h:61
msgid "Port"
msgstr ""
#: source/ubl-strings.h:62
msgid "Name"
msgstr ""
#: source/ubl-strings.h:63
msgid "Password/Hash type"
msgstr ""
#: source/ubl-strings.h:64
msgid "Password/Password hash"
msgstr ""
#: source/ubl-strings.h:66
msgid "Publish lazy mirror"
msgstr ""
#: source/ubl-strings.h:67
msgid "Type"
msgstr ""
#: source/ubl-strings.h:68
msgid "Resource URL"
msgstr ""
#: source/ubl-strings.h:69
msgid "Configure"
msgstr ""
#: source/ubl-strings.h:70
msgid "Mirror publish configuration"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:32 #: source/ubl-strings.h:71
msgid "General" msgid "Service port:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:33 #: source/ubl-strings.h:72
msgid "Adress: " msgid "Cache directory:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:34 #: source/ubl-strings.h:73
msgid "Distribution: " msgid "Duration of inactivity (in seconds):"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:35 #: source/ubl-strings.h:74
msgid "Cancel" msgid "Timeout (in seconds) for loading internel cache:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:37 #: source/ubl-strings.h:75
msgid "Would you like to read documentation in the Web?" msgid "Work through proxy:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:38 #: source/ubl-strings.h:76
msgid "User agent:"
msgstr ""
#: source/ubl-strings.h:77
msgid "Standard expression for cron:"
msgstr ""
#: source/ubl-strings.h:78
msgid "" msgid ""
"You will be redirected to documentation website where documentation is\n" "The number of consecutie days that systems on the network have not been "
"translated and supported by community." "updated:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:39 #: source/ubl-strings.h:79
msgid "Always redirect to online documentation" msgid "The number of consecutive days wthout an update requested:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:40 #: source/ubl-strings.h:80
msgid "Open documentation" msgid "Add mirror"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:41 #: source/ubl-strings.h:81
msgid "Project Home Page" msgid "Repository name:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:42 #: source/ubl-strings.h:82
msgid "Nothing were chosen" msgid "Repository type:"
msgstr ""
#: source/ubl-strings.h:83
msgid "WEB link"
msgstr ""
#: source/ubl-strings.h:84
msgid "Proxy server"
msgstr ""
#: source/ubl-strings.h:85
msgid "Mirrors file"
msgstr ""
#: source/ubl-strings.h:86
msgid "Source:"
msgstr ""
#: source/ubl-strings.h:87
msgid "Configuration"
msgstr ""
#: source/ubl-strings.h:88
msgid "Sign level:"
msgstr ""
#: source/ubl-strings.h:89
msgid "Enable repository update"
msgstr ""
#: source/ubl-strings.h:90
msgid "Enable repository search"
msgstr ""
#: source/ubl-strings.h:91
msgid ""
"Enable installation of packages from this repository during --sync operation"
msgstr ""
#: source/ubl-strings.h:92
msgid ""
"Allow this repository to be a valid source of packages when running --"
"sysupgrade"
msgstr ""
#: source/ubl-strings.h:93
msgid "Add repository for publication"
msgstr ""
#: source/ubl-strings.h:94
msgid "Enable publishing of local repository as WEB resource"
msgstr ""
#: source/ubl-strings.h:95
msgid "Path to publication directory:"
msgstr ""
#: source/ubl-strings.h:96
msgid "Port:"
msgstr ""
#: source/ubl-strings.h:97
msgid "Publishing parameters"
msgstr ""
#: source/ubl-strings.h:98
msgid "Enable WEB file browser"
msgstr ""
#: source/ubl-strings.h:100
msgid "Set"
msgstr ""
#: source/ubl-strings.h:101
msgid "Username:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:44 #: source/ubl-strings.h:102
msgid "Global configuration loading succseeded." msgid "User password:"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:45 #: source/ubl-strings.h:103
msgid "Local configuration loading succseeded." msgid "Not encrypted"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:47 #: source/ubl-strings.h:104
msgid "Local and global configuration saving succseeded." msgid "Encrypted with SHA256"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:48 #: source/ubl-strings.h:105
msgid "Global configuration saving succseeded." msgid "Encrypted with SHA512"
msgstr "" msgstr ""
#: source/ubl-settings-update-strings.h:49 #: source/ubl-strings.h:106
msgid "Local configuration saving succseeded." msgid "System"
msgstr "" msgstr ""

@ -17,236 +17,406 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: source/ubl-settings-update-strings.h:1 #: source/ubl-strings.h:4
msgid "Version:" msgid "System update"
msgstr "Версия:" msgstr "Обновление системы"
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:5
msgid "ubl-settings-update version:" msgid "System update settings management"
msgstr "Версия ubl-settings-update: " msgstr "Настройка параметров обновления системы"
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:6
msgid "update settings" msgid "Nothing were chosen"
msgstr "Настройки обновлений" msgstr "Ничего не выбрано"
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:7
msgid "Usage:" msgid "Empty important field!"
msgstr "Использование:" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:8
msgid "[OPTIONS]" #, fuzzy
msgstr "[АРГУМЕНТЫ]" msgid "Add repository"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:9
msgid "Options:" msgid "Are you sure want to remove repository?"
msgstr "Аргументы:" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:10
msgid "Show this help" msgid "No repositories were chosen to share"
msgstr "Показать параметры справки" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:12 source/ubl-strings.h:37
msgid "Show package version" msgid "Update"
msgstr "Показать текущую версию" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:13
msgid "Lock this help menu" msgid "Repositories"
msgstr "Блокировка вызова справки" msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:14
msgid "Lock configuration saving" msgid "Publication"
msgstr "Блокировка сохранения локальной и глобальной конфигурации" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:15
msgid "Lock local configration saving" msgid "WEB-publication"
msgstr "Блокировка сохранения локальной конфигурации" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:16
msgid "Lock global configration saving" msgid "Mirror publication"
msgstr "Блокировка сохранения глобальной конфигурации" msgstr ""
#: source/ubl-settings-update-strings.h:2 #: source/ubl-strings.h:17
msgid "Lock global configration loading" msgid "Date of last automatic update: "
msgstr "Блокировка загрузки глобальной конфигурации" msgstr ""
#: source/ubl-settings-update-strings.h:3 #: source/ubl-strings.h:18
msgid "System update" #, fuzzy
msgid "Automatic update"
msgstr "Обновление системы" msgstr "Обновление системы"
#: source/ubl-settings-update-strings.h:4 #: source/ubl-strings.h:19
msgid "System update settings management" msgid "First update all modules and then the system"
msgstr "Настройка параметров обновления системы" msgstr ""
#: source/ubl-settings-update-strings.h:5 #: source/ubl-strings.h:20
msgid "Check for updates" msgid "Update only modules"
msgstr "Проверить обновления" msgstr ""
#: source/ubl-settings-update-strings.h:6 #: source/ubl-strings.h:21
msgid "About" msgid "Update everything in the order of the specified repositories"
msgstr "О программе" msgstr ""
#: source/ubl-settings-update-strings.h:7 #: source/ubl-strings.h:22
msgid "Documentation" #, fuzzy
msgstr "Справка" msgid "Update mode:"
msgstr "Команда обновления: "
#: source/ubl-settings-update-strings.h:8 #: source/ubl-strings.h:23
msgid "Save to local configuration" msgid "Update interval:"
msgstr "Сохранить в локальную конфигурацию" msgstr ""
#: source/ubl-settings-update-strings.h:9 #: source/ubl-strings.h:24
msgid "Save to global configuration" msgid "Boot"
msgstr "Сохранить в глобальную конфигурацию" msgstr ""
#: source/ubl-settings-update-strings.h:10 #: source/ubl-strings.h:25
msgid "Save configuration" msgid "Minutes"
msgstr "Сохранить в конфигурацию" msgstr ""
#: source/ubl-settings-update-strings.h:11 #: source/ubl-strings.h:26
#: source/ubl-settings-update-strings.h:36 msgid "Hours"
msgid "Save" msgstr ""
msgstr "Сохранить"
#: source/ubl-settings-update-strings.h:12 #: source/ubl-strings.h:27
msgid "Load local configuration" msgid "Days"
msgstr "Загрузить локальную конфигурацию" msgstr ""
#: source/ubl-settings-update-strings.h:13 #: source/ubl-strings.h:28
msgid "Load global configuration" msgid "Months"
msgstr "Загрузить глобальную конфигурацию" msgstr ""
#: source/ubl-settings-update-strings.h:14 #: source/ubl-strings.h:29
msgid "load" msgid "Repositories from which the update will occur"
msgstr "Загрузить" msgstr ""
#: source/ubl-settings-update-strings.h:15 #: source/ubl-strings.h:30 source/ubl-strings.h:52
msgid "Launch package manager" #, fuzzy
msgstr "Запустить менеджер пакетов" msgid "Repositories list:"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:16 #: source/ubl-strings.h:31
msgid "Cache clean command: " msgid "Default"
msgstr "Команда очистки кеша пакетов: " msgstr ""
#: source/ubl-settings-update-strings.h:17 #: source/ubl-strings.h:32 source/ubl-strings.h:54
msgid "Update command: " msgid "Choose"
msgstr "Команда обновления: " msgstr ""
#: source/ubl-strings.h:33
msgid "Chosen"
msgstr ""
#: source/ubl-strings.h:34
#, fuzzy
msgid "Repository"
msgstr "Репозитории"
#: source/ubl-strings.h:35
msgid "Manage repository list"
msgstr ""
#: source/ubl-strings.h:36
msgid "Disable system repositories"
msgstr ""
#: source/ubl-settings-update-strings.h:18 #: source/ubl-strings.h:38
msgid "Package manager: " msgid "Move up"
msgstr "Менеджер пакетов: " msgstr ""
#: source/ubl-strings.h:39
msgid "Move down"
msgstr ""
#: source/ubl-strings.h:40
msgid "Add"
msgstr ""
#: source/ubl-settings-update-strings.h:19 #: source/ubl-strings.h:41
msgid "URI" msgid "Edit"
msgstr "URI" msgstr ""
#: source/ubl-strings.h:42
msgid "Remove"
msgstr ""
#: source/ubl-settings-update-strings.h:20 #: source/ubl-strings.h:43
msgid "Enabled" msgid "Enabled"
msgstr "Включен" msgstr "Включен"
#: source/ubl-settings-update-strings.h:21 #: source/ubl-strings.h:44
msgid "Distribution" msgid "Source"
msgstr "Дистрибутив" msgstr ""
#: source/ubl-strings.h:45
msgid "Signature level"
msgstr ""
#: source/ubl-settings-update-strings.h:22 #: source/ubl-strings.h:46
msgid "Activate UBUR" msgid "Usage level"
msgstr "Активировать UBUR" msgstr ""
#: source/ubl-settings-update-strings.h:23 #: source/ubl-strings.h:47 source/ubl-strings.h:48 source/ubl-strings.h:56
msgid "Activate AUR" #: source/ubl-strings.h:65
msgstr "Активировать AUR" #, fuzzy
msgid "Repository connection configuration"
msgstr "Сохранить в локальную конфигурацию"
#: source/ubl-settings-update-strings.h:24 #: source/ubl-strings.h:49
msgid "Every 3 hours" msgid "Connect and publish"
msgstr "Каждые 3 часа" msgstr ""
#: source/ubl-settings-update-strings.h:25 #: source/ubl-strings.h:50
msgid "Every 2 hours" msgid "Recieve DB packages from shared network"
msgstr "Каждые 2 часа" msgstr ""
#: source/ubl-settings-update-strings.h:26 #: source/ubl-strings.h:51
msgid "Every 1 hour" #, fuzzy
msgstr "Каждый час" msgid "Repositories for publishing"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:27 #: source/ubl-strings.h:53
msgid "Download updates automatically" #, fuzzy
msgstr "Автоматически скачивать обновления" msgid "All repositories"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:28 #: source/ubl-strings.h:55
msgid "Hide icon of no updates found" #, fuzzy
msgstr "Скрыть значок в трее при отсутствии обновлений" msgid "Repository name"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:29 #: source/ubl-strings.h:57 source/ubl-strings.h:99
msgid "Update checking frequency" msgid "Authorization parameters"
msgstr "Частота проверки обновлений" msgstr ""
#: source/ubl-settings-update-strings.h:30 #: source/ubl-strings.h:58
msgid "Extra" msgid "Storage"
msgstr "Дополнительно" msgstr ""
#: source/ubl-settings-update-strings.h:31 #: source/ubl-strings.h:59
msgid "Repositories" #, fuzzy
msgid "Chosen repositories"
msgstr "Репозитории" msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:32 #: source/ubl-strings.h:60
msgid "General" msgid "Reviewer"
msgstr "Общие настройки" msgstr ""
#: source/ubl-settings-update-strings.h:33 #: source/ubl-strings.h:61
msgid "Adress: " msgid "Port"
msgstr "Адрес: " msgstr ""
#: source/ubl-settings-update-strings.h:34 #: source/ubl-strings.h:62
msgid "Distribution: " msgid "Name"
msgstr "Дистрибутив: " msgstr ""
#: source/ubl-settings-update-strings.h:35 #: source/ubl-strings.h:63
msgid "Cancel" msgid "Password/Hash type"
msgstr "Отмена" msgstr ""
#: source/ubl-strings.h:64
msgid "Password/Password hash"
msgstr ""
#: source/ubl-strings.h:66
msgid "Publish lazy mirror"
msgstr ""
#: source/ubl-strings.h:67
msgid "Type"
msgstr ""
#: source/ubl-strings.h:68
msgid "Resource URL"
msgstr ""
#: source/ubl-strings.h:69
msgid "Configure"
msgstr ""
#: source/ubl-settings-update-strings.h:37 #: source/ubl-strings.h:70
msgid "Would you like to read documentation in the Web?" #, fuzzy
msgstr "Вы хотите прочитать справку в Сети?" msgid "Mirror publish configuration"
msgstr "Загрузить глобальную конфигурацию"
#: source/ubl-strings.h:71
msgid "Service port:"
msgstr ""
#: source/ubl-strings.h:72
msgid "Cache directory:"
msgstr ""
#: source/ubl-strings.h:73
msgid "Duration of inactivity (in seconds):"
msgstr ""
#: source/ubl-strings.h:74
msgid "Timeout (in seconds) for loading internel cache:"
msgstr ""
#: source/ubl-settings-update-strings.h:38 #: source/ubl-strings.h:75
msgid "Work through proxy:"
msgstr ""
#: source/ubl-strings.h:76
msgid "User agent:"
msgstr ""
#: source/ubl-strings.h:77
msgid "Standard expression for cron:"
msgstr ""
#: source/ubl-strings.h:78
msgid "" msgid ""
"You will be redirected to documentation website where documentation is\n" "The number of consecutie days that systems on the network have not been "
"translated and supported by community." "updated:"
msgstr "" msgstr ""
"Вы будете перенаправлены на сайт с документацией где страницы помощи\n"
"переводятся и поддерживаются сообществом."
#: source/ubl-settings-update-strings.h:39 #: source/ubl-strings.h:79
msgid "Always redirect to online documentation" msgid "The number of consecutive days wthout an update requested:"
msgstr "Всегда перенаправлять" msgstr ""
#: source/ubl-settings-update-strings.h:40 #: source/ubl-strings.h:80
msgid "Open documentation" msgid "Add mirror"
msgstr "Справка" msgstr ""
#: source/ubl-settings-update-strings.h:41 #: source/ubl-strings.h:81
msgid "Project Home Page" #, fuzzy
msgstr "Домашняя страница проекта" msgid "Repository name:"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:42 #: source/ubl-strings.h:82
msgid "Nothing were chosen" #, fuzzy
msgstr "Ничего не выбрано" msgid "Repository type:"
msgstr "Репозитории"
#: source/ubl-settings-update-strings.h:44 #: source/ubl-strings.h:83
msgid "Global configuration loading succseeded." msgid "WEB link"
msgstr "Успешно загружена глобальная конфигурация" msgstr ""
#: source/ubl-settings-update-strings.h:45 #: source/ubl-strings.h:84
msgid "Local configuration loading succseeded." msgid "Proxy server"
msgstr "Успешно загружена локальная конфигурация" msgstr ""
#: source/ubl-settings-update-strings.h:47 #: source/ubl-strings.h:85
msgid "Local and global configuration saving succseeded." msgid "Mirrors file"
msgstr "Успешно записаны локальная и глобальная конфигурация" msgstr ""
#: source/ubl-settings-update-strings.h:48 #: source/ubl-strings.h:86
msgid "Global configuration saving succseeded." msgid "Source:"
msgstr "Успешно записана глобальная конфигурация" msgstr ""
#: source/ubl-settings-update-strings.h:49 #: source/ubl-strings.h:87
msgid "Local configuration saving succseeded." #, fuzzy
msgstr "Успешно записана локальная конфигурация" msgid "Configuration"
msgstr "Сохранить в конфигурацию"
#: source/ubl-strings.h:88
msgid "Sign level:"
msgstr ""
#: source/ubl-strings.h:89
msgid "Enable repository update"
msgstr ""
#: source/ubl-strings.h:90
msgid "Enable repository search"
msgstr ""
#: source/ubl-strings.h:91
msgid ""
"Enable installation of packages from this repository during --sync operation"
msgstr ""
#: source/ubl-strings.h:92
msgid ""
"Allow this repository to be a valid source of packages when running --"
"sysupgrade"
msgstr ""
#: source/ubl-strings.h:93
msgid "Add repository for publication"
msgstr ""
#: source/ubl-strings.h:94
msgid "Enable publishing of local repository as WEB resource"
msgstr ""
#: source/ubl-strings.h:95
msgid "Path to publication directory:"
msgstr ""
#: source/ubl-strings.h:96
msgid "Port:"
msgstr ""
#: source/ubl-strings.h:97
msgid "Publishing parameters"
msgstr ""
#: source/ubl-strings.h:98
msgid "Enable WEB file browser"
msgstr ""
#: source/ubl-strings.h:100
msgid "Set"
msgstr ""
#: source/ubl-strings.h:101
msgid "Username:"
msgstr ""
#: source/ubl-strings.h:102
msgid "User password:"
msgstr ""
#: source/ubl-strings.h:103
msgid "Not encrypted"
msgstr ""
#: source/ubl-strings.h:104
msgid "Encrypted with SHA256"
msgstr ""
#: source/ubl-strings.h:105
msgid "Encrypted with SHA512"
msgstr ""
#: source/ubl-strings.h:106
#, fuzzy
msgid "System"
msgstr "Обновление системы"
msgid "Cancel"
msgstr "Отмена"
Loading…
Cancel
Save