Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tool to verify stringtable entries exist #6889

Merged
merged 4 commits into from
Mar 31, 2019
Merged

Conversation

PabstMirror
Copy link
Contributor

Checks that all used strings exist in stringtables
Could add to CI

example run with -u to check for unused strings

### check_strings.py ['M:\\DEV\\ACE3\\tools\\check_strings.py', '-u'] ###
-----------
String str_ace_action_accept_request_key_title defined but not used
String str_ace_action_accept_request_key_tooltip defined but not used
String str_ace_action_decline_request_key_title defined but not used
String str_ace_action_decline_request_key_tooltip defined but not used
String str_ace_advanced_ballistics_simulationradius_description defined but not used
String str_ace_advanced_ballistics_simulationradius_displayname defined but not used
String str_ace_advanced_ballistics_windinfokey defined but not used
String str_ace_aircraft_closecargoramp defined but not used
String str_ace_aircraft_opencargoramp defined but not used
String str_ace_arsenal_mission_overview defined but not used
String str_ace_attach_attach defined but not used
String str_ace_attach_chemlight_attached defined but not used
String str_ace_attach_chemlight_detached defined but not used
String str_ace_attach_irgrenade_attached defined but not used
String str_ace_attach_irgrenade_detached defined but not used
String str_ace_attach_irstrobe_attached defined but not used
String str_ace_attach_irstrobe_detached defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracer_dimdescription defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracer_dimname defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracer_dimnameshort defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracerdescription defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracername defined but not used
String str_ace_ballistics_10rnd_93x64_dmr_05_mag_tracernameshort defined but not used
String str_ace_ballistics_130rnd_338_mag_apdescription defined but not used
String str_ace_ballistics_130rnd_338_mag_apname defined but not used
String str_ace_ballistics_130rnd_338_mag_apnameshort defined but not used
String str_ace_ballistics_130rnd_338_mag_tracer_dimdescription defined but not used
String str_ace_ballistics_130rnd_338_mag_tracer_dimname defined but not used
String str_ace_ballistics_130rnd_338_mag_tracer_dimnameshort defined but not used
String str_ace_ballistics_130rnd_338_mag_tracerdescription defined but not used
String str_ace_ballistics_130rnd_338_mag_tracername defined but not used
String str_ace_ballistics_130rnd_338_mag_tracernameshort defined but not used
String str_ace_ballistics_150rnd_93x64_mag_apdescription defined but not used
String str_ace_ballistics_150rnd_93x64_mag_apname defined but not used
String str_ace_ballistics_150rnd_93x64_mag_apnameshort defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracer_dimdescription defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracer_dimname defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracer_dimnameshort defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracerdescription defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracername defined but not used
String str_ace_ballistics_150rnd_93x64_mag_tracernameshort defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_apdescription defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_apname defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_apnameshort defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_sddescription defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_sdname defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_green_mag_sdnameshort defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_apdescription defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_apname defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_apnameshort defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_sddescription defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_sdname defined but not used
String str_ace_ballistics_30rnd_65x39_caseless_mag_sdnameshort defined but not used
String str_ace_ballistics_30rnd_9x19_mag_description defined but not used
String str_ace_ballistics_30rnd_9x19_mag_name defined but not used
String str_ace_ballistics_30rnd_9x19_mag_nameshort defined but not used
String str_ace_captives_nocaptive defined but not used
String str_ace_chemlights_inventory_full defined but not used
String str_ace_common_save defined but not used
String str_ace_explosives_detonate defined but not used
String str_ace_explosives_detonatemenu defined but not used
String str_ace_explosives_jammer_turnoff defined but not used
String str_ace_explosives_jammer_turnon defined but not used
String str_ace_explosives_noexplosivesavailable defined but not used
String str_ace_explosives_notriggersavailable defined but not used
String str_ace_explosives_placemenu defined but not used
String str_ace_explosives_selecttrigger defined but not used
String str_ace_explosives_timermenu defined but not used
String str_ace_fastroping_interaction_deployropes defined but not used
String str_ace_frag_enabledebugtrace defined but not used
String str_ace_frag_enabledebugtrace_desc defined but not used
String str_ace_gestures_name defined but not used
String str_ace_interact_menu_blurscreendesc defined but not used
String str_ace_interaction_cancelselection defined but not used
String str_ace_interaction_dance defined but not used
String str_ace_interaction_interact defined but not used
String str_ace_interaction_interactionmenu defined but not used
String str_ace_interaction_interactionmenuself defined but not used
String str_ace_interaction_lockdoor defined but not used
String str_ace_interaction_lockeddoor defined but not used
String str_ace_interaction_modifierkey defined but not used
String str_ace_interaction_scrollhint defined but not used
String str_ace_interaction_stopdancing defined but not used
String str_ace_interaction_teamblue defined but not used
String str_ace_interaction_teamgreen defined but not used
String str_ace_interaction_teamred defined but not used
String str_ace_interaction_teamyellow defined but not used
String str_ace_interaction_unlockdoor defined but not used
String str_ace_interaction_unlockeddoor defined but not used
String str_ace_interaction_weapononback defined but not used
String str_ace_inventory_glasses defined but not used
String str_ace_laserpointer_switchlaserlight defined but not used
String str_ace_logistics_uavbattery_full defined but not used
String str_ace_logistics_uavbattery_nobattery defined but not used
String str_ace_logistics_wirecutter_fencecut defined but not used
String str_ace_map_action_nvg defined but not used
String str_ace_map_action_nvgdown defined but not used
String str_ace_map_action_nvgoff defined but not used
String str_ace_map_action_nvgon defined but not used
String str_ace_map_action_nvgup defined but not used
String str_ace_maptools_markerdirection defined but not used
String str_ace_medical_airway defined but not used
String str_ace_medical_almost_no_breathing defined but not used
String str_ace_medical_apply_bandage defined but not used
String str_ace_medical_bandage_hitbody defined but not used
String str_ace_medical_bandage_hithead defined but not used
String str_ace_medical_bandage_hitleftarm defined but not used
String str_ace_medical_bandage_hitleftleg defined but not used
String str_ace_medical_bandage_hitrightarm defined but not used
String str_ace_medical_bandage_hitrightleg defined but not used
String str_ace_medical_bandaged defined but not used
String str_ace_medical_carry defined but not used
String str_ace_medical_check_bloodpressure defined but not used
String str_ace_medical_check_bloodpressure_checked_medic defined but not used
String str_ace_medical_check_pulse defined but not used
String str_ace_medical_check_pulse_checked_medic defined but not used
String str_ace_medical_check_response_you_checked defined but not used
String str_ace_medical_difficult_breathing defined but not used
String str_ace_medical_drag defined but not used
String str_ace_medical_healhitpointafteradvbandage defined but not used
String str_ace_medical_is_bandaging_you defined but not used
String str_ace_medical_is_treating_your_airway defined but not used
String str_ace_medical_load defined but not used
String str_ace_medical_menu_almost_no_breathing defined but not used
String str_ace_medical_menu_arm_l defined but not used
String str_ace_medical_menu_arm_r defined but not used
String str_ace_medical_menu_difficult_breathing defined but not used
String str_ace_medical_menu_head defined but not used
String str_ace_medical_menu_large defined but not used
String str_ace_medical_menu_leg_l defined but not used
String str_ace_medical_menu_leg_r defined but not used
String str_ace_medical_menu_medium defined but not used
String str_ace_medical_menu_multiple_bandaged_wounds defined but not used
String str_ace_medical_menu_multiple_open_wounds defined but not used
String str_ace_medical_menu_no_breathing defined but not used
String str_ace_medical_menu_normal_breathing defined but not used
String str_ace_medical_menu_partial_bandaged_wound defined but not used
String str_ace_medical_menu_partial_open_wound defined but not used
String str_ace_medical_menu_selected_body_part defined but not used
String str_ace_medical_menu_single_bandaged_wound defined but not used
String str_ace_medical_menu_single_open_wound defined but not used
String str_ace_medical_menu_small defined but not used
String str_ace_medical_menu_status_bleeding defined but not used
String str_ace_medical_menu_status_lost_blood defined but not used
String str_ace_medical_menu_status_npa_applied defined but not used
String str_ace_medical_menu_status_pain defined but not used
String str_ace_medical_menu_status_tourniquet_applied defined but not used
String str_ace_medical_menu_torso defined but not used
String str_ace_medical_no_breathing defined but not used
String str_ace_medical_normal_breathing defined but not used
String str_ace_medical_painisonlysuppressed defined but not used
String str_ace_medical_release defined but not used
String str_ace_medical_start_stitching_injuries defined but not used
String str_ace_medical_transfuse_plasma defined but not used
String str_ace_medical_transfuse_saline defined but not used
String str_ace_medical_unload defined but not used
String str_ace_medical_you_treat_airway defined but not used
String str_ace_microdagr_toggleunit defined but not used
String str_ace_missileguidance_desc defined but not used
String str_ace_missileguidance_hellfire_agm114k defined but not used
String str_ace_missileguidance_hellfire_agm114k_desc defined but not used
String str_ace_missileguidance_hellfire_agm114k_short defined but not used
String str_ace_missileguidance_off defined but not used
String str_ace_missileguidance_playerandai defined but not used
String str_ace_missileguidance_playeronly defined but not used
String str_ace_missileguidance_title defined but not used
String str_ace_movement_useimperial defined but not used
String str_ace_nametags_showplayernamesonlyoncursor defined but not used
String str_ace_nametags_showplayernamesonlyonkeypress defined but not used
String str_ace_nightvision_nvg_gen3 defined but not used
String str_ace_optionsmenu_acenews defined but not used
String str_ace_overheating_checkingtemperature defined but not used
String str_ace_overheating_checktemperature defined but not used
String str_ace_overheating_temperature defined but not used
String str_ace_refuel_cancel defined but not used
String str_ace_refuel_connect_action defined but not used
String str_ace_refuel_hint_fuelprogress defined but not used
String str_ace_reload_ammo defined but not used
String str_ace_repair_addspareparts_list_displayname defined but not used
String str_ace_repair_assignrepairfacility_enablelist_displayname defined but not used
String str_ace_repair_assignrepairvehicle_enablelist_displayname defined but not used
String str_ace_repair_hitammo defined but not used
String str_ace_repair_hitavionics defined but not used
String str_ace_repair_hitbody defined but not used
String str_ace_repair_hitcomgun defined but not used
String str_ace_repair_hitcomturret defined but not used
String str_ace_repair_hitengine defined but not used
String str_ace_repair_hitera_1_hitpoint defined but not used
String str_ace_repair_hitfuel defined but not used
String str_ace_repair_hitgear defined but not used
String str_ace_repair_hitglass defined but not used
String str_ace_repair_hitgun defined but not used
String str_ace_repair_hithrotor defined but not used
String str_ace_repair_hithstabilizerl1 defined but not used
String str_ace_repair_hithstabilizerr1 defined but not used
String str_ace_repair_hithull defined but not used
String str_ace_repair_hitlbwheel defined but not used
String str_ace_repair_hitlf2wheel defined but not used
String str_ace_repair_hitlfwheel defined but not used
String str_ace_repair_hitlglass defined but not used
String str_ace_repair_hitlmwheel defined but not used
String str_ace_repair_hitltrack defined but not used
String str_ace_repair_hitmissiles defined but not used
String str_ace_repair_hitpitottube defined but not used
String str_ace_repair_hitrbwheel defined but not used
String str_ace_repair_hitrf2wheel defined but not used
String str_ace_repair_hitrfwheel defined but not used
String str_ace_repair_hitrglass defined but not used
String str_ace_repair_hitrmwheel defined but not used
String str_ace_repair_hitrtrack defined but not used
String str_ace_repair_hitstarter defined but not used
String str_ace_repair_hitstaticport defined but not used
String str_ace_repair_hittail defined but not used
String str_ace_repair_hittransmission defined but not used
String str_ace_repair_hitturret defined but not used
String str_ace_repair_hitvrotor defined but not used
String str_ace_repair_hitvstabilizer1 defined but not used
String str_ace_repair_hitwinch defined but not used
String str_ace_repair_repaired defined but not used
String str_ace_safemode_takeoffsafety defined but not used
String str_ace_sandbag_cannotsb defined but not used
String str_ace_sandbag_carrysb defined but not used
String str_ace_sandbag_dropsandbag defined but not used
String str_ace_sandbag_endcarrysb defined but not used
String str_ace_sandbag_nosand defined but not used
String str_ace_sandbag_sandbox defined but not used
String str_ace_spectator_viewfree defined but not used
String str_ace_spectator_visionnight defined but not used
String str_ace_spectator_visionnormal defined but not used
String str_ace_spectator_visionthermal defined but not used
String str_ace_weaponselect_loadgrenade defined but not used
String str_ace_weaponselect_nofragsleft defined but not used
String str_ace_weaponselect_nogrenadeselected defined but not used
String str_ace_weaponselect_nogrenadesleft defined but not used
String str_ace_weaponselect_nomiscgrenadeleft defined but not used
String str_ace_weaponselect_readygrenade defined but not used
String str_ace_weaponselect_throwgrenade defined but not used
String str_ace_winddeflection_meter_weather_category defined but not used
String str_ace_winddeflection_meter_weather_humidity defined but not used
String str_ace_winddeflection_meter_wind_category defined but not used
String str_ace_winddeflection_meter_wind_direction defined but not used
String str_ace_winddeflection_meter_wind_speed defined but not used
String str_ace_zeus_onlyvehicleswithcargo defined but not used
-----------
-----------
Defined Strings:2699 Used Strings:2456
Unused Strings:243 Undefined Strings:0

@PabstMirror PabstMirror added this to the Ongoing milestone Mar 24, 2019
@PabstMirror PabstMirror merged commit 3769679 into master Mar 31, 2019
@PabstMirror PabstMirror deleted the checkStrings branch March 31, 2019 20:27
@PabstMirror PabstMirror modified the milestones: Ongoing, 3.12.7 Mar 31, 2019
@PabstMirror PabstMirror added the ignore-changelog Release Notes: Excluded label Mar 31, 2019
@PabstMirror PabstMirror modified the milestones: 3.12.7, 3.13.0 Jul 5, 2019
BaerMitUmlaut pushed a commit that referenced this pull request Aug 5, 2019
* Add tool to verify stringtable entries exist

* Update circle.yml

* test

* Allow running from root directory as well as from inside the tools directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tools ignore-changelog Release Notes: Excluded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants