Guideline: - do NOT translate strings in error() messages, or in dprint()! - delete obviously useless developer prints while at it - change obvious developer prints from print to dprint (even in comments), unless in developer-only functions (e.g. *dumptree*) - mark translatable strings with _() - if a translatable string is a strcat monster, change it to sprintf - if code loads files with text, allow loading .cvar_string("prvm_language") in preference - test by: find . -type f -not -name \*.po | xgettext -LC -k_ -f- gamecommand.qc - interesting vi macros: :map # /" :map ' i_(2f"a)/" List of files to do: ./xonotic/dialog_hudpanel_healtharmor.c ./xonotic/dialog_hudpanel_infomessages.c ./xonotic/dialog_hudpanel_modicons.c ./xonotic/dialog_hudpanel_notification.c ./xonotic/dialog_hudpanel_powerups.c ./xonotic/dialog_hudpanel_pressedkeys.c ./xonotic/dialog_hudpanel_racetimer.c ./xonotic/dialog_hudpanel_radar.c ./xonotic/dialog_hudpanel_score.c ./xonotic/dialog_hudpanel_timer.c ./xonotic/dialog_hudpanel_vote.c ./xonotic/dialog_hudpanel_weapons.c ./xonotic/dialog_hudsetup_exit.c ./xonotic/dialog_multiplayer.c ./xonotic/dialog_multiplayer_create_advanced.c ./xonotic/dialog_multiplayer_create.c ./xonotic/dialog_multiplayer_create_mapinfo.c ./xonotic/dialog_multiplayer_create_mutators.c ./xonotic/dialog_multiplayer_demo.c ./xonotic/dialog_multiplayer_join.c ./xonotic/dialog_multiplayer_join_serverinfo.c ./xonotic/dialog_multiplayer_playersetup.c ./xonotic/dialog_multiplayer_playersetup_waypoint.c ./xonotic/dialog_multiplayer_playersetup_weapons.c ./xonotic/dialog_news.c ./xonotic/dialog_quit.c ./xonotic/dialog_settings_audio.c ./xonotic/dialog_settings.c ./xonotic/dialog_settings_effects.c ./xonotic/dialog_settings_input.c ./xonotic/dialog_settings_input_userbind.c ./xonotic/dialog_settings_misc.c ./xonotic/dialog_settings_misc_cvars.c ./xonotic/dialog_settings_network.c ./xonotic/dialog_settings_video.c ./xonotic/dialog_singleplayer.c ./xonotic/dialog_singleplayer_winner.c ./xonotic/dialog_teamselect.c ./xonotic/inputbox.c ./xonotic/keybinder.c ./xonotic/mainwindow.c ./xonotic/maplist.c ./xonotic/playerlist.c ./xonotic/playermodel.c ./xonotic/radiobutton.c ./xonotic/rootdialog.c ./xonotic/serverlist.c ./xonotic/skinlist.c ./xonotic/slider_decibels.c ./xonotic/slider_picmip.c ./xonotic/slider_resolution.c ./xonotic/tabcontroller.c ./xonotic/textslider.c ./xonotic/util.qc ./xonotic/weaponslist.c Unresolved TODO: - translated campaigns