8000 Fix: Fixed a Couple of Minor Issues With News Dialogs by IllianiBird · Pull Request #7281 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Fixed a Couple of Minor Issues With News Dialogs #7281

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

Merged
merged 1 commit into from
Jul 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MekHQ/resources/mekhq/resources/NewsDialog.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
incomingNews.title=++ACCESSING NEWS INTERFACE++
newsReport.button=Close
newsReport.button=Close Terminal

terranNewsNetwork.network=TNN
terranNewsNetwork.name=Terran News Network
Expand All @@ -20,7 +20,7 @@ comStarNewsBureau.slogan="Illuminating Truth Across the Stars"
interstellarNewsNetwork.network=INN
interstellarNewsNetwork.name=Interstellar News Network
interstellarNewsNetwork.slogan="Always First on the Scene."

chatterweb.network=Chatterweb
chatterweb.name=Chatterweb
chatterweb.slogan="Strength Through Shared Knowledge"

Expand Down
5 changes: 3 additions & 2 deletions MekHQ/src/mekhq/gui/dialog/NewsDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

import static megamek.utilities.ImageUtilities.scaleImageIcon;
import static mekhq.utilities.MHQInternationalization.getFormattedTextAt;
import static mekhq.utilities.MHQInternationalization.getTextAt;

import java.awt.Component;
import java.awt.Dimension;
Expand Down Expand Up @@ -78,7 +79,7 @@ public class NewsDialog extends ImmersiveDialogSimple {
public NewsDialog(Campaign campaign, String centerMessage) {
super(campaign, new Person(campaign), // empty person to trick immersive dialog into showing the speaker panel
null, centerMessage,
null,
List.of(getTextAt(RESOURCE_BUNDLE, "newsReport.button")),
null,
null, false);
}
Expand Down Expand Up @@ -227,7 +228,7 @@ private static List<NewsNetwork> getNewsNetworks() {
NewsNetwork chatterweb = new NewsNetwork(CHATTERWEB_NETWORK_NAME,
0,
0,
"data/images/universe/factions/logo_star_league.png");
"data/images/universe/factions/logo_clan_generic.png");
NewsNetwork affiliateNewsNetworks = new NewsNetwork(AFFILIATE_NETWORK_NAME, 4E85
0,
0,
Expand Down
Loading
0