Commit Graph

75 Commits

Author SHA1 Message Date
Vas Crabb
1a6f832faa Updated localisations for UI changes in 0.238 development cycle.
For tranlators, the main changes are:
* The former "device mapping" menu is now "input device options" and
  includes the input provider module options.
* The analog controls menu (where sensitivity, auto-centre, etc. is
  configured) is now localisable.
* The timecode logging features (used when making gameplay videos) have
  been moved to a plugin, and display messages are localisable.
* There are a few extra messages for the autofire and input macro
  plugins to handle cases where a configured input is not present.
* The timer plugin has options to show wall clock time (real time
  elapsed according to host OS clock) or emulated time.
2021-11-19 03:39:16 +11:00
Vas Crabb
d64ea5331b
-frontend: Refactored menu event handling and fixed a number of issues. (#8777)
* Moved common code for drawing about box, info viewer, and other text box menus to a base class; removed the last of the info viewer logic and the multi-line item hack from the base menu class.
* Added previous/next group navigation for general inputs and plugin input selection menus.
* Moved message catalog logic to lib/util, allowing osd and emu to use localised messages.
* Made the base menu class use the UI manager’s feature for holding session state rather than a static map and mutex.
* Improved menu event handling model, and fixed many issues, particularly with menus behaving badly when hidden/shown.
* Added better support for menus that don’t participate in the usual menu stack, like the menuless sliders and the save/load state menus.
* Made a number of menus refresh state when being shown after being hidden (fixes MT08121 among other issues).
* Fixed indication of mounted slot option in the slot option details menu.
* Improved appearance of background menus when emulation isn't running - draw all menus in the stack, and darken the background menus to make the edges of the active menu clearer.
* Fixed locale issues in -listxml.

-debugger: Made GUI debuggers more uniform.
* Added new memory view features to Win32 debugger.
* Fixed spelling of hexadecimal in Cocoa debugger and added decimal address option.
* Fixed duplicate keyboard shortcut in Cocoa debugger (Shift-Cmd-D was both new device window and 64-bit float format).
* Made keyboard shortcuts slightly more consistent across debuggers.

-plugins: Moved input selection menu and sequence polling code to a common library.  Fixed the issue that prevented keyboard inputs being mapped with -steadykey on.

-docs: Started adding some documentation for MAME's internal UI, and updated the list of example front-ends.

-Regenerated message catalog sources.  For translators, the new strings are mostly:
* The names of the inputs provided by the OS-dependent layer for things like fullscreen and video features. These show up in the user interface inputs menu.
* The names for automatically generated views. These show up in the video options menu - test with a system with a lot of screens to see more variants.
* The input macro plugin UI.
* A few format strings for analog input assignments.
* A few strings for the about box header.
2021-10-31 12:31:16 +11:00
Vas Crabb
13d85e3ff9 Filled in Japanese names for a bunch of inputs, fixed issues with localised P10 control names not showing. 2021-10-23 03:14:09 +11:00
Vas Crabb
cd57640deb Regenerate and patch up translation files for latest UI work. 2021-10-17 08:00:51 +11:00
Vas Crabb
c477606b09 Updated translation files for latest changes. 2021-10-16 04:44:39 +11:00
Vas Crabb
751c2806bf Re-generated translations for I/O port names.
Trying to collect messages from everything at once hits some limit in
xgettext and causes messages to be lost no, so I've split it up by the
second-level source directories.

For some reason xgettext thinks overloaded Lua functions are blasphemy,
so that has to be worked around, too.
2021-10-11 15:02:55 +11:00
Vas Crabb
38082ccbee
Overdue internal UI enhancements (#8674)
* frontend: Added support for message context to localisations.
* frontend: Added string_view versions of the message lookup functions.
* frontend: Added a few more folder options to the internal UI.
* emu/softlist.cpp: Use more appropriate containers.
* Switched to Python 3 by default - this will become a requirement.
* Updated msgfmt.py for message context support.
* frontend: Show all software item info in the internal UI.
* frontend: Search alternate titles in software selection menu.
* 3rdparty/utf8proc: Updated to v2.6.1 (has several fixes).
* frontend: Added software filters for common info fields.
* frontend: Allow UI manager to hold onto persistent session data.
* frontend: Cache software lists for eight machines.
* frontend: Added support for loading localised system names.
* frontend: Add UI for selecting localised system names.
2021-10-09 12:16:17 +11:00
Vas Crabb
41b1e62e8f Re-generate localisations 2021-05-29 22:32:08 +10:00
Vas Crabb
97b6717027 (nw) Clean up the mess on master
This effectively reverts b380514764 and
c24473ddff, restoring the state at
598cd52272.

Before pushing, please check that what you're about to push is sane.
Check your local commit log and ensure there isn't anything out-of-place
before pushing to mainline.  When things like this happen, it wastes
everyone's time.  I really don't need this in a week when real work™ is
busting my balls and I'm behind where I want to be with preparing for
MAME release.
2019-03-26 11:13:37 +11:00
andreasnaive
b380514764 Revert "conflict resolution (nw)"
This reverts commit c24473ddff, reversing
changes made to 009cba4fb8.
2019-03-25 23:13:40 +01:00
Vas Crabb
c420cc20d2 regenerate localisation files (nw) 2019-03-17 13:39:30 +11:00
aviloria
4ed4943c40 Update spanish strings 2018-05-27 03:16:59 +10:00
Vas Crabb
c41e715d86 well that was dumb (nw) 2018-04-30 14:57:37 +10:00
Vas Crabb
f2568bb918 Make devopt menu localisable.
Make machine_config aware of device being configured so owner doesn't need to be passed everywhere.
2018-04-28 16:34:09 +10:00
Vas Crabb
dd392ba109 Clean up crud (nw) 2018-03-27 10:13:55 +11:00
aviloria
232447937a Update strings.po 2018-03-27 10:10:21 +11:00
Vas Crabb
08dde5eb0a srcclean and regenerate localisations (nw) 2018-03-25 02:03:24 +11:00
Vas Crabb
4e8bb7c7e5 srcclean and regenerate localisations (nw) 2018-01-28 14:25:52 +11:00
aviloria
960bffb95d Update strings.po (#2778)
Translations updated
--------------------
Spanish
2017-11-09 18:35:43 +11:00
Vas Crabb
2851d7d6cd (nw) Improve localisation:
* Change makefile rules to treat mame.pot as a target so rules can depend on it
* Put mame.pot inside the build directory so it will get cleaned
* Couldn't get xgettext to scrape lua and C++ in the same command and still remove stale strings
* Use larger strings and format specifiers to fix some localisation issues
  - Issue with "None" lacking context in Russian and Turkish translations
  - Issue with "Not implemented" changing depending on the noun in Serbian
  - Issues with lua plugins not allowing for languages with different grammar/punctuation

Strings that need to be translated after this change - most of these are existing text that's been made into larger chunks or reworded slightly:

"Mechanical Machine\tYes\n"

"Mechanical Machine\tNo\n"

"Requires Artwork\tYes\n"

"Requires Artwork\tNo\n"

"Requires Clickable Artwork\tYes\n"

"Requires Clickable Artwork\tNo\n"

"Support Cocktail\tYes\n"

"Support Cocktail\tNo\n"

"Driver is BIOS\tYes\n"

"Driver is BIOS\tNo\n"

"Support Save\tYes\n"

"Support Save\tNo\n"

"Screen Orientation\tVertical\n"

"Screen Orientation\tHorizontal\n"

"Requires CHD\tYes\n"

"Requires CHD\tNo\n"

"ROM Audit Result\tOK\n"

"ROM Audit Result\tBAD\n"

"Samples Audit Result\tNone Needed\n"

"Samples Audit Result\tOK\n"

"Samples Audit Result\tBAD\n"

"ROM Audit Disabled\t\n"
"Samples Audit Disabled\t\n"

"Activated: %s = %s"

"Activated: %s"

"Enabled: %s"

"Disabled: %s"

"%s added"

"Default name is %s"

"Cheat written to %s and added to cheat.simple"

"Unable to write file\n"
"Ensure that cheatpath folder exists"
2017-10-03 10:49:30 +11:00
cracyc
8ca63912a2 add lua translation to makefile and update translations 2017-09-29 01:49:22 +10:00
aviloria
dad5addda9 Update strings.po
Translated one missing string
2017-08-31 09:27:03 +10:00
Vas Crabb
30d0fb9f94 Swedish translation [Edstrom]
Regenerate translations, patch up some oversights in Swedish translation (nw)
2017-08-25 23:57:03 +10:00
aviloria
6e84e7c915 Update Spanish translation 2017-08-24 09:12:08 +10:00
Vas Crabb
779fb78d09 try to appease GCC, update language files (nw) 2017-08-21 22:24:28 +10:00
aviloria
49b8a1790e Update strings.po
Update Spanish strings
2017-08-20 18:53:49 +10:00
Vas Crabb
96c90e3c4d patch up translations (nw) 2017-08-19 17:52:38 +10:00
Vas Crabb
3853bf1331 update language files (nw) 2017-08-19 17:40:57 +10:00
Vas Crabb
cb7a04174f ui: make category filter work like all the other filters
* category filter is now saved/restored if it's last used
* category filter can be used in composite custom filters
* category filter now provides UI rather than relying on options menu
* less confusing when no categories found
* also de-duplicated code for drawing category list

(nw) please test this everyone and let me know if there are reproducible
crashes or things that don't work right - I'm trying to make the
internal UI more consistent and stable
2017-08-11 10:11:44 +10:00
aviloria
203a07e73f Update strings.po (#2554)
Update Spanish strings
2017-08-10 15:57:45 +10:00
Vas Crabb
a79d0971e7 patch up translations a bit (nw) 2017-08-10 01:46:01 +10:00
Vas Crabb
cb850daa0d Update language files (nw) 2017-08-10 00:25:56 +10:00
Vas Crabb
11565d30a1 Fix info box navigation when system selection menu doesn't have focus,
and fix up some translations for recent changes
2017-08-06 14:21:31 +10:00
Vas Crabb
933cd0e966 Update translation files (again) 2017-08-06 12:11:19 +10:00
Vas Crabb
0a6f98cd7d font_osx: handle fonts where space glyphs return a null bounding box (e.g. Hiragino family)
restore ability to localise info box headings
2017-08-06 12:04:54 +10:00
aviloria
658e5a1da2 Update spanish strings.
Translations updated
--------------------
Spanish [A. Viloria]
2017-08-05 19:04:03 +10:00
Vas Crabb
bedecaa823 Update localisation .po files. Our localisations are rotting badly, so please update what you can for recent UI changes.
Note that to run make translation you need to patch GNU gettext to support C++14 digit grouping.
See the attached patch here: https://savannah.gnu.org/bugs/?50117
2017-07-28 11:48:42 +10:00
Vas Crabb
c960435d3e srcclean and translation regeneration 2016-08-29 02:02:04 +10:00
aviloria
5572388eb6 Update spanish strings 2016-07-31 00:08:50 +02:00
dankan1890
f712ba40db Update and fix translation files. 2016-07-07 23:15:23 +02:00
aviloria
c726ed0703 Update strings.po
Spanish translation updated
2016-04-15 21:22:59 +02:00
dankan1890
af31c6a20e Synchronized the translation files. (Nw) 2016-04-15 17:49:12 +02:00
dankan1890
5347076f49 submenu: merged some options menu. (nw) 2016-04-11 03:37:51 +02:00
dankan1890
b10ffebf58 Fixed the key handler for the error "roms or missing CHD."
Removed the delay in showing the description in the Advanced menu.
Synchronized the translation files.
2016-04-07 12:36:30 +02:00
Miodrag Milanovic
34b06d2c99 Updated translation files (nw) 2016-04-03 15:50:03 +02:00
Miodrag Milanovic
b16d6513ae Update translations to latest 2016-03-28 09:03:47 +02:00
dankan1890
a7d48319e6 translation files resynchronized. (nw) 2016-03-26 00:01:24 +01:00
Miodrag Milanović
bf6bdcbdf4 Merge pull request #737 from aviloria/patch-2
Updates and fixes to spanish translation
2016-03-25 10:29:51 +01:00
Miodrag Milanovic
527cdd8250 Update translations to latest code (nw) 2016-03-25 10:02:30 +01:00
aviloria
d8ed66447c Update strings.po
removed the last 2 lines by mistake
2016-03-23 21:09:24 +01:00