Author Topic: Changing Text  (Read 628 times)

0 Members and 1 Guest are viewing this topic.

emsjessec

  • Full Member
  • ***
  • Posts: 6
Changing Text
« on: July 29, 2019, 07:16:15 PM »
I would like to change the text from "Your email:" to "Email:" and "Your name:" to "Name:".

The translation.po file has a msgstr with msgid = "Your email" and "msgstr with msgid = "Your name".  Changing those has not worked.

Is the interface being cached?  Does a part of Mibew interface need to be regenerated after changes, like the Support button?


faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 848
    • Mibew Messenger
Re: Changing Text
« Reply #1 on: July 29, 2019, 10:34:24 PM »
Read this. And use the search next time.

emsjessec

  • Full Member
  • ***
  • Posts: 6
Re: Changing Text
« Reply #2 on: August 01, 2019, 07:22:11 PM »
Thanks.  I was able to install gulp.

There's an error message when I try to run "gulp default" to build Mibew Messenger from src.
Code: [Select]
[15:20:52] Starting 'get-composer'...
[15:20:52] Starting 'bower-install'...
[15:20:53] 'get-composer' errored after 583 ms
[15:20:53] Error: PHP Parse error:  syntax error, unexpected end of file in Standard input code on line 1027

    at formatError (C:\Users\User\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^3.7.0\format-error.js:20:10)
    at Gulp.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\gulp-cli\lib\versioned\^3.7.0\log\events.js:41:15)
    at Gulp.emit (events.js:194:15)
    at Gulp.Orchestrator._emitTaskDone (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\index.js:264:8)
    at C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\index.js:275:23
    at finish (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\lib\runTask.js:21:8)
    at cb (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\lib\runTask.js:29:3)
    at C:\Users\User\Desktop\mibew\mibew\src\gulpfile.js:157:13
    at ChildProcess.exithandler (child_process.js:301:5)
    at ChildProcess.emit (events.js:189:13)
[15:20:53] 'default' errored after 1.41 s
[15:20:53] Error in plugin 'run-sequence(get-composer)'
Error
    at finish (C:\Users\User\Desktop\mibew\mibew\src\node_modules\run-sequence\index.js:56:13)
    at Gulp.onError (C:\Users\User\Desktop\mibew\mibew\src\node_modules\run-sequence\index.js:67:4)
    at Gulp.emit (events.js:194:15)
    at Gulp.Orchestrator._emitTaskDone (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\index.js:264:8)
    at C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\index.js:275:23
    at finish (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\lib\runTask.js:21:8)
    at cb (C:\Users\User\Desktop\mibew\mibew\src\node_modules\orchestrator\lib\runTask.js:29:3)
    at C:\Users\User\Desktop\mibew\mibew\src\gulpfile.js:157:13
    at ChildProcess.exithandler (child_process.js:301:5)
    at ChildProcess.emit (events.js:189:13)
[15:20:53] Finished 'bower-install' after 1.01 s

C:\Users\User\Desktop\mibew\mibew\src>

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 848
    • Mibew Messenger
Re: Changing Text
« Reply #3 on: August 01, 2019, 10:37:47 PM »
Something's wrong with your system. It's the only reliable assumption in absence of any information about your build environment.

emsjessec

  • Full Member
  • ***
  • Posts: 6
Re: Changing Text
« Reply #4 on: August 02, 2019, 11:35:18 AM »
Would it be possible to get a working build system inside a Virtual Machine?

Someone on the ##php chat on freenode.net said the build system for mibew is using an old system.

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 848
    • Mibew Messenger
Re: Changing Text
« Reply #5 on: August 02, 2019, 08:23:30 PM »
Would it be possible to get a working build system inside a Virtual Machine?

Since we build Mibew Messenger inside our VMs, its possible. But I don't know whether it's possible inside your particular VM because you still did not provide any information about it.

Someone on the ##php chat on freenode.net said the build system for mibew is using an old system.

Ok. It's possible. So what? Does someone wants to rewrite it? Pull requests are welcome.

emsjessec

  • Full Member
  • ***
  • Posts: 6
Re: Changing Text
« Reply #6 on: August 05, 2019, 11:29:43 AM »
VirtualBox and VMware will work.  What program versions do you normally use to build?

faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 848
    • Mibew Messenger
Re: Changing Text
« Reply #7 on: August 05, 2019, 07:55:01 PM »
VirtualBox and VMware will work.
I don't use neither of them. However in this case virtualization platform type doesn't matter.

What program versions do you normally use to build?
Normally I don't pay too much attention to that.

I've just made a clean QEMU/KVM VM with Ubuntu 18.04 LTS with packages upgraded to actual state. Mibew Messenger were built there without any issues.

Code: [Select]
$ uname -a
Linux ubuntu 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ node --version
v8.10.0
$ npm --version
3.5.2
$ php --version
PHP 7.3.7-2+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 25 2019 11:44:59)  ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.7-2+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
$ gulp --version
[19:26:08] CLI version 3.9.1
[19:26:08] Local version 3.9.1

It would be much easier if you provide information about your system, rather than asking about ours.

emsjessec

  • Full Member
  • ***
  • Posts: 6
Re: Changing Text
« Reply #8 on: August 07, 2019, 01:10:25 PM »
Thanks, it worked in Ubuntu.  I had to install the PHP extensions: mbstring and xmlwriter.